summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avfilter/vf_maskedmerge: add slice threadingPaul B Mahol2018-05-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_deblock: add timeline supportPaul B Mahol2018-05-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/mxfenc: Set color siting to 0 for D10-MXFMichael Niedermayer2018-05-12
| | | | | | | | | SMPTE 386M (D-10) lists 4 as value to be used SMPTE 377-1-2009 says "The definitions of 00h (coSiting) and 04h (Rec 601) are equivalent. The value of 04h is deprecated. New MXF encoders shall use the value of 00h instead." Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Add Sample width/height/x offset/y offset, Display x offset ↵Michael Niedermayer2018-05-12
| | | | | | and F2 offset Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add more tests for hue video filterTobias Rapp2018-05-11
| | | | | | | Adds tests for the hue angle and brightness filter parameters. Renames the existing saturation parameter test for consistency. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
* fate/cbs: Add an SEI testMark Thompson2018-05-10
| | | | | | | | | | | | | | The artificial sample file sei-1.h264 contains five frames (IDR P B I B) and the following SEI message types: * Buffering period * Picture timing * Pan-scan rectangle (display as 4:3) * User data registered, containing A/53 closed captions (captions match frame content, including reordering) * Recovery point (at the I frame) * Display orientation (identity transformation) * Mastering display (with arbitrary contents) * Undefined SEI type 1234 (containing ascending bytes)
* cbs_h264: Add support for mastering display SEI messagesMark Thompson2018-05-10
|
* cbs_h264: Add support for pan-scan rectangle SEI messagesMark Thompson2018-05-10
|
* h264_metadata: Fix AUD writingMark Thompson2018-05-10
| | | | | The aud structure exists on the stack, so the variable was previously out-of-scope when the unit is written.
* h264_metadata: Remove redundant setting of SEI payload sizeMark Thompson2018-05-10
| | | | This should be derived from the data length rather than set explicitly.
* cbs_h264: Fix handling of unknown SEIMark Thompson2018-05-10
| | | | | The user should only interact directly with the data length, not the payload size.
* lavc/qdrw: Read PixMap palette.Carl Eugen Hoyos2018-05-10
| | | | Fixes ticket #6195.
* lavd/v4l2: Add ARGB and XRGB packed pixel formatsAnton Leontiev2018-05-10
| | | | | | | | | | | Formats ARGB32, XRGB32, ABGR32, and XBGR32 were added to V4L2 instead of ill-defined deprecated RGB32/BGR32 pixel formats. When pixel format is not specified explicitly FFmpeg tries formats in order in which they are stored in the table. Therefore formats are sorted as follows: BGR is preferred over RGB and XBGR is preferred over ARGB, because it could give better performance by ignoring alpha component.
* vaapi_encode_h265: Insert content light level informationHaihao Xiang2018-05-10
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* cbs_h265: read/write content light level information SEI messageHaihao Xiang2018-05-10
| | | | Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* vaapi_encode_h265: Insert mastering display colour volumeHaihao Xiang2018-05-10
| | | | | | | '-sei xxx' is added to control SEI insertion, so far only mastering display colour volume is available for testing. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* cbs_h265: read/write HEVC PREFIX SEIHaihao Xiang2018-05-10
| | | | | | | | Similar to H264, cbs_h265_{read, write}_nal_unit() can handle HEVC prefix SEI NAL units. Currently mastering display colour volume SEI message is added only, we may add more SEI message if needed later Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* hwcontext_vaapi: Add an assert in vaapi_map_from_drm()Haihao Xiang2018-05-10
| | | | | | | Every fourcc in vaapi_drm_format_map should be in vaapi_format_map, so add an assert to ensure we have the right maps. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* vaapi_encode: Add an assert in vaapi_encode_truncate_gop()Haihao Xiang2018-05-10
| | | | | | | | The flag of input_available must be set when pic_start is not NULL, so add an assert to ensure it is true. In addition, the assert on last_pic is unnecessary now, so remove this assert. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* avcodec/nvdec_hevc: fix scaling listsPhilip Langdale2018-05-10
| | | | | | | | | | | The main issue here was the use of [i] instead of [i * 3] for the 32x32 matrix. As part of fixing this, I changed the code to match that used in vdpau_hevc, which I spent a lot of time verifying. I also changed to calculating NumPocTotalCurr using the existing helper, which is what vdpau does. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointerTimo Rothenpieler2018-05-10
|
* avfilter: add fftdnoiz filterPaul B Mahol2018-05-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavfi/tests/filtfmts: fix the build warning.Jun Zhao2018-05-10
| | | | | | fix the build warning: ignoring return value. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* checkasm/sw_rgb: fix the function declaration warningJun Zhao2018-05-10
| | | | | | | | | fix the warning: "function declaration isn’t a prototype", in C int foo() and int foo(void) are different functions. int foo() accepts an arbitrary number of arguments, while int foo(void) accepts 0 arguments. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavf/network: fix doxygen comments.Jun Zhao2018-05-10
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* avformat/mxfenc: add h264 profilesThomas Mundt2018-05-10
| | | | | | Signed-off-by: Thomas Mundt <tmundt75@gmail.com> Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_hwupload_cuda: update supported pix_fmtsTimo Rothenpieler2018-05-10
|
* avutil/hwcontext_cuda: use generic size and pointer assignment functionsTimo Rothenpieler2018-05-10
|
* avutil/hwcontext_cuda: add support for nvenc rgb formatsTimo Rothenpieler2018-05-10
|
* avcodec/cuviddec: explicitly synchronize cuMemcpy callsTimo Rothenpieler2018-05-10
|
* avutil/hwcontext_cuda: explicitly synchronize cuMemcpy callsTimo Rothenpieler2018-05-10
|
* avcodec/nvdec: pass CUstream in vpp parametersTimo Rothenpieler2018-05-10
|
* avutil/hwcontext_cuda: add CUstream in cuda hwctxTimo Rothenpieler2018-05-10
|
* avcodec/nvdec: avoid needless copy of output frameTimo Rothenpieler2018-05-10
| | | | | | | Replaces the data pointers with the mapped cuvid ones. Adds buffer_refs to the frame to ensure the needed contexts stay alive and the cuvid idx stays allocated. Adds another buffer_ref to unmap the frame when it's unreferenced itself.
* Revert "avcodec/nvenc: make hw_frames_ctx fully optional"Timo Rothenpieler2018-05-10
| | | | | | | | This reverts commit 7d4e1f7cfb667585514bfa0a4d0fee2f717a93ed. Accidentially pushed this with a batch of other patches, and it didn't seem to break anything, so I went with it. Except it does, so reverting it it is.
* avformat/mpegts: clean up whitespaceAman Gupta2018-05-09
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/mpegts: use MAX_SECTION_SIZE instead of hardcoded valueAman Gupta2018-05-09
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat/mpegts: skip non-PMT tids earlierAman Gupta2018-05-09
| | | | | | | | | | | | | | | This mimics the logic flow in all the other callbacks (pat_cb, sdt_cb, m4sl_cb), and avoids calling skip_identical() for non PMT_TID packets. Since skip_identical modifies internal state like MpegTSSectionFilter.last_ver, this change prevents unnecessary reprocessing on some streams which contain multiple tables in the PMT pid. This can be observed with streams from certain US cable providers, which include both tid=0x2 and another unspecified tid=0xc0. Signed-off-by: Aman Gupta <aman@tmm1.net>
* ffprobe: fix SEGV when new streams are addedAman Gupta2018-05-09
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/hevc: remove videotoolbox hackAman Gupta2018-05-09
| | | | | | | No longer required since 63d875772d. The equivalent hack for h264 was removed in that commit, but this one was missed. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/videotoolbox: split h264/hevc callbacksAman Gupta2018-05-09
| | | | | | | Previously the shared callbacks were trying to interpret avctx->priv_data as H264Context* Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/videotoolbox: cleanupsAman Gupta2018-05-09
| | | | | | No functional changes. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/cbs_h2645: use AVBufferRef to store list of active parameter setsJames Almer2018-05-09
| | | | | | | | Removes unnecessary data copies, and partially fixes potential issues with dangling references held in said lists. Reviewed-by: Mark Thompson <sw@jkqxz.net> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/mxfenc: Write transfer characteristicMichael Niedermayer2018-05-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Add Stored F2 Offset / Image Start/End Offset for D10Michael Niedermayer2018-05-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Write Audio Ref Level for D10Michael Niedermayer2018-05-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Add Padding BitsMichael Niedermayer2018-05-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: add white/black ref /color rangeMichael Niedermayer2018-05-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Add vertical subsampling supportMichael Niedermayer2018-05-08
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: Fix stored widthMichael Niedermayer2018-05-08
| | | | | | This fixes the width to have computations matching the height Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>