Lines Matching refs:chroma
288 static int x8_setup_spatial_predictor(IntraX8Context *const w, const int chroma)
294 w->dsp.setup_spatial_compensation(w->dest[chroma], w->scratchpad,
295 w->frame->linesize[chroma > 0],
297 if (chroma) {
316 if (chroma)
360 w->edges |= 4 * (w->mb_x >= (2 * w->mb_width - 1)); // mb_x for chroma would always be odd
533 static int x8_decode_intra_mb(IntraX8Context *const w, const int chroma)
546 if (chroma)
557 if (chroma) {
612 int32_t divide_quant = !chroma ? w->divide_quant_dc_luma
614 int32_t dc_quant = !chroma ? w->quant
622 w->dest[chroma],
623 w->frame->linesize[!!chroma]);
629 if (!chroma)
647 dsp_x8_put_solidcolor(w->predicted_dc, w->dest[chroma],
648 w->frame->linesize[!!chroma]);
651 w->dest[chroma],
652 w->frame->linesize[!!chroma]);
655 w->wdsp.idct_add(w->dest[chroma],
656 w->frame->linesize[!!chroma],
660 if (!chroma)
664 uint8_t *ptr = w->dest[chroma];
665 ptrdiff_t linesize = w->frame->linesize[!!chroma];
689 // chroma blocks are on add rows
782 /* when setting up chroma, no vlc is read,