Home
last modified time | relevance | path

Searched refs:CropValue (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/
H A Dpost_proc.h28 enum class CropValue : int32_t { INVALID, VALID, NOCROP }; class
42 static CropValue GetCropValue(const Rect &rect, const Size &size);
43 static CropValue ValidCropValue(Rect &rect, const Size &size);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc.cpp360 if (GetCropValue(cropRect, srcImageInfo.size) == CropValue::NOCROP && in ConvertProc()
560 CropValue value = GetCropValue(cropRect, srcSize); in NeedScanlineFilter()
561 if (value == CropValue::NOCROP && !hasPixelConvert) { in NeedScanlineFilter()
564 } else if (value == CropValue::INVALID) { in NeedScanlineFilter()
657 CropValue PostProc::GetCropValue(const Rect &rect, const Size &size) in GetCropValue()
661 return CropValue::NOCROP; in GetCropValue()
666 return CropValue::INVALID; in GetCropValue()
668 return CropValue::VALID; in GetCropValue()
671 CropValue PostProc::ValidCropValue(Rect &rect, const Size &size) in ValidCropValue()
673 CropValue re in ValidCropValue()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp718 static int32_t BuildPixelMap(unique_ptr<PixelMap> &dstPixelMap, const CropValue &cropType, in BuildPixelMap()
727 if (cropType == CropValue::VALID) { in BuildPixelMap()
760 CropValue cropType = PostProc::ValidCropValue(sRect, srcImageInfo.size); in Create()
761 if (cropType == CropValue::INVALID) { in Create()
771 if (opts.useSourceIfMatch && !source.IsEditable() && !opts.editable && (cropType == CropValue::NOCROP) && in Create()
781 if ((cropType == CropValue::VALID) || isHasConvert) { in Create()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp2671 CropValue value = PostProc::GetCropValue(cropRect, srcImageInfo.size);
2672 if (value == CropValue::NOCROP && !hasPixelConvert) {
2675 } else if (value == CropValue::INVALID) {

Completed in 14 milliseconds