Statistics
| Branch: | Revision:

ffmpeg / libavcodec / adpcm.c @ 9106a698

History | View | Annotate | Download (61.5 KB)

# Date Author Comment
9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk

b2755007 04/12/2009 08:35 AM Stefano Sabatini

Split bitstream.h, put the bitstream writer stuff in the new file
put_bits.h.

Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames....

fd75cedd 03/02/2009 05:55 AM Diego Biurrun

cosmetics: Reformat long_names so that "ADPCM" comes first.

Originally committed as revision 17720 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ffbc258 03/02/2009 05:18 AM Diego Biurrun

Change a bunch of codec long_names to be more consistent and descriptive.

Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ef251e5 02/22/2009 01:48 PM Daniel Verkamp

Add missing av_cold in static init/close functions.

Patch by Daniel Verkamp daniel at drv dot nu.

Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc55c464 02/03/2009 05:56 PM Stefan Gehrer

check validity of pointer srcC

Originally committed as revision 16973 to svn://svn.ffmpeg.org/ffmpeg/trunk

bad5537e 02/01/2009 02:00 AM Diego Biurrun

Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.

Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk

89150098 01/30/2009 08:39 PM Stefan Gehrer

remove duplicate tables

Originally committed as revision 16866 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ed42113 01/30/2009 06:38 AM Stefan Gehrer

avoid indeterminate order of accessing src

Originally committed as revision 16855 to svn://svn.ffmpeg.org/ffmpeg/trunk

055dc116 01/17/2009 08:08 PM Stefan Gehrer

added demuxer for FunCom ISS audio files,
extended ADPCM decoder by ISS specific IMA variant

Originally committed as revision 16658 to svn://svn.ffmpeg.org/ffmpeg/trunk

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.

Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd76c37f 07/31/2008 10:47 AM Peter Ross

Modify all codecs to report their supported input and output sample format(s).

Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk

6647ab80 07/13/2008 02:27 PM Ramiro Polla

bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
throughout libavcodec.

Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk

f9bd3056 07/13/2008 02:25 PM Reimar Döffinger

clip MS ADPCM predictor range to correct [0..6] range, not [0..7]

Originally committed as revision 14203 to svn://svn.ffmpeg.org/ffmpeg/trunk

962fe7e1 07/13/2008 02:12 PM Reimar Döffinger

Use bytestream and AV_RL* functions in ADPCM code where possible

Originally committed as revision 14202 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae8afab9 07/13/2008 02:08 PM Reimar Döffinger

Fix MS ADPCM de- and encoding: first and second sample are swapped.
Noticeable better decoding of e.g. http://samples.mplayerhq.hu/A-codecs/msadpcm-stereo/dance-b5th.asf

Originally committed as revision 14201 to svn://svn.ffmpeg.org/ffmpeg/trunk

8884b918 07/12/2008 09:23 AM Reimar Döffinger

100l, fix MS ADPCM decoding for e.g. http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov
First coefficient array must be unsigned to fit in 8 bits

Originally committed as revision 14175 to svn://svn.ffmpeg.org/ffmpeg/trunk

ff227126 07/12/2008 07:28 AM Reimar Döffinger

10l, forgot to replace a / 256 for r14173.
Fixes MS ADPCM regression test.

Originally committed as revision 14174 to svn://svn.ffmpeg.org/ffmpeg/trunk

ddcf031f 07/11/2008 09:38 PM Reimar Döffinger

Change MS ADPCM table so they fit into int8_t and change array type.

Originally committed as revision 14173 to svn://svn.ffmpeg.org/ffmpeg/trunk

bbdfa06d 07/05/2008 07:30 AM Diego Biurrun

Add a note to remind people that new PCM/ADPCM formats need to be added to
the Makefile as well to allow proper selective compilation.

Originally committed as revision 14072 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk

909a9ad0 05/28/2008 11:59 AM Michael Niedermayer

