Lines Matching defs:best_encoding
94 mb_encoding best_encoding; // last result from calculate_mode_score()
284 mb->best_encoding = ENC_V1;
296 if (mb->best_encoding == ENC_V1)
310 mb->best_encoding = ENC_V1;
313 mb->best_encoding = ENC_V4;
328 if (mb->best_encoding == ENC_SKIP) {
330 } else if (mb->best_encoding == ENC_V1) {
332 mb->best_encoding = ENC_SKIP;
340 mb->best_encoding = ENC_SKIP;
359 mb->best_encoding = ENC_SKIP;
362 mb->best_encoding = ENC_V1;
365 mb->best_encoding = ENC_V4;
557 if (info->mode == MODE_MC && mb->best_encoding == ENC_SKIP) {
562 } else if (info->mode == MODE_V1_ONLY || mb->best_encoding == ENC_V1)
586 if (s->mb[y].best_encoding == ENC_V4)
595 if (mb->best_encoding == ENC_V1)
614 flags |= (uint32_t)(mb->best_encoding != ENC_SKIP) << (31 - bits++);
618 if (mb->best_encoding != ENC_SKIP) {
620 flags |= (uint32_t)(mb->best_encoding == ENC_V4) << (31 - bits++);
630 if (mb->best_encoding == ENC_SKIP || needs_extra_bit) {
639 flags = (uint32_t)(mb->best_encoding == ENC_V4) << 31;
643 if (mb->best_encoding == ENC_V1)
645 else if (mb->best_encoding == ENC_V4)
718 if (s->mb[mbn].best_encoding != encoding)
782 if (CERTAIN(encoding) && mb->best_encoding != encoding)