mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-24 07:09:59 +00:00
pixelmap add tosdr capi
Signed-off-by: xiaobjy <zhongjiyuan1@huawei.com> Change-Id: I59a7f6bf561029936e6b410df18a2ce294301ab2
This commit is contained in:
parent
6324776f59
commit
faf63e1d13
@ -334,6 +334,17 @@ Image_ErrorCode OH_PixelmapNative_ReadPixels(OH_PixelmapNative *pixelmap, uint8_
|
||||
*/
|
||||
Image_ErrorCode OH_PixelmapNative_WritePixels(OH_PixelmapNative *pixelmap, uint8_t *source, size_t bufferSize);
|
||||
|
||||
/**
|
||||
* @brief Convert {@link OH_PixelmapNative} to standard dynamic range.
|
||||
*
|
||||
* @param pixelmap The Pixelmap pointer will be operated. Pointer connot be null.
|
||||
* @return Returns {@link Image_ErrorCode} IMAGE_SUCCESS - The operation is successful.
|
||||
* returns {@link Image_ErrorCode} IMAGE_BAD_PARAMETER - Parameter error.Possible causes:Parameter verification failed.
|
||||
* returns {@link Image_ErrorCode} IMAGE_UNSUPPORTED_OPERATION - Unsupported operation.Pixelmap can't be converted.
|
||||
* @since 12
|
||||
*/
|
||||
Image_ErrorCode OH_PixelmapNative_ToSdr(OH_PixelmapNative *pixelmap);
|
||||
|
||||
/**
|
||||
* @brief Obtains pixel map information of this image.
|
||||
*
|
||||
|
@ -79,6 +79,10 @@
|
||||
"first_introduced": "12",
|
||||
"name": "OH_PixelmapNative_WritePixels"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_PixelmapNative_ToSdr"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_PixelmapNative_GetImageInfo"
|
||||
|
Loading…
Reference in New Issue
Block a user