Home
last modified time | relevance | path

Searched refs:chroma_y_shift (Results 1 - 20 of 20) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A 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()
H A Ddirac.c147 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 Dmpegpicture.c120 int chroma_x_shift, int chroma_y_shift, in alloc_frame_buffer()
154 int offset = (EDGE_WIDTH >> (i ? chroma_y_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 Dmpegvideo.c781 &s->chroma_y_shift); in ff_mpv_common_init()
1018 if(s->chroma_y_shift){ in mpeg_motion_lowres()
1093 int hc = s->chroma_y_shift ? (h+1-bottom_field)>>1 : h; in mpeg_motion_lowres()
1261 dest_cb += (2 * block_s >> s->chroma_y_shift) * s->uvlinesize; in MPV_motion_lowres()
1262 dest_cr += (2 * block_s >> s->chroma_y_shift) * s->uvlinesize; in MPV_motion_lowres()
1539 if (s->chroma_y_shift){ in mpv_reconstruct_mb_internal()
1558 if(s->chroma_y_shift){//Chroma420 in mpv_reconstruct_mb_internal()
1597 if(s->chroma_y_shift){ in mpv_reconstruct_mb_internal()
1616 if(s->chroma_y_shift){ 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()
[all...]
H A Dmpegpicture.h101 int chroma_x_shift, int chroma_y_shift, int out_format,
H A Dvp3.c181 int chroma_x_shift, chroma_y_shift; member
869 if (s->chroma_y_shift) { in unpack_modes()
1051 if (s->chroma_y_shift) { in unpack_vectors()
1935 cy = y >> s->chroma_y_shift; in vp3_draw_horiz_band()
1988 int plane_height = s->height >> (plane && s->chroma_y_shift); in vp4_mc_loop_filter()
2093 int plane_height = s->height >> (plane && s->chroma_y_shift); in render_slice()
2096 int sb_x, sb_y = slice << (!plane && s->chroma_y_shift); in render_slice()
2097 int slice_height = sb_y + 1 + (!plane && s->chroma_y_shift); in render_slice()
2135 (16 * y) >> s->chroma_y_shift); in render_slice()
2267 vp3_draw_horiz_band(s, FFMIN((32 << s->chroma_y_shift) * (slic in render_slice()
[all...]
H A Ddiracdec.c148 int chroma_y_shift; member
295 int max_yblen = MAX_BLOCKSIZE >> (i ? s->chroma_y_shift : 0); in alloc_sequence_buffers()
297 h = s->seq.height >> (i ? s->chroma_y_shift : 0); in alloc_sequence_buffers()
1058 p->height = s->seq.height >> (i ? s->chroma_y_shift : 0); in init_planes()
1089 p->yblen = s->plane[0].yblen >> s->chroma_y_shift; in init_planes()
1091 p->ybsep = s->plane[0].ybsep >> s->chroma_y_shift; in init_planes()
1137 s->plane[0].yblen % (1 << s->chroma_y_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()
1658 motion_y >>= s->chroma_y_shift; in mc_subpel()
1971 int chroma_x_shift, chroma_y_shift; in get_buffer_with_edge() local
[all...]
H A Dmpegvideo_motion.c278 if (s->chroma_y_shift) { in mpeg_motion_internal()
360 (dest_cb, ptr_cb, uvlinesize, h >> s->chroma_y_shift); in mpeg_motion_internal()
362 (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()
H A Dvc2enc.c161 int chroma_y_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()
1131 p->height = avctx->height >> (i ? s->chroma_y_shift : 0); in vc2_encode_init()
H A Dh264dec.h354 int chroma_x_shift, chroma_y_shift; member
699 if (!h->chroma_y_shift) { in write_back_non_zero_count()
H A Dmpeg12enc.c785 int chroma_y_shift) in mpeg1_encode_mb_internal()
788 #define IS_MPEG1(s) (chroma_y_shift == 1 && (s)->codec_id == AV_CODEC_ID_MPEG1VIDEO) in mpeg1_encode_mb_internal()
932 if (chroma_y_shift) { in mpeg1_encode_mb_internal()
1034 if (chroma_y_shift) { in mpeg1_encode_mb_internal()
781 mpeg1_encode_mb_internal(MpegEncContext *s, int16_t block[8][64], int motion_x, int motion_y, int mb_block_count, int chroma_y_shift) mpeg1_encode_mb_internal() argument
H A Dmpegvideo_enc.c998 s->chroma_x_shift, s->chroma_y_shift, s->out_format, in alloc_picture()
2025 int chroma_y_shift, in encode_mb_internal()
2088 int ch = (s->height + chroma_y_shift) >> chroma_y_shift; in encode_mb_internal()
2232 if (!chroma_y_shift) { /* 422 */ in encode_mb_internal()
2257 if (!chroma_y_shift) { /* 422 */ in encode_mb_internal()
2283 if (!chroma_y_shift) { /* 422 */ in encode_mb_internal()
2341 if (!chroma_y_shift) { /* 422 / 444 */ in encode_mb_internal()
2564 int chroma_mb_h = h >> s->chroma_y_shift; in sse_mb()
2589 s->dest[1], w >> s->chroma_x_shift, h >> s->chroma_y_shift, 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
[all...]
H A Dmpegvideo.h452 int chroma_y_shift; member
H A Dmpegvideo_dec.c224 &s->chroma_y_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 Dcfhd.c251 int chroma_x_shift, chroma_y_shift; in alloc_buffers() local
262 &chroma_y_shift)) < 0) in alloc_buffers()
268 chroma_y_shift = 1; in alloc_buffers()
275 int height = (i || bayer) ? s->coded_height >> chroma_y_shift : s->coded_height; in alloc_buffers()
278 if (chroma_y_shift && !bayer) in alloc_buffers()
H A Dh264_mb_template.c53 const int block_h = 16 >> h->chroma_y_shift; in hl_decode_mb()
H A Dh264_slice.c960 &h->chroma_x_shift, &h->chroma_y_shift); in h264_slice_header_init()
1098 h->chroma_y_shift = sps->chroma_format_idc <= 1; // 400 uses yuv420p in h264_init_ps()
2563 const int block_h = 16 >> h->chroma_y_shift; in loop_filter()
H A Dh264_mvpred.h545 if (!h->chroma_y_shift) { in fill_decode_caches()
H A Dmpeg4videodec.c105 int vsub = i ? s->chroma_y_shift : 0; in ff_mpeg4_decode_studio()
122 int vsub = i ? s->chroma_y_shift : 0; in ff_mpeg4_decode_studio()
2011 h = 16 >> (n ? s->chroma_y_shift : 0); in mpeg4_decode_dpcm_macroblock()
H A Dmpeg12dec.c737 if (!s->chroma_y_shift) in mpeg_decode_mb()

Completed in 43 milliseconds