Home
last modified time | relevance | path

Searched refs:crop_top (Results 1 – 25 of 55) sorted by relevance

123

/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c138 (vcrop->crop_left != 0 || vcrop->crop_top != 0)) { in gst_video_crop_src_event()
153 "pointer_y", G_TYPE_DOUBLE, (double) (pointer_y + vcrop->crop_top), in gst_video_crop_src_event()
239 vcrop->crop_top = 0; in gst_video_crop_init()
264 in_data += vcrop->crop_top * in_stride; in gst_video_crop_transform_packed_complex()
316 in_data += (vcrop->crop_top + y) * in_stride; in gst_video_crop_transform_packed_simple()
334 gint crop_top, crop_left; in gst_video_crop_transform_planar() local
339 crop_top = vcrop->crop_top + y; in gst_video_crop_transform_planar()
365 subsampled_crop_top = GST_ROUND_DOWN_N ((guint) crop_top, sub_h_factor); in gst_video_crop_transform_planar()
389 gint crop_top, crop_left; in gst_video_crop_transform_semi_planar() local
397 crop_top = vcrop->crop_top + y; in gst_video_crop_transform_semi_planar()
[all …]
Dgstvideocrop.h78 gint crop_top; member
/third_party/ffmpeg/libavcodec/
Dmediacodec_sw_buffer.c94 src += s->crop_top * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_planar()
106 src += s->crop_top * stride; in ff_mediacodec_sw_buffer_copy_yuv420_planar()
148 src += s->crop_top * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_semi_planar()
154 src += s->crop_top * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_semi_planar()
200 src += (s->slice_height - s->crop_top / 2) * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar()
202 src += s->crop_top * s->stride; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar()
Dh264_ps.c529 unsigned int crop_top = 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()
541 sps->crop_top = in ff_h264_decode_seq_parameter_set()
552 crop_top > (unsigned)INT_MAX / 4 / step_y || in ff_h264_decode_seq_parameter_set()
555 (crop_top + crop_bottom) * step_y >= height in ff_h264_decode_seq_parameter_set()
557 …OR, "crop values invalid %d %d %d %d / %d %d\n", crop_left, crop_right, crop_top, crop_bottom, wid… in ff_h264_decode_seq_parameter_set()
563 sps->crop_top = crop_top * step_y; in ff_h264_decode_seq_parameter_set()
569 sps->crop_top = in ff_h264_decode_seq_parameter_set()
617 sps->crop_top, sps->crop_bottom, in ff_h264_decode_seq_parameter_set()
Dmediacodecdec_common.h60 int crop_top; member
Dmediacodecdec_common.c401 s->crop_top, s->crop_bottom, s->crop_left, s->crop_right, s->codec_name, in mediacodec_wrap_sw_buffer()
497 AMEDIAFORMAT_GET_INT32(s->crop_top, "crop-top", 0); in mediacodec_dec_parse_format()
503 height = s->crop_bottom + 1 - s->crop_top; 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.h70 unsigned int crop_top; ///< frame_cropping_rect_top_offset member
Dh265_metadata_bsf.c57 int crop_top; member
457 OFFSET(crop_top), AV_OPT_TYPE_INT,
/third_party/skia/third_party/externals/libwebp/src/dec/
Dalpha_dec.c91 io->crop_top = src_io->crop_top; in ALPHInit()
214 uint8_t* const alpha = dec->alpha_plane_ + io->crop_top * width in VP8DecompressAlphaRows()
218 io->crop_bottom - io->crop_top, in VP8DecompressAlphaRows()
Dframe_dec.c461 if (y_start < io->crop_top) { in FinishRow()
462 const int delta_y = io->crop_top - y_start; in FinishRow()
463 y_start = io->crop_top; in FinishRow()
479 io->mb_y = y_start - io->crop_top; in FinishRow()
583 dec->tl_mb_y_ = (io->crop_top - extra_pixels) >> 4; in VP8EnterCritical()
Dvp8_dec.h98 int crop_left, crop_right, crop_top, crop_bottom; member
Dio_dec.c95 if (io->crop_top + y_end < io->crop_bottom) { in EmitFancyRGB()
166 if (io->crop_top + io->mb_y + io->mb_h == io->crop_bottom) { in GetAlphaSourceRow()
168 *num_rows = io->crop_bottom - io->crop_top - start_y; in GetAlphaSourceRow()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvapool.c43 gint crop_top; member
133 vpool->crop_top = video_align.padding_top; in gst_va_pool_set_config()
225 if (vpool->crop_left > 0 || vpool->crop_top > 0) { in gst_va_pool_alloc()
239 crop_meta->y = vpool->crop_top; in gst_va_pool_alloc()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamc.h63 gint crop_top, crop_bottom; member
70 gint crop_left, gint crop_right, gint crop_top, gint crop_bottom);
Dgstamc.c677 gint crop_right, gint crop_top, gint crop_bottom) in gst_amc_color_format_info_set() argument
734 stride * (slice_height - crop_top / 2) + in gst_amc_color_format_info_set()
746 stride * (slice_height - crop_top / 2) + in gst_amc_color_format_info_set()
783 color_format_info->crop_top = crop_top; in gst_amc_color_format_info_set()
858 cptr += cinfo->crop_top * stride; in gst_amc_color_format_copy()
868 cptr += cinfo->crop_top / 2 * c_stride; in gst_amc_color_format_copy()
916 cptr += (cinfo->slice_height - cinfo->crop_top / 2) * cinfo->stride; in gst_amc_color_format_copy()
953 cptr += cinfo->crop_top * cinfo->stride; in gst_amc_color_format_copy()
958 cptr += cinfo->crop_top * cinfo->stride; in gst_amc_color_format_copy()
/third_party/ffmpeg/libavutil/
Dframe.c357 dst->crop_top = src->crop_top; in frame_copy_props()
884 offsets[i] = (frame->crop_top >> shift_y) * frame->linesize[i] + in calc_cropping_offsets()
901 frame->crop_top >= INT_MAX - frame->crop_bottom || in av_frame_apply_cropping()
903 (frame->crop_top + frame->crop_bottom) >= frame->height) in av_frame_apply_cropping()
950 frame->height -= (frame->crop_top + frame->crop_bottom); in av_frame_apply_cropping()
953 frame->crop_top = 0; in av_frame_apply_cropping()
/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.h126 guint crop_top; member
Dgstmsdkvpp.c909 || (thiz->crop_top + thiz->crop_bottom >= in_info->CropH - 1)) { in gst_msdkvpp_transform()
913 in_info->CropY = thiz->crop_top; in gst_msdkvpp_transform()
915 in_info->CropH -= thiz->crop_top + thiz->crop_bottom; in gst_msdkvpp_transform()
1545 thiz->crop_top = g_value_get_uint (value); in gst_msdkvpp_set_property()
1620 g_value_set_uint (value, thiz->crop_top); in gst_msdkvpp_get_property()
1849 thiz->crop_top = PROP_CROP_TOP_DEFAULT; in gst_msdkvpp_init()
Dgstmsdkvpputil.c84 || (thiz->crop_top + thiz->crop_bottom >= from_h - 1)) { in fixate_output_frame_size()
88 from_h -= thiz->crop_top + thiz->crop_bottom; in fixate_output_frame_size()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn_enc.c56 enc->enc_pic.crop_top = pic->pic_ctrl.enc_frame_crop_top_offset; in radeon_vcn_enc_get_param()
61 enc->enc_pic.crop_top = 0; in radeon_vcn_enc_get_param()
127 enc->enc_pic.crop_top = pic->seq.conf_win_top_offset; in radeon_vcn_enc_get_param()
132 enc->enc_pic.crop_top = 0; in radeon_vcn_enc_get_param()
Dradeon_uvd_enc.c67 enc->enc_pic.crop_top = pic->seq.conf_win_top_offset; in radeon_uvd_enc_get_param()
72 enc->enc_pic.crop_top = 0; in radeon_uvd_enc_get_param()
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Dadvanced_api_fuzzer.c44 config.options.crop_top = config.input.height - config.options.crop_height; in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavfilter/
Dvaapi_vpp.c526 .y = input_frame->crop_top, in ff_vaapi_vpp_init_params()
530 (input_frame->crop_top + input_frame->crop_bottom), in ff_vaapi_vpp_init_params()
532 output_frame->crop_top = 0; in ff_vaapi_vpp_init_params()
Dvf_crop.c292 frame->crop_top += s->y; in filter_frame()
294 frame->crop_bottom = frame->height - frame->crop_top - frame->crop_bottom - s->h; in filter_frame()

123