Home
last modified time | relevance | path

Searched refs:chroma_y_shift (Results 1 – 19 of 19) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpeg_er.c81 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()
Ddirac.c149 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()
Dmpegpicture.c100 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()
Dmpegvideo.c354 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 …]
Dmpegpicture.h100 int chroma_x_shift, int chroma_y_shift, int out_format,
Dvp3.c177 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 …]
Ddiracdec.c147 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 …]
Dmpegvideo_motion.c276 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()
Dvc2enc.c159 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()
Dh264dec.h367 int chroma_x_shift, chroma_y_shift; member
740 if (!h->chroma_y_shift) { in write_back_non_zero_count()
Dcfhd.c250 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()
Dmpegvideo_enc.c1174 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 …]
Dh264_mb_template.c53 const int block_h = 16 >> h->chroma_y_shift; in FUNC()
Dmpeg12enc.c900 if (s->chroma_y_shift) { in mpeg1_encode_mb_internal()
1007 if (s->chroma_y_shift) { in mpeg1_encode_mb_internal()
Dmpegvideo.h492 int chroma_y_shift; member
Dh264_mvpred.h547 if (!h->chroma_y_shift) { in fill_decode_caches()
Dh264_slice.c931 &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()
Dmpeg12dec.c729 if (!s->chroma_y_shift) in mpeg_decode_mb()
Dmpeg4videodec.c1935 h = 16 >> (n ? s->chroma_y_shift : 0); in mpeg4_decode_dpcm_macroblock()