Kostya Shishkov
49df339f4b
mss1: merge decode_intra() and decode_inter()
They have most of their code in common.
13 years ago
Martin Storsjö
b42be2d56a
avprobe: Get rid of ugly casts in the options table
This also makes sure the function pointers are stored via the same
union member as they are accessed via.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
b441a4517b
vf_hqdn3d: Remove a duplicate inline declaration
Compilation seems to fail on GCC 3.4 due to this duplicate
declaration.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
2bd67175c7
vf_hqdn3d: Don't declare the loop variable within the for loop
This C99 feature is generally not used in the libav codebase,
since it breaks building with some fringe compilers (GCC 2.95,
MSVC).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
e0f7a9f6e7
huffyuv: update to current coding style
13 years ago
Luca Barbato
f76e47877c
huffman: update to current coding style
13 years ago
Martin Storsjö
125c6c0752
rtsp: Free the rtpdec context properly
The condition for calling the rtpdec cleanup was broken in
df8cf076c8 .
This fixes a memory leak.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
3f02c533f3
build: fft: x86: Drop unused YASM-OBJS-FFT- variable
13 years ago
Diego Biurrun
d7f9786cbc
audio_frame_queue: Clean up ff_af_queue_log_state debug function
The function is debug-only, so only compile it in debug mode.
Make it static as it has no uses outside of the file.
Change av_log() to av_dlog().
13 years ago
Diego Biurrun
1ce5dce454
dwt: Remove unused code.
14 years ago
Mans Rullgard
88386feefd
cavs: convert cavsdata.h to a .c file
Defining tables in header files is ugly and prone to duplication.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
a6d9f9e60e
cavs: Move inline functions only used in one file out of the header
13 years ago
Diego Biurrun
ef07ac1e12
cavs: Move data tables used in only one place to that file
13 years ago
Jan Ekström
09bd0ea94e
fate: Add a single symbol Ut Video decoder test
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Loren Merritt
7a1944b907
vf_hqdn3d: x86 asm
13% faster on penryn, 16% on sandybridge, 15% on bulldozer
Not simd; a compiler should have generated this, but gcc didn't.
13 years ago
Loren Merritt
566858a770
vf_hqdn3d: support 16bit colordepth
13 years ago
Anton Khirnov
44b0b85fe9
avconv: prefer user-forced input framerate when choosing output framerate
13 years ago
Mans Rullgard
db70730291
x86: fft: remove unused fft_dispatch* functions
These functions are not used since the yasm conversion.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
cba79d2123
avconv: remove unused variable opt_shortest
This was replaced with a per-file value in 3c0df90 .
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Derek Buitenhuis
efab2e004a
FATE: Add Canopus Lossless tests
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Derek Buitenhuis
aa7a565101
cllc: Pad swapped buffer
The bitstream buffer must be padded, or the bitstream reader might
read over the end.
Fixes the following valgrind warning:
Use of uninitialised value of size 8 at 0x591BAE: cllc_decode_frame (cllc.c:166)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
13 years ago
Jan Ekström
01cb4c84f5
utvideodec: Fix single symbol mode decoding
Put the zero length check in place of code that was never used
during decoding, as zero-length slices were generally refused
in decode_frame().
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Mans Rullgard
081bab5ee3
truespeech: drop useless casts
These values already have the correct types.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
0c88e7a255
libavcodec: drop bogus dependencies from mpc[78] and qdm2
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
2e2b8ef8e0
mpegaudio: move ff_mpa_enwindow to a separate file
This table is used only by mpegaudiodsp and mpegaudioenc. Separating
it allows dropping some dependencies from mpc[78] and qdm2.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
4d7adec8bd
AVOptions: store defaults for INT64 options in int64 union member.
Double does not have enough precision to represent all int64 numbers
exactly.
13 years ago
Anton Khirnov
a1bcc76e60
cmdutils: fix a memleak when specifying an option twice.
13 years ago
Diego Biurrun
dc40285427
x86: mpegvideo: more sensible names for optimization file and init function
13 years ago
Diego Biurrun
d211547ddd
x86: mpegvideoenc: Split optimizations off into a separate file
13 years ago
Diego Biurrun
26ce9aec03
dnxhdenc: x86: more sensible names for optimization file and init function
13 years ago
Diego Biurrun
f1e06d37c9
svq1/svq3: Move common code out of SVQ1 decoder-specific file
13 years ago
Jordi Ortiz
43da682c87
dirac: add Comments and references to the standard
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Justin Ruggles
06e751a40f
lavr: x86: optimized 6-channel flt to fltp conversion
13 years ago
Justin Ruggles
e07c9705c8
lavr: x86: optimized 2-channel flt to fltp conversion
13 years ago
Justin Ruggles
5245c9f3ad
lavr: x86: optimized 6-channel flt to s16p conversion
13 years ago
Justin Ruggles
31d0d7181d
lavr: x86: optimized 2-channel flt to s16p conversion
13 years ago
Justin Ruggles
6092dafb5a
lavr: x86: optimized 6-channel s16 to fltp conversion
13 years ago
Justin Ruggles
91851a7b37
lavr: x86: optimized 2-channel s16 to fltp conversion
13 years ago
Justin Ruggles
205ace8843
lavr: x86: optimized 6-channel s16 to s16p conversion
13 years ago
Justin Ruggles
8eeffa8ada
lavr: x86: optimized 2-channel s16 to s16p conversion
13 years ago
Justin Ruggles
b66e20d2aa
lavr: x86: optimized 2-channel fltp to flt conversion
13 years ago
Justin Ruggles
d5b4e50c47
lavr: x86: optimized 6-channel fltp to s16 conversion
13 years ago
Justin Ruggles
a58a013980
lavr: x86: optimized 2-channel fltp to s16 conversion
13 years ago
Justin Ruggles
90cc27f813
lavr: x86: optimized 6-channel s16p to flt conversion
13 years ago
Justin Ruggles
46f929adad
lavr: x86: optimized 2-channel s16p to flt conversion
13 years ago
Justin Ruggles
13df7d2d40
lavr: x86: optimized 6-channel s16p to s16 conversion
13 years ago
Justin Ruggles
c0e12535aa
lavr: x86: optimized 2-channel s16p to s16 conversion
13 years ago
Anton Khirnov
7b44061f4b
doc/APIchanges: add an entry for codec descriptors.
Also fill in missing dates and hashes.
13 years ago
Justin Ruggles
a0a5fed908
vorbisenc: set AVCodecContext.bit_rate to 0
The Vorbis encoder is always VBR.
13 years ago
Justin Ruggles
890fddd0ea
vorbisenc: fix quality parameter
This generates output with bitrates similar to libvorbis for a given quality
value.
13 years ago