/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_pixel_map_util.cpp | 175 if (transformData.cropLeft >= 0 && transformData.cropTop >= 0 && transformData.cropWidth > 0 && in TransformDataSetForAstc() 176 transformData.cropHeight > 0 && transformData.cropLeft + transformData.cropWidth <= realSize.width && in TransformDataSetForAstc() 178 float rightMinus = src.GetRight() - transformData.cropLeft - transformData.cropWidth; in TransformDataSetForAstc() 180 src.SetLeft(src.GetLeft() + transformData.cropLeft); in TransformDataSetForAstc()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/crop/ |
H A D | crop_efilter.cpp | 86 int32_t cropLeft = region->left; in Crop() local 101 char *srcStart = srcBuffer + cropTop * static_cast<int32_t>(srcRowStride) + cropLeft * PIXEL_BYTES; in Crop() 162 int32_t cropLeft = region.left; in CropToOutputBuffer() local 167 EFFECT_LOGI("CropEFilter cropLeft=%{public}d, cropTop=%{public}d, cropWidth=%{public}d, cropHeight=%{public}d", in CropToOutputBuffer() 168 cropLeft, cropTop, cropWidth, cropHeight); in CropToOutputBuffer()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 635 int32_t cropLeft = 0; in CheckOutputDescription() local 643 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription() 649 if (cropTop != expectCropTop || cropBottom != expectCropBottom || cropLeft != expectCropLeft) { in CheckOutputDescription() 650 std::cout << "cropTop:" << cropTop << " cropBottom:" << cropBottom << " cropLeft:" << cropLeft <<std::endl; in CheckOutputDescription()
|
H A D | videodec_api11_sample.cpp | 746 int32_t cropLeft = 0; in CheckOutputDescription() local 754 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription() 760 if (cropTop != expectCropTop || cropBottom != expectCropBottom || cropLeft != expectCropLeft) { in CheckOutputDescription() 761 std::cout << "cropTop:" << cropTop << " cropBottom:" << cropBottom << " cropLeft:" << cropLeft <<std::endl; in CheckOutputDescription()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
H A D | videodec_api11_sample.cpp | 623 int32_t cropLeft = 0; in CheckOutputDescription() local 631 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription() 637 if (cropTop != expectCropTop || cropBottom != expectCropBottom || cropLeft != expectCropLeft) { in CheckOutputDescription() 638 std::cout << "cropTop:" << cropTop << " cropBottom:" << cropBottom << " cropLeft:" << cropLeft <<std::endl; in CheckOutputDescription()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_astc.cpp | 130 transformData.cropLeft = rect.left;
in crop()
|
H A D | pixel_map.cpp | 2286 if (!parcel.WriteFloat(static_cast<float>(transformData_.cropLeft))) { in WriteTransformDataToParcel() 2287 IMAGE_LOGE("write cropLeft:[%{public}f] to parcel failed.", transformData_.cropLeft); in WriteTransformDataToParcel() 2459 transformData.cropLeft = parcel.ReadFloat(); in ReadTransformData()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
H A D | videodec_api11_sample.cpp | 758 int32_t cropLeft = 0; in CheckOutputDescription() local 766 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_CROP_LEFT, &cropLeft); in CheckOutputDescription() 772 if (cropTop != expectCropTop || cropLeft != expectCropLeft) { in CheckOutputDescription() 773 std::cout << "cropTop:" << cropTop << " cropBottom:" << cropBottom << " cropLeft:" << cropLeft <<std::endl; in CheckOutputDescription()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_pixel_map_util_test.cpp | 123 pixelMap->transformData_.cropLeft = 0;
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | pixel_map.h | 37 float cropLeft; member
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | pixel_astc_test.cpp | 271 ASSERT_EQ(transformData.cropLeft, 1); in HWTEST_F()
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_map.h | 45 float cropLeft; member in OHOS::Media::ImageHdrType
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 164 transformData.cropLeft = (srcWidth - targetWidth / scale) / HALF_F; in CenterScale()
|