01:56
avcodec/h264dec: Reindent after the previous commit Signed-off-by: arch1t3cht <arch1t3chtⓐgmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuisⓐgmail.com> [DH] libavcodec/h264dec.c
01:56
avcodec/h264dec: Handle non-recovered frames when draining When starting on a SEI recovery point close enough to the end of the stream that draining starts before the recovery point's frame is output, there can be non-recovered frames in the delayed picture buffer that would currently cause the decoder to fail to output a frame. This commit skips such frames and outputs the first recovered frame, if there exists one. Signed-off-by: arch1t3cht <arch1t3chtⓐgmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuisⓐgmail.com> [DH] (...)
01:56
avcodec/h264dec: Properly mark frames as recovered when draining When decoding starts at a SEI recovery point very shortly before the end of the video stream, there can be frames which are decoded before the recovery point's frame is output and which will only be output once the draining has started. Previously, these frames would never be set as recovered. This commit copies the logic from h264_select_output_frame to send_next_delayed_frame to properly mark such frames as recovered. Fixes ticket #10936. Signed-off-by: arch1t3cht <arch1t3chtⓐgmail.com> Signed-off-by: Derek (...)
16:01
avutil/frame: add a flag to allow overwritting existing entries Enable it only for side data types that don't allow more than one entry. Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavutil/frame.c [DH] libavutil/frame.h [DH] libavutil/tests/side_data_array.c [DH] tests/ref/fate/side_data_array
15:58
avutil/frame: add helper for adding side data w/ AVBufferRef to array Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavutil/frame.c [DH] libavutil/frame.h
15:50
avcodec/hevcdec: export global side data in AVCodecContext Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] doc/APIchanges [DH] libavcodec/avcodec.h [DH] libavcodec/h2645_sei.c [DH] libavcodec/h2645_sei.h [DH] libavcodec/hevcdec.c [DH] libavcodec/pthread_frame.c [DH] libavcodec/version.h
15:49
avcodec/decode: add AVFrameSideData helper wrappers that don't depend on frames They will be useful to fill arrays stored in other structs. Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavcodec/decode.c [DH] libavcodec/decode.h
22:42
avutil/pixdesc,fmt: add new matrix coefficients from H.273 v3 * SMPTE ST 2128 IPT-C2 defines the coefficients utilized in DoVi Profile 5. Profile 5 can thus now be represented in VUI as AVCOL_RANGE_JPEG, AVCOL_PRI_BT2020, AVCOL_TRC_SMPTE2084, AVCOL_SPC_IPT_C2, AVCHROMA_LOC_LEFT (although other chroma sample locations are allowed). AVCOL_TRC_SMPTE2084 should in this case be interpreted as 'PQ with reshaping'. * YCgCo-Re and YCgCo-Ro define the bitexact YCgCo-R, where the number of bits added to a source RGB bit depth is 2 (i.e., even) and 1 (i.e., odd), respectively. [DH] (...)
23:03
avcodec/libx265: do not arbitrarily limit color values Newer specifications such as H.273 have, and probably will further in the future add new values to these, so - instead of trying to update these limits - we should simply check if the values are not set to the value of "unspecified". This should allow newer avutil values such as IPT-C2 or YCgCo-R variants be passed to x265 itself, which apparently does its own validation further down the line. [DH] (...)
22:58
avfilter/buffersrc,vf_setparams: map IPT-C2, YCgCo-R variants [DH] libavfilter/buffersrc.c [DH] libavfilter/version.h [DH] libavfilter/vf_setparams.c
22:52
avcodec/options_table: map IPT-C2, YCgCo-R variants in colorspace [DH] libavcodec/options_table.h [DH] libavcodec/version.h
08:10
lavc/vaapi_encode: Add VAAPI version check for BLBRC Fix build fail when VAAPI version less than 0.39.2. Signed-off-by: Fei Wang <fei.w.wangⓐintel.com> [DH] libavcodec/vaapi_encode.c
06:55
lavc/vaapi_encode: convert from lambda to qp When AV_CODEC_FLAG_QSCALE is set, the value of avctx->global_quality is lambda. Signed-off-by: Haihao Xiang <haihao.xiangⓐintel.com> [DH] libavcodec/vaapi_encode.c
12:34
avcodec/mfenc: expose more properties of the media foundation encoder [DH] libavcodec/mf_utils.h [DH] libavcodec/mfenc.c
18:19
avcodec/msmpeg4: Don't include x86-specific header unconditionally Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/msmpeg4.c
17:06
lib*/version: Use static_assert for static asserts Also update the checks that guard against inserting a new enum entry in the middle of a range. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/version.c [DH] libavdevice/version.c [DH] libavfilter/version.c [DH] libavformat/version.c [DH] libavutil/version.c [DH] libpostproc/version.c [DH] libswresample/version.c [DH] libswscale/version.c
16:14
swscale/swscale_internal: Don't export internal function sws_alloc_set_opts() can actually be made internal to utils.c. This commit does so. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libswscale/swscale_internal.h [DH] libswscale/utils.c
15:53
swscale/swscale_internal: Hoist branch out of loop Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libswscale/swscale_internal.h
08:20
avcodec, avfilter: Don't use "" for system headers Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/qsv.c [DH] libavfilter/avf_aphasemeter.c [DH] libavfilter/f_drawgraph.c [DH] libavfilter/f_graphmonitor.c [DH] libavfilter/vf_lut3d.c
04:59
swscale/ppc/swscale_altivec: Simplify macro Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libswscale/ppc/swscale_altivec.c
04:54
swscale/ppc/swscale_altivec: Fix build with -O0 In this case GCC does not treat a const variable initialized to the compile-time constant "3" as a compile-time constant and errors out because the argument is not a literal value. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libswscale/ppc/swscale_altivec.c
04:35
avcodec/pcm-bluray/dvd: Use correct pointer types on BE Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/pcm-bluray.c [DH] libavcodec/pcm-dvd.c
04:31
avcodec/mips/ac3dsp_mips: Add missing includes Likely broken in d7a75d21635eab4f4a1efea22945933059c2e36f. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/mips/ac3dsp_mips.c
22:28
avcodec/arm/vp8: Don't discard const Forgotten in 25e1986e6816fabf7f6065d090994f8ad050e540. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/arm/vp8.h
21:15
avutil/internal: Move avpriv_set_systematic_pal2 decl to imgutils_internal.h Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/bmpenc.c [DH] libavcodec/gif.c [DH] libavcodec/pcxenc.c [DH] libavcodec/xwdenc.c [DH] libavfilter/framepool.c [DH] libavfilter/vf_scale.c [DH] libavformat/av1.c [DH] libavutil/imgutils.c [DH] libavutil/imgutils_internal.h [DH] libavutil/internal.h
19:33
avutil/hwcontext_vulkan: Include hwcontext.h struct Foo * declares a new type (namely struct Foo) if there is no declaration of struct Foo already visible in the current scope; otherwise it is just a pointer to an element of the already declared type "struct Foo". There is a gotcha with the first case: struct Foo is only declared in its scope; a later declaration of struct Foo in an enclosing scope declares a different type. This happens in hwcontext_vulkan.h if it is included before hwcontext.h, because some declarations of struct AVHWDeviceContext and struct AVHWFramesContext (...)
19:19
avutil/internal: Move FF_MEMORY_POISON to its only user Namely mem.c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavutil/internal.h [DH] libavutil/mem.c
19:16
avutil/internal: Move libm inclusion to the beginning Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavutil/internal.h
18:58
avcodec/arm/mpegvideo_arm: Use static_assert to check offsets Also move AV_CHECK_OFFSET to its only user, namely lavc/arm/mpegvideo_arm.c and rename it to CHECK_OFFSET. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libavcodec/arm/mpegvideo_arm.c [DH] libavutil/internal.h
16:52
avutil/frame: use the same data information as the source entry when cloning side data src->data,size does not need to match src->buf->data,size. Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavutil/frame.c
15:34
swscale/swscale_internal: Only include altivec header iff HAVE_ALTIVEC Reviewed-by: Sean McGovern <gseanmcgⓐgmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libswscale/swscale_internal.h
15:08
postproc/postprocess: Don't generally include arch-specific headers Reviewed-by: Sean McGovern <gseanmcgⓐgmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardtⓐoutlook.com> [DH] libpostproc/postprocess.c [DH] libpostproc/postprocess_template.c
20:08
avformat/flac_picture: print a warning when mimetype is unknown It's not an error since bba6df9ac7bd8386d92e1a7f5c737ca4e575fcc. Reviewed-by: Michael Niedermayer <michaelⓐniedermayer.cc> Signed-off-by: James Almer <jamrialⓐgmail.com> [DH] libavformat/flac_picture.c