Stefano Sabatini
f2011ed234
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more generic interface than av_fifo_peek()
for peeking at a FIFO buffer data.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
323b930699
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more flexible interface for peeking at a
FIFO buffer data.
13 years ago
Clément Bœsch
75af0e6a16
dv: honor timecode in DV muxer.
...
This is based on the original work by Baptiste Coudurier.
13 years ago
Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Anton Khirnov
001d668d40
lavf: factor out conversion of ISO8601 string to unix time
14 years ago
Anton Khirnov
5f847bf61d
lavf: deprecate AVFormatContext.timestamp
...
It's replaced by 'creation_time' metadata tag.
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e9eb8d0bce
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 77eb5504d3
)
14 years ago
Anton Khirnov
77eb5504d3
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Diego Elio Pettenò
66355be3c3
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
(cherry picked from commit c6610a216e
)
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
Diego Elio Pettenò
81c38db13c
Make dvenc.c functions static to the unit.
...
Also drop some CONFIG_DV_MUXER #ifdefs probably vestigial from before the
split of dvenc and dvdec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit f0a8676958
)
14 years ago
Diego Elio Pettenò
f0a8676958
Make dvenc.c functions static to the unit.
...
Also drop some CONFIG_DV_MUXER #ifdefs probably vestigial from before the
split of dvenc and dvdec.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
e1ae1642cb
Add missing internal.h #include for brktimegm(), fixes the warning:
...
libavformat/dvenc.c:82: warning: implicit declaration of function ‘brktimegm’
Originally committed as revision 22920 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c76911bd65
Split parts of dvdata.h into dvdata.c, this ensures that things like
...
work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.
Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
41dd680dd8
Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.
...
Yes this breaks ABI/API but ive already broken it and will bump avutil major
soon.
Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3a8e375acf
Remove inappropriate const qualifier from function argument, fixes the warning:
...
libavformat/dvenc.c:256: warning: passing argument 2 of ‘av_fifo_generic_write’ discards qualifiers from pointer target type
Originally committed as revision 16460 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f94036f159
prettyprinting cosmetics
...
Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
75f2c20983
spelling cosmetics
...
Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Roman Shaposhnik
4e92dabf60
replacing frame_rate and frame_rate_base with an AVRational time_base
...
Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
910f02a054
spelling cosmetics
...
Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
8212568a1c
Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
...
CONFIG_FOO_MUXER conditionals where appropriate.
Originally committed as revision 15158 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
ca74c0a180
cosmetics: Fix two common typos: wont --> will not, lets --> let us.
...
Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
57783b07a0
use av_fifo_generic_write, old func is deprecated
...
Originally committed as revision 13511 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Björn Axelsson
899681cd1d
Use dynamically allocated ByteIOContext in AVFormatContext
...
patch by: Björn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
bc60f09bff
Cosmetics: use consistent indentation by four spaces
...
Originally committed as revision 9404 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
01fa74adb9
DV muxer should not only fail for more that 3 streams altogether
...
but also if two of them are video or all three are audio.
Originally committed as revision 9403 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Corey Hickey
2e374f12b5
Don't forget about audio remaining in buffer, in case there is enough
...
left to make another DV frame.
Originally committed as revision 9032 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
e4141433ea
Get rid of unnecessary pointer casts.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
e950141a58
* Fixing a bug with incorrect bits set in AAUX source pack
...
* Making DV codec release a buffer on exit
* Flagging accepted pix_fmts for DV encoder
Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Brian Brice
0008afc59c
* fixing a memory leak in DV format.
...
Patch by Brian Brice bbrice at newtek dot com
Originally committed as revision 6945 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
d1bc38f34a
* Simplifying the setting of STYPE for AAUX AS
...
* Fixing a bug in how SPEED was encoded for AAUX ASC
Originally committed as revision 6716 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
f5a478f65d
* Moving FifoBuffer out of libavformat/avformat.h and
...
libavformat/utils.c into libavutil
Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
d4fc91b449
Split the DV demuxer and muxer into separate files (as suggested by Diego
...
Biurrun).
Originally committed as revision 6272 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
3c8f30a745
* Restructuring the division of labor between DV codec and DV format
...
[ Based on a patch by Brian Brice (bbrice at newtek dot com) ]
Originally committed as revision 6161 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
ff70e60176
allow individual selection of muxers and demuxers
...
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
d2a067d1d9
give AVInput/OutputFormat structs consistent names
...
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Stefan Huehner
a97c1e93aa
Add (mostly) const to variable and parameter declaration, where a char* was
...
used and 'const char*' should be, plus make some function declarations
static if they aren't used outside their declaring source file.
patch by Stefan Huehner stefan%%at%%huehner%%dot%%org
Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roman Shaposhnik
c4e7baa85c
* fixing DV-in-AVI type1 packet production bug
...
Originally committed as revision 5262 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Daniel Maas
0b297700b7
DVCPRO50 support.
...
Patch by Daniel Maas dmaas at maasdigital dot com
Originally committed as revision 5113 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
064cf25155
typo
...
Originally committed as revision 4960 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
8228bff5c6
Put muxer-specific code parts in #ifdef CONFIG_MUXERS.
...
based on a patch by Luca Abeni < lucabe72 #@# email #.# it >
Originally committed as revision 4871 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago