summaryrefslogtreecommitdiff
path: root/libavcodec/dvenc.c
Commit message (Collapse)AuthorAge
* 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>
* dv: K&R formatting cosmeticsGabriel Dume2014-09-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dv: Update DV-profile-related functions to current public APIDiego Biurrun2014-08-02
|
* dsputil: Split motion estimation compare bits off into their own contextDiego Biurrun2014-07-17
|
* dsputil: Split off pixel block routines into their own contextDiego Biurrun2014-07-09
|
* lavc: export DV profile API used by muxer/demuxer as publicAnton Khirnov2014-07-09
|
* dsputil: Split off FDCT bits into their own contextDiego Biurrun2014-07-07
|
* dv: Properly split decoder and encoder initializationDiego Biurrun2014-06-27
|
* dv: get rid of global non-const tablesAnton Khirnov2014-06-20
| | | | Instead, store them in the context and compute on each parameter change.
* dvenc: initialize the profile only once, at initAnton Khirnov2014-06-20
| | | | | We do not allow the frame parameters to change during encoding, so there is no need to do this for each frame.
* dsputil: Move DV-specific ff_zigzag248_direct table to dvdataDiego Biurrun2014-04-04
|
* avcodec: Consistently name encoder init functions foo_encode_initDiego Biurrun2014-02-20
|
* dv: use AVFrame API properlyAnton Khirnov2013-12-09
|
* dv: Split off DV video encoder into its own fileDiego Biurrun2013-12-02