Alexandra Khirnova
9b8d11a76a
avcodec: Use av_reallocp where suitable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Alexandra Khirnova
6f270da61b
libschroedingerenc: do not assert on values from external libraries
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Anton Khirnov
372262853b
libschroedingerenc: 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
Diego Biurrun
6fee1b90ce
avcodec: Add av_cold attributes to init functions missing them
12 years ago
Justin Ruggles
699d02b839
libschroedinger: cosmetics: rename variable avccontext to avctx
...
This is consistent with the rest of libavcodec.
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_*
13 years ago
Diego Biurrun
fdc918632f
libschroedinger: Switch to function names more in line with Libav style.
13 years ago
Diego Biurrun
9cef0669c4
Move code shared between libdirac and libschroedinger to libschroedinger.
...
This also involves making some function static and changing the name
prefixes of some functions and structures.
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
df53a47317
libschroedingerenc: switch to encode2().
13 years ago
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
13 years ago
Diego Biurrun
45235d69c2
libdirac/libschroedinger: Drop unnecessary symbol prefixes.
...
The names used in the libdirac/libschroedinger wrappers are long enough as-is.
Bloating them with unnecessary prefixes makes them even more unwieldy.
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
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
David Conrad
e9d96831f7
schroenc: Set colorspace info
...
Originally committed as revision 23030 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
37284120ca
schroenc: Use AV_RB32
...
Originally committed as revision 23029 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
31cf8c650a
schroenc: Set open-gop
...
Originally committed as revision 23028 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
3d6fa004e8
schroenc: Set keyframe interval
...
Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
e0a24555b4
schroenc: Use constant quality for constant quality, not noise threshold
...
Originally committed as revision 23026 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
614748ceeb
schroenc: Don't touch gop_structure by default, it should be left adaptive
...
Originally committed as revision 23025 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Anuradha Suraparaju
d15f2e00c5
Fix bug caused by difference in stride and picture width.
...
When a frame is allocated using libschroedinger routines, the frame data size
does not match the actual frame size if the width is not a multiple of 16. So
we cannot do a straightforward memcpy of the frame returned by libschroedinger
into the FFmpeg picture as the stride differs from the width.
Fix this bug by allocating for the libschroedinger frame with the dimensions
in AVCodecContext within libavcodec and passing the frame to libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 19653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0ebe3b8e2b
cosmetics: indentation, prettyprinting, K&R coding style
...
Originally committed as revision 19652 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e6cb49bfa9
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
...
Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
735a38045a
Remove useless braces around if/for/while expressions.
...
Originally committed as revision 19648 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7c809dc3e2
Simplify 'if' condition statements.
...
Drop useless '!= 0' from 'exp != 0', replace 'exp == 0' by '!exp'.
Originally committed as revision 19647 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Anuradha Suraparaju
9fc88d7e20
Fix crash when encoding using libschroedinger.
...
Currently only pixel and half-pixel motion vector precisions are supported in
libschroedinger. Setting the mv_precision field to 2 (i.e. quarter pixel)
causes a crash in the libschroedinger encoder calls. By not setting this
parameter, we fall back to the default value used in libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 17132 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
Anuradha Suraparaju
d7c96d6623
Add support for creating Simple Profile (I-frame only, no arithmetic coding)
...
Dirac bytestreams. patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 15286 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anuradha Suraparaju
007f67b012
Fix pts handling when encoding with libschroedinger, closes issue 453.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14192 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
Diego Biurrun
9f4aa35359
missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
...
Originally committed as revision 13185 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
eacced45c4
Replace some occurrences of -1 with PIX_FMT_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anuradha Suraparaju
f7cd9eed5d
Add Dirac support through libschroedinger.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 13046 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago