Home
last modified time | relevance | path

Searched refs:crop_bottom (Results 1 - 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dalpha_dec.c92 io->crop_bottom = src_io->crop_bottom; in ALPHInit()
113 const int height = alph_dec->io_.crop_bottom; in ALPHDecode()
152 const int height = io->crop_bottom; in AllocateAlphaPlane()
181 const int height = io->crop_bottom; in VP8DecompressAlphaRows()
218 io->crop_bottom - io->crop_top, in VP8DecompressAlphaRows()
H A Dvp8_dec.h98 int crop_left, crop_right, crop_top, crop_bottom; member
H A Dframe_dec.c449 if (y_end > io->crop_bottom) { in FinishRow()
450 y_end = io->crop_bottom; // make sure we don't overflow on last row. in FinishRow()
588 dec->br_mb_y_ = (io->crop_bottom + 15 + extra_pixels) >> 4; in VP8EnterCritical()
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.c726 if (y_end > io->crop_bottom) { in SetCropWindow()
727 y_end = io->crop_bottom; // make sure we don't overflow on last row. in SetCropWindow()
792 assert(row <= dec->io_->crop_bottom); in ProcessRows()
874 assert(last_row <= dec->io_->crop_bottom); in ExtractPalettedAlphaRows()
1553 assert(last_row <= dec->io_->crop_bottom); in ExtractAlphaRows()
1733 io->crop_bottom, ProcessRows)) { in VP8LDecodeImage()
/third_party/ffmpeg/libavcodec/
H A Dh264_ps.c528 unsigned int crop_bottom = 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()
540 sps->crop_bottom = 0; in ff_h264_decode_seq_parameter_set()
551 crop_bottom> (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()
562 sps->crop_bottom = crop_bottom * step_y; in ff_h264_decode_seq_parameter_set()
568 sps->crop_bottom = in ff_h264_decode_seq_parameter_set()
615 sps->crop_top, sps->crop_bottom, in ff_h264_decode_seq_parameter_set()
[all...]
H A Dmediacodecdec_common.h61 int crop_bottom; member
H A Dh264_ps.h71 unsigned int crop_bottom; ///< frame_cropping_rect_bottom_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()
488 AMEDIAFORMAT_GET_INT32(s->crop_bottom, "crop-bottom", 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.c59 int crop_bottom; member
460 { "crop_bottom", "Set bottom border crop offset",
461 OFFSET(crop_bottom), AV_OPT_TYPE_INT,
H A Dh264_metadata_bsf.c70 int crop_bottom; member
649 { "crop_bottom", "Set bottom border crop offset",
650 OFFSET(crop_bottom), 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()
628 frame->crop_bottom = 0; in apply_cropping()
H A Dh264dec.h382 int crop_bottom; member
H A Dvideotoolbox.c107 frame->crop_bottom = 0; in videotoolbox_postproc_frame()
1079 h->output_frame->crop_bottom = 0; in videotoolbox_hevc_end_frame()
/third_party/ffmpeg/libavutil/
H A Dframe.c282 dst->crop_bottom = src->crop_bottom; in frame_copy_props()
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()
888 frame->height -= frame->crop_bottom; in av_frame_apply_cropping()
890 frame->crop_bottom = 0; in av_frame_apply_cropping()
922 frame->height -= (frame->crop_top + frame->crop_bottom); in av_frame_apply_cropping()
926 frame->crop_bottom = 0; in av_frame_apply_cropping()
H A Dframe.h681 size_t crop_bottom; member
922 * crop_bottom fields. If cropping is successful, the function will adjust the
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_vcn_enc.c57 enc->enc_pic.crop_bottom = pic->pic_ctrl.enc_frame_crop_bottom_offset; in radeon_vcn_enc_get_param()
62 enc->enc_pic.crop_bottom = (align(enc->base.height, 16) - enc->base.height) / 2; in radeon_vcn_enc_get_param()
128 enc->enc_pic.crop_bottom = pic->seq.conf_win_bottom_offset; in radeon_vcn_enc_get_param()
133 enc->enc_pic.crop_bottom = (align(enc->base.height, 16) - enc->base.height) / 2; in radeon_vcn_enc_get_param()
H A Dradeon_uvd_enc.c68 enc->enc_pic.crop_bottom = pic->seq.conf_win_bottom_offset; in radeon_uvd_enc_get_param()
73 enc->enc_pic.crop_bottom = (align(enc->base.height, 16) - enc->base.height) / 2; 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()
278 radeon_enc_code_ue(enc, enc->enc_pic.crop_bottom); in radeon_enc_nalu_sps_hevc()
H A Dradeon_uvd_enc.h342 unsigned crop_bottom; member
H A Dradeon_vcn_enc_1_2.c313 (enc->enc_pic.crop_top != 0) || (enc->enc_pic.crop_bottom != 0)) { in radeon_enc_nalu_sps()
318 radeon_enc_code_ue(enc, enc->enc_pic.crop_bottom); in radeon_enc_nalu_sps()
386 (enc->enc_pic.crop_top != 0) || (enc->enc_pic.crop_bottom != 0)) { in radeon_enc_nalu_sps_hevc()
391 radeon_enc_code_ue(enc, enc->enc_pic.crop_bottom); in radeon_enc_nalu_sps_hevc()
H A Dradeon_vcn_enc.h448 unsigned crop_bottom; member
H A Dradeon_uvd_enc_1_1.c427 int conformance_window_flag = (enc->enc_pic.crop_top > 0) || (enc->enc_pic.crop_bottom > 0) || in radeon_uvd_enc_nalu_sps_hevc()
437 radeon_uvd_enc_code_ue(enc, enc->enc_pic.crop_bottom); in radeon_uvd_enc_nalu_sps_hevc()
/third_party/ffmpeg/libavfilter/
H A Dvf_crop.c290 frame->crop_bottom = frame->height - frame->crop_top - frame->crop_bottom - s->h; in filter_frame()
H A Dvaapi_vpp.c530 (input_frame->crop_top + input_frame->crop_bottom), in ff_vaapi_vpp_init_params()
533 output_frame->crop_bottom = 0; in ff_vaapi_vpp_init_params()

Completed in 29 milliseconds

12