Prevent 128*1<<trellis from becoming 0 and creating 0 sized arrays.
fixes CID84 RUN2
CID85 RUN2
CID86 RUN2
CID87 RUN2
CID88 RUN2
CID89 RUN2
CID90 RUN2
CID91 RUN2
CID92 RUN2
CID93 RUN2
CID94 RUN2
CID95 RUN2...

bcdab7e5 05/15/2008 11:02 PM Diego Biurrun

cosmetics: Fix typos in ADPCM codec long names.

Originally committed as revision 13173 to svn://svn.ffmpeg.org/ffmpeg/trunk

d349334a 05/15/2008 11:35 AM Diego Biurrun

ADPCM codec long names by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13157 to svn://svn.ffmpeg.org/ffmpeg/trunk

3b4eccab 04/25/2008 03:15 PM Baptiste Coudurier

identation

Originally committed as revision 12969 to svn://svn.ffmpeg.org/ffmpeg/trunk

e67fe90c 04/25/2008 03:11 PM Baptiste Coudurier

remove no more needed field

Originally committed as revision 12968 to svn://svn.ffmpeg.org/ffmpeg/trunk

62377fec 04/25/2008 03:10 PM Baptiste Coudurier

remove unused var

Originally committed as revision 12967 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ff8976d 04/25/2008 03:09 PM Baptiste Coudurier

remove ima qt decoding hack, decode whole frame at once

Originally committed as revision 12966 to svn://svn.ffmpeg.org/ffmpeg/trunk

d29ee34c 04/25/2008 03:06 PM Baptiste Coudurier

fix adpcm ima qt decoding, channel at init is 0, correct stereo out since samples += avctx->channels

Originally committed as revision 12965 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ddfbc73 04/17/2008 10:04 PM Diego Biurrun

cosmetics: Sort some lists alphabetically.

Originally committed as revision 12886 to svn://svn.ffmpeg.org/ffmpeg/trunk

861c63a2 04/14/2008 02:31 PM Robert Marston

Maxis XA demuxer and decoder.
Patch by Robert Marston rmarston (\at/) gmail point com
Original thread: [FFmpeg-soc] [Patch] Maxis EA XA decoder - GSoC Task
Date: 04/08/2008 01:36 AM

Originally committed as revision 12817 to svn://svn.ffmpeg.org/ffmpeg/trunk

8c2a4ddc 04/13/2008 04:11 PM Michael Niedermayer

ILP64 fixes (untested)

Originally committed as revision 12807 to svn://svn.ffmpeg.org/ffmpeg/trunk

05adf49c 04/13/2008 12:05 AM Michael Niedermayer

Remove redundant &.

Originally committed as revision 12795 to svn://svn.ffmpeg.org/ffmpeg/trunk

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk

9dc92a38 03/06/2008 07:30 AM Kostya Shishkov

IMA ADPCM encoder - QT variant

Originally committed as revision 12348 to svn://svn.ffmpeg.org/ffmpeg/trunk

81ef51e6 02/01/2008 02:36 PM Michael Niedermayer

const

Originally committed as revision 11750 to svn://svn.ffmpeg.org/ffmpeg/trunk

d479d58c 12/27/2007 11:55 AM Alexander Strange

Fix clicking sound in xa-adpcm.
patch by Alexander Strange, astrange ithinksw com
Subject: Re: [FFmpeg-devel] [PATCH] fix clicking sound in xa-adpcm
Date: Thu, 27 Dec 2007 03:20:24 -0500

Originally committed as revision 11329 to svn://svn.ffmpeg.org/ffmpeg/trunk

62b34152 11/06/2007 01:08 PM Timofei V. Bondarenko

fix predictor initialization for adpcm-ima encoder not to lose first sample
in block in adpcm-ima decoder
Patch by Timofei V. Bondarenko: tim £ ipi, ac, ru
Original thread: [FFmpeg-devel] [PATCH] adpcm-ima-wav header and codec
Date: 10/15/2007 05:55 PM

