summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* vaapi_encode: Move quality option to common codeMark Thompson2017-08-06
| | | | | | | | | Use AVCodecContext.compression_level rather than a private option, replacing the H.264-specific quality option (which stays only for compatibility). This now works with the H.265 encoder in the i965 driver, as well as the existing cases with the H.264 encoder.
* imgutils: add function to clear an image to blackwm42017-07-26
| | | | | | | | | | | | | | | | | | | Black isn't always just memset(ptr, 0, size). Limited YUV in particular requires relatively non-obvious values, and filling a frame with repeating 0 bytes is disallowed in some contexts. With component sizes larger than 8 or packed YUV, this can become relatively complicated. So having a generic function for this seems helpful. In order to handle the complex cases in a generic way without destroying performance, this code attempts to compute a black pixel, and then uses that value to clear the image data quickly by using a function like memset. Common cases like yuv410p10 or rgba can't be handled with a simple memset, so there is some code to fill memory with 2/4/8 byte patterns. For the remaining cases, a generic slow fallback is used. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc, lavu: move frame cropping to a convenience functionwm42017-07-26
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add Cinepak encoderTomas Härdin2017-07-05
| | | | | | With permission of Tomas Härdin applied by Rl aetey.se Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dxva: add support for new dxva2 and d3d11 hwaccel APIswm42017-06-08
| | | | | | | | | | This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavu: add new D3D11 pixfmt and hwcontextwm42017-06-08
| | | | | | | | | | | | | | | | | | | | To be used with the new d3d11 hwaccel decode API. With the new hwaccel API, we don't want surfaces to depend on the decoder (other than the required dimension and format). The old D3D11VA pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the decoder configuration, and thus is incompatible with the new hwaccel API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D and an index. It's simpler and compatible with the new hwaccel API. The introduced hwcontext supports only the new pixfmt. Frame upload code untested. Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* doc: Document hwupload, hwdownload and hwmap filtersMark Thompson2017-05-16
|
* aac: Split function to parse ADTS header data into public and private partDiego Biurrun2017-05-02
| | | | | | This makes the currently semi-public avpriv_aac_parse_header() function private to libavcodec and adds a proper public API function to return the parts of the ADTS header required in libavformat.
* hwcontext: Improve allocation in derived contextsMark Thompson2017-04-30
| | | | | | | Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves.
* avconv: Support setting the hardware device to use when filteringMark Thompson2017-04-30
| | | | | | This only supports one device globally, but more can be used by passing them with input streams in hw_frames_ctx or by deriving new devices inside a filter graph with hwmap.
* spherical: add functions to retrieve and request projection namesJames Almer2017-04-27
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Add flag to allow profile mismatch with hardware decodingMark Thompson2017-04-26
|
* Add ClearVideo decoderKostya Shishkov2017-04-25
| | | | | | Only I-frames are decoded for now. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* doc/examples/output: Cast pointer to the right (const) typeDiego Biurrun2017-04-24
| | | | doc/examples/output.c:512:33: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type
* doc/examples/filter_audio: const correctnessDiego Biurrun2017-04-24
| | | | doc/examples/filter_audio.c:168:17: warning: assignment discards ‘const’ qualifier from pointer target type
* Add FM Screen Capture Codec decoderPaul B Mahol2017-04-13
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* examples: Fixed and extended Doxygen documentationAndreas Unterweger2017-04-10
| | | | | | | | Added parameter descriptions for all functions and converted in-function comments into regular (non-Doxygen) comments. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* doc: Add VAAPI encodersMark Thompson2017-04-02
|
* vp9: Add bsf to fix reordering in raw streamsMark Thompson2017-04-02
| | | | | | Takes a raw input stream containing frames with correct timestamps but possibly out of order and inserts additional show-existing-frame packets to correct the ordering.
* vp9: Add bsf to merge superframesRonald S. Bultje2017-04-02
| | | | From ffmpeg commit 2e6636aa87303d37b112e79f093ca39500f92364.
* APIchanges: Update bump datesVittorio Giovara2017-03-23
|
* avconv: Document the -init_hw_device optionMark Thompson2017-03-20
|
* lavc: Add hwaccel_flags field to AVCodecContextwm42017-03-20
| | | | | | | | This "reuses" the flags introduced for the av_vdpau_bind_context() API function, and makes them available to all hwaccels. This does not affect the current vdpau API, as av_vdpau_bind_context() should obviously override the AVCodecContext.hwaccel_flags flags for the sake of compatibility.
* hwcontext: Make it easier to work with device typesMark Thompson2017-03-20
| | | | | | Adds functions to convert to/from strings and a function to iterate over all supported device types. Also adds a new invalid type AV_HWDEVICE_TYPE_NONE, which acts as a sentinel value.
* hwcontext: Add device derivationMark Thompson2017-03-20
| | | | | Creates a new device context from another of a different type which refers to the same underlying hardware.
* Add Cineform HD DecoderKieran Kunhya2017-03-09
| | | | | | | | | | Decodes YUV 4:2:2 10-bit and RGB 12-bit files. Older files with more subbands, skips, Bayer, alpha not supported. Further fixes and refactorings by Anton Khirnov <anton@khirnov.net>, Diego Biurrun <diego@biurrun.de>, Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* spherical: Add tiled equirectangular type and projection-specific propertiesVittorio Giovara2017-03-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Prefer NASM assembler over YASMDiego Biurrun2017-03-07
| | | | | NASM is more actively maintained and permits generating dependency information as a sideeffect of assembling, thus cutting build times in half.
* Add Apple Pixlet decoderPaul B Mahol2017-03-01
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Drop DOC_ prefix from EXAMPLES-related variablesDiego Biurrun2017-02-27
|
* Use modern avconv syntax for codec selection in documentation and testsDiego Biurrun2017-02-27
|
* build: Separate logic for building examples from that for building avtoolsDiego Biurrun2017-02-21
|
* build: Split logic for building examples off into a separate MakefileDiego Biurrun2017-02-21
|
* build: Avoid duplication in examples listsDiego Biurrun2017-02-21
|
* build: Drop leftover reference to old EXAMPLES logicDiego Biurrun2017-02-21
|
* lavc: Add device context field to AVCodecContextMark Thompson2017-02-13
| | | | For use by codec implementations which can allocate frames internally.
* AVFrame: add an opaque_ref fieldwm42017-02-11
| | | | | | | | | | | | | | | This is an extended version of the AVFrame.opaque field, which can be used to attach arbitrary user information to an AVFrame. The usefulness of the opaque field is rather limited, because it can store only up to 32 bits of information (or 64 bit on 64 bit systems). It's not possible to set this field to a memory allocation, because there is no way to deallocate it correctly. The opaque_ref field circumvents this by letting the user set an AVBuffer, which makes the user data refcounted. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* frame: allow align=0 (meaning automatic) for av_frame_get_buffer()Anton Khirnov2017-02-11
| | | | | This will avoid every caller from hardcoding some specific alignment, which may break in the future with new instruction sets.
* cpu: add a function for querying maximum required data alignmentAnton Khirnov2017-02-11
|
* avio: add a destructor for AVIOContextAnton Khirnov2017-02-11
| | | | | Before this commit, AVIOContext is to be freed with a plain av_free(), which prevents us from adding any deeper structure to it.
* lavc: deprecate refcounted_frames fieldwm42017-02-01
| | | | | | | | | No deprecation guards, because the old decode API (for which this field is needed) doesn't have any either. This field should be removed together with the old decode calls. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: allow -b to be used with streamcopyAnton Khirnov2017-02-01
| | | | In this mode it tells the muxer about the bitrate of the input stream.
* doc: add dash muxerPeter Große2017-01-31
| | | | | Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: add an option for exporting cropping information to the callerAnton Khirnov2017-01-12
| | | | | Also, add generic code for handling cropping, so the decoders can export just the cropping size and not bother with the rest.
* frame: add a cropping rectangle to AVFrameAnton Khirnov2017-01-12
| | | | | Extend the width/height doxy to clarify that it should store coded values.
* crypto: consistently use size_t as type for length parametersDiego Biurrun2017-01-09
| | | | size_t is the correct type to use for sizes.
* fate: Add --ignore-tests configure option for omitting specific FATE testsJanne Grunau2016-12-28
| | | | | | | | | This can be useful to filter out noise in known-broken scenarios like miscompilation by legacy compilers and similar. Originally based on a patch by Diego Biurrun. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavc: add a bitstream filter for splitting VP9 superframesAnton Khirnov2016-12-14
| | | | Partially based on code by Ronald S. Bultje <rsbultje@gmail.com>.
* lavc: add a null bitstream filterAnton Khirnov2016-12-14
| | | | | | It is useful for testing/debugging and will also be used as the default filter in the following commit adding pre-decode filtering to avoid having a separate non-filtered codepath.
* APIChanges: Mention where release 12 was cutVittorio Giovara2016-12-08
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>