Mercurial > libavcodec.hg
comparison mpegvideo.h @ 6447:fe34160a1d1e libavcodec
move relevant declarations to mpeg12data.h
author | aurel |
---|---|
date | Wed, 05 Mar 2008 00:06:09 +0000 |
parents | 42fc209231cb |
children | 208074826b34 |
comparison
equal
deleted
inserted
replaced
6446:42fc209231cb | 6447:fe34160a1d1e |
---|---|
30 | 30 |
31 #include "dsputil.h" | 31 #include "dsputil.h" |
32 #include "bitstream.h" | 32 #include "bitstream.h" |
33 #include "ratecontrol.h" | 33 #include "ratecontrol.h" |
34 #include "parser.h" | 34 #include "parser.h" |
35 #include "mpeg12data.h" | |
35 #include "rl.h" | 36 #include "rl.h" |
36 | 37 |
37 #define FRAME_SKIPPED 100 ///< return value for header parsers if frame is not coded | 38 #define FRAME_SKIPPED 100 ///< return value for header parsers if frame is not coded |
38 | 39 |
39 enum OutputFormat { | 40 enum OutputFormat { |
756 int ref_mv_scale, int size, int h); | 757 int ref_mv_scale, int size, int h); |
757 int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, | 758 int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, |
758 int ref_index, int size, int h, int add_rate); | 759 int ref_index, int size, int h, int add_rate); |
759 | 760 |
760 /* mpeg12.c */ | 761 /* mpeg12.c */ |
761 extern const uint16_t ff_mpeg1_default_intra_matrix[64]; | |
762 extern const uint16_t ff_mpeg1_default_non_intra_matrix[64]; | |
763 extern const uint8_t ff_mpeg1_dc_scale_table[128]; | 762 extern const uint8_t ff_mpeg1_dc_scale_table[128]; |
764 extern const AVRational ff_frame_rate_tab[]; | |
765 | 763 |
766 void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number); | 764 void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number); |
767 void mpeg1_encode_mb(MpegEncContext *s, | 765 void mpeg1_encode_mb(MpegEncContext *s, |
768 DCTELEM block[6][64], | 766 DCTELEM block[6][64], |
769 int motion_x, int motion_y); | 767 int motion_x, int motion_y); |