Lines Matching refs:block_last_index
70 * @param[in] block_last_index last index in scantable order that refers to a non zero element in block.
73 int block_last_index, uint8_t scantable[64])
79 for (j = 1; j <= block_last_index; j++) {
85 if (j < block_last_index)
101 * This function also restores s->block_last_index.
112 memcpy(s->block_last_index, zigzag_last_index, sizeof(int) * 6);
132 * This function will also update s->block_last_index and s->ac_val.
146 memcpy(zigzag_last_index, s->block_last_index, sizeof(int) * 6);
151 score -= get_block_rate(s, block[n], s->block_last_index[n],
205 s->block_last_index[n] = i;
207 score += get_block_rate(s, block[n], s->block_last_index[n], st[n]);
298 const int last_index = s->block_last_index[n];
357 const int last_index = s->block_last_index[n];
466 if (s->block_last_index[i] >= 0 && ((cbp >> (5 - i)) & 1) == 0) {
467 s->block_last_index[i] = -1;
473 if (s->block_last_index[i] >= 0)
817 if (s->block_last_index[i] >= 1)