Aurelien Jacobs
39fe9d79ad
convert a if() into a switch() to ease addition of new tags to probe
...
Originally committed as revision 10843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-22 21:06:04 +00:00
Aurelien Jacobs
a70a3f0b4d
remove some useless initializations (the whole context is initialized to 0)
...
Originally committed as revision 10831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:44:05 +00:00
Aurelien Jacobs
ba8a76b8f8
cosmetics: reindent
...
Originally committed as revision 10830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:27:24 +00:00
Aurelien Jacobs
f9cdbfa271
cosmetics: Add #endif comment.
...
Originally committed as revision 10829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:23:37 +00:00
Aurelien Jacobs
c6e2f0831c
remove unused context var
...
Originally committed as revision 10828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 22:16:28 +00:00
Aurelien Jacobs and Kostya Shishkov
b96b441ad2
Make Matroska demuxer output full frames instead of slices for RealVideo
...
Patch by Aurelien Jacobs (aurel at "... is not unix"age.org)
Thread [RFC] Feed whole frames to RV* decoders
Originally committed as revision 10824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-21 17:21:20 +00:00
Aurelien Jacobs
40eaf7806d
add support for git in version.sh (use short hash as version number)
...
Originally committed as revision 10817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 00:07:48 +00:00
Aurelien Jacobs
123103caa2
cosmetics to make version.sh more VCS agnostic
...
Originally committed as revision 10816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-20 00:05:04 +00:00
Aurelien Jacobs
f9a00ba8c1
ensure all compiled in codec/muxer are registered
...
Originally committed as revision 10808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:59:31 +00:00
Aurelien Jacobs
ab89dbd43e
better check for video track detection
...
Originally committed as revision 10807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:52:08 +00:00
Aurelien Jacobs
018d0ff973
skip unsupported audio track data
...
Originally committed as revision 10806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:50:52 +00:00
Aurelien Jacobs
a2c9473d96
cosmetics: indentation
...
Originally committed as revision 10805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:44:05 +00:00
Aurelien Jacobs
c611463fe4
check if we found an audio track before initializing the audio stream
...
Originally committed as revision 10804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:42:54 +00:00
Aurelien Jacobs
200f41ad2e
compute pts according to the audio codec
...
Originally committed as revision 10803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:40:03 +00:00
Aurelien Jacobs
ffbd0bcdb6
set bytes per sample in the context
...
Originally committed as revision 10802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:36:12 +00:00
Aurelien Jacobs
597958ada7
fix big endian files support
...
Originally committed as revision 10801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:22:50 +00:00
Aurelien Jacobs
7816845064
simplify
...
Originally committed as revision 10800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:21:31 +00:00
Aurelien Jacobs
6c867e0463
parse sample rate instead of setting a default one
...
Originally committed as revision 10799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:13:46 +00:00
Aurelien Jacobs
fd402a5a63
add support for PCM codec
...
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 23:05:30 +00:00
Aurelien Jacobs
93fa8b2bf5
check compression_type to assign audio codec
...
Originally committed as revision 10797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:53:37 +00:00
Aurelien Jacobs
e5d34ab6d0
make compression_type a function local var instead of a context var
...
Originally committed as revision 10796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:47:56 +00:00
Aurelien Jacobs
97e5dcc0f3
add support for big_endian encoded headers
...
Originally committed as revision 10795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:39:27 +00:00
Aurelien Jacobs
2c82386df2
add some error processing
...
Originally committed as revision 10794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:32:26 +00:00
Aurelien Jacobs
fa34563b2c
cosmetics: indentation
...
Originally committed as revision 10793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:27:27 +00:00
Aurelien Jacobs
f8cab062ca
parse header chunk in a loop (don't depend on a fixed chunk ordering)
...
Originally committed as revision 10792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:26:23 +00:00
Aurelien Jacobs
af704ee420
add audio and video codec context vars
...
Originally committed as revision 10791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:23:30 +00:00
Aurelien Jacobs
080b1c8238
better log message
...
Originally committed as revision 10790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:11:53 +00:00
Aurelien Jacobs
f409743084
move vp6 header parsing into its own function
...
Originally committed as revision 10789 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 22:01:30 +00:00
Aurelien Jacobs
3773e5fc1b
remove 2 temporary variables
...
Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:59:23 +00:00
Aurelien Jacobs
9853ce8074
set a default value for num_channels
...
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:56:44 +00:00
Aurelien Jacobs
215eb1028d
move audio header parsing in its own function
...
Originally committed as revision 10786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:55:51 +00:00
Aurelien Jacobs
d51bd73ce6
add a log message
...
Originally committed as revision 10785 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:45:53 +00:00
Aurelien Jacobs
1680692a6c
fix comment
...
Originally committed as revision 10784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:30:33 +00:00
Aurelien Jacobs
98942fb2c9
small simplification
...
Originally committed as revision 10783 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-18 21:03:10 +00:00
Aurelien Jacobs
ab54bff20a
Remove wrong multiple inclusion guards.
...
Those files are really meant to be included several times.
Originally committed as revision 10766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-17 11:19:42 +00:00
Aurelien Jacobs
227a388d07
cosmetics: reindent
...
Originally committed as revision 10753 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:52:22 +00:00
Aurelien Jacobs
d3e412d0cc
add support for VP6 in electronicarts demuxer
...
Originally committed as revision 10752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:51:52 +00:00
Aurelien Jacobs
c03c4cac82
remove useless &0xFF
...
Originally committed as revision 10751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:51:15 +00:00
Aurelien Jacobs
a066c5b7c9
merge declaration and initialization
...
Originally committed as revision 10750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:50:36 +00:00
Aurelien Jacobs
df2eef0fef
remove unused context vars
...
Originally committed as revision 10749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:50:10 +00:00
Aurelien Jacobs
059baac9c8
remove unused code
...
Originally committed as revision 10748 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:49:31 +00:00
Aurelien Jacobs
c3527cc973
remove unused tags definition
...
Originally committed as revision 10747 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:49:00 +00:00
Aurelien Jacobs
0cf3fbc2ab
remove unused close function
...
Originally committed as revision 10746 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:48:31 +00:00
Aurelien Jacobs
269b94e346
simplify bitstream reading
...
Originally committed as revision 10745 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 22:47:41 +00:00
Aurelien Jacobs
f1bf85b8cf
Cygwin don't like this function declaration.
...
So move this self-documentation into a comment instead.
Originally committed as revision 10743 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-15 21:41:01 +00:00
Aurelien Jacobs
f28b10483a
add support for VP6 with huffman encoded blocks
...
closes issue 104
Originally committed as revision 10737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 22:30:59 +00:00
Aurelien Jacobs
437c2079b7
moves fraps huffman decoder to its own file, making it more generic
...
Originally committed as revision 10736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 21:19:40 +00:00
Aurelien Jacobs
0cd05c0820
VP6A needs its Makefile rules too
...
Originally committed as revision 10728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-14 01:16:15 +00:00
Aurelien Jacobs
bcf8eb116a
oops... mpegvideo_enc also depends on motion_est and ratecontrol
...
Originally committed as revision 10695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 05:39:49 +00:00
Aurelien Jacobs
91ac0ab472
dnxhdenc depends on mpegvideo_enc (usage of ff_convert_matrix)
...
Originally committed as revision 10694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-09 04:49:12 +00:00
Aurelien Jacobs
ba869f6b25
merge some #ifdef CONFIG_ENCODERS sections
...
Originally committed as revision 10656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:50:27 +00:00
Aurelien Jacobs
c70448148a
remove alternative declaration of h263_encode_init()
...
It's never called in any code compiled without CONFIG_ENCODERS.
Originally committed as revision 10655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:47:41 +00:00
Aurelien Jacobs
30c23dc0b8
fix declaration name from MPV_common_init_ppc to MPV_common_init_altivec
...
Originally committed as revision 10654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:37:22 +00:00
Aurelien Jacobs
06a4304080
remove useless #ifdef
...
Originally committed as revision 10653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-03 17:35:28 +00:00
Aurelien Jacobs
b925ef61dd
add support for AVI files with On2 header
...
Originally committed as revision 10591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 12:30:24 +00:00
Aurelien Jacobs
7b31b0929c
use a table to parse AVI file header
...
Originally committed as revision 10590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-26 12:29:32 +00:00
Aurelien Jacobs
7ecae905b6
simplify
...
Originally committed as revision 10584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 22:33:31 +00:00
Aurelien Jacobs
d7af6a9de4
rename one variable to be consistent with the rest of the file
...
Originally committed as revision 10583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 22:31:00 +00:00
Aurelien Jacobs
442b145abb
consistent spelling: plan => plane
...
Originally committed as revision 10582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 21:01:34 +00:00
Aurelien Jacobs
9990460353
use the VP6A codec
...
Originally committed as revision 10578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:30:03 +00:00
Aurelien Jacobs
df63f130c8
revert r10527
...
There is now a proper vp6a codec, so no need for this hack anymore.
Originally committed as revision 10577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:25:59 +00:00
Aurelien Jacobs
d3f9edbafa
simplify
...
Originally committed as revision 10576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:22:47 +00:00
Aurelien Jacobs
f62a2b61f9
cosmetic: indent
...
Originally committed as revision 10575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:16:38 +00:00
Aurelien Jacobs
91fc2cf150
add a new vp6a codec (add alpha plan support to vp6)
...
Originally committed as revision 10574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-25 19:12:46 +00:00
Aurelien Jacobs
247df384ec
move all model related tables into their own struct
...
Originally committed as revision 10571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 22:29:11 +00:00
Aurelien Jacobs
a7d70d88df
rename vp56_b6to3 to vp56_b2p
...
Originally committed as revision 10569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 20:52:11 +00:00
Aurelien Jacobs
1457516f70
some simplifications and uniformisation
...
Originally committed as revision 10568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 20:43:47 +00:00
Aurelien Jacobs
79973335d3
add support for yuva420p colorspace (yuv420p + alpha)
...
Originally committed as revision 24601 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-09-24 15:11:49 +00:00
Aurelien Jacobs
b70335a28d
add support for yuva420p colorspace (yuv420p + alpha)
...
Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-24 13:21:41 +00:00
Aurelien Jacobs
dee15eceae
allcodecs.h and allformats.h are not used anymore
...
Originally committed as revision 10536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:42:50 +00:00
Aurelien Jacobs
d999cff5a3
remove last dependencies on allformats.h and allcodecs.h
...
Originally committed as revision 10535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-20 20:36:15 +00:00
Aurelien Jacobs
f84c357325
Add support for VP6A in flv.
...
Those files really contain 2 standard VP6 video streams:
- the "normal" video stream
- the alpha plan video stream (which is a standard
YV12 video with it's U an V plans all set to 0)
closes issue166
Originally committed as revision 10527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-18 15:36:29 +00:00
Aurelien Jacobs
7f559eb1cd
disable loads of debug messages to reduce object size
...
Originally committed as revision 10518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-17 12:01:37 +00:00
Aurelien Jacobs
6369638bf0
loosen dependencies over allformats.h
...
Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 23:00:44 +00:00
Aurelien Jacobs
84a72b1675
remove obsolete and wrong extern declaration
...
Originally committed as revision 10512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-16 22:50:12 +00:00
Aurelien Jacobs
7241a6bb50
move unrelated functions declarations out of allformats.h
...
Originally committed as revision 10475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-11 09:27:46 +00:00
Aurelien Jacobs
b156b88c13
rtp and rtsp demuxer declarations are not part of public API
...
Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 22:48:42 +00:00
Aurelien Jacobs
dde1f9285a
*_protocol are not part of public API
...
Originally committed as revision 10472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-10 18:11:13 +00:00
Aurelien Jacobs
c0fee8c985
add a warning message for unsupported kind of encoding
...
Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-09-01 13:04:25 +00:00
Aurelien Jacobs
ca1daf0ad0
add get_unary_0_33() to help gcc with inlining
...
Originally committed as revision 10242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:38:57 +00:00
Aurelien Jacobs
2407a7c10f
cleanup get_unary()
...
Originally committed as revision 10241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:34:49 +00:00
Aurelien Jacobs
28296f9c9e
move get_unary() to its own file
...
Originally committed as revision 10240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-26 22:33:48 +00:00
Aurelien Jacobs
5ab657079d
parsers and bsfs declarations are not meant to be part of public API
...
Originally committed as revision 10173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 18:24:08 +00:00
Aurelien Jacobs
7506d47aa3
create libavcodec/sh4 dir when building out-of-tree
...
Originally committed as revision 10171 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:53:41 +00:00
Aurelien Jacobs
862a70f16b
cosmetics: some reordering
...
Originally committed as revision 10170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:52:50 +00:00
Aurelien Jacobs
289a723ce3
asv1.c directly uses Put/GetBitContext, so it should include bitstream.h
...
Originally committed as revision 10169 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-21 15:48:08 +00:00
Aurelien Jacobs
4a0d6686fd
ensure configure only accept valid --list-* parameters
...
closes issue72
Originally committed as revision 10153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-20 21:35:51 +00:00
Aurelien Jacobs
fce388b4b9
cosmetic: indentation
...
Originally committed as revision 10128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:04:38 +00:00
Aurelien Jacobs
2f3b419cf1
Don't pre-scale default_duration to avoid precision loss in fps calculation.
...
closes Issue95
Originally committed as revision 10127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 22:01:54 +00:00
Aurelien Jacobs
aec783d42d
no need for special case default_duration for AAC
...
Originally committed as revision 10126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:55:37 +00:00
Aurelien Jacobs
a92d20629c
calculate default_duration according to framerate only when not already set
...
Originally committed as revision 10125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-16 21:54:04 +00:00
Aurelien Jacobs
77cb22fa7b
Try size 640x480 for FLC files which don't specify their size.
...
This is a ugly hack to fix playback of specular.flc.
closes issue71
Originally committed as revision 10117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-14 15:51:30 +00:00
Aurelien Jacobs
88e2d5882b
more usage of av_clip()
...
Originally committed as revision 10082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:29:21 +00:00
Aurelien Jacobs
e4a50e6d2e
one more simplification
...
Originally committed as revision 10081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:23:20 +00:00
Aurelien Jacobs
295f373792
various simplifications around recent av_clip_int16() usage
...
Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 23:17:03 +00:00
Aurelien Jacobs
aee481cebe
use av_clip_int16() where it makes sense
...
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 22:48:55 +00:00
Aurelien Jacobs
ddb8ebe7a1
add a new av_clip_int16() function to libavutil
...
Originally committed as revision 10076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 21:59:01 +00:00
Aurelien Jacobs
b9c684a2b8
ensure av_noinline is always defined
...
Originally committed as revision 10075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-11 21:52:40 +00:00
Aurelien Jacobs
9c3e2f78a0
ensure that negative block_time are properly checked
...
(workaround unsigned comparison)
Originally committed as revision 10058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 15:37:55 +00:00
Aurelien Jacobs
63f8165914
merge some REGISTER_MUXER/DEMUXER into REGISTER_MUXDEMUX
...
Originally committed as revision 10048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:44:50 +00:00