/third_party/ffmpeg/libavcodec/ |
D | ffv1dec.c | 320 const int chroma_width = AV_CEIL_RSHIFT(width, f->chroma_h_shift); in decode_slice() 322 const int cx = x >> f->chroma_h_shift; in decode_slice() 445 f->chroma_h_shift = get_symbol(c, state, 0); in read_extra_header() 452 if (f->chroma_h_shift > 4U || f->chroma_v_shift > 4U) { in read_extra_header() 454 f->chroma_h_shift, f->chroma_v_shift); in read_extra_header() 516 f->chroma_planes, f->chroma_h_shift, f->chroma_v_shift, in read_extra_header() 536 … int chroma_planes, chroma_h_shift, chroma_v_shift, transparency, colorspace, bits_per_raw_sample; in read_header() local 559 chroma_h_shift = get_symbol(c, state, 0); in read_header() 569 chroma_h_shift != f->chroma_h_shift || in read_header() 577 if (chroma_h_shift > 4U || chroma_v_shift > 4U) { in read_header() [all …]
|
D | snowdec.c | 41 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in predict_slice_buffered() 43 …const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_t… in predict_slice_buffered() 44 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size; in predict_slice_buffered() 328 s->chroma_h_shift= get_symbol(&s->c, s->header_state, 0); in decode_header() 331 if(s->chroma_h_shift == 1 && s->chroma_v_shift==1){ in decode_header() 333 }else if(s->chroma_h_shift == 0 && s->chroma_v_shift==0){ in decode_header() 335 }else if(s->chroma_h_shift == 2 && s->chroma_v_shift==2){ in decode_header() 338 …_log(s, AV_LOG_ERROR, "unsupported color subsample mode %d %d\n", s->chroma_h_shift, s->chroma_v_s… in decode_header() 339 s->chroma_h_shift = s->chroma_v_shift = 1; in decode_header() 346 s->chroma_h_shift = s->chroma_v_shift = 1; in decode_header() [all …]
|
D | snow.h | 152 int chroma_h_shift; member 411 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in predict_slice() 413 …const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_t… in predict_slice() 414 const int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size; in predict_slice() 419 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // obmc params assume squares in predict_slice() 492 ((y*c->uvstride + x)>>s->chroma_h_shift), in init_ref() 493 ((y*c->uvstride + x)>>s->chroma_h_shift), in init_ref()
|
D | mjpegenc_common.c | 195 int chroma_h_shift, chroma_v_shift; in ff_mjpeg_init_hvsample() local 197 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &chroma_h_shift, in ff_mjpeg_init_hvsample() 215 hsample[1] = 2 >> chroma_h_shift; in ff_mjpeg_init_hvsample() 216 hsample[2] = 2 >> chroma_h_shift; in ff_mjpeg_init_hvsample()
|
D | snowenc.c | 134 ret = av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_h_shift, in encode_init() 260 …s->input_picture->data[1] + ((x*block_w)>>s->chroma_h_shift) + ((y*uvstride*block_w)>>s->chroma_v_… in encode_q_branch() 261 …s->input_picture->data[2] + ((x*block_w)>>s->chroma_h_shift) + ((y*uvstride*block_w)>>s->chroma_v_… in encode_q_branch() 386 block_s= block_w*block_w>>(s->chroma_h_shift + s->chroma_v_shift); in encode_q_branch() 387 … sum = pix_sum(current_data[1], uvstride, block_w>>s->chroma_h_shift, block_w>>s->chroma_v_shift); in encode_q_branch() 390 … sum = pix_sum(current_data[2], uvstride, block_w>>s->chroma_h_shift, block_w>>s->chroma_v_shift); in encode_q_branch() 517 const int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in get_dc() 519 …const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_t… in get_dc() 520 const int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size; in get_dc() 533 av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc stuff above in get_dc() [all …]
|
D | huffyuv.h | 73 int chroma_h_shift; member
|
D | snow.c | 87 (EDGE_WIDTH >> (i ? s->chroma_h_shift : 0)); in ff_snow_get_buffer() 369 const int scale= plane_index ? (2*s->mv_scale)>>s->chroma_h_shift : 2*s->mv_scale; in ff_snow_pred_block() 387 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // only one mv_scale in ff_snow_pred_block() 546 w = AV_CEIL_RSHIFT(w, s->chroma_h_shift); in ff_snow_common_init_after_header() 599 int w= is_chroma ? AV_CEIL_RSHIFT(s->avctx->width, s->chroma_h_shift) : s->avctx->width; in halfpel_interpol()
|
D | ffv1.h | 90 int chroma_h_shift, chroma_v_shift; member
|
D | ffv1enc.c | 366 put_symbol(c, state, f->chroma_h_shift, 0); in write_header() 429 put_symbol(c, state, f->chroma_h_shift, 0); in write_extradata() 776 ret = av_pix_fmt_get_chroma_sub_sample (avctx->pix_fmt, &s->chroma_h_shift, &s->chroma_v_shift); in encode_init() 874 int max_h_slices = AV_CEIL_RSHIFT(avctx->width , s->chroma_h_shift); in encode_init() 1081 const int chroma_width = AV_CEIL_RSHIFT(width, f->chroma_h_shift); in encode_slice() 1083 const int cx = x >> f->chroma_h_shift; in encode_slice()
|
D | cfhdenc.c | 235 int chroma_h_shift; member 256 &s->chroma_h_shift, in cfhd_encode_init() 270 int width = i ? avctx->width >> s->chroma_h_shift : avctx->width; in cfhd_encode_init()
|
D | mjpegenc.c | 547 int chroma_h_shift, chroma_v_shift; in amv_encode_picture() local 549 av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &chroma_h_shift, &chroma_v_shift); in amv_encode_picture()
|
D | huffyuvdec.c | 339 s->chroma_h_shift = avctx->extradata[1] & 3; in decode_init() 411 &s->chroma_h_shift, in decode_init() 414 …(s->chroma<<10) | (s->yuv<<9) | (s->alpha<<8) | ((s->bps-1)<<4) | s->chroma_h_shift | (s->chroma_v… in decode_init() 902 w >>= s->chroma_h_shift; in decode_slice()
|
D | huffyuvenc.c | 243 &s->chroma_h_shift, in encode_init() 374 … ((uint8_t*)avctx->extradata)[1] = ((s->bps-1)<<4) | s->chroma_h_shift | (s->chroma_v_shift<<2); in encode_init() 951 w >>= s->chroma_h_shift; in encode_frame()
|
D | mjpegdec.c | 1421 int i, mb_x, mb_y, chroma_h_shift, chroma_v_shift, chroma_width, chroma_height; in mjpeg_decode_scan() local 1438 av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt, &chroma_h_shift, in mjpeg_decode_scan() 1440 chroma_width = AV_CEIL_RSHIFT(s->width, chroma_h_shift); in mjpeg_decode_scan()
|
/third_party/ffmpeg/doc/ |
D | snow.txt | 54 chroma_h_shift u header_state 182 chroma_h_shift
|