comparison mpegvideo.h @ 1554:d736e24bf303 libavcodec

move mmx quantizer matrixes out of MpegEncContext (23k -> 7k) (no meassureable slowdown)
author michael
date Wed, 22 Oct 2003 11:23:39 +0000
parents 541681146f83
children 27073c5532dc
comparison
equal deleted inserted replaced
1553:541681146f83 1554:d736e24bf303
457 int coded_score[6]; 457 int coded_score[6];
458 458
459 /** precomputed matrix (combine qscale and DCT renorm) */ 459 /** precomputed matrix (combine qscale and DCT renorm) */
460 int (*q_intra_matrix)[64]; 460 int (*q_intra_matrix)[64];
461 int (*q_inter_matrix)[64]; 461 int (*q_inter_matrix)[64];
462 /** identical to the above but for MMX & these are not permutated */ 462 /** identical to the above but for MMX & these are not permutated, second 64 entries are bias*/
463 uint16_t __align8 q_intra_matrix16[32][64]; 463 uint16_t (*q_intra_matrix16)[2][64];
464 uint16_t __align8 q_inter_matrix16[32][64]; 464 uint16_t (*q_inter_matrix16)[2][64];
465 uint16_t __align8 q_intra_matrix16_bias[32][64];
466 uint16_t __align8 q_inter_matrix16_bias[32][64];
467 int block_last_index[6]; ///< last non zero coefficient in block 465 int block_last_index[6]; ///< last non zero coefficient in block
468 /* scantables */ 466 /* scantables */
469 ScanTable __align8 intra_scantable; 467 ScanTable __align8 intra_scantable;
470 ScanTable intra_h_scantable; 468 ScanTable intra_h_scantable;
471 ScanTable intra_v_scantable; 469 ScanTable intra_v_scantable;