/third_party/ffmpeg/libavcodec/ |
H A D | dirac.c | 147 int chroma_x_shift, chroma_y_shift; in parse_source_parameters() local 271 ret = av_pix_fmt_get_chroma_sub_sample(dsh->pix_fmt, &chroma_x_shift, &chroma_y_shift); in parse_source_parameters() 275 if ((dsh->width % (1<<chroma_x_shift)) || (dsh->height % (1<<chroma_y_shift))) { in parse_source_parameters()
|
H A D | mpegvideo.h | 451 int chroma_x_shift;//depend on pix_format, that depend on chroma_format member 604 s->dest[1]+= (2 >> s->chroma_x_shift) * block_size; in ff_update_block_index() 605 s->dest[2]+= (2 >> s->chroma_x_shift) * block_size; in ff_update_block_index()
|
H A D | mpeg_er.c | 89 s->mb_x * (16 >> s->chroma_x_shift); in mpeg_er_decode_mb() 92 s->mb_x * (16 >> s->chroma_x_shift); in mpeg_er_decode_mb()
|
H A D | mpegpicture.c | 120 int chroma_x_shift, int chroma_y_shift, in alloc_frame_buffer() 156 (EDGE_WIDTH >> (i ? chroma_x_shift : 0)); in alloc_frame_buffer() 255 int chroma_x_shift, int chroma_y_shift, int out_format, in ff_alloc_picture() 272 chroma_x_shift, chroma_y_shift, in ff_alloc_picture() 118 alloc_frame_buffer(AVCodecContext *avctx, Picture *pic, MotionEstContext *me, ScratchpadContext *sc, int chroma_x_shift, int chroma_y_shift, int linesize, int uvlinesize) alloc_frame_buffer() argument 253 ff_alloc_picture(AVCodecContext *avctx, Picture *pic, MotionEstContext *me, ScratchpadContext *sc, int shared, int encoding, int chroma_x_shift, int chroma_y_shift, int out_format, int mb_stride, int mb_width, int mb_height, int b8_stride, ptrdiff_t *linesize, ptrdiff_t *uvlinesize) ff_alloc_picture() argument
|
H A D | mpegpicture.h | 101 int chroma_x_shift, int chroma_y_shift, int out_format,
|
H A D | vc2enc.c | 160 int chroma_x_shift; member 287 if (s->chroma_x_shift == 1 && s->chroma_y_shift == 0) in encode_sample_fmt() 289 else if (s->chroma_x_shift == 1 && s->chroma_y_shift == 1) in encode_sample_fmt() 1102 ret = av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_x_shift, &s->chroma_y_shift); in vc2_encode_init() 1130 p->width = avctx->width >> (i ? s->chroma_x_shift : 0); in vc2_encode_init()
|
H A D | mpegvideo.c | 780 &s->chroma_x_shift, in ff_mpv_common_init() 981 const int op_index = FFMIN(lowres-1+s->chroma_x_shift, 3); in mpeg_motion_lowres() 1026 if(s->chroma_x_shift){ in mpeg_motion_lowres() 1570 if(!s->chroma_x_shift){//Chroma444 in mpv_reconstruct_mb_internal() 1628 if(!s->chroma_x_shift){//Chroma444 in mpv_reconstruct_mb_internal() 1642 s->hdsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[1], dest_cb, uvlinesize,16 >> s->chroma_y_shift); in mpv_reconstruct_mb_internal() 1643 s->hdsp.put_pixels_tab[s->chroma_x_shift][0](s->dest[2], dest_cr, uvlinesize,16 >> s->chroma_y_shift); in mpv_reconstruct_mb_internal() 1688 s->dest[1] = s->current_picture.f->data[1] + (int)((s->mb_x - 1U) << (width_of_mb - s->chroma_x_shift)); in ff_init_block_index() 1689 s->dest[2] = s->current_picture.f->data[2] + (int)((s->mb_x - 1U) << (width_of_mb - s->chroma_x_shift)); in ff_init_block_index()
|
H A D | diracdec.c | 147 int chroma_x_shift; member 294 int max_xblen = MAX_BLOCKSIZE >> (i ? s->chroma_x_shift : 0); in alloc_sequence_buffers() 296 w = s->seq.width >> (i ? s->chroma_x_shift : 0); in alloc_sequence_buffers() 1057 p->width = s->seq.width >> (i ? s->chroma_x_shift : 0); in init_planes() 1088 p->xblen = s->plane[0].xblen >> s->chroma_x_shift; in init_planes() 1090 p->xbsep = s->plane[0].xbsep >> s->chroma_x_shift; in init_planes() 1136 if (s->plane[0].xblen % (1 << s->chroma_x_shift) != 0 || in dirac_unpack_prediction_parameters() 1141 s->plane[0].xblen, s->plane[0].yblen, s->chroma_x_shift, s->chroma_y_shift); in dirac_unpack_prediction_parameters() 1657 motion_x >>= s->chroma_x_shift; in mc_subpel() 1971 int chroma_x_shift, chroma_y_shif in get_buffer_with_edge() local [all...] |
H A D | vp3.c | 181 int chroma_x_shift, chroma_y_shift; member 873 } else if (s->chroma_x_shift) { in unpack_modes() 1065 } else if (s->chroma_x_shift) { in unpack_vectors() 1987 int plane_width = s->width >> (plane && s->chroma_x_shift); in vp4_mc_loop_filter() 2092 int plane_width = s->width >> (plane && s->chroma_x_shift); in render_slice() 2377 ret = av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &s->chroma_x_shift, &s->chroma_y_shift); in vp3_decode_init() 2386 c_width = s->width >> s->chroma_x_shift; in vp3_decode_init() 2406 s->fragment_width[1] = s->fragment_width[0] >> s->chroma_x_shift; in vp3_decode_init()
|
H A D | mpegvideo_motion.c | 285 if (s->chroma_x_shift) { in mpeg_motion_internal() 359 pix_op[s->chroma_x_shift][uvdxy] in mpeg_motion_internal() 361 pix_op[s->chroma_x_shift][uvdxy] in mpeg_motion_internal()
|
H A D | mpegvideo_dec.c | 223 &s->chroma_x_shift, in ff_mpv_common_frame_size_change() 251 s->chroma_x_shift, s->chroma_y_shift, s->out_format, in alloc_picture()
|
H A D | h264dec.h | 354 int chroma_x_shift, chroma_y_shift; member
|
H A D | cfhd.c | 251 int chroma_x_shift, chroma_y_shift; in alloc_buffers() local 261 &chroma_x_shift, in alloc_buffers() 267 chroma_x_shift = 1; in alloc_buffers() 274 int width = (i || bayer) ? s->coded_width >> chroma_x_shift : s->coded_width; in alloc_buffers()
|
H A D | mpegvideo_enc.c | 998 s->chroma_x_shift, s->chroma_y_shift, s->out_format, in alloc_picture() 2024 int chroma_x_shift, in encode_mb_internal() 2087 int cw = (s->width + chroma_x_shift) >> chroma_x_shift; in encode_mb_internal() 2563 int chroma_mb_w = w >> s->chroma_x_shift; in sse_mb() 2589 s->dest[1], w >> s->chroma_x_shift, h >> s->chroma_y_shift, s->uvlinesize) + in sse_mb() 2591 s->dest[2], w >> s->chroma_x_shift, h >> s->chroma_y_shift, s->uvlinesize); in sse_mb() 2019 encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_width, int mb_block_count, int chroma_x_shift, int chroma_y_shift, int chroma_format) encode_mb_internal() argument
|
H A D | mpeg4videodec.c | 94 if (!s->chroma_x_shift){ //Chroma444 in ff_mpeg4_decode_studio() 106 int hsub = i ? s->chroma_x_shift : 0; in ff_mpeg4_decode_studio() 123 int hsub = i ? s->chroma_x_shift : 0; in ff_mpeg4_decode_studio() 2012 w = 16 >> (n ? s->chroma_x_shift : 0); in mpeg4_decode_dpcm_macroblock()
|
H A D | mpeg12dec.c | 1825 s->dest[1] +=(16 >> lowres) >> s->chroma_x_shift; in mpeg_decode_slice() 1826 s->dest[2] +=(16 >> lowres) >> s->chroma_x_shift; in mpeg_decode_slice()
|
H A D | h264_slice.c | 960 &h->chroma_x_shift, &h->chroma_y_shift); in h264_slice_header_init()
|