Home
last modified time | relevance | path

Searched refs:planeCount (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/
H A D_o_h___native_buffer___planes.md22 | uint32_t [planeCount](#planecount) | 不同平面的数量。 |
29 ### planeCount subsection
32 uint32_t OH_NativeBuffer_Planes::planeCount
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_o_h___native_buffer___planes.md22 | uint32_t [planeCount](#planecount) | Number of planes.|
29 ### planeCount subsection
32 uint32_t OH_NativeBuffer_Planes::planeCount
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
H A Dcamera_buffer.cpp103 isFailed |= !HdfSbufWriteUint32(reqData, userBuffer.planeCount); in CameraQueryMemory()
122 if (!HdfSbufReadUint32(respData, &userBuffer.planeCount)) { in CameraQueryMemory()
146 buf.planeCount = planeCount_; in CameraAllocBuffer()
164 if (buf.planeCount > frameSpec->buffer_->GetSize()) { in CameraAllocBuffer()
268 buf.planeCount = planeCount_; in CameraReleaseBuffers()
/ohos5.0/foundation/graphic/graphic_surface/surface/src/
H A Dsurface_buffer_impl.cpp223 } else if (planesInfo_.planeCount != 0) { in GetImageLayout()
436 if (planesInfo_.planeCount != 0) { in GetPlanesInfo()
440 planesInfo_.planeCount = layout.planes.size(); in GetPlanesInfo()
441 for (uint32_t i = 0; i < planesInfo_.planeCount && i < 4; i++) { // 4: max plane count in GetPlanesInfo()
H A Dnative_buffer.cpp255 outPlanes->planeCount = planes->planeCount; in OH_NativeBuffer_MapPlanes()
256 for (uint32_t i = 0; i < planes->planeCount && i < 4; i++) { // 4: max plane count in OH_NativeBuffer_MapPlanes()
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/include/
H A Dbuffer_queue.h60 …int32_t (*queueSetup)(struct BufferQueue *queue, uint32_t *bufferCount, uint32_t *planeCount, uint…
/ohos5.0/drivers/hdf_core/framework/include/camera/
H A Dcamera_product.h219 uint32_t planeCount; member
/ohos5.0/drivers/hdf_core/framework/model/camera/buffer_manager/src/
H A Dcamera_buffer.c182 if (userBuffer->planeCount < buffer->numPlanes || userBuffer->planeCount > MAX_PLANES) { in CameraBufferCheckPlanes()
198 userBuffer->planeCount = buffer->numPlanes; in CameraBufferToUserBuffer()
/ohos5.0/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dnative_buffer.h364 uint32_t planeCount; ///< Number of distinct planes. member
/ohos5.0/drivers/hdf_core/framework/model/camera/device_impl/src/
H A Dcamera_stream.c598 isFailed |= !HdfSbufReadUint32(comDev->reqData, &userBuffer.planeCount); in CameraQueryMemory()
618 if (!HdfSbufWriteUint32(comDev->rspData, userBuffer.planeCount)) { in CameraQueryMemory()
663 isFailed |= !HdfSbufReadUint32(comDev->reqData, &userBuffer.planeCount); in CameraStreamQueue()
712 isFailed |= !HdfSbufReadUint32(comDev->reqData, &userBuffer.planeCount); in CameraStreamDeQueue()
/ohos5.0/base/web/webview/ohos_adapter/ohos_image_adapter/src/
H A Dohos_image_decoder_adapter_impl.cpp233 return nativeBufferPlanes->planeCount; in GetPlanesCount()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dnative_buffer_test.cpp765 ASSERT_EQ(outPlanes.planeCount, 3);
833 ASSERT_EQ(outPlanes.planeCount, 3);
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/
H A Dpicture.cpp200 if (retVal != OHOS::GSERROR_OK || planes == nullptr || planes->planeCount <= NUM_1) { in SetYuvDataInfo()
203 } else if (planes->planeCount >= NUM_2) { in SetYuvDataInfo()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/
H A Dheif_hw_decoder.cpp232 IF_TRUE_RETURN_VAL_WITH_MSG(outputPlanes->planeCount < PLANE_BUTT, false, in GetUvPlaneOffsetFromSurfaceBuffer()
233 "invalid yuv buffer, %{public}u", outputPlanes->planeCount); in GetUvPlaneOffsetFromSurfaceBuffer()
/ohos5.0/foundation/multimedia/av_codec/services/services/codec/ipc/
H A Dbuffer_converter.cpp435 uint32_t count = planes->planeCount; in GetSliceHeightFromSurfaceBuffer()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhdecoder.cpp597 for (uint32_t i = 0; i < planes->planeCount; i++) { in UpdateFormatFromSurfaceBuffer()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp352 if (retVal != OHOS::GSERROR_OK || planes == nullptr || planes->planeCount < NUM_2) { in HeapMemAlloc()
1225 } else if (planes->planeCount >= PLANE_COUNT_TWO) { in HeapMemAlloc()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp294 } else if (planes->planeCount >= NUM_2) { in CreateMemory()
H A Dpixel_map.cpp607 if (retVal != OHOS::GSERROR_OK || planes == nullptr || planes->planeCount < NUM_2) { in InitYuvDataOutInfo()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp102 if (param.planesInfo == nullptr || param.planesInfo->planeCount < PLANE_COUNT_TWO) { in FillFrameInfoForPixelConvert()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dimage_format_convert.cpp526 } else if (planes->planeCount >= NUM_2) { in CreateMemory()