[FFmpeg-devel] [PATCH v2 1/1] libavcodec/h264: always set video signal type fields

2021-11-24 Thread Xiaolei Yu
The color range and color description fields when not present shall be inferred to be LIMITED and UNSPECIFIED respectively. Relevant info from containers will always be overriden. This is consistent with the behavior of the hevc decoder. --- libavcodec/h264_ps.c | 4 +++-

[FFmpeg-devel] [PATCH v2 0/1] libavcodec/h264: always set video signal type fields

2021-11-24 Thread Xiaolei Yu
Fixed fate tests Xiaolei Yu (1): libavcodec/h264: always set video signal type fields libavcodec/h264_ps.c | 4 +++- libavcodec/h264_slice.c | 18 +++--- tests/ref/fate/flv-demux | 2 +- tests/ref/fate/h264-dts_5fra

Re: [FFmpeg-devel] [PATCH v2] avformat/mov: add option max_stts_delta

2021-11-24 Thread Gyan Doshi
On 2021-11-25 12:56 am, Michael Niedermayer wrote: On Wed, Nov 24, 2021 at 10:58:00AM +0530, Gyan Doshi wrote: On 2021-11-24 01:16 am, Michael Niedermayer wrote: On Tue, Nov 23, 2021 at 06:41:06PM +0530, Gyan Doshi wrote: Very high stts sample deltas may occasionally be intended but usually

Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Lynne > Sent: Thursday, November 25, 2021 5:09 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a > hwdevice, search for existing device in both direct

