Mercurial > libavcodec.hg
comparison mpegvideo.h @ 2074:2faafe7a3db6 libavcodec
mpeg2 chroma422/444 support, may be slower, may be faster for other codecs
author | iive |
---|---|
date | Fri, 11 Jun 2004 07:59:12 +0000 |
parents | b6f2add2511e |
children | 70b27300a496 |
comparison
equal
deleted
inserted
replaced
2073:95d303a305d2 | 2074:2faafe7a3db6 |
---|---|
668 int chroma_420_type; | 668 int chroma_420_type; |
669 int chroma_format; | 669 int chroma_format; |
670 #define CHROMA_420 1 | 670 #define CHROMA_420 1 |
671 #define CHROMA_422 2 | 671 #define CHROMA_422 2 |
672 #define CHROMA_444 3 | 672 #define CHROMA_444 3 |
673 int chroma_x_shift;//depend on pix_format, that depend on chroma_format | |
674 int chroma_y_shift; | |
673 | 675 |
674 int progressive_frame; | 676 int progressive_frame; |
675 int full_pel[2]; | 677 int full_pel[2]; |
676 int interlaced_dct; | 678 int interlaced_dct; |
677 int first_slice; | 679 int first_slice; |
720 | 722 |
721 int DCT_common_init(MpegEncContext *s); | 723 int DCT_common_init(MpegEncContext *s); |
722 void MPV_decode_defaults(MpegEncContext *s); | 724 void MPV_decode_defaults(MpegEncContext *s); |
723 int MPV_common_init(MpegEncContext *s); | 725 int MPV_common_init(MpegEncContext *s); |
724 void MPV_common_end(MpegEncContext *s); | 726 void MPV_common_end(MpegEncContext *s); |
725 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[6][64]); | 727 void MPV_decode_mb(MpegEncContext *s, DCTELEM block[12][64]); |
726 int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx); | 728 int MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx); |
727 void MPV_frame_end(MpegEncContext *s); | 729 void MPV_frame_end(MpegEncContext *s); |
728 int MPV_encode_init(AVCodecContext *avctx); | 730 int MPV_encode_init(AVCodecContext *avctx); |
729 int MPV_encode_end(AVCodecContext *avctx); | 731 int MPV_encode_end(AVCodecContext *avctx); |
730 int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data); | 732 int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data); |