[FFmpeg-devel] [PATCH] h264 parallelized

Michael Niedermayer michaelni
Tue Sep 4 14:41:41 CEST 2007


On Tue, Sep 04, 2007 at 02:35:49PM +0200, Andreas ?man wrote:
> Hello
> 
> Michael Niedermayer wrote:
> >> -static int decode_slice(H264Context *h){
> >> +static int decode_slice(struct AVCodecContext *avctx, H264Context *h){
> >>      MpegEncContext * const s = &h->s;
> >>      const int part_mask= s->partitioned_frame ? (AC_END|AC_ERROR) : 0x7F;
> >>  
> >> @@ -7702,10 +7811,46 @@
> >>      return 0;
> >>  }
> > 
> > why that? doesnt seem like avctx is used?
> 
> Perhaps this is a bit ugly, but is required since decode_slice()
> is used as callback directly fed into avctx->execute()
[...]
> What say you?

leave it as it is in the patch, i missed that it was directly feeded into
exeute

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/20070904/c61cb97a/attachment.pgp>



More information about the ffmpeg-devel mailing list