Searched refs:CropValue (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | post_proc.h | 28 enum class CropValue : int32_t { INVALID, VALID, NOCROP }; enum 42 static CropValue GetCropValue(const Rect &rect, const Size &size); 43 static CropValue ValidCropValue(Rect &rect, const Size &size);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 373 if (GetCropValue(cropRect, srcImageInfo.size) == CropValue::NOCROP && in ConvertProc() 575 CropValue value = GetCropValue(cropRect, srcSize); in NeedScanlineFilter() 576 if (value == CropValue::NOCROP && !hasPixelConvert) { in NeedScanlineFilter() 579 } else if (value == CropValue::INVALID) { in NeedScanlineFilter() 672 CropValue PostProc::GetCropValue(const Rect &rect, const Size &size) in GetCropValue() 676 return CropValue::NOCROP; in GetCropValue() 681 return CropValue::INVALID; in GetCropValue() 683 return CropValue::VALID; in GetCropValue() 686 CropValue PostProc::ValidCropValue(Rect &rect, const Size &size) in ValidCropValue() 688 CropValue res = GetCropValue(rect, size); in ValidCropValue() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 729 static int32_t BuildPixelMap(unique_ptr<PixelMap> &dstPixelMap, const CropValue &cropType, in BuildPixelMap() 738 if (cropType == CropValue::VALID) { in BuildPixelMap() 772 CropValue cropType = PostProc::ValidCropValue(sRect, srcImageInfo.size); in Create() 773 if (cropType == CropValue::INVALID) { in Create() 783 …if (opts.useSourceIfMatch && !source.IsEditable() && !opts.editable && (cropType == CropValue::NOC… in Create() 793 if ((cropType == CropValue::VALID) || isHasConvert) { in Create()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 2697 CropValue value = PostProc::GetCropValue(cropRect, srcImageInfo.size); in ImageConverChange() 2698 if (value == CropValue::NOCROP && !hasPixelConvert) { in ImageConverChange() 2701 } else if (value == CropValue::INVALID) { in ImageConverChange()
|