/third_party/ffmpeg/libavcodec/ |
D | ffv1dec.c | 321 const int chroma_height = AV_CEIL_RSHIFT(height, f->chroma_v_shift); in decode_slice() 323 const int cy = y >> f->chroma_v_shift; in decode_slice() 446 f->chroma_v_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 560 chroma_v_shift = get_symbol(c, state, 0); in read_header() 570 chroma_v_shift != f->chroma_v_shift || in read_header() 577 if (chroma_h_shift > 4U || chroma_v_shift > 4U) { in read_header() [all …]
|
D | snowdec.c | 42 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice_buffered() 329 s->chroma_v_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 …s, AV_LOG_ERROR, "unsupported color subsample mode %d %d\n", s->chroma_h_shift, s->chroma_v_shift); 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() 396 s->avctx->height>>s->chroma_v_shift) >> (s->spatial_decomposition_count-1) <= 1){ in decode_header() 542 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in decode_frame()
|
D | mjpegenc_common.c | 195 int chroma_h_shift, chroma_v_shift; in ff_mjpeg_init_hvsample() local 198 &chroma_v_shift); in ff_mjpeg_init_hvsample() 212 vsample[1] = 2 >> chroma_v_shift; in ff_mjpeg_init_hvsample() 213 vsample[2] = 2 >> chroma_v_shift; in ff_mjpeg_init_hvsample()
|
D | snowenc.c | 135 &s->chroma_v_shift); in encode_init() 260 …ut_picture->data[1] + ((x*block_w)>>s->chroma_h_shift) + ((y*uvstride*block_w)>>s->chroma_v_shift), in encode_q_branch() 261 …t_picture->data[2] + ((x*block_w)>>s->chroma_h_shift) + ((y*uvstride*block_w)>>s->chroma_v_shift)}; 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() 518 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in get_dc() 533 av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc stuff above in get_dc() 613 const int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in get_block_rd() 636 …av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc and square assumtions below chckinhg on… in get_block_rd() [all …]
|
D | huffyuv.h | 74 int chroma_v_shift; member
|
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() 565 int vsample = i ? 2 >> chroma_v_shift : 2; in amv_encode_picture()
|
D | ffv1.h | 90 int chroma_h_shift, chroma_v_shift; member
|
D | cfhdenc.c | 236 int chroma_v_shift; member 257 &s->chroma_v_shift); in cfhd_encode_init() 271 int height = i ? FFALIGN(avctx->height >> s->chroma_v_shift, 8) : in cfhd_encode_init() 272 FFALIGN(avctx->height >> s->chroma_v_shift, 8); in cfhd_encode_init()
|
D | ffv1enc.c | 367 put_symbol(c, state, f->chroma_v_shift, 0); in write_header() 430 put_symbol(c, state, f->chroma_v_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() 875 int max_v_slices = AV_CEIL_RSHIFT(avctx->height, s->chroma_v_shift); in encode_init() 1082 const int chroma_height = AV_CEIL_RSHIFT(height, f->chroma_v_shift); in encode_slice() 1084 const int cy = y >> f->chroma_v_shift; in encode_slice()
|
D | snow.c | 85 int offset = (EDGE_WIDTH >> (i ? s->chroma_v_shift : 0)) * in ff_snow_get_buffer() 387 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // only one mv_scale in ff_snow_pred_block() 547 h = AV_CEIL_RSHIFT(h, s->chroma_v_shift); in ff_snow_common_init_after_header() 600 int h= is_chroma ? AV_CEIL_RSHIFT(s->avctx->height, s->chroma_v_shift) : s->avctx->height; in halfpel_interpol()
|
D | snow.h | 153 int chroma_v_shift; member 412 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice() 419 av_assert2(s->chroma_h_shift == s->chroma_v_shift); // obmc params assume squares in predict_slice()
|
D | huffyuvdec.c | 340 s->chroma_v_shift = (avctx->extradata[1] >> 2) & 3; in decode_init() 412 &s->chroma_v_shift); in decode_init() 414 …10) | (s->yuv<<9) | (s->alpha<<8) | ((s->bps-1)<<4) | s->chroma_h_shift | (s->chroma_v_shift<<2)) { in decode_init() 903 h >>= s->chroma_v_shift; in decode_slice() 1234 s->chroma_v_shift || in decode_frame()
|
D | huffyuvenc.c | 244 &s->chroma_v_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() 952 h >>= s->chroma_v_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 1439 &chroma_v_shift); in mjpeg_decode_scan() 1441 chroma_height = AV_CEIL_RSHIFT(s->height, chroma_v_shift); in mjpeg_decode_scan()
|
/third_party/ffmpeg/doc/ |
D | snow.txt | 55 chroma_v_shift u header_state 186 chroma_v_shift
|