Vittorio Giovara
def97856de
lavc: AV-prefix all codec capabilities
...
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Nidhi Makhijani
373a6dda54
cljr: split decoder and encoder
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Anton Khirnov
845020ed89
cljr: use the AVFrame API properly.
11 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
11 years ago
Anton Khirnov
759001c534
lavc decoders: work with refcounted frames.
12 years ago
Anton Khirnov
7c8fceef6c
cljr: return a meaningful error code.
12 years ago
Anton Khirnov
df9b956751
lavc: fix decode_frame() third parameter semantics for video decoders
...
It's got_frame, not data size
12 years ago
Anton Khirnov
594d4d5df3
lavc: add a wrapper for AVCodecContext.get_buffer().
...
It will be useful in the upcoming transition to refcounted AVFrames.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
12 years ago
Anton Khirnov
3dffa1b46c
cljr: implement encode2.
13 years ago
Anton Khirnov
177bb4bf50
cljr: set the properties of the coded_frame, not input frame.
13 years ago
Paul B. Mahol
2e7905eee8
cljr: fix buf_size sanity check
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Shitiz Garg
652d81b2c2
cljr: Check if width and height are positive integers
...
Width and height might get passed as 0 and would cause floating point
exceptions in decode_frame.
Fixes bugzilla #149
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Paul B Mahol
65c1011404
cljr: remove unused code
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Diego Biurrun
6b60a4c9c9
cljr: K&R cosmetics
13 years ago
Diego Biurrun
1c45c64c9d
cljr: return a more sensible value when encountering invalid headers
13 years ago
Diego Biurrun
163682fab3
cljr: drop unnecessary emms_c() calls without MMX code
13 years ago
Mans Rullgard
bbc10185ee
cljr: remove useless casts
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
baf3b6e594
cljr: group encode/decode parts under single ifdefs
...
This groups the encode/decode parts under single ifdefs and
eliminates the encode_init() function as it merely calls
common_init(). Also fix whitespace in moved code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
9a1420bfda
cljr: remove stray semicolon
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
ca52bae6ec
cljr: add missing return statement in decode_end()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Paul B Mahol
e93947b7d8
cljr: add encoder
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Paul B. Mahol
04a5eaa1a5
cljr: release picture at end of decoding
...
Otherwise after transcoding from cljr we get: Found 1 unreleased buffers!
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Paul B. Mahol
fc9489f6ad
cljr: simplify CLJRContext
...
There is no need to have delta, offset and gb in CLJRContext.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
13 years ago
Anton Khirnov
9f51c682ee
lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.
...
They are used in lavf.
13 years ago
Alex Converse
0c1f5b93d9
cljr: init_get_bits size in bits instead of bytes
13 years ago
Diego Biurrun
fed6c90b68
cosmetics: remove some stray comments from AVCodec declarations
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Daniel Kang
f2953365d1
Check if buffer is large enough for given resolution.
...
Fixes issue 2501.
Patch by Daniel Kang, daniel.d.kang at gmail
Originally committed as revision 26258 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 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
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
27030ee4e9
Remove unused variables.
...
Originally committed as revision 17081 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
01c534371c
typo: CODEC_ID_cljr --> CODEC_ID_CLJR
...
Originally committed as revision 17080 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 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
c7ac9449ba
Disable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
...
the code with preprocessor directives.
Originally committed as revision 15176 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
999960c90a
Surround some encoding-specific functions with the appropriate
...
encoding-specific #ifdef.
Originally committed as revision 15175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f544a5fc84
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
...
CONFIG_FOO_ENCODER conditionals where appropriate.
Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fbd4293df9
remove more useless mpegvideo.h includes
...
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1a2c94cb69
const
...
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago