[FFmpeg-devel] [PATCH] HWAccel infrastructure (take 7.3)

Gwenole Beauchesne gbeauchesne
Wed Feb 25 17:19:56 CET 2009


On Tue, 24 Feb 2009, Michael Niedermayer wrote:

>>>> @@ -616,6 +630,11 @@ retry:
>>>>     if(MPV_frame_start(s, avctx) < 0)
>>>>         return -1;
>>>>
>>>> +    if (avctx->hwaccel) {
>>>> +        if (avctx->hwaccel->start_frame(avctx, s->gb.buffer, s-
>>>>> gb.size_in_bits/8) < 0)
>>>> +            return -1;
>>>> +    }
>>>> +
>>>> #ifdef DEBUG
>>>>     av_log(avctx, AV_LOG_DEBUG, "qscale=%d\n", s->qscale);
>>>> #endif
>>>
>>> its buf/buf_size
>>
>> even when we get here again through the retry: label?
>
> i think so

Really? Why is init_get_bits() used with either bitstream_buffer or buf 
arg? Is there a sample exhibiting this divx bitstream reorder stuff?




More information about the ffmpeg-devel mailing list