Home
last modified time | relevance | path

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

/external/v4l2_codec2/tests/c2_e2e_test/jni/
Dmediacodec_decoder.cpp416 int32_t crop_top = 0; in GetOutputFormat() local
420 if (!AMediaFormat_getRect(format, AMEDIAFORMAT_KEY_DISPLAY_CROP, &crop_left, &crop_top, in GetOutputFormat()
424 crop_top = 0; in GetOutputFormat()
430 if (crop_left != 0 || crop_top != 0) { in GetOutputFormat()
431 ALOGE("Crop origin is not (0,0): (%d,%d)", crop_left, crop_top); in GetOutputFormat()
449 Size(crop_right - crop_left + 1, crop_bottom - crop_top + 1), color_format); in GetOutputFormat()
/external/webp/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()
Dvp8_dec.h98 int crop_left, crop_right, crop_top, crop_bottom; member
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()
Dio_dec.c100 if (io->crop_top + y_end < io->crop_bottom) { in EmitFancyRGB()
171 if (io->crop_top + io->mb_y + io->mb_h == io->crop_bottom) { in GetAlphaSourceRow()
173 *num_rows = io->crop_bottom - io->crop_top - start_y; in GetAlphaSourceRow()
Dvp8l_dec.c721 if (y_start < io->crop_top) { in SetCropWindow()
722 const int delta = io->crop_top - y_start; in SetCropWindow()
723 y_start = io->crop_top; in SetCropWindow()
730 io->mb_y = y_start - io->crop_top; in SetCropWindow()
862 alph_dec->filter_ == WEBP_FILTER_HORIZONTAL) ? dec->io_->crop_top in ExtractPalettedAlphaRows()
Dwebp_dec.c800 y = options->crop_top; in WebPIoInitFromOptions()
810 io->crop_top = y; in WebPIoInitFromOptions()
Dbuffer_dec.c190 const int y = options->crop_top & ~1; in WebPAllocateDecBuffer()
Dvp8_dec.c330 io->crop_top = 0; in VP8GetHeaders()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_BatchToSpace.pbtxt19 crops = [[crop_top, crop_bottom], [crop_left, crop_right]]
27 height = height_pad - crop_top - crop_bottom
/external/oss-fuzz/projects/libwebp/
Dfuzz_advanced_api.c41 config.options.crop_top = config.input.height - config.options.crop_height; in LLVMFuzzerTestOneInput()
/external/mesa3d/src/gallium/drivers/radeon/
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()
113 enc->enc_pic.crop_top = pic->seq.conf_win_top_offset; in radeon_vcn_enc_get_param()
118 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()
Dradeon_vcn_enc_2_0.c147 (enc->enc_pic.crop_top != 0) || (enc->enc_pic.crop_bottom != 0)) { in radeon_enc_nalu_sps_hevc()
151 radeon_enc_code_ue(enc, enc->enc_pic.crop_top); in radeon_enc_nalu_sps_hevc()
Dradeon_uvd_enc.h341 unsigned crop_top; member
Dradeon_vcn_enc_1_2.c328 (enc->enc_pic.crop_top != 0) || (enc->enc_pic.crop_bottom != 0)) { in radeon_enc_nalu_sps()
332 radeon_enc_code_ue(enc, enc->enc_pic.crop_top); in radeon_enc_nalu_sps()
401 (enc->enc_pic.crop_top != 0) || (enc->enc_pic.crop_bottom != 0)) { in radeon_enc_nalu_sps_hevc()
405 radeon_enc_code_ue(enc, enc->enc_pic.crop_top); in radeon_enc_nalu_sps_hevc()
Dradeon_vcn_enc.h419 unsigned crop_top; member
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()
436 radeon_uvd_enc_code_ue(enc, enc->enc_pic.crop_top); in radeon_uvd_enc_nalu_sps_hevc()
/external/v4l2_codec2/accel/
Dh264_parser.cc167 int crop_top = crop_unit_y * frame_crop_top_offset; in GetVisibleRect() local
174 coded_size->height() - crop_top <= crop_bottom) { in GetVisibleRect()
179 return Rect(crop_left, crop_top, in GetVisibleRect()
181 coded_size->height() - crop_top - crop_bottom); in GetVisibleRect()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h785 void set_crop_top(uint64_t crop_top) { crop_top_ = crop_top; } in set_crop_top() argument
786 uint64_t crop_top() const { return crop_top_; } in crop_top() function
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h785 void set_crop_top(uint64_t crop_top) { crop_top_ = crop_top; } in set_crop_top() argument
786 uint64_t crop_top() const { return crop_top_; } in crop_top() function
/external/webp/include/webp/
Ddecode.h449 int crop_left, crop_top; // top-left position for cropping. member
/external/webp/src/webp/
Ddecode.h449 int crop_left, crop_top; // top-left position for cropping. member
/external/skia/src/codec/
DSkWebpCodec.cpp419 config.options.crop_top = subset.y(); in onGetPixels()
/external/skqp/src/codec/
DSkWebpCodec.cpp431 config.options.crop_top = subset.y(); in onGetPixels()