Re: [libav-devel] [RFC] [PATCH] Set video strides to a custom type in preparation of a change to ptrdiff_t

2018-01-16 Thread Luca Barbato
On 16/01/2018 12:41, wm4 wrote: So, do we want this or not? I like it a lot. lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [RFC] [PATCH] Set video strides to a custom type in preparation of a change to ptrdiff_t

2018-01-16 Thread wm4
On Fri, 5 Jan 2018 22:06:42 +0100 Vittorio Giovara wrote: > This patch introduces a new type, av_stride, which is set for any > representation of strides or linesize, including AVFrame and av_image_* > APIs. This is done in preparation of a future switch to ptrdiff_t, a > better suited type to r

[libav-devel] [RFC] [PATCH] Set video strides to a custom type in preparation of a change to ptrdiff_t

2018-01-05 Thread Vittorio Giovara
This patch introduces a new type, av_stride, which is set for any representation of strides or linesize, including AVFrame and av_image_* APIs. This is done in preparation of a future switch to ptrdiff_t, a better suited type to represent this type of data, in a way that it is atomically changed at