Ben Boeckel
51a84a6bca
avpacket: add pack/unpack functions for AVDictionary
...
These functions are intended for use with side_data which comes in an
AVPacket.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Reviewed-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ben Boeckel
1e506a2cc5
avcodec: add side_data type for updated metadata
...
This type is intended to be used to allow codecs to pass updated
metadata to applications.
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Reviewed-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Xidorn Quan
973b1a6b90
vda_h264_dec: backup context before overriding
...
Some of context fields which must be overrided by this wrapper decoder
may be set and used by user, so we have to save and restore them before
and after invoking the inner decoder to secure user.
11 years ago
Michael Niedermayer
6c04c5f733
avcodec/h261enc: dont use current_mv_x/y
...
Fixes -mbd rd
Fixes Ticket3151
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
cccdaa406a
avcodec/h261enc: avoid use of current/previous_mba
...
Fixes part of Ticket3151
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
05493c6e72
avcodec/avpacket: correctly set the number of side data elements in av_copy_packet_side_data()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Tim Walker
ffb0af7f17
ac3dec: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Diego Biurrun
57f13fd7e9
dv_tablegen: Remove CONFIG_SMALL preprocessor check
...
The code does in no way depend on CONFIG_SMALL.
11 years ago
Vittorio Giovara
6f1ec8edf2
avcodec.h: include version.h before using version macro
11 years ago
Vittorio Giovara
c673fc919c
hevc_sei: drop unused parameter
11 years ago
Vittorio Giovara
d234c7a07c
mpeg4videodec: K&R formatting cosmetics
11 years ago
Vittorio Giovara
8769113acc
mpeg4videoenc: K&R formatting cosmetics
11 years ago
Kostya Shishkov
16e7b189c5
mpegvideo: Fix swapping of UV planes for VCR2
11 years ago
Tim Walker
69d4dbfd1f
aac_ac3_parser: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Tim Walker
37a3cac78c
dcadec: simplify an expression
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Michael Niedermayer
f0f04fd842
avcodec/asvenc: remove code allocating dummy coded_frame
...
Fixes memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
918cab1a9f
avcodec/pcm-dvd: print actual block size values in block size changed warning
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4adf1fe34f
avcodec/pcm-dvd: fix incorrectly printed warning about changed block sizes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
ab184b298d
avcodec/pcm-dvd: fix 20/24bit 1 channel
...
Fixes part of ticket3122
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5db49fc38d
avcodec/pcm-dvd: fix 20bit 2 channels
...
Fixes part of ticket3122
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Carl Eugen Hoyos
2974050cf5
Add a lavc Makefile dependency for the elbg filter.
...
Fixes compilation with --disable-encoders
Reported by trac user Julian in ticket #3140 .
11 years ago
Anton Khirnov
a553c6a347
lavc: use buf[0] instead of data[0] in checks whether a frame is allocated
...
data[0] may be NULL for valid frames with hwaccel pixel formats.
11 years ago
Carl Eugen Hoyos
3f2ce316cd
Add a Makefile rule for the little-endian G.726 decoder.
...
Fixes compilation with --disable-everything --enable-decoder=adpcm_g726le
11 years ago
Paul B Mahol
74906d3727
avcodec/libopusenc: change default frame duration to 20 ms
...
20 ms is used by libopus encoder.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years ago
Michael Niedermayer
cda3c00475
avcodec/h261enc: remove unused variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
260fc0d95b
avcodec/libxavs: 2nd attempt to fix compilation after b18c7c8d
.
11 years ago
Clément Bœsch
71cd83e34c
avcodec/libxavs: attempt to fix compilation after b18c7c8d
.
11 years ago
Vallimar
6f8a27dd3b
avcodec/old_codec_ids: fix missing FF_API_XVMC check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
e0434cfcfc
avcodec/x86: remove 3 sub in pred4x4_tm_vp8_8.
...
before:
411 decicycles in ff_pred4x4_tm_vp8_8_ssse3, 8388289 runs, 319 skips
after:
389 decicycles in ff_pred4x4_tm_vp8_8_ssse3, 8388308 runs, 300 skips
Tested on i7 920.
11 years ago
Michael Niedermayer
c017f15dde
qpeg: remove faulty avcodec_get_frame_defaults()
...
Found-by: {V}
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
9f630e8346
avcodec/mpegaudioenc: prevent overflow in fixed point code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c3814ab654
rename new lls code to lls2 to avoid conflict with the old which has a different ABI
...
also remove failed attempt at a compatibility layer, the code simply cannot work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
bbe66ef912
avutil: rename lls to lls2
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
331a90cec4
avcodec/h261: trellis quantization support
...
Fixes ticket3143
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Clément Bœsch
484f8d77c6
avcodec/vp9: assert on sane size in update_size().
...
w and h are both read as uint16 + 1 so this can not happen. A similar
change was introduced in 97962b2
/ 72ca830
, with the
av_log()+AVERROR_INVALIDDATA form, suggesting it could be triggerable
somehow.
Change suggested by Ronald S. Bultje.
11 years ago
Clément Bœsch
c20a7ce62d
avcodec/vp9: remove some reset-to-zero from vp9_decode_free().
...
Those should not be necessary.
Original change by one of these developers:
Anton Khirnov <anton@khirnov.net>
Diego Biurrun <diego@biurrun.de>
Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö <martin@martin.st>
See 97962b2
/ 72ca830
11 years ago
Clément Bœsch
7e704b1e10
avcodec/vp9: add a never triggerable assert.
...
vp8_rac_get_tree() is called with a tree of size 3, so the returned
value can not be outside [0;3]. All of the [0;3] cases are handled in
the switch, so the assert should not be triggerable by any means. A
similar change was introduced in 97962b2
/ 72ca830
, with the
av_log()+AVERROR_INVALIDDATA form, suggesting it could be triggerable
somehow. This assert might help static analyzer, or simply the reader.
11 years ago
Martin Storsjö
ab80d7e8c5
vp9: Ensure that the arithmetic coder values are read in the right order
...
The operands of an addition can be evaluated in any order, since
the addition isn't a sequence point. The only operators that
have a defined evaluation order are &&, ||, ?: and the sequence
operator ','.
This fixes fate-vp9 on ARM RVCT.
11 years ago
Anton Khirnov
1c01b0253e
mpegvideo_enc: use the AVFrame API properly.
11 years ago
Anton Khirnov
a6064b12b4
ffv1: use the AVFrame API properly.
11 years ago
Anton Khirnov
706a92926c
jpegls: use the AVFrame API properly.
11 years ago
Anton Khirnov
14b35bf065
huffyuv: use the AVFrame API properly.
11 years ago
Anton Khirnov
ffe04c3303
libxvid: use the AVFrame API properly.
11 years ago
Anton Khirnov
863a670e48
pcxenc: use the AVFrame API properly.
11 years ago
Anton Khirnov
7ca97aa7ee
roqvideo: remove unused variables
11 years ago
Anton Khirnov
372262853b
libschroedingerenc: use the AVFrame API properly.
11 years ago
Anton Khirnov
97168b204a
eatgv: use the AVFrame API properly.
11 years ago
Anton Khirnov
b18c7c8d3d
libxavs: use the AVFrame API properly.
11 years ago
Anton Khirnov
5290e02a0a
nuv: use the AVFrame API properly.
11 years ago
Anton Khirnov
d56a114adc
flashsvenc: use the AVFrame API properly.
11 years ago