Diego Biurrun
828e207337
dnxhdenc: Replace a forward declaration by the proper #include.
14 years ago
Ronald S. Bultje
c90a2538a0
h264: move h264_mvpred.h include.
...
Fixes the following compile error with darwin/gcc-4.2.1:
In file included from libavcodec/error_resilience.c:33:
libavcodec/h264.h: In function ‘decode_mb_skip’:
libavcodec/h264.h:773: error: ‘always_inline’ function could not be inlined in call to ‘pred_pskip_motion’: the function body must appear before caller
libavcodec/h264.h:1334: error: called from here
14 years ago
Jason Garrett-Glaser
b5bbc84fe2
H.264: add filter_mb_fast support for >8-bit decoding
...
Much faster high bit depth deblocking.
14 years ago
Jason Garrett-Glaser
f6b7f72461
H.264: avoid redundant alpha/beta calculations in loopfilter
14 years ago
Jason Garrett-Glaser
a4f6be86d6
H.264: optimize intra/inter loopfilter decision
14 years ago
Ronald S. Bultje
d1cf459119
vp8/mt: flush worker thread, not application thread context, on seek.
...
This prevents a crash when seeking.
14 years ago
Ronald S. Bultje
5eafc8b466
mt: proper locking around release_buffer calls.
...
This fixes a crash when seeking in some webm files with many
threads (e.g. 8).
14 years ago
Jean-Baptiste Kempf
58ef4ecff8
DxVA2: unbreak build after [ 657ccb5ac7
]
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
1765aacb17
hwaccel: unbreak build
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
...
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
14 years ago
Mans Rullgard
11043d80f6
ARM: use const macro to define constant data in asm
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
39c2a6bf44
bitdepth: simplify FUNC/FUNCC macros
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
710b8df949
dsputil: remove ff_emulated_edge_mc macro used in one place
...
This macro can cause problems in conjunction with the bitdepth
template expansion. It was presumably added to keep source
compatibility when high bitdepth support was added. However,
emulated_edge_mc is a dsputil pointer and should not be called
directly, so there is little reason to keep such a macro.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0f6fc8660e
9/10-bit: simplify clipping macros
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
84626b364b
lavc: add support for codec-specific defaults.
14 years ago
Anton Khirnov
71a861cf40
lavc: make avcodec_alloc_context3 officially public.
...
Deprecate avcodec_alloc_context/2.
14 years ago
Anton Khirnov
18c007ba37
lavc: remove a half-working attempt at different defaults for audio/video codecs.
...
It should be replaced with proper per-codec defaults.
14 years ago
Anton Khirnov
9b83919f44
ac3dec: add a drc_scale private option
...
Deprecate corresponding AVCodecContext option.
This is the first test of decoder private options.
14 years ago
Anton Khirnov
0b950fe240
lavc: introduce avcodec_open2() as a replacement for avcodec_open().
...
Adds support for decoder-private options and makes setting other options
simpler.
14 years ago
Jason Garrett-Glaser
7f7dc4fb55
H.264: fix filter_mb_fast with 4:4:4 + 8x8dct
14 years ago
Frank Barchard
f98c9fb27d
mpeg1video: don't abort if thread_count is too high.
...
Instead, just decrease it to a valid value and use that.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Biurrun
d8dbe20241
libxvid: Add const qualifier to silence compiler warning.
...
libavcodec/libxvidff.c:752: warning: initialization discards qualifiers from pointer target type
14 years ago
Jason Garrett-Glaser
6a2176aac0
H.264: improve qp_thresh check
...
Eliminate redundant check in filter_mb_fast, consider bit depth in calculating qp_thresh.
14 years ago
Jason Garrett-Glaser
99b6d2c065
H.264: use fill_rectangle in CABAC decoding
14 years ago
Jason Garrett-Glaser
298e52c99c
H.264: Remove redundant hl_motion_16/8 code
14 years ago
Jason Garrett-Glaser
ef0c594801
H.264: merge fill_rectangle into P-SKIP MV prediction, to match B-SKIP
14 years ago
Jason Garrett-Glaser
5136ba7c69
H.264: faster P-SKIP decoding
...
Inline the relevant parts of fill_decode_caches into P-SKIP mv prediction to
avoid calling the whole thing.
14 years ago
Jason Garrett-Glaser
bbdd52ed34
H.264: av_always_inline some more functions
...
These weren't getting inlined all the time in all gcc versions.
14 years ago
Daniel Kang
c0483d0c7a
H.264: Add x86 assembly for 10-bit H.264 predict functions
...
Mainly ported from 8-bit H.264 predict.
Some code ported from x264. LGPL ok by author.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
bda168d2b0
mp3enc: write a xing frame containing number of frames in the file
14 years ago
Mans Rullgard
ecf86e1a97
dnxhd: prettify tables
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
51915cfa47
flashsv: inline copy_region() into flashsv_decode_frame()
14 years ago
Diego Biurrun
91fe776913
flashsv: improve some variable names
14 years ago
Diego Biurrun
8886d75263
libschroedingerdec: Remove write-only variable.
...
libavcodec/libschroedingerdec.c:211:23: warning: variable 'format' set but not used
14 years ago
Diego Biurrun
357d0d8fc7
libgsm: Drop const qualifier to silence compiler warning.
...
libavcodec/libgsm.c:148: warning: passing argument 2 of ‘gsm_decode’ discards qualifiers from pointer target type
/usr/include/gsm/gsm.h:68: note: expected ‘gsm_byte *’ but argument is of type ‘const uint8_t *’
14 years ago
Diego Biurrun
b0058bda78
libvo-amrwbenc: Add braces to shut up gcc warning.
...
libavcodec/libvo-amrwbenc.c:37:5: warning: missing braces around initializer
14 years ago
Kostya
df64da3b1e
bink: pass Bink version to audio decoder through extradata instead of codec_tag.
...
This is needed because not all players (e.g. MPlayer) are able to distinguish
two different Bink audio decoders when codec_tag is set.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
dc90031038
flashsv: improve some comments and fix some wrong ones
14 years ago
Diego Biurrun
a082e68030
flashsv: Eliminate redundant variable indirection.
...
As a positive side-effect, this gets rid of the following warning:
libavcodec/flashsv.c:190:38: warning: assignment discards ‘const’ qualifier from pointer target type
14 years ago
Diego Biurrun
ecf026f1aa
flashsv: set reference frame type to full frame
14 years ago
Diego Biurrun
bc35ab3f7d
flashsv: replace bitstream description by a link to the specification
...
An official specification now exists and it is both more detailed and easier to
understand than the incomplete notes available here. Also remove ideas on how
to implement an encoder; these notes are already present in the encoder.
14 years ago
Diego Biurrun
9b576e4d12
flashsv: convert a debug av_log into av_dlog
14 years ago
Diego Biurrun
39884ab035
flashsv: simplify condition
14 years ago
Diego Biurrun
dbf5b95d35
flashsv: return more meaningful error values
14 years ago
Diego Biurrun
940230202a
flashsv: cosmetics: break some overly long lines
14 years ago
Diego Biurrun
cabc2938de
flashsv: cosmetics: drop some unnecessary parentheses
14 years ago
Jason Garrett-Glaser
a625e13208
H.264: make loopfilter bS const where applicable
14 years ago
Diego Biurrun
8dd52d8202
opencore-amr: Add missing initializer braces to shut up gcc warning.
...
This fixes the warning:
libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
14 years ago
Mans Rullgard
fce1e43410
ARM: workaround for bug in GNU assembler
...
Some versions of the GNU assembler do not handle 64-bit
immediate operands containing arithmetic. Writing the
value out in full works correctly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Clément Bœsch
6d75fb01eb
dv: fix comment wording mistake
14 years ago