Lines Matching refs:chroma_h_shift
38 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size;
40 const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_tab[s->block_max_depth];
41 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size;
325 s->chroma_h_shift= get_symbol(&s->c, s->header_state, 0);
328 if(s->chroma_h_shift == 1 && s->chroma_v_shift==1){
330 }else if(s->chroma_h_shift == 0 && s->chroma_v_shift==0){
332 }else if(s->chroma_h_shift == 2 && s->chroma_v_shift==2){
335 av_log(s, AV_LOG_ERROR, "unsupported color subsample mode %d %d\n", s->chroma_h_shift, s->chroma_v_shift);
336 s->chroma_h_shift = s->chroma_v_shift = 1;
343 s->chroma_h_shift = s->chroma_v_shift = 1;
392 if(FFMIN(s->avctx-> width>>s->chroma_h_shift,