Originally committed as revision 10933 to svn://svn.ffmpeg.org/ffmpeg/trunk

271b4095 11/03/2007 10:37 PM Aurelien Jacobs

add Electronic Arts XAS ADPCM decoder
based on a patch from Peter Ross

Originally committed as revision 10913 to svn://svn.ffmpeg.org/ffmpeg/trunk

e916de2c 11/01/2007 03:55 PM Aurelien Jacobs

remove useless #undef

Originally committed as revision 10897 to svn://svn.ffmpeg.org/ffmpeg/trunk

c33ed2aa 11/01/2007 03:54 PM Aurelien Jacobs

remove unreachable code

Originally committed as revision 10896 to svn://svn.ffmpeg.org/ffmpeg/trunk

01370349 11/01/2007 03:52 PM Aurelien Jacobs

cosmetics: alignment

Originally committed as revision 10895 to svn://svn.ffmpeg.org/ffmpeg/trunk

f6e2300f 11/01/2007 03:51 PM Aurelien Jacobs

don't register adpcm encoders which are not implemented

Originally committed as revision 10894 to svn://svn.ffmpeg.org/ffmpeg/trunk

7c032a36 11/01/2007 12:17 AM Aurelien Jacobs

cosmetics: sort

Originally committed as revision 10890 to svn://svn.ffmpeg.org/ffmpeg/trunk

fac84d3c 10/30/2007 11:20 PM Peter Ross

EA IMA EACS decoder
original patch by Peter Ross

Originally committed as revision 10880 to svn://svn.ffmpeg.org/ffmpeg/trunk

7bb65d89 10/30/2007 11:12 PM Peter Ross

EA IMA SEAD decoder
original patch by Peter Ross

Originally committed as revision 10879 to svn://svn.ffmpeg.org/ffmpeg/trunk

e7583962 10/24/2007 08:49 PM Peter Ross

EA ADPCM R1, R2 and R3 decoder
original patch by Peter Ross

Originally committed as revision 10856 to svn://svn.ffmpeg.org/ffmpeg/trunk

a70a3f0b 10/21/2007 10:44 PM Aurelien Jacobs

remove some useless initializations (the whole context is initialized to 0)

Originally committed as revision 10831 to svn://svn.ffmpeg.org/ffmpeg/trunk

c6e2f083 10/21/2007 10:16 PM Aurelien Jacobs

remove unused context var

Originally committed as revision 10828 to svn://svn.ffmpeg.org/ffmpeg/trunk

880de6b0 10/17/2007 11:02 PM Timofei V. Bondarenko

Remove unnecessary guarding &=0x0f around adpcm_ima_compress_sample().
patch by Timofei, tim ipi.ac ru
Date: Mon, 15 Oct 2007 19:55:29 +0400
Subject: [FFmpeg-devel] [PATCH] adpcm-ima-wav header and codec

Originally committed as revision 10773 to svn://svn.ffmpeg.org/ffmpeg/trunk

94d9633a 10/04/2007 03:13 PM Vladimir Voroshilov

Replace "signed short" typecast with "int16_t" as suggested by
Mans Rullgard. Value at the right side is 16 bit length signed.
We can not know for sure that short is in fact 16 bits, even if
this virtually always is the case.

Originally committed as revision 10666 to svn://svn.ffmpeg.org/ffmpeg/trunk

330194b9 10/03/2007 07:32 PM Vladimir Voroshilov

Fix audio clicks in ADPCM IMA AMV by casting predictor as "signed short"
Initialize step_index as int16_t (as multimedia wiki says).

Originally committed as revision 10657 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a7f5d07 09/27/2007 06:21 AM Vitor Sessak

AMV audio decoder

Originally committed as revision 10598 to svn://svn.ffmpeg.org/ffmpeg/trunk

1218a7e3 09/24/2007 09:18 PM Diego Biurrun

cosmetics: Sort CODEC_ID list.

Originally committed as revision 10570 to svn://svn.ffmpeg.org/ffmpeg/trunk

