[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c, 1.96, 1.97 mpegvideo.c, 1.467, 1.468 mpegvideo.h, 1.220, 1.221

Michael Niedermayer michaelni
Fri Feb 16 23:05:18 CET 2007


Hi

On Fri, Mar 04, 2005 at 01:47:41PM +0100, Loren Merritt CVS wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
> In directory mail:/var2/tmp/cvs-serv3726
> 
> Modified Files:
> 	h264.c mpegvideo.c mpegvideo.h 
> Log Message:
> H.264: decode arbitrary frame orders and allow B-frames as references.
> 
[...]
> +static inline void direct_ref_list_init(H264Context * const h){
> +    MpegEncContext * const s = &h->s;
> +    Picture * const ref1 = &h->ref_list[1][0];
> +    Picture * const cur = s->current_picture_ptr;
> +    int list, i, j;
> +    if(cur->pict_type == I_TYPE)
> +        cur->ref_count[0] = 0;
> +    if(cur->pict_type != B_TYPE)
> +        cur->ref_count[1] = 0;
> +    for(list=0; list<2; list++){
> +        cur->ref_count[list] = h->ref_count[list];
> +        for(j=0; j<h->ref_count[list]; j++)
> +            cur->ref_poc[list][j] = h->ref_list[list][j].poc;
> +    }

this sets cur->ref_count[X] to 0 and then sets it again ...
yes this is still in svn

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

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070216/b502401b/attachment.pgp>



More information about the ffmpeg-cvslog mailing list