Jason Garrett-Glaser
e9266a2be0
VP8: slightly faster loopfilter sharpness logic
(cherry picked from commit 8a2c99b486 )
15 years ago
Jason Garrett-Glaser
9efa368f19
VP8: faster deblock strength calculation
Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
(cherry picked from commit 79dec1541b )
15 years ago
Clément Bœsch
b9004bd50c
Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 523d9407d5 )
15 years ago
Jason Garrett-Glaser
c54ac7a8f2
VP8: faster filter_level clip
(cherry picked from commit a1b227bb53 )
15 years ago
Jason Garrett-Glaser
8cde1b7997
VP8: simplify lf_delta mb mode logic
(cherry picked from commit dd18c9a050 )
15 years ago
Diego Elio Pettenò
84ae8936f6
Make inter_rvlc and intra_rvlc static tables.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Anton Khirnov
c2fcd0a7a4
Replace remaining occurrences of deprecated CH_* with AV_CH_*
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Kieran Kunhya
f4a86bc981
Set channel_layout for mpegaudio
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Alexander Strange
edbb0c0708
vp3: Move table allocation code into a new function
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Alexander Strange
e8dcd73058
vp3: Factor out expression
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
15 years ago
Jason Garrett-Glaser
8a2c99b486
VP8: slightly faster loopfilter sharpness logic
15 years ago
Jason Garrett-Glaser
79dec1541b
VP8: faster deblock strength calculation
Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
15 years ago
Clément Bœsch
523d9407d5
Remove a few if (p) av_freep(&p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Jason Garrett-Glaser
a1b227bb53
VP8: faster filter_level clip
15 years ago
Jason Garrett-Glaser
dd18c9a050
VP8: simplify lf_delta mb mode logic
15 years ago
Anton Khirnov
7cb5258483
Rename remaining occurrences of SAMPLE_FMT_* to AV_SAMPLE_FMT_*
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 151595fe2e )
15 years ago
Anton Khirnov
4d9c044d47
Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*
Tested to compile with lavc major bump.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit b2ed95ec48 )
15 years ago
Tomas Härdin
6cd67b9f5b
Add CODEC_ID_PRORES and bump lavc minor version
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f5b82f45dc )
15 years ago
Clément Bœsch
e31a744155
Remove a few if (p) av_free(p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 437fb1c87d )
15 years ago
Nicolas George
cf96cce728
Set pkt_pts in avcodec_default_reget_buffer()
This was missed when pkt_pts was first added.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 62ecd3635a )
15 years ago
Justin Ruggles
1003022668
ac3enc: Change EXP_DIFF_THRESHOLD to 500.
This patch changes the exponent difference threshold in the exponent
strategy decision function of the AC-3 encoder. I tested lowering in
increments of 100. From 1000 down to 500 generally increased in quality
with each step, but 400 was generally much worse.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c3beafa0f1 )
15 years ago
Mans Rullgard
01b75fa931
ARM: add helper macro for declaring constant data
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit b9a639ddd6 )
15 years ago
Justin Ruggles
fe2ff6d247
Separate format conversion DSP functions from DSPContext.
This will be beneficial for use with the audio conversion API without
requiring it to depend on all of dsputil.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit c73d99e672 )
15 years ago
Alex Converse
a35d782d28
Fix ff_imdct_calc_sse() on gcc-4.6
Gcc 4.6 only preserves the first value when using an array with an "m"
constraint.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 770c410fbb )
15 years ago
Anton Khirnov
151595fe2e
Rename remaining occurrences of SAMPLE_FMT_* to AV_SAMPLE_FMT_*
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Anton Khirnov
b2ed95ec48
Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*
Tested to compile with lavc major bump.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Tomas Härdin
f5b82f45dc
Add CODEC_ID_PRORES and bump lavc minor version
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Clément Bœsch
437fb1c87d
Remove a few if (p) av_free(p) forms
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Nicolas George
62ecd3635a
Set pkt_pts in avcodec_default_reget_buffer()
This was missed when pkt_pts was first added.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Justin Ruggles
c3beafa0f1
ac3enc: Change EXP_DIFF_THRESHOLD to 500.
This patch changes the exponent difference threshold in the exponent
strategy decision function of the AC-3 encoder. I tested lowering in
increments of 100. From 1000 down to 500 generally increased in quality
with each step, but 400 was generally much worse.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Mans Rullgard
b9a639ddd6
ARM: add helper macro for declaring constant data
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Justin Ruggles
c73d99e672
Separate format conversion DSP functions from DSPContext.
This will be beneficial for use with the audio conversion API without
requiring it to depend on all of dsputil.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Anssi Hannula
45eaec3029
h264: add profile names for the existing defines
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 71e0bee9ea )
15 years ago
Janne Grunau
94e3e83f13
h264: Add Intra and Constrained Baseline profiles to avctx.profile
(cherry picked from commit fe9a3fbe42 )
15 years ago
Gianluigi Tiesi
8a92ec71b3
dca: avoid C99 declaration in for() expression
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e86e858111 )
15 years ago
Jason Garrett-Glaser
5ad4335c22
VP8: merge chroma MC calls
Adds some duplicated code, but avoids duplicate edge checks and similar.
~0.5% faster overall on Parkjoy test sample.
(cherry picked from commit 64233e702a )
15 years ago
Ronald S. Bultje
baffa091af
Implement a SIMD version of emulated_edge_mc() for x86.
From ~550 cycles (C version) to 170 (SSE/x86-64), 206 (MMX/x86-32)
and 196 (SSE2/x86-32) cycles.
(cherry picked from commit 81f2a3f4ff )
15 years ago
Justin Ruggles
389b5bfa34
cosmetics: indentation
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d19b744a36 )
15 years ago
Justin Ruggles
a8ae4e0e7b
Remove unneeded add bias from 3 functions.
DSPContext.vector_fmul_window()
DCADSPContext.lfe_fir()
SynthFilterContext.synth_filter_float()
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 80ba1ddb58 )
15 years ago
Alex Converse
770c410fbb
Fix ff_imdct_calc_sse() on gcc-4.6
Gcc 4.6 only preserves the first value when using an array with an "m"
constraint.
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Anssi Hannula
71e0bee9ea
h264: add profile names for the existing defines
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
15 years ago
Janne Grunau
fe9a3fbe42
h264: Add Intra and Constrained Baseline profiles to avctx.profile
15 years ago
Gianluigi Tiesi
e86e858111
dca: avoid C99 declaration in for() expression
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Jason Garrett-Glaser
64233e702a
VP8: merge chroma MC calls
Adds some duplicated code, but avoids duplicate edge checks and similar.
~0.5% faster overall on Parkjoy test sample.
15 years ago
Ronald S. Bultje
81f2a3f4ff
Implement a SIMD version of emulated_edge_mc() for x86.
From ~550 cycles (C version) to 170 (SSE/x86-64), 206 (MMX/x86-32)
and 196 (SSE2/x86-32) cycles.
15 years ago
Justin Ruggles
d19b744a36
cosmetics: indentation
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Justin Ruggles
80ba1ddb58
Remove unneeded add bias from 3 functions.
DSPContext.vector_fmul_window()
DCADSPContext.lfe_fir()
SynthFilterContext.synth_filter_float()
Signed-off-by: Mans Rullgard <mans@mansr.com>
15 years ago
Jason Garrett-Glaser
a4257d74e0
Slightly simplify VP8 inter_predict
Merge an if and a switch.
(cherry picked from commit 73be29b0c4 )
15 years ago
Jason Garrett-Glaser
73be29b0c4
Slightly simplify VP8 inter_predict
Merge an if and a switch.
15 years ago
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb )
15 years ago