pub unsafe extern "C" fn OH_PixelMap_GetBytesNumberPerRow(
native: *const NativePixelMap,
num: *mut i32,
) -> i32Expand description
@brief Obtains the number of bytes per row of a PixelMap object.
@param native Indicates the pointer to a NativePixelMap object. @param num Indicates the pointer to the number of bytes per row of the PixelMap object. @return Returns {@link IRNdkErrCode} IMAGE_RESULT_SUCCESS - if the operation is successful. returns {@link IRNdkErrCode} IMAGE_RESULT_BAD_PARAMETER - if bad parameter. returns {@link IRNdkErrCode} IMAGE_RESULT_JNI_ENV_ABNORMAL - if Abnormal JNI environment. returns {@link IRNdkErrCode} IMAGE_RESULT_INVALID_PARAMETER - if invalid parameter. returns {@link IRNdkErrCode} IMAGE_RESULT_DATA_ABNORMAL - if image input data error. returns {@link IRNdkErrCode} IMAGE_RESULT_INDEX_INVALID - if invalid index. @see GetBytesNumberPerRow @since 10 @version 1.0