622d6332 08/19/2007 08:34 PM Benjamin Larsson

Cosmetics, indentation.

Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk

1cbe9d6a 08/19/2007 08:31 PM Benjamin Larsson

Trellis quantization support for adpcm_swf.

Originally committed as revision 10144 to svn://svn.ffmpeg.org/ffmpeg/trunk

88e2d588 08/11/2007 11:29 PM Aurelien Jacobs

more usage of av_clip()

Originally committed as revision 10082 to svn://svn.ffmpeg.org/ffmpeg/trunk

e4a50e6d 08/11/2007 11:23 PM Aurelien Jacobs

one more simplification

Originally committed as revision 10081 to svn://svn.ffmpeg.org/ffmpeg/trunk

295f3737 08/11/2007 11:17 PM Aurelien Jacobs

various simplifications around recent av_clip_int16() usage

Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk

aee481ce 08/11/2007 10:48 PM Aurelien Jacobs

use av_clip_int16() where it makes sense

Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk

00a254b7 08/06/2007 07:49 PM Benjamin Larsson

Don't encode the first sample twice.

Originally committed as revision 9962 to svn://svn.ffmpeg.org/ffmpeg/trunk

d0fa156f 08/06/2007 08:42 AM Baptiste Coudurier

cosmetic, indentation

Originally committed as revision 9960 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe4ff07a 08/05/2007 01:41 PM Baptiste Coudurier

fix decoding of adpcm swf big frames, fix RamboMJPEGAVP6_1Mbps.swf

Originally committed as revision 9946 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac069107 07/18/2007 06:40 PM Baptiste Coudurier

Set the step index correctly for flash adpcm. Patch by Baptiste
Coudurier.

Originally committed as revision 9743 to svn://svn.ffmpeg.org/ffmpeg/trunk

9fff16bc 07/18/2007 06:35 PM Baptiste Coudurier

Calculate the correct blocksize for flash adpcm. Patch by Baptiste
Coudurier.

Originally committed as revision 9742 to svn://svn.ffmpeg.org/ffmpeg/trunk

90b5b51e 06/12/2007 06:50 PM Diego Biurrun

misc typo fixes

Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk

2c124cb6 06/02/2007 01:41 AM Ramiro Polla

Use AV_xx throughout libavcodec

Originally committed as revision 9169 to svn://svn.ffmpeg.org/ffmpeg/trunk

d64b88d4 04/11/2007 01:10 PM Benjamin Larsson

Per reference swf/flv adpcm encoder.

Originally committed as revision 8713 to svn://svn.ffmpeg.org/ffmpeg/trunk

e457023a 04/10/2007 08:18 AM Marco Gerards

Fix an underflow/overflow that was causing some crackles when playing
certain THP files.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8703 to svn://svn.ffmpeg.org/ffmpeg/trunk

90f2a1a0 04/08/2007 12:05 PM Marco Gerards

cosmetics: indentation fix
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8680 to svn://svn.ffmpeg.org/ffmpeg/trunk

949ed6bb 04/07/2007 10:04 PM Michael Niedermayer

use bytestream reader instead of bitstream for THP
5% smaller adpcm.o
20% faster

Originally committed as revision 8657 to svn://svn.ffmpeg.org/ffmpeg/trunk

8e952e4d 04/07/2007 09:34 PM Anssi Hannula

CRYO APC demuxer
patch by Anssi Hannula, anssi.hannula gmail com

Originally committed as revision 8656 to svn://svn.ffmpeg.org/ffmpeg/trunk

204424a4 04/07/2007 09:30 PM Michael Niedermayer

simplify

Originally committed as revision 8655 to svn://svn.ffmpeg.org/ffmpeg/trunk

b736a365 04/07/2007 09:27 PM Michael Niedermayer

prev1/2 -> prev2

Originally committed as revision 8654 to svn://svn.ffmpeg.org/ffmpeg/trunk