Re: [FFmpeg-devel] [PATCH V2 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-24 Thread Lynne
25 Nov 2021, 03:58 by wenbin.c...@intel.com: >> 24 Nov 2021, 06:28 by wenbin.c...@intel.com: >> >> > The vaapi can import external frame, but the planes of the external >> > frames should be in the same drm object. A new option >> "contiguous_planes" >> > is added to device. This flag tells device

Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Lynne
25 Nov 2021, 03:58 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Lynne >> Sent: Wednesday, November 24, 2021 12:27 PM >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Subject: Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwc

[FFmpeg-devel] [PATCH v2 1/1] avformat/dump: Print stream start offsets for input streams

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- v2: Removed the level output as there doesn't appear to exist a convenient way for getting a string representation for a level id (for arbitrary codecs). The stream offsets are the more interesting part of this anyway. libavformat/dump.c | 5 + 1 file changed, 5

[FFmpeg-devel] [PATCH v2 1/1] fftools/ffprobe: print size of attachment streams (extradata_size)

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- v2: As suggested by Marton, I'm always prniting extradata_size now instead of an 'attachment_size' value. The downside is that a number of tests need to be changed and probably, Patchwork won't get it right again (due to long lines). doc/ffprobe.xsd

Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Lynne > Sent: Wednesday, November 24, 2021 12:27 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When > deriving a hwdevice, search for existing

Re: [FFmpeg-devel] [PATCH V2 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-24 Thread Chen, Wenbin
> 24 Nov 2021, 06:28 by wenbin.c...@intel.com: > > > The vaapi can import external frame, but the planes of the external > > frames should be in the same drm object. A new option > "contiguous_planes" > > is added to device. This flag tells device to allocate places in one > > memory. When device

[FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Soft Works
The test /libavutil/tests/hwdevice checks that when deriving a device from a source device and then deriving back to the type of the source device, the result is matching the original source device, i.e. the derivation mechanism doesn't create a new device in this case. Previously, this test was u

Re: [FFmpeg-devel] [PATCH V2 1/5] hwcontext_vaapi: Use PRIME_2 memory type for modifiers.

2021-11-24 Thread Chen, Wenbin
> 24 Nov 2021, 06:28 by wenbin.c...@intel.com: > > > From: Bas Nieuwenhuizen > > > > This way we can pass explicit modifiers in. Sometimes the > > modifier matters for the number of memory planes that > > libva accepts, in particular when dealing with > > driver-compressed textures. Furthermore t

Re: [FFmpeg-devel] [PATCH v3 5/7] avcodec: suppport for bitpacked encode

2021-11-24 Thread lance . lmwang
On Wed, Nov 24, 2021 at 10:20:34PM +0100, Michael Niedermayer wrote: > On Wed, Nov 24, 2021 at 11:27:43PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > Changelog | 1 + > > libavcodec/Makefile| 1 + > > libav

[FFmpeg-devel] [PATCH v15 16/16] fftools/ffmpeg: Use new frame-based subtitle encoding API

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- fftools/ffmpeg.c | 60 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index c697c12777..603b4c23e0 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -896,10 +89

[FFmpeg-devel] [PATCH v15 15/16] avcodec/subtitles: Migrate subtitle encoders to frame-based API and provide a compatibility shim for the legacy api

2021-11-24 Thread Soft Works
Also introduce deferred loading of ass headers for all cases where it can't be taken from the context of a decoder. Signed-off-by: softworkz --- libavcodec/assenc.c| 81 - libavcodec/avcodec.h | 7 +++ libavcodec/dvbsubenc.c | 85 +++

[FFmpeg-devel] [PATCH v15 14/16] avfilter/subscale: Add filter for scaling and/or re-arranging graphical subtitles

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- configure | 1 + doc/filters.texi | 164 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_subscale.c | 883 ++ 5 files changed, 1050 insertions(+) create mode 1

[FFmpeg-devel] [PATCH v15 13/16] avfilter/graphicsub2text: Add new graphicsub2text filter (OCR)

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- configure| 1 + doc/filters.texi | 55 + libavfilter/Makefile | 2 + libavfilter/allfilters.c | 1 + libavfilter/sf_graphicsub2text.c | 354 +++ 5 files changed, 413 ins

[FFmpeg-devel] [PATCH v15 12/16] avfilter/splitcc: Add splitcc filter for closed caption handling

2021-11-24 Thread Soft Works
- splitcc {V -> VS) Extract closed-caption (A53) data from video frames as subtitle Frames ffmpeg -y -loglevel verbose -i "https://streams.videolan.org/streams/ts/CC/NewsStream-608-ac3.ts"; -filter_complex "[0:v]splitcc[vid1],textmod=mode=remove_chars:find='@',[vid1]overlay_textsubs" outpu

[FFmpeg-devel] [PATCH v15 11/16] avfilter/stripstyles: Add stripstyles filter

2021-11-24 Thread Soft Works
- stripstyles {S -> S) Remove all inline styles from subtitle events Signed-off-by: softworkz --- doc/filters.texi | 37 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/sf_stripstyles.c | 196 +++ 4 fi

[FFmpeg-devel] [PATCH v15 10/16] avfilter/textmod: Add textmod, censor and show_speaker filters

2021-11-24 Thread Soft Works
- textmod {S -> S) Modify subtitle text in a number of ways - censor {S -> S) Censor subtitles using a word list - show_speaker {S -> S) Prepend speaker names from ASS subtitles to the visible text lines Signed-off-by: softworkz --- doc/filters.texi | 206 libavfilte

[FFmpeg-devel] [PATCH v15 09/16] avfilter/overlaytextsubs: Add overlaytextsubs and textsubs2video filters

2021-11-24 Thread Soft Works
- overlaytextsubs {VS -> V) Overlay text subtitles onto a video stream. - textsubs2video {S -> V) Converts text subtitles to video frames Signed-off-by: softworkz --- configure| 2 + doc/filters.texi | 113 ++ libavfilter/Makefile |

[FFmpeg-devel] [PATCH v15 08/16] fftools/ffmpeg: Replace sub2video with subtitle frame filtering

2021-11-24 Thread Soft Works
This commit actually enables subtitle filtering in ffmpeg by sending and receiving subtitle frames to and from a filtergraph. The heartbeat functionality from the previous sub2video implementation is retained and applied to all subtitle frames (bitmap, text, ..). The other part of sub2video funct

[FFmpeg-devel] [PATCH v15 07/16] avfilter/overlaygraphicsubs: Add overlaygraphicsubs and graphicsub2video filters

2021-11-24 Thread Soft Works
- overlaygraphicsubs (VS -> V) Overlay graphic subtitles onto a video stream - graphicsub2video {S -> V) Converts graphic subtitles to video frames (with alpha) Gets auto-inserted for retaining compatibility with sub2video command lines Signed-off-by: softworkz --- doc/filters.texi

[FFmpeg-devel] [PATCH v15 06/16] avfilter/sbuffer: Add sbuffersrc and sbuffersink filters

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- configure| 2 +- libavfilter/allfilters.c | 2 ++ libavfilter/buffersink.c | 63 +++ libavfilter/buffersink.h | 15 + libavfilter/buffersrc.c | 72 libavfilter/buffersr

[FFmpeg-devel] [PATCH v15 05/16] avfilter/avfilter: Handle subtitle frames

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- libavfilter/avfilter.c | 8 +--- libavfilter/avfilter.h | 11 +++ libavfilter/avfiltergraph.c | 5 + libavfilter/formats.c | 22 ++ libavfilter/formats.h | 3 +++ libavfilter/internal.h | 18 +++

[FFmpeg-devel] [PATCH v15 04/16] avfilter/subtitles: Add subtitles.c for subtitle frame allocation

2021-11-24 Thread Soft Works
Analog to avfilter/video.c and avfilter/audio.c Signed-off-by: softworkz --- libavfilter/Makefile| 1 + libavfilter/avfilter.c | 4 +++ libavfilter/internal.h | 1 + libavfilter/subtitles.c | 63 + libavfilter/subtitles.h | 44

[FFmpeg-devel] [PATCH v15 03/16] fftools/play, probe: Adjust for subtitle changes

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- fftools/ffplay.c | 102 +- fftools/ffprobe.c | 48 ++ 2 files changed, 78 insertions(+), 72 deletions(-) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index e7b20be76b..0af32888da 100644 --- a/fftoo

[FFmpeg-devel] [PATCH v15 02/16] global: Move ass helper functions to avutil as avpriv_ and extend ass dialog parsing

2021-11-24 Thread Soft Works
Signed-off-by: softworkz --- libavcodec/Makefile | 56 +++ libavcodec/ass.h | 129 libavcodec/assdec.c | 2 +- libavcodec/assenc.c | 2 +- libavcodec/ccaption_dec.c

[FFmpeg-devel] [PATCH v15 01/16] global: Prepare AVFrame for subtitle handling

2021-11-24 Thread Soft Works
Root commit for adding subtitle filtering capabilities. In detail: - Add type (AVMediaType) field to AVFrame Replaces previous way of distinction which was based on checking width and height to determine whether a frame is audio or video - Add subtitle fields to AVFrame - Add new struct AVSubt

[FFmpeg-devel] [PATCH v15 00/16] *** SUBJECT HERE ***

2021-11-24 Thread Soft Works
Root commit for adding subtitle filtering capabilities. In detail: - Add type (AVMediaType) field to AVFrame Replaces previous way of distinction which was based on checking width and height to determine whether a frame is audio or video - Add subtitle fields to AVFrame - Add new struct AVSubt

Re: [FFmpeg-devel] [PATCH v3 5/7] avcodec: suppport for bitpacked encode

2021-11-24 Thread Michael Niedermayer
On Wed, Nov 24, 2021 at 11:27:43PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > Changelog | 1 + > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/bitpacked_enc.c | 121 >

[FFmpeg-devel] [PATCH v3 2/2] swscale/x86/input.asm: add x86-optimized planer rgb2yuv functions

2021-11-24 Thread mindmark
From: Mark Reid sse2 only operates on 2 lanes per loop for to_y and to_uv functions, due to the lack of pmulld instruction. Emulating pmulld with 2 pmuludq and shuffles proved too costly and made to_uv functions slower then the c implementation. For to_y on sse2 only float functions are generat

[FFmpeg-devel] [PATCH v3 1/2] swscale/x86/output.asm: add x86-optimized planer gbr yuv2anyX functions

2021-11-24 Thread mindmark
From: Mark Reid changes since v2: * fixed label changes since v1: * remove vex intruction on sse4 path * some load/pack marcos use less intructions * fixed some typos yuv2gbrp_full_X_4_512_c: 12757.6 yuv2gbrp_full_X_4_512_sse2: 8946.6 yuv2gbrp_full_X_4_512_sse4: 5138.6 yuv2gbrp_full_X_4_512_

Re: [FFmpeg-devel] [PATCH 03/16] swscale: add P210/P410/P216/P416 input

2021-11-24 Thread Michael Niedermayer
On Mon, Nov 22, 2021 at 03:58:08PM -0600, rcombs wrote: > --- > libswscale/input.c | 16 > libswscale/utils.c | 8 > libswscale/version.h | 2 +- > 3 files changed, 25 insertions(+), 1 deletion(-) should be ok (assuming any dependant changes are in / fate passes)

Re: [FFmpeg-devel] [PATCH v2] avformat/mov: add option max_stts_delta

2021-11-24 Thread Michael Niedermayer
On Wed, Nov 24, 2021 at 10:58:00AM +0530, Gyan Doshi wrote: > > > On 2021-11-24 01:16 am, Michael Niedermayer wrote: > > On Tue, Nov 23, 2021 at 06:41:06PM +0530, Gyan Doshi wrote: > > > Very high stts sample deltas may occasionally be intended but usually > > > they are written in error or used

[FFmpeg-devel] [PATCH] configure: do not include -lvulkan in vulkan's pkg-config check

2021-11-24 Thread Lynne
Also fixes the non-pkg-config check. Patch attached. >From 6df42fc4ed19e54ee83c7ef3f969a3bc744ca036 Mon Sep 17 00:00:00 2001 From: Lynne Date: Wed, 24 Nov 2021 20:17:09 +0100 Subject: [PATCH] configure: do not include -lvulkan in vulkan's pkg-config check Also fixes the non-pkg-config check. -

Re: [FFmpeg-devel] [PATCH v2] swscale/x86/output.asm: add x86-optimized planer gbr yuv2anyX functions

2021-11-24 Thread Mark Reid
On Tue, Nov 16, 2021 at 10:58 AM Mark Reid wrote: > > > On Wed, Nov 3, 2021 at 9:28 PM wrote: > >> From: Mark Reid >> >> changes since v1: >> * remove vex intruction on sse4 path >> * some load/pack marcos use less intructions >> * fixed some typos >> >> yuv2gbrp_full_X_4_512_c: 12757.6 >> yuv2

Re: [FFmpeg-devel] [PATCH v2] avformat/webvttdec, enc: correctly process files containing STYLE, REGION blocks

2021-11-24 Thread Dave Evans
Giving this another go. It would be really great to get webvtt with style and region blocks working correctly in ffmpeg. This patch would solve at least #9064, probably #8684 and possibly other tickets. Please let me know if further changes are needed. Cheers, Dave On Tue, Mar 16, 2021 at 9:23

Re: [FFmpeg-devel] [PATCH v3 7/7] avformat/rtp: support for RGB/BGR for rfc4175

2021-11-24 Thread Lynne
24 Nov 2021, 16:27 by lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/rtpdec_rfc4175.c | 20 > libavformat/rtpenc_rfc4175.c | 8 > libavformat/sdp.c| 6 ++ > 3 files changed, 34 insertions(+) > Much be

[FFmpeg-devel] [PATCH v3 7/7] avformat/rtp: support for RGB/BGR for rfc4175

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 20 libavformat/rtpenc_rfc4175.c | 8 libavformat/sdp.c| 6 ++ 3 files changed, 34 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.

[FFmpeg-devel] [PATCH v3 6/7] avformat: suppport for 4:2:2 10-bit for rfc4175

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpenc.c | 2 ++ libavformat/rtpenc_rfc4175.c | 4 libavformat/sdp.c| 5 + 3 files changed, 11 insertions(+) diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c index 4f115cc..17f5d9d 100644 --- a/liba

[FFmpeg-devel] [PATCH v3 5/7] avcodec: suppport for bitpacked encode

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- Changelog | 1 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/bitpacked_enc.c | 121 + libavcodec/version.h | 2 +- 5 files changed, 125 in

[FFmpeg-devel] [PATCH v3 4/7] avcodec: rename bitpacked.c to bitpacked_dec.c

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/Makefile| 2 +- libavcodec/bitpacked.c | 158 - libavcodec/bitpacked_dec.c | 158 + 3 files changed, 159 insertions(+), 159 deletions(-

[FFmpeg-devel] [PATCH v3 3/7] avformat/rtpenc: adds partial support for the RFC 4175

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- Changelog| 1 + libavformat/Makefile | 1 + libavformat/rtpenc.c | 4 ++ libavformat/rtpenc.h | 1 + libavformat/rtpenc_rfc4175.c | 116 +++ libavformat/sdp

[FFmpeg-devel] [PATCH v3 2/7] avformat/rtpdec_rfc4175: support for yuv420p format

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index f13736b..5a7058b 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rfc4

[FFmpeg-devel] [PATCH v3 1/7] avformat/rtpdec_rfc4175: use rawvideo for uyvy422

2021-11-24 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index f50cad7..f13736b 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpde

Re: [FFmpeg-devel] [PATCH 05/16] lavc/videotoolbox: escape 0x00000[0-3]s in avcC PSs

2021-11-24 Thread Derek Buitenhuis
On 11/22/2021 9:58 PM, rcombs wrote: > --- > libavcodec/videotoolbox.c | 53 +-- > 1 file changed, 45 insertions(+), 8 deletions(-) > > diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c > index 49e726a75f..bd6e769207 100644 > --- a/libavcodec/v

Re: [FFmpeg-devel] [PATCH 2/4] avfilter: add AVFILTER_FLAG_META

2021-11-24 Thread Anton Khirnov
Quoting Hendrik Leppkes (2021-11-23 11:38:44) > On Tue, Nov 23, 2021 at 11:31 AM Anton Khirnov wrote: > > > > This flag allows distinguishing between filters that actually modify the > > data and those that only modify metadata or gather some stream > > information. > > A "meta" filter has me ass

Re: [FFmpeg-devel] [PATCH 01/16] ffmpeg: remove ffmpeg_videotoolbox

2021-11-24 Thread James Almer
On Mon, Nov 22, 2021 at 6:58 PM rcombs wrote: > This was almost completely redundant. The only functionality that's no > longer > available after this removal is the videotoolbox_pixfmt arg, which has been > obsolete for several years. > --- > fftools/Makefile | 4 - > fftools/ffm

Re: [FFmpeg-devel] [PATCH v2 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-24 Thread Wu Jianhua
Lynne: Sent: 2021年11月24日 18:36 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v2 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers 24 Nov 2021, 05:11 by jianhua...@intel.com: >> /* Creates a VkInstance *

[FFmpeg-devel] [PATCH] swscale: fix deprecation message for JPEG

2021-11-24 Thread Werner Robitza
This message frequently confuses end users, making them think that they are doing something wrong [1]. The fact that the "J" format itself is deprecated should not be bothering the end users. Since the format can only be changed when the handle_jpeg() function is called, this means we can tell th

Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2021-11-24 Thread Lynne
19 Nov 2021, 17:24 by softwo...@hotmail.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Xiang, Haihao >> Sent: Monday, October 18, 2021 6:48 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH v3 1/1] avutils/hwcontext: When >> deriving a hwdevice,

Re: [FFmpeg-devel] [PATCH V2 1/5] hwcontext_vaapi: Use PRIME_2 memory type for modifiers.

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > From: Bas Nieuwenhuizen > > This way we can pass explicit modifiers in. Sometimes the > modifier matters for the number of memory planes that > libva accepts, in particular when dealing with > driver-compressed textures. Furthermore the driver might

Re: [FFmpeg-devel] [PATCH V2 5/5] libavutil/hwcontext_vulkan: specify the modifier to create VKImage

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > When vulkan image exports to drm, the tilling need to be > VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT. Now add code to create vulkan > image using this format. > > Now the following command line works: > > ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/r

Re: [FFmpeg-devel] [PATCH V2 3/5] libavutil/hwcontext_vulkan: Allocate vkFrame in one memory

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > The vaapi can import external frame, but the planes of the external > frames should be in the same drm object. A new option "contiguous_planes" > is added to device. This flag tells device to allocate places in one > memory. When device is derived fro

Re: [FFmpeg-devel] [PATCH V2 4/5] libavutil/hwcontext_vulkan: Add hwupload and hwdownload support when using contiguous_planes flag.

2021-11-24 Thread Lynne
24 Nov 2021, 06:28 by wenbin.c...@intel.com: > Add hwupload and hwdownload support to vulkan when frames are allocated > in one memory > > Signed-off-by: Wenbin Chen > --- > libavutil/hwcontext_vulkan.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > > diff --git a/libavu

Re: [FFmpeg-devel] [PATCH v2 4/4] avutil/hwcontext_vulkan: fully support customizable validation layers

2021-11-24 Thread Lynne
24 Nov 2021, 05:11 by jianhua...@intel.com: > +static int check_validation_layers(AVHWDeviceContext *ctx, AVDictionary > *opts, > + const char * const **dst, uint32_t *num) > +{ > +static const char default_layer[] = { "VK_LAYER_KHRONOS_validation" }; > + >

Re: [FFmpeg-devel] [PATCH] avfilter/dnn/dnn_backend_common: check thread create status before join thread

2021-11-24 Thread Guo, Yejun
-Original Message- From: ffmpeg-devel On Behalf Of Steven Liu Sent: 2021年11月19日 20:48 To: ffmpeg-devel@ffmpeg.org Cc: Steven Liu ; Yu Yang Subject: [FFmpeg-devel] [PATCH] avfilter/dnn/dnn_backend_common: check thread create status before join thread From: Steven Liu fix SIGSEGV prob

Re: [FFmpeg-devel] [PATCH 01/11] avformat/rtpdec_rfc4175: use rawvideo for uyvy422

2021-11-24 Thread lance . lmwang
On Wed, Nov 24, 2021 at 04:54:01AM +0100, Lynne wrote: > 23 Nov 2021, 23:33 by lance.lmw...@gmail.com: > > > On Fri, Nov 12, 2021 at 06:22:06PM +0800, lance.lmw...@gmail.com wrote: > > > >> From: Limin Wang > >> > >> Signed-off-by: Limin Wang > >> --- > >> libavformat/rtpdec_rfc4175.c | 4 +++-