216 |
|
|
217 |
sum = quant[mpeg](&qcoeff[i*64], &data[i*64], pMB->quant, pParam->mpeg_quant_matrices); |
sum = quant[mpeg](&qcoeff[i*64], &data[i*64], pMB->quant, pParam->mpeg_quant_matrices); |
218 |
|
|
219 |
if(sum && (frame->vop_flags & XVID_VOP_TRELLISQUANT)) { |
if(sum && (pMB->quant > 2) && (frame->vop_flags & XVID_VOP_TRELLISQUANT)) { |
220 |
const uint16_t *matrix; |
const uint16_t *matrix; |
221 |
const static uint16_t h263matrix[] = |
const static uint16_t h263matrix[] = |
222 |
{ |
{ |
774 |
* helps. */ |
* helps. */ |
775 |
typedef struct { int16_t Run, Level; } NODE; |
typedef struct { int16_t Run, Level; } NODE; |
776 |
|
|
777 |
NODE Nodes[65], Last; |
NODE Nodes[65], Last = { 0, 0}; |
778 |
uint32_t Run_Costs0[64+1]; |
uint32_t Run_Costs0[64+1]; |
779 |
uint32_t * const Run_Costs = Run_Costs0 + 1; |
uint32_t * const Run_Costs = Run_Costs0 + 1; |
780 |
|
|