summaryrefslogtreecommitdiff
path: root/libavutil
Commit message (Collapse)AuthorAge
* hwcontext: allocate the destination frame for the pool sizeAnton Khirnov2016-06-28
| | | | | | The source frame may be cropped, so that its dimensions are smaller than the pool dimensions. The transfer_data API requires the allocated size of the destination frame to be the same as the pool size.
* hwcontext: clarify the behaviour of transfer_data() for cropped framesAnton Khirnov2016-06-28
|
* pixdesc: Fix AVCOL_TRC_BT2020_12 nameVittorio Giovara2016-06-27
|
* pixdesc: Add aliases to SMPTE color propertiesVittorio Giovara2016-06-27
| | | | | Drop ST from names and symbols, it does not add anything distinctive or descriptive.
* hwcontext_vaapi: Return all formats for constraints without configMark Thompson2016-06-21
| | | | | | | | | | | | | | No longer make a dummy device configuration to query. Instead, just return everything we recognise from the whole format list. Also change the device setup code to query that list only, rather than intersecting it with the constraint output. This makes hwupload more usable on mesa/gallium where the video processor only declares support for RGB formats, making it unable to deal with YUV formats before this patch. It might introduce some different trickier failures in the internal upload/download code because the set of allowed formats there has changed, though I didn't find any obvious regressions with i965.
* lavc: export the timestamps when decoding in AVFrame.ptsAnton Khirnov2016-06-21
| | | | | | | | | | | Currently it's exported as AVFrame.pkt_pts, which is also the only use for that field. The reason it is done like this is that lavc used to export various codec-specific "timing" information in AVFrame.pts, which is not done anymore. Since it is confusing to the callers to have a separate field which is used only for decoder timestamps and nothing else, deprecate pkt_pts and use just AVFrame.pts everywhere.
* hwcontext: add a QSV implementationAnton Khirnov2016-06-21
|
* pixdesc: Add new SMPTE 431, 432, and 2085 color propertiesVittorio Giovara2016-06-21
| | | | | | Appeared in H.264 2016/02. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pixfmt: Add ARIB STD-B76 color transfer characteristicNeil Birkbeck2016-06-21
| | | | | | | | | | | | | | Adding hybrid log-gamma (https://en.wikipedia.org/wiki/Hybrid_Log-Gamma) based on the standardization in ARIB STD-B67: http://www.arib.or.jp/english/html/overview/doc/2-STD-B67v1_0.pdf The choice of enum value of 18 is consistent with HEVC: http://phenix.it-sudparis.eu/jct/doc_end_user/current_document.php?id=10481 And also with latest proposal for color format in mkv: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&q=Colour+Format+proposal Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* pixdesc: Use C99 array to list color properties namesVittorio Giovara2016-06-13
|
* build: Change structure of the linker version script templatesDiego Biurrun2016-05-29
| | | | | | Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
* asm: FF_-prefix internal macros used in inline assemblyDiego Biurrun2016-05-28
| | | | | These warnings conflict with system macros on Solaris, producing truckloads of warnings about macro redefinition.
* hwcontext_vaapi: implement device creationAnton Khirnov2016-05-26
|
* hwcontext_dxva2: implement device creationAnton Khirnov2016-05-26
|
* hwcontext_cuda: implement device creationAnton Khirnov2016-05-26
|
* hwcontext_vdpau: implement device creationAnton Khirnov2016-05-26
|
* hwcontext: add a function for opening devicesAnton Khirnov2016-05-26
|
* xtea-test: Use struct allocation functions from the APIDiego Biurrun2016-05-19
|
* blowfish-test: Use struct allocation functions from the APIDiego Biurrun2016-05-19
|
* blowfish-test: Return different values for different errorsDiego Biurrun2016-05-19
|
* stereo3d: Add API to get name from value or value from nameVittorio Giovara2016-05-17
| | | | Use it in av_dump_format() instead of a huge switch case.
* hwcontext: add a dxva2 implementationAnton Khirnov2016-05-17
|
* x86inc: Enable AVX emulation in additional casesAnton Mitrofanov2016-05-16
| | | | | | | Allows emulation to work when dst is equal to src2 as long as the instruction is commutative, e.g. `addps m0, m1, m0`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Improve handling of %ifid with multi-token parametersAnton Mitrofanov2016-05-16
| | | | | | | | The yasm/nasm preprocessor only checks the first token, which means that parameters such as `dword [rax]` are treated as identifiers, which is generally not what we want. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix AVX emulation of some instructionsAnton Mitrofanov2016-05-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix AVX emulation of scalar float instructionsHenrik Gramner2016-05-16
| | | | | | | Those instructions are not commutative since they only change the first element in the vector and leave the rest unmodified. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
|
* Split global .gitignore file into per-directory filesDiego Biurrun2016-05-13
|
* colorspace: Add support for BT709Jan Ekström2016-05-10
| | | | | | BT.709 coefficients were gathered from the first two parts of BT.709 to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2). They were additionally confirmed by manually calculating values.
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* testprogs: Mark some tables as static constDiego Biurrun2016-04-29
|
* pixfmt: fix wrong commentThomas Guillem2016-04-19
| | | | | | | | The h264/hevc Annex E colour primaries table says that AVCOL_SPC_SMPTE170M is similar than AVCOL_SPC_SMPTE240M. These two values are not similar than AVCOL_SPC_BT470BG. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hwcontext: initialize sw_format in av_hwframe_ctx_alloc()Anton Khirnov2016-04-15
|
* testprogs: Add missing libm.h includesMartin Storsjö2016-04-11
| | | | | | This fixes building on MSVC 2010 and 2012 after d12b5b2f135. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* testprogs: Clean up #includesDiego Biurrun2016-03-24
|
* opt: Add av_opt_copy()Michael Niedermayer2016-03-24
| | | | | | | This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
* opt: Add const to av_opt_nextLukasz Marek2016-03-24
| | | | | | | Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
* opt-test: Merge struct declaration and initializationDiego Biurrun2016-03-23
|
* opt-test: Move some variable declarations to avoid block bracesDiego Biurrun2016-03-23
|
* parseutils-test: Move some variable declarations to avoid block bracesDiego Biurrun2016-03-23
|
* des-test: Move a variable declaration to avoid an ifdefDiego Biurrun2016-03-23
|
* lavu: VAAPI hwcontext implementationMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavu: add a way to query hwcontext frame constraintsMark Thompson2016-03-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* buffer: drop a reference to a non-existing function from the docsAnton Khirnov2016-03-07
| | | | This function only ever existed in the draft versions of the API.
* pixfmt: fix the AV_PIX_FMT_VAAPI_VLD doxyAnton Khirnov2016-03-07
|
* lavu: improve documentation of some AVFrame functionswm42016-03-05
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>