Justin Ruggles
cd98a03024
flacdec: split frame header decoding and validation into a separate
...
function
Originally committed as revision 18175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
3c32bac898
Add MPEG-2 bitstream decoding through VA API.
...
Originally committed as revision 18172 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
6d69a653d8
Move av_class to AVResampleContext instead of ReSampleContext.
...
Fixes issue 852.
Originally committed as revision 18170 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
04964ee8bb
AAC: Ignore cc_domain for independent (time domain) coupling.
...
Originally committed as revision 18169 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
620bba1653
Add pcxenc.o to the $OBJS list, it was erroneously removed from it in
...
r18164.
Fix compilation.
Originally committed as revision 18168 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e8b0395236
flacdec: cosmetics: white space
...
Originally committed as revision 18167 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
fbc4d9c964
flacdec: cosmetics: separate the pure frame header parsing code from
...
other frame header decoding code
Originally committed as revision 18166 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
661ce28996
Rename 'tests' target to 'testprogs'. It is too easily confused with the
...
'test' target and a directory named tests exists.
Originally committed as revision 18165 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fd8e28b73e
Split AVCodec declarations for PAM/PBM/PGM/PGMYUV/PPM decoders and encoders
...
so that they can be enabled and disabled individually.
Originally committed as revision 18164 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
6e08ca9c51
Make the pixel formats which were defined as macros:
...
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA
defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1
defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.
This change breaks ABI backward compatibility.
Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e7e6b06802
flacdec: allow sample rate to change mid-stream, but log a warning
...
message when it does
Originally committed as revision 18162 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6708cfc4d3
Add rule for building API example programs.
...
Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
326e9eaa20
Factorize: use the X_NE() macro in avcodec_get_pix_fmt().
...
Originally committed as revision 18160 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1448907465
flacdec: cosmetics: indentation
...
Originally committed as revision 18159 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8199ea3b8c
Implement X_NE() macro.
...
Originally committed as revision 18158 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e2a38af96e
flacdec: change frame bps validation to return an error value if bps
...
changes since this is not currently supported by the decoder.
Originally committed as revision 18157 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f91eaf5deb
flacdec: cosmetics: add some braces to if/else statements
...
Originally committed as revision 18156 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b6fa746e39
flacdec: skip frame when allocated data size is too small
...
Originally committed as revision 18155 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
492cc392fa
10l: don't check against current layout until after validating ch_mode.
...
should have been in last commit.
Originally committed as revision 18154 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
7660dc6f4f
flacdec: give a more accurate error message when validating channel
...
layout. differentiates between invalid values and unsupported values.
Originally committed as revision 18153 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d2863e72ab
Export to pixdesc.h the av_pix_fmt_descriptors array.
...
Originally committed as revision 18152 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
02b26d2d5c
flacdec: move data size check to flac_decode_frame()
...
Originally committed as revision 18151 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
4285c2923c
flacdec: comments and white space.
...
move skipping of frame header to decode_frame()
Originally committed as revision 18150 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d1d9945f1a
cosmetics: vertical alignment
...
Originally committed as revision 18149 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5c3e0340d9
flacdec: remove unneeded local variable
...
Originally committed as revision 18148 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3b4d96fa68
flacdec: cosmetics: rename 3 variables
...
Originally committed as revision 18147 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
7e00bd8456
flacdec: use a local variable for GetBitContext in decode_frame()
...
Originally committed as revision 18146 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
c21fbefb9d
Add AURA 1 and 2 codec IDs and register their FOURCCs
...
Originally committed as revision 18141 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
44dff0058e
init ext sample rate to 0 if not present
...
Originally committed as revision 18139 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
b38d7298bd
Add common VA API data structures and helpers.
...
Originally committed as revision 18136 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
bb691a6da4
Add support for HW accelerated VC-1 decoding through the new
...
AVHWAccel infrastructure.
Originally committed as revision 18135 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f82674e584
Change the RGB5X5/BGR5X5 pixel format defines so that we have little
...
endian and big endian variants instead of native-endian ones.
This patch breaks API/ABI backward-compatibility.
Originally committed as revision 18133 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d89f692f0e
Extend the behavior of avcodec_get_pix_fmt(), if it cannot find a
...
pixel format for the provided name, make it look for the native endian
variant of the name.
Originally committed as revision 18130 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a61ec8e7ae
Globally prefer enum PixelFormat over int when it makes sense.
...
Originally committed as revision 18129 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
573e0118e2
Fix reference to av_random_init where av_lfg_init was meant.
...
Originally committed as revision 18113 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
e1dc16ae56
Make Smacker audio decoder output audio in original bit depth
...
Patch by Daniel Verkamp
($firstname) at (three-letter file extension for drivers in Win 3.1) dot (nu)
Thread: [PATCH] Smacker: Output audio in original bit depth
Originally committed as revision 18111 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
2bbd85719c
Remove deprecated functions and structures on next version bump.
...
Originally committed as revision 18110 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
899a8fa1cb
Fix avpicture_get_size for non-paletted formats with a helper palette
...
to not include the size of that palette.
Also clarify its documentation.
Originally committed as revision 18106 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0fb2182d46
add a function to calculate a more accurate estimate for maximum FLAC
...
frame size and use the function in the FLAC decoder and FLAC encoder
Originally committed as revision 18092 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f5187c7f04
flacdec: account for frame and subframe header overhead when calculating
...
estimate for maximum frame size
Originally committed as revision 18091 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f121622114
revert accidental unrelated change in last commit
...
Originally committed as revision 18090 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d4df4e5088
share sample rate and blocksize tables between the FLAC encoder and FLAC
...
decoder
Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b9b4fc5e07
flacenc: remove unneeded variable, 'min_encoded_framesize' and use
...
'min_framesize' instead
Originally committed as revision 18087 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d9e7fa8074
flacdec: remove unneeded variable, 'assignment'
...
Originally committed as revision 18085 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
2a34672500
flacdec: cosmetics: rename 'decorrelation' to 'ch_mode'
...
Originally committed as revision 18084 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ad52941faa
flacenc: remove unneeded context variable, 'ch_code'
...
Originally committed as revision 18083 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3159780b18
share channel mode constants between the FLAC decoder and FLAC encoder
...
Originally committed as revision 18082 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
432603e376
Remove declaration of the removed function img_convert().
...
Originally committed as revision 18080 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
39b60944a8
Get rid of av_random in cook.c
...
Originally committed as revision 18079 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
3b0b84797e
Get rid of av_random in nellymoserdec.c
...
Originally committed as revision 18078 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago