summaryrefslogtreecommitdiff
path: root/libavcodec/flashsvenc.c
Commit message (Collapse)AuthorAge
* 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>
* flashsvenc: Keep coded_frame.key_frame a write-only variableVittorio Giovara2015-07-20
|
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-19
|
* flashsvenc: use the AVFrame API properly.Anton Khirnov2013-11-16
|
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormatAnton Khirnov2012-10-08
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* 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>
* flashsvenc: switch to encode2().Anton Khirnov2012-02-23
|
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* Fix av_dlog invocations with wrong or missing logging context.Diego Biurrun2011-09-21
| | | | This fixes build failures with -DDEBUG in CPPFLAGS.
* flashsvenc: replace bitstream description by a link to the specificationDiego Biurrun2011-07-16
| | | | | An official specification now exists and it is both more detailed and easier to understand than the incomplete notes available here.
* flashsvenc: drop unnecessary castDiego Biurrun2011-07-16
|
* flashsvenc: improve some variable names and fix corresponding commentsDiego Biurrun2011-07-16
|
* flashsvenc: merge two consecutive if-conditionsDiego Biurrun2011-07-16
|
* flashsvenc: merge variable declarations and initializationsDiego Biurrun2011-07-16
|
* flashsvenc: convert some debug av_log() to av_dlog()Diego Biurrun2011-07-16
|
* flashsvenc: whitespace cosmeticsDiego Biurrun2011-07-16
|
* flashsvenc: drop some unnecessary parenthesesDiego Biurrun2011-07-16
|
* flashsvenc: fix some comment typosDiego Biurrun2011-07-16
|
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* flashsv: Return more meaningful error values.Diego Biurrun2011-04-25
|
* flashsv: Employ explicit AVCodec struct initializers.Diego Biurrun2011-04-25
|
* cosmetics: K&R coding style and more whitespace for Flash Screen VideoDiego Biurrun2011-04-25
|
* 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>
* 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
* Remove unnecessary calls to avcodec_check_dimensions, the check is alreadyReimar Döffinger2009-10-13
| | | | | | done at a higher level. Originally committed as revision 20229 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
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 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
* 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
* 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 long names to many AVCodec declarations.Stefano Sabatini2008-04-27
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use FFABS instead of abs.Benjamin Larsson2007-05-17
| | | | Originally committed as revision 9045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove lots of unused commented code. (Cleanup)Benjamin Larsson2007-05-17
| | | | Originally committed as revision 9041 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change default 1 pass blocksize to 64x64.Benjamin Larsson2007-05-17
| | | | Originally committed as revision 9040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added support for instances where linesize[0] is negative.Benjamin Larsson2007-05-12
| | | | | | Based on patch by Jason Askew, jason dot askew at gmail dot com. Originally committed as revision 9006 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant #inclusion of common.h, avcodec.h already #includes it.Diego Biurrun2007-05-10
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of unnecessary pointer casts.Nicholas Tung2007-04-08
| | | | | | patch by Nicholas Tung, ntung ntung com Originally committed as revision 8687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Respect the gop size (-g) for marking I frames. Use -g 0 gives the old ↵Benjamin Larsson2007-03-11
| | | | | | behaviour. Originally committed as revision 8326 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify, use avctx->frame_number.Benjamin Larsson2007-03-10
| | | | Originally committed as revision 8309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't copy more then needed, bugfix by Gus Scheidt ellocogato at gmail dot ↵Benjamin Larsson2007-01-25
| | | | | | com and Michel Bardiaux mbardiaux at mediaxim dot be. Originally committed as revision 7702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove debug line.Benjamin Larsson2007-01-21
| | | | Originally committed as revision 7621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add flashsv encoder to changelog and fix the encoder so it actually works.Benjamin Larsson2007-01-21
| | | | Originally committed as revision 7620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flash screen video encoder.Benjamin Larsson2007-01-21
Originally committed as revision 7615 to svn://svn.ffmpeg.org/ffmpeg/trunk