Lines Matching defs:chroma
275 static int x8_setup_spatial_predictor(IntraX8Context * const w, const int chroma){
281 s->dsp.x8_setup_spatial_compensation(s->dest[chroma], s->edge_emu_buffer,
282 s->current_picture.linesize[chroma>0],
284 if(chroma){
300 if(chroma)
341 w->edges|= 4*( s->mb_x >= (2*s->mb_width-1) );//mb_x for chroma would always be odd
502 static int x8_decode_intra_mb(IntraX8Context* const w, const int chroma){
516 if(chroma){
527 if(chroma){
582 int32_t divide_quant= !chroma ? w->divide_quant_dc_luma:
584 int32_t dc_quant = !chroma ? w->quant:
591 s->dest[chroma], s->current_picture.linesize[!!chroma]);
597 if(!chroma){
615 dsp_x8_put_solidcolor(w->predicted_dc, s->dest[chroma], s->current_picture.linesize[!!chroma]);
618 s->dest[chroma],
619 s->current_picture.linesize[!!chroma] );
622 s->dsp.idct_add ( s->dest[chroma],
623 s->current_picture.linesize[!!chroma],
628 if(!chroma){
633 uint8_t* ptr = s->dest[chroma];
634 int linesize = s->current_picture.linesize[!!chroma];
657 s->dest[1] += ( s->mb_y&(~1) ) * uvlinesize << 2;//chroma blocks are on add rows
735 /*when setting up chroma, no vlc is read,