Diego Biurrun
1274ea8dba
Split off floating point AAN (I)DCT into separate components
11 years ago
Diego Biurrun
2143948381
Drop unnecessary av_unused attributes.
11 years ago
Diego Biurrun
213e606752
Replace av_unused attributes by block structures
This is more portable and avoids warnings with compilers that do not
properly support av_unused.
11 years ago
Diego Biurrun
096a1d5b46
rdft: Move some variables into a separate block
This avoids an unused variable warning with hardcoded tables.
11 years ago
Diego Biurrun
b574e1e97e
get_bits: Add OPEN_READER macro variant w/o size_plus8
This avoids a trillion warnings from MSVC.
11 years ago
Diego Biurrun
4d55e9de27
vc1: Split bits used in libavformat into a separate header
This reduces inter-library dependencies.
11 years ago
Diego Biurrun
f20518568a
build: Split WMA frequencies into a separate object file
These are the only WMA bits shared with binkaudio. Splitting them off
reduces the binnkaudio dependency on general WMA code.
11 years ago
Diego Biurrun
803f8992f1
build: cosmetics: Group hwaccel OBJS declarations together
11 years ago
Diego Biurrun
2b8b0da09c
fdctdsp: cosmetics: Drop one unnecessary if-block level
11 years ago
Gabriel Dume
d2a4e4b9cc
wma: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Luca Barbato
4912b634b5
x265: Use the encoder defaults
Reset the settings as it is done for x264.
11 years ago
Gabriel Dume
eda7571ea1
wmv2: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Pascal Massimino
7a1d6ddd2c
xvid: Add C IDCT
Thanks to Pascal Massimino and Michael Militzer for relicensing as LGPL.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
95c0cec03a
idctdsp: Add global function pointers for {add|put}_pixels_clamped functions
These function pointers already existed in the ARM code. Adding them globally
allows calls to the function pointers to access arch-optimized versions of the
functions transparently.
11 years ago
Diego Biurrun
91d305790e
get_bits: Rename HAVE_BITS_REMAINING --> BITS_AVAILABLE
The HAVE_ prefix is reserved for macros set by configure.
11 years ago
Gabriel Dume
ff4d1aa8bc
flv: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
f61e47dd68
asv: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
74512f7e36
8svx: Return proper error codes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
e205fe6831
mpeg4videodec: Fix low_delay error message
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
63f800ca5f
aac_adtstoasc_bsf: Return proper error code
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
b8962d64cc
dxva2: Clean up definition of _WIN32_WINNT
Only set a value if _WIN32_WINNT is undefined or smaller than 0x0600. This is
cleaner than unconditional definition and avoids a number of redefinition
warnings. Also only define a value in one of the two dxva2 headers.
11 years ago
Diego Biurrun
4600a85eaa
dxva2: Pass variable of correct type to IDirectXVideoDecoder_GetBuffer()
This avoids related incompatible pointer type warnings.
11 years ago
Michael Niedermayer
37c46743ee
avcodec: fix missing doxygen comment marker
11 years ago
Vittorio Giovara
9301486408
avcodec: add stream-level stereo3d side data
11 years ago
Diego Biurrun
8d27bf1cff
x86: xvid: K&R formatting cosmetics
11 years ago
Diego Biurrun
dcb7c868ec
cosmetics: Make naming scheme of Xvid IDCT consistent with other IDCTs
11 years ago
Diego Biurrun
1f156af427
x86: xvid_idct: Drop unused definitions
11 years ago
Luca Barbato
ff771f79b5
vc1: Initialize start_code_found to 0
Leftover of a4d3c20035 .
11 years ago
Vittorio Giovara
e87f5e4e5f
h264: fully check cropping amount from sps
Even if sps.crop is true, the cropping amount may be zero.
Fixes a sample with a valid but broken container cropping.
11 years ago
Gabriel Dume
0a02426826
libxvid: K&R formatting cosmetics
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Luca Barbato
a4d3c20035
vc1: Fix the skip condition
As written in the comment above, skip must be added only if a
start code is found.
11 years ago
Janne Grunau
dc4b2e7d33
rv34: use ff_mpeg_update_thread_context only when decoder is fully initialized
MpegEncContext based decoders are only fully initialized after the first
ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame
buffer was requested. ff_mpeg_update_thread_context() fails on half
initialized MpegEncContexts. Since this can only happen before a the
first frame was decoded there is no need to call
ff_mpeg_update_thread_context().
Based on patches by John Stebbins and tested by John Stebbins.
CC: libav-stable@libav.org
11 years ago
Diego Biurrun
8fc6a70c21
mpeg12enc: Add missing #include for PICT_FRAME
11 years ago
Diego Biurrun
7cb66ebc0b
error_resilience: Drop asserts from guess_mv()
The asserts check struct members that are not referenced in guess_mv()
and one of them fails to compile.
11 years ago
Diego Biurrun
6af2930222
pcm: Drop av_unused attribute from variable that is always used
11 years ago
Diego Biurrun
14d2006ca6
pcm: Drop unused variable from DECODE_PLANAR macro
11 years ago
Diego Biurrun
d456baafb6
vc1: Add missing parentheses to conditions in vc1_decode_b_mb_intfr()
11 years ago
Christophe Gisquet
41e1354c10
proresenc: Properly account for alpha plane
The packet buffer allocation considers the alpha channel as DCT-coded,
while it is actually run-coded and thus requires a larger buffer.
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Christophe Gisquet
45ce880a9b
proresenc: Realloc if buffer is too small
The buffer allocation may be incorrect (e.g. with an alpha plane),
and currently causes the buffer to be set to NULL by init_put_bits,
causing a crash later on.
So, detect that situation, and if detected, reallocate the buffer
and ask for a sample that shows the problem.
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Christophe Gisquet
58b68e4fde
proresenc: Report buffer overflow
If the allocated size, despite best efforts, is too small, exit
with the appropriate error.
CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Christophe Gisquet
b16699f2da
proresenc: Remove unneeded parameters from encode_alpha_plane()
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Diego Elio Pettenò
12640e4cbb
tiff: Return proper error for missing LZMA compression
The LZMA support is a semi-official extension supported by libtiff 4.0.0
and later.
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Gabriel Dume
4b1f5e5090
cosmetics: Write NULL pointer inequality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Gabriel Dume
f929ab0569
cosmetics: Write NULL pointer equality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
efd26bedec
build: Add explanatory comments to (optimization) blocks in the Makefiles
11 years ago
Diego Biurrun
835f798c7d
mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixes
11 years ago
John Stebbins
552bc42df4
h261dec: Fix order of initialization
ff_MPV_common_init requires the frame dimensions which get parsed in
h261_decode_picture_header.
11 years ago
John Stebbins
b869eea7ea
h263dec: Fix order of initialization
ff_MPV_common_init requires the frame dimensions which get parsed in
*_decode_picture_header.
11 years ago
John Stebbins
998c9f15d1
idct: remove call to ff_idctdsp_init from ff_MPV_common_init
One step in untangling the mpegvideo code and fixing some problems in
the order that initialization is being done in h263dec and h261dec.
11 years ago
Nidhi Makhijani
93f29948e4
mpeg4video: Fix doxygen comment syntax to document correct struct member
Also fix some comment typos.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago