Diego Biurrun
b8de14bcdf
tools: Port to codec parameters API
9 years ago
Paul B Mahol
95b20ad7b2
avcodec/iff: fix artifacts with uncompressed ham ANIMs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Francois Cartegnie
393596f9d5
mpegtsenc: stop impersonating ses in sdt
Unless specified, users must use non registered
range for network id
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Alexandra Hájková
ffa190d047
Move VLC and RL_VLC_ELEM structure definitions to a separate header
Use the newly created vlc.h directly instead of including get_bits when needed.
The VLC and RL_VLC_ELEM structures are independent from the bitreader.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Anton Khirnov
b23613268c
avconv_dxva2: use the hwcontext API
9 years ago
Anton Khirnov
c46db38cde
hwcontext: add a dxva2 implementation
10 years ago
ZhouXiaoyong
af3e944e7e
avcodec/mips/h264dsp_mmi: Version 2 of the optimizations for loongson mmi
1. no longer use the register names directly and optimized code format
2. to be compatible with O32, specify type of address variable with mips_reg and handle the address variable with PTR_ operator
3. optimize some unaligned loads and stores
4. use uld and mtc1 to workaround cpu 3A2000 gslwlc1 bug (gslwlc1 instruction extension bug in O32 ABI)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
60c2e38dcb
avformat/dtshddec: implement AUPR_HDR chunk parsing
Use it to get stream duration, sample rate, channel count and initial padding
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
ab3c04c458
avformat/dtshddec: parse chunks stored after audio data
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
72e33eec3a
avcodec/iff: add support for ANIMs with keyframes and concatenated ANIMs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
8767470fb5
avcodec/iff: check if there is enough bytes left
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
635b2ec5f2
avformat/utils: Do not compute the bitrate from duration == 0
Fixes division by 0 in fate-acodec-ra144
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
6085d6b2ae
ffmpeg: Check that r_frame_rate is set before attempting to use it
Avoids unexpected occurance and dependency on NaN behavior and divisions by 0
Testcase: fate-lavf-fate-avi_cram
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Alexandra Hájková
d338abb664
mpeg4videodec: Call av_log() in check_marker() with AVCodecContext instead of NULL
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Alexandra Hájková
e4b38878da
Move check_marker() from get_bits to mpeg4videodec
MPEG-4 is the only decoder which uses check_marker().
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
31f6a4b4b8
lavc: mark the old audio/video encoding API as deprecated
9 years ago
Anton Mitrofanov
2fb1d17a5a
x86inc: Enable AVX emulation in additional cases
Allows emulation to work when dst is equal to src2 as long as the
instruction is commutative, e.g. `addps m0, m1, m0`.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Mitrofanov
300fb0df84
x86inc: Improve handling of %ifid with multi-token parameters
The yasm/nasm preprocessor only checks the first token, which means that
parameters such as `dword [rax]` are treated as identifiers, which is
generally not what we want.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Mitrofanov
8d02579fae
x86inc: Fix AVX emulation of some instructions
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Henrik Gramner
ba3eb745cc
x86inc: Fix AVX emulation of scalar float instructions
Those instructions are not commutative since they only change the first
element in the vector and leave the rest unmodified.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
8996515b13
avpacket: fix setting AVPacket.data in av_packet_ref()
The data field does not necessarily point to the beginning of the
underlying AVBuffer.
CC: libav-stable@libav.org
9 years ago
Anton Khirnov
e62ff72fc1
lavc: make avcodec_open2() fail when the timebase is not set for encoding
Many encoders use it. There is also a divide by the timebase lower in
this function, which would crash when it is not set.
9 years ago
Michael Niedermayer
feeb3a9261
swresample/resample: Fix division by 0 with tap_count=1
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
2f76157eb0
swresample/rematrix: Use clipping s16 rematrixing if overflows are possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
5afecff1ef
avformat/adxdec: set bit_rate, fixes duration calculation
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
7fe81bc4f8
swresample/rematrix: Use error diffusion to avoid error in the DC component of the matrix
This fixes the sum of the integer coefficients ending up summing to a value
larger than the value representing unity.
This issue occurs with qN0.dts when converting to stereo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Michael Niedermayer
35c23bf67d
avcodec/dsd: Fix "warning: ctables defined but not used [-Wunused-variable]"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
5350e0fc97
avcodec/iff: rewrite out of bounds checking in writer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Michael Niedermayer
fd4a52e4da
avcodec/dstdec: Fix "warning: initialization from incompatible pointer type [enabled by default]"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
81c3ce0855
doc/general: update supported DCA extensions
9 years ago
Will Kelleher
964f07f68e
hevc: Fix memory leak related to a53_caption data
Signed-off-by: Will Kelleher <wkelleher@gogoair.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Paul B Mahol
6543a72fce
doc/general: mention DST decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
9b017ac7f1
doc/general: mention WSD demuxer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
26eee872e8
avcodec/escape124: change transitions table type to int8_t
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Paul B Mahol
f57897e498
avcodec: bump minor and update Changelog for recent DST addition
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
Peter Ross
86e493a6ff
avcodec: add Direct Stream Transfer (DST) decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
foo86
365b0c13e4
avcodec/dca: print error message when no frame is found in packet
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Paul B Mahol
51a1c1c6ac
avcodec/iff: check for end of buffer in input for delta_l decompression
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
ZhouXiaoyong
d680ab1c46
avutil/mips: header asmdefs.h add some PTR_ macros for loongson
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
James Almer
004b582386
avutil/lzo: split test out into a separate file
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Paul B Mahol
01ead2a639
avcodec/iff: implement 3rd delta ANIM decompression
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
James Almer
8ba257bac6
avformat/Makefile: fix avlanguage dependencies
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
d8ef8b960a
avutil/sha512-test: fix memleak
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
7ee0e0ca1d
avutil/sha-test: fix memleak
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
64dbfcc415
avutil/ripemd-test: fix memleak
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
f92d2f3292
avutil/aes-test: fix memleak
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Matthieu Bouron
f6265a5cbc
swresample/arm: add ff_resample_common_apply_filter_{x4,x8}_{float,s16}_neon
9 years ago
Diego Biurrun
11de006bab
Combine deprecation guards where appropriate
Some code blocks use multiple bits of deprecated API.
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
257f00ec1a
Split global .gitignore file into per-directory files
9 years ago