/third_party/ffmpeg/libavcodec/ |
D | mpeg_er.c | 81 if (!s->chroma_y_shift) in mpeg_er_decode_mb() 88 s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize + in mpeg_er_decode_mb() 91 s->mb_y * (16 >> s->chroma_y_shift) * s->uvlinesize + in mpeg_er_decode_mb()
|
D | dirac.c | 149 int chroma_x_shift, chroma_y_shift; in parse_source_parameters() local 273 ret = av_pix_fmt_get_chroma_sub_sample(dsh->pix_fmt, &chroma_x_shift, &chroma_y_shift); in parse_source_parameters() 277 if ((dsh->width % (1<<chroma_x_shift)) || (dsh->height % (1<<chroma_y_shift))) { in parse_source_parameters()
|
D | mpegpicture.c | 100 int chroma_x_shift, int chroma_y_shift, in alloc_frame_buffer() argument 133 int offset = (EDGE_WIDTH >> (i ? chroma_y_shift : 0)) * in alloc_frame_buffer() 234 int chroma_x_shift, int chroma_y_shift, int out_format, in ff_alloc_picture() argument 251 chroma_x_shift, chroma_y_shift, in ff_alloc_picture()
|
D | mpegvideo.c | 354 s->chroma_x_shift, s->chroma_y_shift, s->out_format, in alloc_picture() 956 &s->chroma_y_shift); in ff_mpv_common_init() 1086 &s->chroma_y_shift); in ff_mpv_common_frame_size_change() 1551 if(s->chroma_y_shift){ in mpeg_motion_lowres() 1626 int hc = s->chroma_y_shift ? (h+1-bottom_field)>>1 : h; in mpeg_motion_lowres() 1794 dest_cb += (2 * block_s >> s->chroma_y_shift) * s->uvlinesize; in MPV_motion_lowres() 1795 dest_cr += (2 * block_s >> s->chroma_y_shift) * s->uvlinesize; in MPV_motion_lowres() 2089 if (s->chroma_y_shift){ in mpv_reconstruct_mb_internal() 2108 if(s->chroma_y_shift){//Chroma420 in mpv_reconstruct_mb_internal() 2163 int vsub = i ? s->chroma_y_shift : 0; in mpv_reconstruct_mb_internal() [all …]
|
D | mpegpicture.h | 100 int chroma_x_shift, int chroma_y_shift, int out_format,
|
D | vp3.c | 177 int chroma_x_shift, chroma_y_shift; member 865 if (s->chroma_y_shift) { in unpack_modes() 1047 if (s->chroma_y_shift) { in unpack_vectors() 1931 cy = y >> s->chroma_y_shift; in vp3_draw_horiz_band() 1984 int plane_height = s->height >> (plane && s->chroma_y_shift); in vp4_mc_loop_filter() 2089 int plane_height = s->height >> (plane && s->chroma_y_shift); in render_slice() 2092 int sb_x, sb_y = slice << (!plane && s->chroma_y_shift); in render_slice() 2093 int slice_height = sb_y + 1 + (!plane && s->chroma_y_shift); in render_slice() 2131 (16 * y) >> s->chroma_y_shift); in render_slice() 2263 vp3_draw_horiz_band(s, FFMIN((32 << s->chroma_y_shift) * (slice + 1) - 16, in render_slice() [all …]
|
D | diracdec.c | 147 int chroma_y_shift; member 294 int max_yblen = MAX_BLOCKSIZE >> (i ? s->chroma_y_shift : 0); in alloc_sequence_buffers() 296 h = s->seq.height >> (i ? s->chroma_y_shift : 0); in alloc_sequence_buffers() 1057 p->height = s->seq.height >> (i ? s->chroma_y_shift : 0); in init_planes() 1088 p->yblen = s->plane[0].yblen >> s->chroma_y_shift; in init_planes() 1090 p->ybsep = s->plane[0].ybsep >> s->chroma_y_shift; in init_planes() 1136 s->plane[0].yblen % (1 << s->chroma_y_shift) != 0 || in dirac_unpack_prediction_parameters() 1140 s->plane[0].xblen, s->plane[0].yblen, s->chroma_x_shift, s->chroma_y_shift); in dirac_unpack_prediction_parameters() 1657 motion_y >>= s->chroma_y_shift; in mc_subpel() 1970 int chroma_x_shift, chroma_y_shift; in get_buffer_with_edge() local [all …]
|
D | mpegvideo_motion.c | 276 if (s->chroma_y_shift) { in mpeg_motion_internal() 358 (dest_cb, ptr_cb, uvlinesize, h >> s->chroma_y_shift); in mpeg_motion_internal() 360 (dest_cr, ptr_cr, uvlinesize, h >> s->chroma_y_shift); in mpeg_motion_internal() 932 dest_cb += (16 >> s->chroma_y_shift) * s->uvlinesize; in mpv_motion_internal() 933 dest_cr += (16 >> s->chroma_y_shift) * s->uvlinesize; in mpv_motion_internal()
|
D | vc2enc.c | 159 int chroma_y_shift; member 285 if (s->chroma_x_shift == 1 && s->chroma_y_shift == 0) in encode_sample_fmt() 287 else if (s->chroma_x_shift == 1 && s->chroma_y_shift == 1) in encode_sample_fmt() 1101 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->height = avctx->height >> (i ? s->chroma_y_shift : 0); in vc2_encode_init()
|
D | h264dec.h | 367 int chroma_x_shift, chroma_y_shift; member 740 if (!h->chroma_y_shift) { in write_back_non_zero_count()
|
D | cfhd.c | 250 int chroma_x_shift, chroma_y_shift; in alloc_buffers() local 261 &chroma_y_shift)) < 0) in alloc_buffers() 267 chroma_y_shift = 1; in alloc_buffers() 274 int height = (i || bayer) ? s->coded_height >> chroma_y_shift : s->coded_height; in alloc_buffers() 277 if (chroma_y_shift && !bayer) in alloc_buffers()
|
D | mpegvideo_enc.c | 1174 s->chroma_x_shift, s->chroma_y_shift, s->out_format, in alloc_picture() 2297 int ch = (s->height + s->chroma_y_shift) >> s->chroma_y_shift; in encode_mb_internal() 2355 if (!s->chroma_y_shift && s->chroma_x_shift) { /* 422 */ in encode_mb_internal() 2358 } else if (!s->chroma_y_shift && !s->chroma_x_shift) { /* 444 */ in encode_mb_internal() 2441 if (!s->chroma_y_shift) { /* 422 */ in encode_mb_internal() 2466 if (!s->chroma_y_shift) { /* 422 */ in encode_mb_internal() 2492 if (!s->chroma_y_shift) { /* 422 */ in encode_mb_internal() 2550 if (!s->chroma_y_shift) { /* 422 / 444 */ in encode_mb_internal() 2956 int chr_h= 16>>s->chroma_y_shift; in encode_thread() 3575 s->dest[1], w>>1, h>>s->chroma_y_shift, s->uvlinesize); in encode_thread() [all …]
|
D | h264_mb_template.c | 53 const int block_h = 16 >> h->chroma_y_shift; in FUNC()
|
D | mpeg12enc.c | 900 if (s->chroma_y_shift) { in mpeg1_encode_mb_internal() 1007 if (s->chroma_y_shift) { in mpeg1_encode_mb_internal()
|
D | mpegvideo.h | 492 int chroma_y_shift; member
|
D | h264_mvpred.h | 547 if (!h->chroma_y_shift) { in fill_decode_caches()
|
D | h264_slice.c | 931 &h->chroma_x_shift, &h->chroma_y_shift); in h264_slice_header_init() 1076 h->chroma_y_shift = sps->chroma_format_idc <= 1; // 400 uses yuv420p in h264_init_ps() 2467 const int block_h = 16 >> h->chroma_y_shift; in loop_filter()
|
D | mpeg12dec.c | 729 if (!s->chroma_y_shift) in mpeg_decode_mb()
|
D | mpeg4videodec.c | 1935 h = 16 >> (n ? s->chroma_y_shift : 0); in mpeg4_decode_dpcm_macroblock()
|