summaryrefslogtreecommitdiff
path: root/libavcodec/libschroedingerenc.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: Deprecate coder_type and its symbolsVittorio Giovara2015-12-07
| | | | | | | | | | Most option values are simply unused or ignored and in practice the majory of codecs only need to check whether to enable rle or not. Add appropriate codec private options which better expose the allowed features. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libschroedinger: Properly use AVFrame APIVittorio Giovara2015-10-14
| | | | | | | | Rather than copying data buffers around, allocate a proper frame, and use the standard AVFrame functions. This effectively makes the decoder capable of direct rendering. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Deprecate avctx.coded_frameVittorio Giovara2015-07-20
| | | | | | | | | | | | | | | | | The rationale is that coded_frame was only used to communicate key_frame, pict_type and quality to the caller, as well as a few other random fields, in a non predictable, let alone consistent way. There was agreement that there was no use case for coded_frame, as it is a full-sized AVFrame container used for just 2-3 int-sized properties, which shouldn't even belong into the AVCodecContext in the first place. The appropriate AVPacket flag can be used instead of key_frame, while quality is exported with the new AVPacketSideData quality factor. There is no replacement for the other fields as they were unreliable, mishandled or just not used at all. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Gather all coded_frame allocations and free functions to a single placeVittorio Giovara2015-07-20
| | | | | | | | | | | | | | Allocating coded_frame is what most encoders do anyway, so it makes sense to always allocate and free it in a single place. Moreover a lot of encoders freed the frame with av_freep() instead of the correct API av_frame_free(). This bring uniformity to encoder behaviour and prevents applications from erroneusly accessing this field when not allocated. Additionally this helps isolating encoders that export information with coded_frame, and heavily simplifies its deprecation. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libschroedinger: Check memory allocationsVittorio Giovara2015-02-22
|
* avcodec: Use av_reallocp where suitableAlexandra Khirnova2013-12-09
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libschroedingerenc: do not assert on values from external librariesAlexandra Khirnova2013-11-23
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libschroedingerenc: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* libschroedinger: cosmetics: rename variable avccontext to avctxJustin Ruggles2013-02-25
| | | | This is consistent with the rest of libavcodec.
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* libschroedinger: Switch to function names more in line with Libav style.Diego Biurrun2012-05-07
|
* Move code shared between libdirac and libschroedinger to libschroedinger.Diego Biurrun2012-05-07
| | | | | This also involves making some function static and changing the name prefixes of some functions and structures.
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* libschroedingerenc: switch to encode2().Anton Khirnov2012-02-23
|
* cosmetics: drop some pointless parenthesesDiego Biurrun2012-01-07
|
* libdirac/libschroedinger: Drop unnecessary symbol prefixes.Diego Biurrun2011-10-30
| | | | | The names used in the libdirac/libschroedinger wrappers are long enough as-is. Bloating them with unnecessary prefixes makes them even more unwieldy.
* lavc: use designated initialisers for all codecs.Anton Khirnov2011-07-29
| | | | It's more readable and less prone to breakage.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* schroenc: Set colorspace infoDavid Conrad2010-05-05
| | | | Originally committed as revision 23030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* schroenc: Use AV_RB32David Conrad2010-05-05
| | | | Originally committed as revision 23029 to svn://svn.ffmpeg.org/ffmpeg/trunk
* schroenc: Set open-gopDavid Conrad2010-05-05
| | | | Originally committed as revision 23028 to svn://svn.ffmpeg.org/ffmpeg/trunk
* schroenc: Set keyframe intervalDavid Conrad2010-05-05
| | | | Originally committed as revision 23027 to svn://svn.ffmpeg.org/ffmpeg/trunk
* schroenc: Use constant quality for constant quality, not noise thresholdDavid Conrad2010-05-05
| | | | Originally committed as revision 23026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* schroenc: Don't touch gop_structure by default, it should be left adaptiveDavid Conrad2010-05-05
| | | | Originally committed as revision 23025 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-06
| | | | | | 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
* Fix bug caused by difference in stride and picture width.Anuradha Suraparaju2009-08-15
| | | | | | | | | | | | | | 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
* cosmetics: indentation, prettyprinting, K&R coding styleDiego Biurrun2009-08-15
| | | | Originally committed as revision 19652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.Diego Biurrun2009-08-15
| | | | Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless braces around if/for/while expressions.Diego Biurrun2009-08-15
| | | | Originally committed as revision 19648 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify 'if' condition statements.Diego Biurrun2009-08-15
| | | | | | Drop useless '!= 0' from 'exp != 0', replace 'exp == 0' by '!exp'. Originally committed as revision 19647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash when encoding using libschroedinger.Anuradha Suraparaju2009-02-10
| | | | | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Add support for creating Simple Profile (I-frame only, no arithmetic coding)Anuradha Suraparaju2008-09-09
| | | | | | Dirac bytestreams. patch by Anuradha Suraparaju, anuradha rd.bbc.co uk Originally committed as revision 15286 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix pts handling when encoding with libschroedinger, closes issue 453.Anuradha Suraparaju2008-07-12
| | | | | | patch by Anuradha Suraparaju, anuradha rd.bbc.co uk Originally committed as revision 14192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste itDiego Biurrun2008-05-17
| | | | Originally committed as revision 13185 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace some occurrences of -1 with PIX_FMT_NONE.Carl Eugen Hoyos2008-05-11
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add Dirac support through libschroedinger.Anuradha Suraparaju2008-05-03
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk Originally committed as revision 13046 to svn://svn.ffmpeg.org/ffmpeg/trunk