Re: [FFmpeg-devel] [PATCH] avdevice/v4l2: Switch to wrapped AVFrames and implement strides

2023-10-02 Thread Nicolas George
Paul B Mahol (12023-10-02): > But that would break SDR seeking. > And also break bunch of avdevice, and make Nicolas sad. I would be very happy if devices were turned into lavfi sources and sink. So if you're unable to make sarcasm that's actually relevant, next time just shut up. Anyway: (1)

Re: [FFmpeg-devel] [PATCH] avdevice/v4l2: Switch to wrapped AVFrames and implement strides

2023-10-02 Thread Paul B Mahol
On 10/2/23, Anton Khirnov wrote: > Quoting Asahi Lina via ffmpeg-devel (2023-09-29 09:52:23) >> V4L2 provides a line stride to the client for hardware that has >> alignment requirements. rawvideo cannot represent this, so switch to >> wrapped_avframe for raw video formats and calculate the plane

Re: [FFmpeg-devel] [PATCH] avdevice/v4l2: Switch to wrapped AVFrames and implement strides

2023-10-02 Thread Anton Khirnov
Quoting Asahi Lina via ffmpeg-devel (2023-09-29 09:52:23) > V4L2 provides a line stride to the client for hardware that has > alignment requirements. rawvideo cannot represent this, so switch to > wrapped_avframe for raw video formats and calculate the plane strides > manually. > > This is

Re: [FFmpeg-devel] [PATCH] avdevice/v4l2: Switch to wrapped AVFrames and implement strides

2023-09-29 Thread Andreas Rheinhardt
Asahi Lina via ffmpeg-devel: > V4L2 provides a line stride to the client for hardware that has > alignment requirements. rawvideo cannot represent this, so switch to > wrapped_avframe for raw video formats and calculate the plane strides > manually. > > This is slightly messy because the existing

Re: [FFmpeg-devel] [PATCH] avdevice/v4l2: Switch to wrapped AVFrames and implement strides

2023-09-29 Thread Ridley Combs via ffmpeg-devel
> On Sep 29, 2023, at 00:52, Asahi Lina via ffmpeg-devel > wrote: > > V4L2 provides a line stride to the client for hardware that has > alignment requirements. rawvideo cannot represent this, so switch to > wrapped_avframe for raw video formats and calculate the plane strides > manually. >

[FFmpeg-devel] [PATCH] avdevice/v4l2: Switch to wrapped AVFrames and implement strides

2023-09-29 Thread Asahi Lina via ffmpeg-devel
V4L2 provides a line stride to the client for hardware that has alignment requirements. rawvideo cannot represent this, so switch to wrapped_avframe for raw video formats and calculate the plane strides manually. This is slightly messy because the existing helper APIs expect dimensions and an