Home
last modified time | relevance | path

Searched refs:cropLeft (Results 1 - 13 of 13) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_pixel_map_util.cpp175 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 Dcrop_efilter.cpp86 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 Dvideodec_ndk_sample.cpp635 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 Dvideodec_api11_sample.cpp746 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 Dvideodec_api11_sample.cpp623 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 Dpixel_astc.cpp130 transformData.cropLeft = rect.left; in crop()
H A Dpixel_map.cpp2286 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 Dvideodec_api11_sample.cpp758 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 Drs_pixel_map_util_test.cpp123 pixelMap->transformData_.cropLeft = 0; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/
H A Dpixel_map.h37 float cropLeft; member
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpixel_astc_test.cpp271 ASSERT_EQ(transformData.cropLeft, 1); in HWTEST_F()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map.h45 float cropLeft; member in OHOS::Media::ImageHdrType
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc.cpp164 transformData.cropLeft = (srcWidth - targetWidth / scale) / HALF_F; in CenterScale()

Completed in 19 milliseconds