11d66266 04/07/2007 09:22 PM Michael Niedermayer

simplify

Originally committed as revision 8653 to svn://svn.ffmpeg.org/ffmpeg/trunk

d9ddac25 04/07/2007 09:19 PM Michael Niedermayer

general purpose vars should be int

Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk

20f75707 04/07/2007 09:15 PM Michael Niedermayer

table[index][ch] -> table[ch][index] (might be faster ...)

Originally committed as revision 8651 to svn://svn.ffmpeg.org/ffmpeg/trunk

d1e0d21f 04/07/2007 04:03 PM Marco Gerards

THP PCM decoder, used on the Nintendo GameCube.
patch by Marco Gerards, mgerards xs4all nl

Originally committed as revision 8646 to svn://svn.ffmpeg.org/ffmpeg/trunk

387afa9d 03/02/2007 10:08 AM Baptiste Coudurier

fix adpcm swf decoding

Originally committed as revision 8186 to svn://svn.ffmpeg.org/ffmpeg/trunk

f66e4f5f 02/25/2007 10:27 AM Reimar Döffinger

Add av_ prefix to clip functions

Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk

3d7232ff 02/02/2007 10:25 AM Michael Niedermayer

add FIXME

Originally committed as revision 7804 to svn://svn.ffmpeg.org/ffmpeg/trunk

14c49573 02/02/2007 02:58 AM Michael Niedermayer

some (probably exploitable) out of array write fixes

Originally committed as revision 7802 to svn://svn.ffmpeg.org/ffmpeg/trunk

fead30d4 01/19/2007 10:12 PM Alex Beregszaszi

rename BE/LE_8/16/32 to AV_RL/B_8/16/32

Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

7239fb57 07/08/2006 10:31 PM Måns Rullgård

make the adx adpcm codec available

Originally committed as revision 5679 to svn://svn.ffmpeg.org/ffmpeg/trunk

696d6889 06/03/2006 07:04 PM Loren Merritt

ADPCM: trellis quantization

Originally committed as revision 5451 to svn://svn.ffmpeg.org/ffmpeg/trunk

7e537051 06/03/2006 04:38 AM Loren Merritt

adpcm_ima & adpcm_yamaha: improved quantization

Originally committed as revision 5449 to svn://svn.ffmpeg.org/ffmpeg/trunk

8d359bba 03/02/2006 01:55 PM Michael Niedermayer

cleanup IMA-ADPCM WAV decoder

Originally committed as revision 5095 to svn://svn.ffmpeg.org/ffmpeg/trunk

2433f24f 02/16/2006 12:09 AM Aurelien Jacobs

add Creative 8 bits ADPCM schemes support

Originally committed as revision 5024 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

b194c327 07/16/2005 11:18 AM Michael Niedermayer

yamaha adpcm nibbles in the wrong order fix by (Vidar Madsen: vidarino, gmail com)

Originally committed as revision 4446 to svn://svn.ffmpeg.org/ffmpeg/trunk

2ff4524e 07/15/2005 06:51 AM Vidar Madsen

Add Yamaha ADPCM encoding/decoding patch by (Vidar Madsen: vidarino, gmail com)

Originally committed as revision 4442 to svn://svn.ffmpeg.org/ffmpeg/trunk

c26ae41d 06/01/2005 09:19 PM Michael Niedermayer

adding a few const

Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk

659c3692 02/21/2005 07:27 PM Alex Beregszaszi

macromedia flavour adpcm decoding (used in flv and swf)

Originally committed as revision 3969 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3bfb299 10/12/2004 12:47 PM Mike Melanson

Creative ADPCM decoder, format 0x200, courtesy of Konstantin Shishkov

Originally committed as revision 3589 to svn://svn.ffmpeg.org/ffmpeg/trunk

53db1cae 05/21/2004 02:37 PM Michael Niedermayer

data_size = 0 cleanup

Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk

3a278992 03/14/2004 04:04 AM Mike Melanson

remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG

Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk