unsigned char best_zcoeff_blk[256] = { 0 };
x->skip_encode = cpi->sf.skip_encode_frame && xd->q_index < QIDX_SKIP_THRESH;
- vpx_memset(x->zcoeff_blk, 0, sizeof(x->zcoeff_blk));
- vpx_memset(ctx->zcoeff_blk, 0, sizeof(ctx->zcoeff_blk));
+ vp9_zero(x->zcoeff_blk);
+ vp9_zero(ctx->zcoeff_blk);
- for (i = 0; i < 4; i++) {
- int j;
- for (j = 0; j < MAX_REF_FRAMES; j++)
- seg_mvs[i][j].as_int = INVALID_MV;
- }
// Everywhere the flag is set the error is much higher than its neighbors.
ctx->frames_with_high_error = 0;
ctx->modes_with_high_error = 0;