comparison mpegvideo.h @ 1848:c72589baee53 libavcodec

initial chroma_format changes,xvmc tweaks and codec_cap
author iive
date Mon, 01 Mar 2004 14:55:21 +0000
parents 7ae26b6e197f
children c13d3543c73a
comparison
equal deleted inserted replaced
1847:ef661c4dc5a6 1848:c72589baee53
353 int dquant; ///< qscale difference to prev qscale 353 int dquant; ///< qscale difference to prev qscale
354 int pict_type; ///< I_TYPE, P_TYPE, B_TYPE, ... 354 int pict_type; ///< I_TYPE, P_TYPE, B_TYPE, ...
355 int last_pict_type; 355 int last_pict_type;
356 int last_non_b_pict_type; ///< used for mpeg4 gmc b-frames & ratecontrol 356 int last_non_b_pict_type; ///< used for mpeg4 gmc b-frames & ratecontrol
357 int frame_rate_index; 357 int frame_rate_index;
358 int frame_rate_ext_n; ///< MPEG-2 specific framerate modificators (numerator)
359 int frame_rate_ext_d; ///< MPEG-2 specific framerate modificators (denominator)
360
358 /* motion compensation */ 361 /* motion compensation */
359 int unrestricted_mv; ///< mv can point outside of the coded picture 362 int unrestricted_mv; ///< mv can point outside of the coded picture
360 int h263_long_vectors; ///< use horrible h263v1 long vector mode 363 int h263_long_vectors; ///< use horrible h263v1 long vector mode
361 int decode; ///< if 0 then decoding will be skiped (for encoding b frames for example) 364 int decode; ///< if 0 then decoding will be skiped (for encoding b frames for example)
362 365
463 int (*q_intra_matrix)[64]; 466 int (*q_intra_matrix)[64];
464 int (*q_inter_matrix)[64]; 467 int (*q_inter_matrix)[64];
465 /** identical to the above but for MMX & these are not permutated, second 64 entries are bias*/ 468 /** identical to the above but for MMX & these are not permutated, second 64 entries are bias*/
466 uint16_t (*q_intra_matrix16)[2][64]; 469 uint16_t (*q_intra_matrix16)[2][64];
467 uint16_t (*q_inter_matrix16)[2][64]; 470 uint16_t (*q_inter_matrix16)[2][64];
468 int block_last_index[6]; ///< last non zero coefficient in block 471 int block_last_index[12]; ///< last non zero coefficient in block
469 /* scantables */ 472 /* scantables */
470 ScanTable __align8 intra_scantable; 473 ScanTable __align8 intra_scantable;
471 ScanTable intra_h_scantable; 474 ScanTable intra_h_scantable;
472 ScanTable intra_v_scantable; 475 ScanTable intra_v_scantable;
473 ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage 476 ScanTable inter_scantable; ///< if inter == intra then intra should be used to reduce tha cache usage
651 int q_scale_type; 654 int q_scale_type;
652 int intra_vlc_format; 655 int intra_vlc_format;
653 int alternate_scan; 656 int alternate_scan;
654 int repeat_first_field; 657 int repeat_first_field;
655 int chroma_420_type; 658 int chroma_420_type;
659 int chroma_format;
660 #define CHROMA_420 1
661 #define CHROMA_422 2
662 #define CHROMA_444 3
663
656 int progressive_frame; 664 int progressive_frame;
657 int full_pel[2]; 665 int full_pel[2];
658 int interlaced_dct; 666 int interlaced_dct;
659 int first_slice; 667 int first_slice;
660 int first_field; ///< is 1 for the first field of a field picture 0 otherwise 668 int first_field; ///< is 1 for the first field of a field picture 0 otherwise