summaryrefslogtreecommitdiff
path: root/libavcodec/libx265.c
Commit message (Collapse)AuthorAge
* lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fieldsVittorio Giovara2015-09-07
| | | | | | The new fields can be accessed directly and are more intelligible. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | 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>
* libx265: Use the Multi-library InterfaceGopu Govindaswamy2015-05-13
| | | | | | | | | | | | | | | Use the Multi-library interface to load at runtime x265 libraries supporting alternative bit depths (e.g. 8bit and 16bit). The linked library will try to load the library supporting the pixel format if it is not supported by itself. Fallback requesting the native library (passing 0 to x265_api_get) if a library supporting the requested bit depth is not available. Signed-off-by: Gopu Govindaswamy <gopu@multicorewareinc.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libx265: Fix 'braces around scalar initializer' warningVittorio Giovara2015-05-06
| | | | | | | | x265 Reordered the x265_picture fields in the commit https://github.com/videolan/x265/commit/51b1518de2414431f36eac592db15b667c25a7b9#diff-945b5354d8767dfac13334f2d22cf58fR107 Now the first field is an integer and not an array.
* x265: Map color parametersLuca Barbato2015-04-15
|
* libx265: print supported presets and tunes on errorJames Almer2015-04-11
| | | | | | | Based on code from libavcodec/libx264.c Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/libx265: export chosen picture typesMichael Niedermayer2015-04-05
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Add crf private optionDerek Buitenhuis2015-02-18
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Reduce the scope of some variablesDerek Buitenhuis2015-02-18
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Pass through user-set frame typeDerek Buitenhuis2015-01-22
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: enable psnr reporting when requested by the userMichael Niedermayer2014-10-01
| | | | | | | This is similar to what is done in libx264.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x265: Use the encoder defaultsLuca Barbato2014-09-03
| | | | Reset the settings as it is done for x264.
* libx265: Remove unneeded bit depth checkDerek Buitenhuis2014-06-12
| | | | | | This is no longer needed since the version bump. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Add 4:2:2 supportDerek Buitenhuis2014-06-12
| | | | | | | | It is also not final yet, so require -strict experimental. Requires a bump to version 17. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Actually use X265_API_IMPORTSDerek Buitenhuis2014-06-12
| | | | | | It obvously needs to be above the include statement. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Only set the SAR if it is validDerek Buitenhuis2014-04-10
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Use 16-bit SARDerek Buitenhuis2014-04-10
| | | | | | The spec says it is 16 bits. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Use x265_param_parse to set the SARDerek Buitenhuis2014-04-10
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Use the repeat headers flag when not using global headersMarcus Gustafsson2014-03-31
| | | | | | | This allows proper muxing and seeking in things like MPEG-TS, by placing headers by random access points. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Only use one memcpy for headersDerek Buitenhuis2014-03-24
| | | | | | They're guaranteed by the x265 API to be contiguous in memory. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Write global extradata when requestedMichael Niedermayer2014-03-24
| | | | | | | | Matroska, MP4, and other containers require it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libx265: Support API version 9Derek Buitenhuis2014-03-06
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Properly handled dynamic linking with MSVCDerek Buitenhuis2014-02-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Support SARDerek Buitenhuis2014-02-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Support 4:4:4Derek Buitenhuis2014-02-24
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Update API usageDerek Buitenhuis2014-02-24
| | | | | | | Framerate is now a sane rational instead of an integer, and inputDepth is changed to what it actually is. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Remove redundant default param callDerek Buitenhuis2014-02-14
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx265: Fix use of uninitialized input pictureDerek Buitenhuis2014-02-14
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* Add libx265 encoderDerek Buitenhuis2014-02-12
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>