[FFmpeg-devel] [PATCH] h263dec.c: add HW acceleration hooks

Michael Niedermayer michaelni
Thu Feb 26 12:54:29 CET 2009


On Thu, Feb 26, 2009 at 10:37:06AM +0100, Gwenole Beauchesne wrote:
> Hi,
>
> This patch adds HW acceleration hooks for MPEG-4 / H.263 decoding.
>
> I finally used buf/buf_size for start_frame(). Implementations will check 
> bounds anyway and someone will probably report a sample if broken mpeg4 
> bitstreams really need to be supported.

[...]

> @@ -693,6 +702,11 @@ intrax8_decoded:
>              return -1;
>      }
>  
> +    if (avctx->hwaccel) {
> +        if (avctx->hwaccel->end_frame(avctx) < 0)
> +            return -1;
> +    }
> +
>      MPV_frame_end(s);
>  
>  assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);

is this hunk duplicated maybe?


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/370984cd/attachment.pgp>



More information about the ffmpeg-devel mailing list