Home
last modified time | relevance | path

Searched refs:crop_top (Results 1 - 25 of 41) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A 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()
H A Dh264_ps.c527 unsigned int crop_top = get_ue_golomb(gb); in ff_h264_decode_seq_parameter_set() local
535 crop_left, crop_right, crop_top, crop_bottom); in ff_h264_decode_seq_parameter_set()
539 sps->crop_top = in ff_h264_decode_seq_parameter_set()
550 crop_top > (unsigned)INT_MAX / 4 / step_y || in ff_h264_decode_seq_parameter_set()
553 (crop_top + crop_bottom) * step_y >= height in ff_h264_decode_seq_parameter_set()
555 av_log(avctx, AV_LOG_ERROR, "crop values invalid %d %d %d %d / %d %d\n", crop_left, crop_right, crop_top, crop_bottom, width, height); in ff_h264_decode_seq_parameter_set()
561 sps->crop_top = crop_top * step_y; in ff_h264_decode_seq_parameter_set()
567 sps->crop_top = in ff_h264_decode_seq_parameter_set()
615 sps->crop_top, sp in ff_h264_decode_seq_parameter_set()
[all...]
H A Dmediacodecdec_common.h60 int crop_top; member
H A Dh264_ps.h70 unsigned int crop_top; ///< frame_cropping_rect_top_offset member
H A Dmediacodecdec_common.c391 s->crop_top, s->crop_bottom, s->crop_left, s->crop_right, s->codec_name, in mediacodec_wrap_sw_buffer()
487 AMEDIAFORMAT_GET_INT32(s->crop_top, "crop-top", 0); in mediacodec_dec_parse_format()
493 height = s->crop_bottom + 1 - s->crop_top; in mediacodec_dec_parse_format()
522 s->crop_top, s->crop_bottom, s->crop_left, s->crop_right, in mediacodec_dec_parse_format()
H A Dh265_metadata_bsf.c58 int crop_top; member
457 { "crop_top", "Set top border crop offset",
458 OFFSET(crop_top), AV_OPT_TYPE_INT,
H A Dh264_metadata_bsf.c69 int crop_top; member
646 { "crop_top", "Set top border crop offset",
647 OFFSET(crop_top), AV_OPT_TYPE_INT,
H A Ddecode.c616 frame->crop_top >= INT_MAX - frame->crop_bottom || in apply_cropping()
618 (frame->crop_top + frame->crop_bottom) >= frame->height) { in apply_cropping()
623 frame->crop_left, frame->crop_right, frame->crop_top, frame->crop_bottom, in apply_cropping()
627 frame->crop_top = 0; in apply_cropping()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A 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()
H A 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()
566 // avoid doing the in-loop filtering before crop_top/crop_left position. in VP8EnterCritical()
583 dec->tl_mb_y_ = (io->crop_top - extra_pixels) >> 4; in VP8EnterCritical()
H A Dvp8_dec.h98 int crop_left, crop_right, crop_top, crop_bottom; member
H A 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()
H A Dvp8l_dec.c729 if (y_start < io->crop_top) { in SetCropWindow()
730 const int delta = io->crop_top - y_start; in SetCropWindow()
731 y_start = io->crop_top; in SetCropWindow()
738 io->mb_y = y_start - io->crop_top; in SetCropWindow()
867 // crop_top row, in order to have the correct spatial predictors. in ExtractPalettedAlphaRows()
871 alph_dec->filter_ == WEBP_FILTER_HORIZONTAL) ? dec->io_->crop_top in ExtractPalettedAlphaRows()
H A Dwebp_dec.c807 y = options->crop_top; in WebPIoInitFromOptions()
817 io->crop_top = y; in WebPIoInitFromOptions()
/third_party/ffmpeg/libavutil/
H A Dframe.c281 dst->crop_top = src->crop_top; in frame_copy_props()
856 offsets[i] = (frame->crop_top >> shift_y) * frame->linesize[i] + in calc_cropping_offsets()
873 frame->crop_top >= INT_MAX - frame->crop_bottom || in av_frame_apply_cropping()
875 (frame->crop_top + frame->crop_bottom) >= frame->height) in av_frame_apply_cropping()
922 frame->height -= (frame->crop_top + frame->crop_bottom); in av_frame_apply_cropping()
925 frame->crop_top = 0; in av_frame_apply_cropping()
H A Dframe.h680 size_t crop_top; member
921 * Crop the given video AVFrame according to its crop_left/crop_top/crop_right/
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A 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()
H A 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()
H A Dradeon_vcn_enc_2_0.c273 (enc->enc_pic.crop_top != 0) || (enc->enc_pic.crop_bottom != 0)) { in radeon_enc_nalu_sps_hevc()
277 radeon_enc_code_ue(enc, enc->enc_pic.crop_top); in radeon_enc_nalu_sps_hevc()
H A Dradeon_uvd_enc.h341 unsigned crop_top; member
/third_party/ffmpeg/libavfilter/
H A 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()
H A Dvf_crop.c288 frame->crop_top += s->y; in filter_frame()
290 frame->crop_bottom = frame->height - frame->crop_top - frame->crop_bottom - s->h; in filter_frame()
H A Dvf_scale_vulkan.c119 int crop_y = in->crop_top; in init_filter()
121 int crop_h = in->height - (in->crop_top + in->crop_bottom); in init_filter()
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
H A Dadvanced_api_fuzzer.c44 config.options.crop_top = config.input.height - config.options.crop_height; in LLVMFuzzerTestOneInput()
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Ddecode.h449 int crop_left, crop_top; // top-left position for cropping. member

Completed in 25 milliseconds

12