Lines Matching refs:chroma_h_shift
42 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
44 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
45 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
295 s->chroma_h_shift= get_symbol(&s->c, s->header_state, 0);
298 if(s->chroma_h_shift == 1 && s->chroma_v_shift==1){
300 }else if(s->chroma_h_shift == 0 && s->chroma_v_shift==0){
302 }else if(s->chroma_h_shift == 2 && s->chroma_v_shift==2){
305 av_log(s, AV_LOG_ERROR, "unsupported color subsample mode %d %d\n", s->chroma_h_shift, s->chroma_v_shift);
306 s->chroma_h_shift = s->chroma_v_shift = 1;
313 s->chroma_h_shift = s->chroma_v_shift = 1;
358 if(FFMIN(s->avctx-> width>>s->chroma_h_shift,