Diego Biurrun
ebb160a0b0
Use ARCH_X86_32 instead of !ARCH_X86_64, it is more straightforward.
...
Originally committed as revision 16262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:03:30 +00:00
Anuradha Suraparaju
64bfc5845b
Fix incorrectly constructed Dirac parse units that caused A/V sync loss.
...
Fixes issue 694.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 16261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-22 00:01:39 +00:00
Diego Biurrun
c4ff7c53e0
Do not use full include path for headers in the same directory.
...
Originally committed as revision 16260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:56:55 +00:00
Michael Niedermayer
c96bd21227
Change mpeg audio parser so it only sets frame_size, channels and bit_rate
...
after it has a few valid frames.
Fixes issue762
Originally committed as revision 16259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 23:50:16 +00:00
Andreas Öman
1af34f094e
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
...
own llrint() is to be used.
Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:53:42 +00:00
Michael Niedermayer
ed4c638a07
Fix PTS returned by the demuxers for mpeg4 without a decoder.
...
More precissely fix has_b_frames.
Fixes issue757
Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:47:29 +00:00
Michael Niedermayer
c62da7972b
Move CODEC_FLAG_LOW_DELAY into ff_mpeg4_decode_picture_header().
...
Originally committed as revision 16255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:30:36 +00:00
Michael Niedermayer
befc8fe086
Remove useless code.
...
Originally committed as revision 16253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 17:49:40 +00:00
Michael Niedermayer
c212fb0cb1
Only execute clear_blocks() when needed.
...
+0.3% speedup for both aladin & cathedral.
Originally committed as revision 16252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 15:58:42 +00:00
Robert Swain
897c1703d0
AAC: Reindent after last commit
...
Originally committed as revision 16251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:32:55 +00:00
Alex Converse
aab5413323
AAC: Fix AAC prediction when used in conjunction with the CPE
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:28:14 +00:00
Alex Converse
99665a21f4
AAC: Don't write an illegal sampling_index in a PCE to the MPEG4AudioConfig
...
member
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 05:08:32 +00:00
Michael Niedermayer
66c07ca96f
Optimize get_dct8x8_allowed().
...
30 cpu cycles faster on pentium dual.
Originally committed as revision 16248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 23:11:30 +00:00
Kostya Shishkov
6beb8b2612
RV30 decoder
...
Originally committed as revision 16247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 18:06:01 +00:00
Kostya Shishkov
541e8f3bec
RV30 loop filter
...
Originally committed as revision 16245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 06:09:54 +00:00
Reynaldo H. Verdejo Pinochet
3f16ed15df
Cosmetics by Kenan Gillet. Part 1 of 3 of his 'qcelp: silence handling'
...
changeset.
Originally committed as revision 16244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-20 02:38:34 +00:00
Stefano Sabatini
64e74b68a4
Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
...
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.
Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:37:56 +00:00
Stefano Sabatini
f16dd7e65a
Remove calls to deprecated av_set_string2() with calls to
...
av_set_string3().
Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 22:29:30 +00:00
Jason Garrett-Glaser
aac8b76983
H.264 loopfilter speed tweaks
...
Originally committed as revision 16240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 14:49:17 +00:00
Jason Garrett-Glaser
a22eff36f9
Port x264 deblocking code to libavcodec.
...
This includes SSE2 luma deblocking code and both MMXEXT and SSE2 luma
intra deblocking code for H.264 decoding. This assembly is available
under --enable-gpl and speeds decoding of Cathedral by 7%.
Originally committed as revision 16239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 13:45:13 +00:00
Michael Niedermayer
6a1846eb4a
Document new idct requirements.
...
Originally committed as revision 16237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:34:18 +00:00
Michael Niedermayer
a5805aa9d1
Fix decoding with the plain C idcts of
...
FRExt/HPCAMOLQ_BRCM_B
FRExt/HPCAQ2LQ_BRCM_B
FRExt/HPCVMOLQ_BRCM_B
Originally committed as revision 16236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 09:21:54 +00:00
Kostya Shishkov
bbc888d0c5
a table for upcoming RV30 loop filtering
...
Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 06:29:35 +00:00
Jason Garrett-Glaser
40c7d0ae3c
Add automatic prefix handling to yasm functions. Does nothing now, but will
...
be useful for porting x264 asm in the future.
Originally committed as revision 16234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 03:01:08 +00:00
Michael Niedermayer
a5b807a6c1
Replace /2 by >>1 in decode_cabac_mb_dqp()
...
3 cpu cycles speed up on pentium dual.
Originally committed as revision 16233 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:28:51 +00:00
Michael Niedermayer
1aea5d35e5
Simplify ctx update in decode_cabac_mb_dqp().
...
no speed change
Originally committed as revision 16232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 02:00:33 +00:00
Michael Niedermayer
7cfca0dfd8
Simplify ctx calculation in decode_cabac_mb_dqp()
...
no speed change
Originally committed as revision 16231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:50:20 +00:00
Alexander Strange
d43696309a
Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of NALs in rbsp_buffer.
...
Fixes valgrind uninitialized value warnings at the end of decoding H.264
frames.
Originally committed as revision 16230 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 01:11:52 +00:00
Jason Garrett-Glaser
712ca84c21
Move filter_luma_intra into dsputil for later addition of asm.
...
Originally committed as revision 16228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:44:51 +00:00
Jason Garrett-Glaser
b9fe706305
Simplify chroma AC in CABAC residual decoding.
...
Originally committed as revision 16227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:43:30 +00:00
Michael Niedermayer
8955b66950
Optimize ctx calculation in decode_cabac_mb_mvd(), code by dark shikari.
...
The case for 16x16 blocks becomes 10 cpu cycles faster on pentium dual,
i could not find a speed difference in the case of subblocks though.
Originally committed as revision 16226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-19 00:05:39 +00:00
Michael Niedermayer
17779f39b6
Remove unacceptable NULL pointer hack from mc code.
...
Originally committed as revision 16225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:52:32 +00:00
Michael Niedermayer
04618b98e3
Check ref values in CABAC H.264 for validity.
...
Originally committed as revision 16224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 23:31:10 +00:00
Michael Niedermayer
c25ac15a07
Move idct_(dc)add closer to where it is needed.
...
Originally committed as revision 16223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:25:11 +00:00
Michael Niedermayer
aebb5d6d96
indent
...
Originally committed as revision 16222 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:14:38 +00:00
Michael Niedermayer
96465b90a1
Reorder ifs in chroma hl_decode_mb to avoid a duplicate transform_bypass
...
check.
14 cpu cycles speedup on Pentium Dual
Originally committed as revision 16221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 18:12:59 +00:00
Michael Niedermayer
6456d6d87c
s/h->cbp_table[mb_xy]/h->cbp/
...
Originally committed as revision 16220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 17:42:44 +00:00
Michael Niedermayer
04824298a9
Faster CAVLC decoding of trailing_ones. Based on a patch by dark shikari.
...
decode_residual is about 3.3% faster.
Originally committed as revision 16219 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 16:11:19 +00:00
Jason Garrett-Glaser
93445d1617
Replace i by trailing_ones, part of a patch by dark shikari.
...
No speed change meassureable with START/STOP_TIMER, but this is needed
for future optimizations.
Originally committed as revision 16218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:51:32 +00:00
Michael Niedermayer
c375d87f6f
Remove if() surrounding decode_cabac_mb_type() that can never be true.
...
Originally committed as revision 16217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:32:07 +00:00
Michael Niedermayer
c325b5054f
Remove unreachable else clause, found by dark shikari.
...
Originally committed as revision 16216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 15:21:15 +00:00
Michael Niedermayer
dae006d7d7
Remove useless IS_8x8DCT check i forgot, spotted by dark shikari.
...
Originally committed as revision 16215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 11:17:12 +00:00
Michael Niedermayer
2a5a9c2815
10l, svq3 didnt set h->cbp, this broke decoding a little.
...
Originally committed as revision 16214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 11:01:38 +00:00
Kostya Shishkov
efeb298ea0
cosmetics: remove one unneeded space
...
Originally committed as revision 16211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 06:00:12 +00:00
Michael Niedermayer
1eb960352b
Do not calculate idct_dc_add/idct_add when the variables are unused.
...
Originally committed as revision 16210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 04:13:02 +00:00
Michael Niedermayer
62bc966f8f
Remove redundant nnz variable.
...
Originally committed as revision 16209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 03:04:53 +00:00
Michael Niedermayer
0a8ca22f4e
indent
...
Originally committed as revision 16208 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:56:44 +00:00
Michael Niedermayer
2fd1f0e026
Use the new idct functions (except chroma as it was slower in benchmarks)
...
cathedral +0.5% speed
aladin +0.6% speed [note aladin has been cat-ed 10 times to reduce the influence
of init time]
Speedup also verified via START/STOP_TIMER (difference was very significant
for the changed parts)
Originally committed as revision 16207 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:53:18 +00:00
Michael Niedermayer
ac22385931
H.264 idct functions that include the chroma, inter luma and intra16 luma loops
...
thus avoiding the calling overhead.
New functions are not yet used.
Originally committed as revision 16206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 02:36:48 +00:00
Michael Niedermayer
49c084a745
Skip non intra luma code when there is no coded luma.
...
0.7% speedup for the cathedral sample.
Originally committed as revision 16203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 01:10:51 +00:00
Loren Merritt
00794ed0d9
1.6x faster pred*_vertical_add_c
...
Originally committed as revision 16202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 01:05:06 +00:00
Michael Niedermayer
621561cdf3
Skip chroma handling when there is no coded chroma.
...
0.5% overall speedup for the cathedral sample.
Originally committed as revision 16201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-18 00:46:54 +00:00
Kostya Shishkov
17b17c53f4
add const qualifier to some pointers for input data
...
Originally committed as revision 16195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:17:07 +00:00
Kostya Shishkov
bb39171beb
use precalculated mb_pos where available
...
Originally committed as revision 16194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:10:15 +00:00
Kostya Shishkov
6c3fca6479
Merge deblocking pattern with CBP for RV30/40 loop filtering
...
Originally committed as revision 16192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 20:00:48 +00:00
Kostya Shishkov
26bc319c1d
Generate correct deblock pattern for RV30
...
Originally committed as revision 16191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 19:39:56 +00:00
Kostya Shishkov
f610fc81c1
Unfortunately RV30 luma thirdpel MC functions cannot be substituted with
...
applying two separate filtering passes, so implement them explicitly.
Originally committed as revision 16190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 19:37:45 +00:00
Kostya Shishkov
6a4583e925
4l: TIFF stores short strings inside tag, do not interpret it is as an offset
...
Fixes issue 753
Originally committed as revision 16189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 17:39:35 +00:00
Guillaume Poirier
5f51afd602
add AltiVec implementation of int32_to_float_fmul_scalar
...
Originally committed as revision 16186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 09:47:06 +00:00
Michael Niedermayer
54dab66174
Fix svq3 decoding, is_complex was not initialized.
...
Originally committed as revision 16184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 03:41:48 +00:00
Michael Niedermayer
4080e67c8e
Replace != 0 || check by |
...
3 cpu cycles faster
Originally committed as revision 16183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:53:03 +00:00
Michael Niedermayer
ad9ca7e720
Split filter_mb_dir() out of filter_mb().
...
1% overall decoding speed up for cathedral-beta2-400extra-crop-avc.mp4
no speed change for Aladin.mpg
Benchmarks done on Pentium dual
Originally committed as revision 16182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:35:14 +00:00
Måns Rullgård
6c414bb6d4
AC3: fix strict aliasing violation in parser
...
Originally committed as revision 16181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:30:26 +00:00
Måns Rullgård
cb56b44086
AAC: fix strict aliasing violation in parser
...
Originally committed as revision 16180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 02:30:22 +00:00
Måns Rullgård
a2fc0f6a6d
ARM: replace "armv4l" with "arm"
...
Originally committed as revision 16179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:54:54 +00:00
Diego Biurrun
2600f8c86d
Remove obsolete and misleading comments.
...
Originally committed as revision 16178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-17 00:39:45 +00:00
Michael Niedermayer
ac0623b23c
Fix indention, also do a little vertical alignment of changed lines.
...
Originally committed as revision 16176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 22:16:11 +00:00
Stefano Sabatini
7b1454c439
Implement av_set_string3().
...
Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:35:35 +00:00
Michael Niedermayer
6120a343aa
Factorize 3 multiplications out, code becomes 3 cpu cycles faster.
...
(not significant as thats just per MB)
Originally committed as revision 16174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 21:08:16 +00:00
Michael Niedermayer
1dd488e955
Move ENABLE_SMALL back to the per MB check, as otherwise gcc wont remove
...
the code.
Originally committed as revision 16173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:43:39 +00:00
Michael Niedermayer
89db0bae26
Do not recalculate constant part of is_complex for every MB.
...
Originally committed as revision 16172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:26:22 +00:00
Michael Niedermayer
41e4055b63
Support the new lossless mode.
...
Originally committed as revision 16171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:09:09 +00:00
Måns Rullgård
479044cea5
dct-test: add ARM IDCTs
...
Originally committed as revision 16170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 20:00:07 +00:00
Måns Rullgård
875f31259b
dct-test: add PARTTRANS permutation
...
Originally committed as revision 16169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:59:50 +00:00
Michael Niedermayer
d358caed7e
Horizontal and vertical prediction functions needed for new lossless mode
...
of H.264.
Originally committed as revision 16168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 19:39:01 +00:00
Benoit Fouet
f683ea1cab
Add const qualifiers to decode functions.
...
Originally committed as revision 16165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 08:02:05 +00:00
Benoit Fouet
7d2cc552ed
Fix warning "format not a string literal and no format arguments".
...
Originally committed as revision 16164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 07:56:33 +00:00
David Conrad
2169b79c2a
Workaround for shared libs on OS X with Apple gcc 4.0.1
...
Originally committed as revision 16158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-16 00:47:59 +00:00
Laurent Aimar
ac52613c16
Check extradata is large enough.
...
Patch by Laurent Aimar fenrir \:/ via ecp fr
Originally committed as revision 16157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 23:01:54 +00:00
Stefano Sabatini
301cc4f370
Implement the av_set_number2() internal function, which makes possible
...
to distinguish between a not found option failure and a not valid
value failure.
Originally committed as revision 16156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:48:10 +00:00
Stefano Sabatini
a59d44fdf4
Remove ending period in a log message, which was inconsistent with
...
most other messages.
Originally committed as revision 16155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:40:28 +00:00
Diego Biurrun
b24298badc
Switch xvmc over to a CONFIG_ option.
...
Originally committed as revision 16153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:22:51 +00:00
Diego Biurrun
6915cf3854
whitespace cosmetics
...
Originally committed as revision 16152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:14:58 +00:00
Måns Rullgård
1bf98d19d5
ARM: NEON optimised h264_idct_dc_add
...
Originally committed as revision 16151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:54 +00:00
Måns Rullgård
c598cf25f4
ARM: NEON optimised h264_idct_add
...
Originally committed as revision 16150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:51 +00:00
Måns Rullgård
5813e05d08
ARM: NEON optimised H.264 8x8 and 16x16 qpel MC
...
Originally committed as revision 16149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:47 +00:00
Måns Rullgård
ad74a0f8b3
ARM: NEON optimised H.264 loop filter
...
Originally committed as revision 16148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:44 +00:00
Måns Rullgård
1cce897aad
ARM: NEON optimised {put,avg}_h264_chroma_mc[48]
...
Originally committed as revision 16147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:41 +00:00
Måns Rullgård
7eec43289a
ARM: NEON optimised simple_idct
...
Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:37 +00:00
Måns Rullgård
569f5a756a
ARM: NEON optimised put_pixels functions
...
Originally committed as revision 16145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 22:12:32 +00:00
Diego Biurrun
c4687bf607
Avoid invasion of POSIX-reserved _t namespace.
...
Originally committed as revision 16144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 21:02:17 +00:00
Daniel Verkamp
40a19c4434
Fix one peculiar case in Smacker decoding.
...
Patch by Daniel Verkamp ($firstname <at> drv <dot> nu)
Thread [PATCH] Smacker video decoder bug fix
Originally committed as revision 16143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 17:51:10 +00:00
Diego Biurrun
9506090df9
Avoid POSIX-reserved _t in identifier names.
...
Originally committed as revision 16142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 10:08:31 +00:00
Michael Niedermayer
40f0624121
Enable filter_mb_fast if CODEC_FLAG2_FAST is set.
...
Originally committed as revision 16141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 01:24:04 +00:00
Aurelien Jacobs
bf73801bec
vp56: don't reset dimensions to 0 in codec init
...
Originally committed as revision 16140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-15 00:00:16 +00:00
Stefano Sabatini
d0a01fe84b
Move documentation of avcodec_register_all() from allcodecs.c to
...
avcodec.h.
Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:38:03 +00:00
Stefano Sabatini
54c441c860
Remove set_all_opt() and its use in av_set_string2(). Make
...
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.
This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.
See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".
Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:34:12 +00:00
Stefano Sabatini
d1ca187fb6
Document register_avcodec().
...
Originally committed as revision 16132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:41 +00:00
Stefano Sabatini
7a961a46ba
Make register_avcodec() call avcodec_init().
...
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.
Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:00 +00:00
Stefano Sabatini
335a761a90
Use a more explicit "codec" rather than "format" as the parameter of
...
register_avcodec().
Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 19:36:38 +00:00