Home
last modified time | relevance | path

Searched refs:crop_bottom (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/coda/
H A Dcoda-h264.c258 unsigned int crop_right, crop_bottom; in coda_h264_sps_fixup() local
378 ret = rbsp_read_uev(&sps, &crop_bottom); in coda_h264_sps_fixup()
393 crop_bottom = round_up(height, 16) - height; in coda_h264_sps_fixup()
396 crop_bottom /= 2; in coda_h264_sps_fixup()
398 crop_bottom /= 4; in coda_h264_sps_fixup()
416 ret = rbsp_write_uev(&sps, crop_bottom); in coda_h264_sps_fixup()
H A Dcoda-bit.c648 u32 crop_bottom = round_up(r->height, 16) - r->height; in coda_encode_header() local
652 coda_write(dev, crop_bottom, in coda_encode_header()
/OK3568_Linux_fs/kernel/drivers/staging/media/meson/vdec/
H A Dcodec_h264.c329 u32 crop_infor, crop_bottom, crop_right; in codec_h264_src_change() local
346 crop_bottom = (crop_infor & 0xff); in codec_h264_src_change()
350 frame_height = h264->mb_height * 16 - crop_bottom; in codec_h264_src_change()
353 frame_width, frame_height, crop_right, crop_bottom); in codec_h264_src_change()
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/
H A Dh264e_sps.c75 RK_S32 crop_bottom = MPP_ALIGN(height, 16) - height; in h264e_sps_update() local
205 if (crop_right || crop_bottom) { in h264e_sps_update()
210 sps->crop.bottom = crop_bottom; in h264e_sps_update()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_sps.c382 RK_U32 crop_top = 0, crop_bottom = 0; in update_video_pars() local
410crop_bottom = SubHeightC[sps->chroma_format_idc] * ( 2 - sps->frame_mbs_only_flag ) * sps->frame_c… in update_video_pars()
412 crop_left = crop_right = crop_top = crop_bottom = 0; in update_video_pars()
415 p_Vid->height_after_crop = p_Vid->height - crop_top - crop_bottom; in update_video_pars()
/OK3568_Linux_fs/kernel/drivers/staging/media/allegro-dvt/
H A Dnal-h264.h139 unsigned int crop_bottom; member
H A Dnal-h264.c671 rbsp_uev(rbsp, &sps->crop_bottom); in nal_h264_rbsp_sps()
H A Dallegro-core.c1309 sps->crop_bottom = (round_up(channel->height, size_mb) - channel->height) / crop_unit_y; in allegro_h264_write_sps()