On 12/10/15 21:47, Luca Barbato wrote:
> On 12/10/15 18:54, Vittorio Giovara wrote:
>> Rather than copying data buffers around, allocate a proper frame, and
>> use the standard AVFrame functions. This effectively makes the decoder
>> capable of direct rendering.
>>
>
> How's possible? Does the schro frame always have compatible alignment?
SchroFrame *ff_create_schro_frame(AVCodecContext *avctx,
SchroFrameFormat schro_frame_fmt)
{
...
for (i = 0; i < 3; ++i) {
p_frame->components[i].width = i ? uv_width : y_width;
p_frame->components[i].stride = p_pic->linesize[i];
...
Yes it does, patch ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel