Diego Elio Pettenò
123241214c
Make ff_h264_decode_rbsp_trailing static to h264.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 8529731961 )
15 years ago
Ronald S. Bultje
ac3c04e4d6
Don't do edge emulation unless the edge pixels will be used in MC.
Do not emulate larger edges than we will actually use for this round of
MC. Decoding goes from avg+SE 29.972+/-0.023sec to 29.856+/-0.023, i.e.
0.12sec or ~0.4% faster.
(cherry picked from commit 44002d8323 )
15 years ago
Mans Rullgard
8169afdb15
ac3: remove ff_ac3_critical_band_size_tab[] external declaration
This fixes compilation broken by 6ed3b504f9
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 21c900129c )
15 years ago
Diego Elio Pettenò
6b784f1b91
Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.
This symbol is only ever used to calculate the non-hardcoded tables, so
only enable it in that case, and static to the source unit that uses it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 6ed3b504f9 )
15 years ago
Diego Elio Pettenò
a172126c38
Remove unused ac3_parametric_bit_allocation function.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 362bfe2997 )
15 years ago
Mans Rullgard
8719b5dd60
latm: remove superflous #includes
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e153e9a53a )
15 years ago
Mans Rullgard
e164311179
Make denoise_dct_c() and dct_quantize_trellis_c() static in definitions
1d4da6a460 added static to the
prototypes for these fuctions. Adding it to the definitions
as well.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit aa61e39eac )
15 years ago
Diego Elio Pettenò
11c7f64a9c
Don't declare a pcm_dvd encoder.
The PCM_DVD encoder would be left unused, as allcodecs.c properly declared
it as being decoder-only, but it would still be built into the object file.
Since there is no block of code to properly encode this PCM format, it's
not a full codec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 5b5083b5fe )
15 years ago
Diego Elio 'Flameeyes' Pettenò
463532310a
Don't check for DEBUG before using dprintf.
The dprintf macro is no-op when DEBUG is unset, so there is no need to
put it conditional to DEBUG.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 73a0b19ba3 )
15 years ago
Diego Elio Pettenò
295edc7794
Make denoise_dct_c and dct_quantize_trellis_c static.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 1d4da6a460 )
15 years ago
Diego Elio Pettenò
291f326a2e
Make the ff_lockmgr_cb function pointer static to utils.c
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit bb875b75ba )
15 years ago
Diego Elio Pettenò
ee7fed27d4
Rename sf_table in atrac.c unit to ff_atrac_sf_table.
This ensures a locally-unique name as well as marks the symbol as
FFmpeg-private at least by declaration.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 82e1f217f2 )
15 years ago
Diego Elio Pettenò
f7e5cc0a2c
Mark qmf_window table static to atrac.c unit.
The table is not used anywhere else on libavcodec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 53493f9a81 )
15 years ago
Mans Rullgard
e243ed656c
x86: fix overflow in h264 8x8 planar prediction
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 80944df720 )
15 years ago
Kostya
69c78161d2
reindent after last commit
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit dacbcd170a )
15 years ago
Kostya
8a485dd399
Extend WavPack demuxer and decoder to support >2 channel audio
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 3bdc886c22 )
15 years ago
Mans Rullgard
0fc1961ecc
ARM: NEON: fix overflow in h264 16x16 planar pred
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 78f318be59 )
15 years ago
Mans Rullgard
d112aa5acc
MIPS: use inline asm only when supported by compiler
(cherry picked from commit 7a5a168abe )
15 years ago
Janne Grunau
604eb152fc
aacenc: fix typo in sync extension constant in 8ae0fa2
(cherry picked from commit 2fd9035ddc )
15 years ago
Marco Gittler
b09f548285
Pass field order flag to libx264
Signed-off-by: Jason Garrett-Glaser <jason@x264.com>
15 years ago
Diego Elio Pettenò
1a88674862
Make ff_add_wav static to ra144.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
13eb6b9097
Make ff_h264_find_frame_end static to h264.c; delete h264_parser.h
The header is empty after making the function static, so delete it and
drop its usage.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
cf1d794a49
Make ff_ass_subtitle_header static to ass.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
d625a32d6b
Make ff_sin_tabs constant to rdft.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
ebb06d96ed
Make ff_spatial_idwt_{init, slice} static to dwt.c
Both functions seem to be commanded by the ff_spatial_idwt function
instead.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
f2e246f576
Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
676f1f533e
Remove unused ff_ac3_parse_header_full function.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Diego Elio Pettenò
8529731961
Make ff_h264_decode_rbsp_trailing static to h264.c
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Ronald S. Bultje
44002d8323
Don't do edge emulation unless the edge pixels will be used in MC.
Do not emulate larger edges than we will actually use for this round of
MC. Decoding goes from avg+SE 29.972+/-0.023sec to 29.856+/-0.023, i.e.
0.12sec or ~0.4% faster.
15 years ago
Mans Rullgard
21c900129c
ac3: remove ff_ac3_critical_band_size_tab[] external declaration
This fixes compilation broken by 6ed3b504f9
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
6ed3b504f9
Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.
This symbol is only ever used to calculate the non-hardcoded tables, so
only enable it in that case, and static to the source unit that uses it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
362bfe2997
Remove unused ac3_parametric_bit_allocation function.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Mans Rullgard
e153e9a53a
latm: remove superflous #includes
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Mans Rullgard
aa61e39eac
Make denoise_dct_c() and dct_quantize_trellis_c() static in definitions
1d4da6a460 added static to the
prototypes for these fuctions. Adding it to the definitions
as well.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
5b5083b5fe
Don't declare a pcm_dvd encoder.
The PCM_DVD encoder would be left unused, as allcodecs.c properly declared
it as being decoder-only, but it would still be built into the object file.
Since there is no block of code to properly encode this PCM format, it's
not a full codec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio 'Flameeyes' Pettenò
73a0b19ba3
Don't check for DEBUG before using dprintf.
The dprintf macro is no-op when DEBUG is unset, so there is no need to
put it conditional to DEBUG.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
1d4da6a460
Make denoise_dct_c and dct_quantize_trellis_c static.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
bb875b75ba
Make the ff_lockmgr_cb function pointer static to utils.c
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
82e1f217f2
Rename sf_table in atrac.c unit to ff_atrac_sf_table.
This ensures a locally-unique name as well as marks the symbol as
FFmpeg-private at least by declaration.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Diego Elio Pettenò
53493f9a81
Mark qmf_window table static to atrac.c unit.
The table is not used anywhere else on libavcodec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Mans Rullgard
80944df720
x86: fix overflow in h264 8x8 planar prediction
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Reimar Döffinger
4be170c937
Use av_fast_malloc instead of av_realloc.
This should be faster, is less code and fixes issue 2524
(allocation error would lead to crash).
(cherry picked from commit e7b95918fc )
15 years ago
Kostya
dacbcd170a
reindent after last commit
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Kostya
3bdc886c22
Extend WavPack demuxer and decoder to support >2 channel audio
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Reimar Döffinger
e7b95918fc
Use av_fast_malloc instead of av_realloc.
This should be faster, is less code and fixes issue 2524
(allocation error would lead to crash).
15 years ago
Mans Rullgard
78f318be59
ARM: NEON: fix overflow in h264 16x16 planar pred
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Mans Rullgard
7a5a168abe
MIPS: use inline asm only when supported by compiler
15 years ago
Mans Rullgard
91d51ee4b5
Remove redundant checks against MIN_CACHE_BITS
With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS
is always >= 25, so tests against smaller values can be removed.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f162e988aa )
15 years ago
Mans Rullgard
a4bff12cdd
get_bits: move tracing macros to end of file
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 611a6f59ce )
15 years ago
Mans Rullgard
371cf026a7
Sanitise get_bits macros, part 2
These whitespace changes improve the readability of the get_bits
macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit fb5c841d5f )
15 years ago