Mercurial > libavcodec.hg
comparison mpegvideo.h @ 9028:0f95e4f0a3f5 libavcodec
Add and use ff_pixfmt_list_420.
author | michael |
---|---|
date | Tue, 24 Feb 2009 18:27:52 +0000 |
parents | 2bf694251330 |
children | f49b1c1d2c16 |
comparison
equal
deleted
inserted
replaced
9027:3c141db76660 | 9028:0f95e4f0a3f5 |
---|---|
706 const uint16_t *quant_matrix, int bias, int qmin, int qmax, int intra); | 706 const uint16_t *quant_matrix, int bias, int qmin, int qmax, int intra); |
707 | 707 |
708 void ff_init_block_index(MpegEncContext *s); | 708 void ff_init_block_index(MpegEncContext *s); |
709 void ff_copy_picture(Picture *dst, Picture *src); | 709 void ff_copy_picture(Picture *dst, Picture *src); |
710 | 710 |
711 extern const enum PixelFormat ff_pixfmt_list_420[]; | |
712 | |
711 static inline void ff_update_block_index(MpegEncContext *s){ | 713 static inline void ff_update_block_index(MpegEncContext *s){ |
712 const int block_size= 8>>s->avctx->lowres; | 714 const int block_size= 8>>s->avctx->lowres; |
713 | 715 |
714 s->block_index[0]+=2; | 716 s->block_index[0]+=2; |
715 s->block_index[1]+=2; | 717 s->block_index[1]+=2; |