Home
last modified time | relevance | path

Searched refs:crop_right (Results 1 – 25 of 50) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dh264_ps.c528 unsigned int crop_right = get_ue_golomb(gb); in ff_h264_decode_seq_parameter_set() local
537 crop_left, crop_right, crop_top, crop_bottom); in ff_h264_decode_seq_parameter_set()
540 sps->crop_right = in ff_h264_decode_seq_parameter_set()
551 crop_right > (unsigned)INT_MAX / 4 / step_x || in ff_h264_decode_seq_parameter_set()
554 (crop_left + crop_right ) * step_x >= width || in ff_h264_decode_seq_parameter_set()
557 … AV_LOG_ERROR, "crop values invalid %d %d %d %d / %d %d\n", crop_left, crop_right, crop_top, crop_… in ff_h264_decode_seq_parameter_set()
562 sps->crop_right = crop_right * step_x; in ff_h264_decode_seq_parameter_set()
568 sps->crop_right = in ff_h264_decode_seq_parameter_set()
616 sps->crop_left, sps->crop_right, in ff_h264_decode_seq_parameter_set()
Dmediacodecdec_common.h63 int crop_right; member
Dmediacodecdec_common.c401 s->crop_top, s->crop_bottom, s->crop_left, s->crop_right, s->codec_name, in mediacodec_wrap_sw_buffer()
500 AMEDIAFORMAT_GET_INT32(s->crop_right, "crop-right", 0); in mediacodec_dec_parse_format()
502 width = s->crop_right + 1 - s->crop_left; in mediacodec_dec_parse_format()
532 s->crop_top, s->crop_bottom, s->crop_left, s->crop_right, in mediacodec_dec_parse_format()
Dh264_ps.h69 unsigned int crop_right; ///< frame_cropping_rect_right_offset member
Dh265_metadata_bsf.c56 int crop_right; member
454 OFFSET(crop_right), AV_OPT_TYPE_INT,
Dh264_metadata_bsf.c66 int crop_right; member
626 OFFSET(crop_right), AV_OPT_TYPE_INT,
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c237 vcrop->crop_right = 0; in gst_video_crop_init()
478 if ((crop->crop_left | crop->crop_right | crop->crop_top | crop-> in gst_video_crop_decide_allocation()
761 crop->crop_right = crop->prop_right; in gst_video_crop_set_info()
769 if (crop->crop_left == -1 && crop->crop_right == -1) { in gst_video_crop_set_info()
771 crop->crop_right = dx / 2 + (dx & 1); in gst_video_crop_set_info()
773 if (G_UNLIKELY (crop->crop_right > dx)) in gst_video_crop_set_info()
775 crop->crop_left = dx - crop->crop_right; in gst_video_crop_set_info()
776 } else if (crop->crop_right == -1) { in gst_video_crop_set_info()
779 crop->crop_right = dx - crop->crop_left; in gst_video_crop_set_info()
795 if (G_UNLIKELY ((crop->crop_left + crop->crop_right) >= in gst_video_crop_set_info()
Dgstvideocrop.h77 gint crop_right; member
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dalpha_dec.c90 io->crop_right = src_io->crop_right; in ALPHInit()
217 io->crop_right - io->crop_left, in VP8DecompressAlphaRows()
Dvp8_dec.h98 int crop_left, crop_right, crop_top, crop_bottom; member
/third_party/skia/third_party/externals/libwebp/src/dec/
Dalpha_dec.c90 io->crop_right = src_io->crop_right; in ALPHInit()
217 io->crop_right - io->crop_left, in VP8DecompressAlphaRows()
Dvp8_dec.h98 int crop_left, crop_right, crop_top, crop_bottom; member
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamc.h62 gint crop_left, crop_right; member
70 gint crop_left, gint crop_right, gint crop_top, gint crop_bottom);
Dgstamcvideodec.c745 gint crop_left, crop_right; in gst_amc_video_dec_set_src_caps() local
762 gst_amc_format_get_int (format, "crop-right", &crop_right, NULL)) { in gst_amc_video_dec_set_src_caps()
763 width = crop_right + 1 - crop_left; in gst_amc_video_dec_set_src_caps()
823 self->color_format_info.crop_right = crop_right; in gst_amc_video_dec_set_src_caps()
843 slice_height, crop_left, crop_right, crop_top, crop_bottom)) { in gst_amc_video_dec_set_src_caps()
856 self->color_format_info.crop_top, self->color_format_info.crop_right, in gst_amc_video_dec_set_src_caps()
/third_party/ffmpeg/libavutil/
Dframe.c360 dst->crop_right = src->crop_right; in frame_copy_props()
900 if (frame->crop_left >= INT_MAX - frame->crop_right || in av_frame_apply_cropping()
902 (frame->crop_left + frame->crop_right) >= frame->width || in av_frame_apply_cropping()
915 frame->width -= frame->crop_right; in av_frame_apply_cropping()
917 frame->crop_right = 0; in av_frame_apply_cropping()
949 frame->width -= (frame->crop_left + frame->crop_right); in av_frame_apply_cropping()
952 frame->crop_right = 0; in av_frame_apply_cropping()
Dframe.h681 size_t crop_right; member
/third_party/gstreamer/gstplugins_good/gst/videobox/
Dgstvideobox.h72 gint crop_left, crop_right, crop_top, crop_bottom; member
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkvpp.h125 guint crop_right; member
Dgstmsdkvpputil.c83 if ((thiz->crop_left + thiz->crop_right >= from_w - 1) in fixate_output_frame_size()
87 from_w -= thiz->crop_left + thiz->crop_right; in fixate_output_frame_size()
Dgstmsdkvpp.c908 if ((thiz->crop_left + thiz->crop_right >= in_info->CropW - 1) in gst_msdkvpp_transform()
914 in_info->CropW -= thiz->crop_left + thiz->crop_right; in gst_msdkvpp_transform()
1542 thiz->crop_right = g_value_get_uint (value); in gst_msdkvpp_set_property()
1617 g_value_set_uint (value, thiz->crop_right); in gst_msdkvpp_get_property()
1848 thiz->crop_right = PROP_CROP_RIGHT_DEFAULT; in gst_msdkvpp_init()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc.c55 enc->enc_pic.crop_right = pic->pic_ctrl.enc_frame_crop_right_offset; in radeon_vcn_enc_get_param()
60 enc->enc_pic.crop_right = (align(enc->base.width, 16) - enc->base.width) / 2; in radeon_vcn_enc_get_param()
118 enc->enc_pic.crop_right = pic->seq.conf_win_right_offset; in radeon_vcn_enc_get_param()
123 enc->enc_pic.crop_right = (align(enc->base.width, 16) - enc->base.width) / 2; in radeon_vcn_enc_get_param()
Dradeon_uvd_enc.c66 enc->enc_pic.crop_right = pic->seq.conf_win_right_offset; in radeon_uvd_enc_get_param()
71 enc->enc_pic.crop_right = (align(enc->base.width, 16) - enc->base.width) / 2; in radeon_uvd_enc_get_param()
Dradeon_vcn_enc_2_0.c287 if ((enc->enc_pic.crop_left != 0) || (enc->enc_pic.crop_right != 0) || in radeon_enc_nalu_sps_hevc()
291 radeon_enc_code_ue(enc, enc->enc_pic.crop_right); in radeon_enc_nalu_sps_hevc()
/third_party/ffmpeg/libavfilter/
Dvf_crop.c295 frame->crop_right = frame->width - frame->crop_left - frame->crop_right - s->w; in filter_frame()
Dvaapi_vpp.c528 (input_frame->crop_left + input_frame->crop_right), in ff_vaapi_vpp_init_params()
535 output_frame->crop_right = 0; in ff_vaapi_vpp_init_params()

12