Home
last modified time | relevance | path

Searched refs:alignedHeight (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/scale_conversion/
H A Dscale_convert_process_common.cpp169 if (imgInfo.alignedWidth > MAX_IMG_SIZE && imgInfo.alignedHeight > MAX_IMG_SIZE) { in GetImageUnitInfo()
192 findErr = findErr && imgBuf->FindInt32("alignedHeight", imgInfo.alignedHeight); in GetImageUnitInfo()
199 imgInfo.chromaOffset = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight); in GetImageUnitInfo()
208 imgInfo.colorFormat, imgInfo.alignedWidth, imgInfo.alignedHeight, in GetImageUnitInfo()
246 srcImgInfo.alignedHeight); in CheckScaleConvertInfo()
255 size_t expectedImgSize = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight * in IsCorrectImageUnitInfo()
322 srcImgInfo.imgData->Data() + srcImgInfo.alignedWidth * srcImgInfo.alignedHeight, in CopyYUV420SrcData()
330 srcImgInfo.imgData->Data() + srcImgInfo.alignedWidth * srcImgInfo.alignedHeight + in CopyYUV420SrcData()
331 srcImgInfo.alignedWidth * srcImgInfo.alignedHeight / MEMORY_RATIO_YUV, in CopyYUV420SrcData()
351 srcImgInfo.imgData->Data() + srcImgInfo.alignedWidth * srcImgInfo.alignedHeight, in CopyNV12SrcData()
[all …]
H A Dscale_convert_process.cpp164 findErr = findErr && imgBuf->FindInt32("alignedHeight", imgInfo.alignedHeight); in GetImageUnitInfo()
171 imgInfo.chromaOffset = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight); in GetImageUnitInfo()
177 imgInfo.colorFormat, imgInfo.alignedWidth, imgInfo.alignedHeight, in GetImageUnitInfo()
211 …(dstImgInfo.width == srcImgInfo.alignedWidth) && (dstImgInfo.height == srcImgInfo.alignedHeight) && in CheckScaleConvertInfo()
216 srcImgInfo.alignedWidth, srcImgInfo.alignedHeight, srcImgInfo.colorFormat); in CheckScaleConvertInfo()
225 size_t expectedImgSize = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight * in IsCorrectImageUnitInfo()
227 size_t expectedChromaOffset = static_cast<size_t>(imgInfo.alignedWidth * imgInfo.alignedHeight); in IsCorrectImageUnitInfo()
228 return (imgInfo.width <= imgInfo.alignedWidth && imgInfo.height <= imgInfo.alignedHeight && in IsCorrectImageUnitInfo()
307 srcImgInfo.alignedHeight = dstImgInfo.alignedHeight; in ConvertResolution()
308 … srcImgInfo.chromaOffset = static_cast<size_t>(srcImgInfo.alignedWidth * srcImgInfo.alignedHeight); in ConvertResolution()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/decoder/
H A Ddecode_data_process.cpp525 int32_t alignedHeight = alignedHeight_; in GetDecoderOutputBuffer() local
527 alignedWidth, alignedHeight, timeStamp); in GetDecoderOutputBuffer()
528 CopyDecodedImage(surfaceBuffer, alignedWidth, alignedHeight); in GetDecoderOutputBuffer()
535 int32_t alignedHeight) in CopyDecodedImage() argument
537 if (!IsCorrectSurfaceBuffer(surBuf, alignedWidth, alignedHeight)) { in CopyDecodedImage()
544 alignedHeight); in CopyDecodedImage()
545 int srcSizeY = alignedWidth * alignedHeight; in CopyDecodedImage()
590 int32_t alignedHeight) in IsCorrectSurfaceBuffer() argument
597 size_t yuvImageAlignedSize = static_cast<size_t>(alignedWidth * alignedHeight * in IsCorrectSurfaceBuffer()
H A Ddecode_data_process_common.cpp572 int32_t alignedHeight = alignedHeight_; in GetDecoderOutputBuffer() local
574 alignedWidth, alignedHeight, timeStamp); in GetDecoderOutputBuffer()
575 CopyDecodedImage(surfaceBuffer, alignedWidth, alignedHeight); in GetDecoderOutputBuffer()
582 int32_t alignedHeight) in CopyDecodedImage() argument
584 if (!IsCorrectSurfaceBuffer(surBuf, alignedWidth, alignedHeight)) { in CopyDecodedImage()
626 int32_t alignedHeight) in IsCorrectSurfaceBuffer() argument
645 alignedWidth * alignedHeight * YUV_BYTES_PER_PIXEL / Y2UV_RATIO); in IsCorrectSurfaceBuffer()
/ohos5.0/foundation/distributedhardware/distributed_camera/common/src/utils/
H A Ddcamera_utils_tools.cpp85 int32_t alignedHeight = width; in GetAlignedHeight() local
86 if (alignedHeight % alignedBits != 0) { in GetAlignedHeight()
87 alignedHeight = ((alignedHeight / alignedBits) + 1) * alignedBits; in GetAlignedHeight()
89 return alignedHeight; in GetAlignedHeight()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/decoder/
H A Ddecode_data_process.h93 …d CopyDecodedImage(const sptr<SurfaceBuffer>& surBuf, int32_t alignedWidth, int32_t alignedHeight);
94 …rrectSurfaceBuffer(const sptr<SurfaceBuffer>& surBuf, int32_t alignedWidth, int32_t alignedHeight);
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/include/
H A Dencode_buffer_helper.h43 uint32_t alignedHeight; member
/ohos5.0/drivers/peripheral/codec/test/demo/heif/src/
H A Dbuffer_helper.cpp56 &pixelInfo.alignedWidth, &pixelInfo.alignedHeight, in ExtractPixelInfoFromFilePath()
61 … pixelInfo.displayWidth, pixelInfo.displayHeight, pixelInfo.alignedWidth, pixelInfo.alignedHeight); in ExtractPixelInfoFromFilePath()
75 for (uint32_t i = 0; i < (pixelInfo.alignedHeight - pixelInfo.displayHeight); i++) { in CopyYuvData()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/include/utils/
H A Dimage_common_type.h78 int32_t alignedHeight; member
/ohos5.0/drivers/peripheral/codec/test/demo/heif/include/
H A Dbuffer_helper.h45 uint32_t alignedHeight; member
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/src/
H A Dencode_buffer_helper.cpp86 pixelInfo.alignedHeight = pixelInfo.displayHeight; in CreateImgBuffer()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/data_process/test/unittest/common/pipeline_node/
H A Ddecode_data_process_test.cpp482 int32_t alignedHeight = TEST_HEIGTH; variable
483 testDecodeDataProcess_->CopyDecodedImage(surBuf, alignedWidth, alignedHeight);
H A Dscale_convert_process_test.cpp369 srcImgInfo.alignedHeight = TEST_HEIGTH2;