Home
last modified time | relevance | path

Searched refs:buffer (Results 1 - 25 of 56) sorted by relevance

123

/interface/sdk_c/multimedia/media_foundation/
H A Dnative_avbuffer.h19 * @brief Provides audio and video buffer.
57 * @param capacity the buffer's capacity, bytes
60 * 4. created buffer memory is nullptr. 5. created buffer memory's addr is nullptr. 6. failed to new OH_AVBuffer.
66 * @brief Clear the internal resources of the buffer and destroy the buffer instance.
68 * @param buffer Encapsulate OH_AVBuffer structure instance pointer
71 * {@link AV_ERR_INVALID_VAL} if input buffer is nullptr or buffer's magic error.
72 * {@link AV_ERR_OPERATE_NOT_PERMIT} if input buffer i
[all...]
/interface/sdk_c/graphic/graphic_2d/native_buffer/
H A Dnative_buffer.h23 * @brief Provides the native buffer capability.
33 * @brief Defines the functions for obtaining and using a native buffer.
54 * @brief Indicates the usage of a native buffer.
61 NATIVEBUFFER_USAGE_CPU_READ = (1ULL << 0), /// < CPU read buffer */
63 NATIVEBUFFER_USAGE_MEM_DMA = (1ULL << 3), /// < Direct memory access (DMA) buffer */
71 * @brief Indicates the format of a native buffer.
205 * @brief Indicates the transform type of a native buffer.
227 * @brief Indicates the color gamut of a native buffer.
259 int32_t usage; ///< Combination of buffer usage
311 * @param buffer Indicate
[all...]
/interface/sdk_c/arkui/ace_engine/native/
H A Dnative_node_napi.h125 * @param buffer The buffer to which NavigationID writes to the memory,
127 * @param bufferSize The buffer size
128 * @param writeLength Indicates the string length actually written to the buffer
130 * Indicates the minimum buffer size that can accommodate the target
134 * {@link ARKUI_ERROR_CODE_PARAM_INVALID} if the node, buffer or writeLength is null.
137 * {@link ARKUI_ERROR_CODE_BUFFER_SIZE_ERROR} If the buffer size is less than the minimum buffer size.
141 ArkUI_NodeHandle node, char* buffer, int32_t bufferSize, int32_t* writeLength);
147 * @param buffer Th
[all...]
H A Dstyled_string.h150 * @param buffer Byte array to be deserialized.
159 uint8_t* buffer, size_t bufferSize, ArkUI_StyledString_Descriptor* descriptor);
164 * @param buffer Byte array where the serialized data will be stored.
175 uint8_t* buffer, size_t bufferSize, ArkUI_StyledString_Descriptor* descriptor, size_t* resultSize);
/interface/sdk_c/graphic/graphic_2d/native_window/
H A Dexternal_window.h66 * @brief native window buffer.
106 * set native window buffer geometry,
112 * get native window buffer geometry,
118 * get native window buffer format,
124 * set native window buffer format,
130 * get native window buffer usage,
136 * set native window buffer usage,
142 * set native window buffer stride,
148 * get native window buffer stride,
154 * set native window buffer swa
[all...]
/interface/sdk_c/tee/include/
H A Dtee_mem_mgmt_api.h72 /* The buffer is 8-byte aligned and initialized to zeros. */
91 * @brief Fills <b>x</b> into the first <b>size</b> bytes of the buffer.
93 * @param buffer Indicates the pointer to the buffer.
100 void TEE_MemFill(void *buffer, uint8_t x, size_t size);
103 * @brief Fills <b>x</b> into the first <b>size</b> bytes of the buffer.
105 * @param buffer Indicates the pointer to the buffer.
112 void TEE_MemFill(void *buffer, uint32_t x, size_t size);
118 * @param dest Indicates the pointer to the buffer tha
[all...]
H A Dtee_client_type.h94 void *buffer; member
125 void *buffer; member
138 * @brief Defines a pointer to a temporary buffer.
144 void *buffer; member
H A Dtee_object_api.h113 * @brief Check whether the attribute is a buffer.
141 * @brief Obtains a buffer attribute from the <b>TEE_Attribute</b> struct of the object pointed
150 * @param buffer Indicates the pointer to the buffer that stores the attribute obtained.
156 * @return Returns <b>TEE_ERROR_SHORT_BUFFER</b> if the buffer is too small to store the content obtained.
161 TEE_Result TEE_GetObjectBufferAttribute(TEE_ObjectHandle object, uint32_t attributeID, void *buffer, size_t *size);
260 * @brief Initializes the <b>TEE_Attribute</b> of the buffer type.
266 * @param buffer Indicates the pointer to the buffer that stores the content to be allocated.
272 void TEE_InitRefAttribute(TEE_Attribute *attr, uint32_t attributeID, void *buffer, size_
[all...]
H A Dtee_trusted_storage_api.h208 * @brief Reads data from the data stream associated with an object into the buffer.
213 * @param buffer Indicates the pointer to the buffer used to store the data read.
223 TEE_Result TEE_ReadObjectData(TEE_ObjectHandle ojbect, void *buffer, size_t size, uint32_t *count);
226 * @brief Writes bytes from the buffer to the data stream associated with an object.
231 * @param buffer Indicates the pointer to the buffer that stores the data to be written.
241 TEE_Result TEE_WriteObjectData(TEE_ObjectHandle ojbect, const void *buffer, size_t size);
376 * @param object_id Indicates the pointer to the buffer used to store the obtained <b>objectID</b>.
H A Dtee_internal_se_api.h94 uint8_t *buffer; member
178 uint8_t *buffer; member
235 * Returns {@code TEE_ERROR_SHORT_BUFFER} if the provided buffer is too small to store the readers handle.
308 * Returns {@code TEE_ERROR_SHORT_BUFFER} if the provided buffer is too small to store the ATR.
420 * Returns {@code TEE_ERROR_SHORT_BUFFER} if the provided buffer is too small to store the response.
H A Dtee_hw_ext_api.h51 * @param device_unique_id Indicates the pointer to the buffer for storing the device ID.
52 * @param length Indicates the pointer to the buffer length.
67 uint64_t buffer; member
/interface/sdk-js/build-tools/api_check_plugin/
H A Dentry.js26 let buffer = new Buffer.from('');
33 buffer = execSync('cd interface/sdk-js/build-tools/api_diff && npm install && cd ../api_check_plugin && npm install', {
50 buffer = execSync(`cd interface/sdk-js/build-tools/dts_parser/package && node ./JS_API_CHECK.js -N checkOnline --path ${filePath} --checker ${ruleInfo} --prId ${prId} --output ${resultPath} --excel false`, {
75 newToolResult.push(`buffer : ${buffer.toString()}`);
/interface/sdk_c/AbilityKit/ability_runtime/
H A Dapplication_context.h52 * @param buffer A pointer to a buffer that receives the cache directory of the application.
53 * @param bufferSize The length of the buffer.
54 * @param writeLength The string length actually written to the buffer,
58 * {@link ABILITY_RUNTIME_ERROR_CODE_PARAM_INVALID} if the buffer or writeLength is null,
59 * or the buffer size is less than the minimum buffer size.
64 char* buffer, int32_t bufferSize, int32_t* writeLength);
81 * @param buffer A pointer to a buffer tha
[all...]
/interface/sdk_c/third_party/openSLES/api/1.0.1/
H A DOpenSLES_OpenHarmony.h52 const void *buffer,
64 SLuint8** buffer,
/interface/sdk_c/distributeddatamgr/udmf/include/
H A Duds.h93 * @brief Describes the unified data struct of array buffer.
631 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
638 int OH_UdsArrayBuffer_Destroy(OH_UdsArrayBuffer* buffer);
641 * @brief Set array buffer data to the {@link OH_UdsArrayBuffer}.
643 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
644 * @param data Represents the array buffer data.
652 int OH_UdsArrayBuffer_SetData(OH_UdsArrayBuffer* buffer, unsigned char* data, unsigned int len);
655 * @brief Get array buffer data from the {@link OH_UdsArrayBuffer}.
657 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
658 * @param data Represents a pointer to array buffer dat
[all...]
H A Dudmf.h362 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
369 int OH_UdmfRecord_AddArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer);
503 * @param buffer Represents a pointer to an instance of {@link OH_UdsArrayBuffer}.
510 int OH_UdmfRecord_GetArrayBuffer(OH_UdmfRecord* record, const char* type, OH_UdsArrayBuffer* buffer);
/interface/sdk_c/third_party/vulkan-headers/vulkan/
H A Dvulkan_ohos.h165 struct OH_NativeBuffer* buffer; member
180 typedef VkResult (VKAPI_PTR *PFN_vkGetNativeBufferPropertiesOHOS)(VkDevice device, const struct OH_NativeBuffer* buffer, VkNativeBufferPropertiesOHOS* pProperties);
186 const struct OH_NativeBuffer* buffer,
/interface/sdk_c/third_party/egl/EGL/
H A Degl.h174 typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDTEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
175 typedef EGLBoolean (EGLAPIENTRYP PFNEGLRELEASETEXIMAGEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
179 EGLAPI EGLBoolean EGLAPIENTRY eglBindTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
180 EGLAPI EGLBoolean EGLAPIENTRY eglReleaseTexImage (EGLDisplay dpy, EGLSurface surface, EGLint buffer);
221 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC) (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
227 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferFromClientBuffer (EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list);
318 typedef EGLImage (EGLAPIENTRYP PFNEGLCREATEIMAGEPROC) (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
329 EGLAPI EGLImage EGLAPIENTRY eglCreateImage (EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLAttrib *attrib_list);
/interface/sdk_c/web/webview/interfaces/native/
H A Darkweb_scheme_handler.h255 * @param buffer The buffer to receive data.
256 * @param bytesRead Callback after OH_ArkWebHttpBodyStream_Read. bytesRead greater than 0 means that the buffer is
257 * filled with data of bytesRead size. Caller can read from the buffer, and if
264 uint8_t* buffer,
453 * @brief Read the http body to the buffer.
455 * The buffer must be larger than the bufLen. We will be reading data from a worker thread to the buffer,\n
456 * so should not use the buffer in other threads before the callback to avoid concurrency issues.\n
459 * @param buffer Th
[all...]
H A Darkweb_type.h51 /** A buffer that contains data. */
52 const uint8_t* buffer; member
53 /** The size of the buffer. */
67 /** The data carried in the ArkWeb_WebMessage is buffer(uint8_t). */
128 const uint8_t* buffer; member
/interface/sdk_c/multimedia/audio_framework/common/
H A Dnative_audiostream_base.h526 void* buffer,
579 void* buffer,
703 * value. The return result of this function indicates whether the data filled in the buffer is valid or invalid. If
/interface/sdk_c/BasicServicesKit/
H A Dos_account.h46 * @param buffer The name character array which should have space for the name and the terminating character ('\0').
50 * {@link OS_ACCOUNT_ERR_INVALID_PARAMETER} Indicates the <i>buffer</i> is NULL pointer or the size of the name,
55 OsAccount_ErrCode OH_OsAccount_GetName(char *buffer, size_t buffer_size);
/interface/sdk_c/ai/neural_network_runtime/
H A Dneural_network_core.h79 * This method conflicts with the way of passing an online built model or an offline model file buffer,
97 * @brief Creates a compilation instance based on an offline model file buffer.
105 * @param modelBuffer Offline model file buffer.
106 * @param modelSize Offfline model buffer size.
132 * @brief Exports the cache to a given buffer.
140 * @param buffer Pointer to the given buffer.
144 * {@link OH_NN_SUCCESS} export cache to buffer successfully.\n
145 * {@link OH_NN_INVALID_PARAMETER} fail to export cache to buffer. The possible reason for failure
146 * is that the <b>compilation</b>, <b>buffer</
[all...]
/interface/sdk_c/multimedia/av_codec/
H A Dnative_avcodec_base.h83 * @param index The index corresponding to the newly available input buffer.
84 * @param data New available input buffer.
117 * @param index The index corresponding to the newly available input buffer.
118 * @param buffer New available input buffer.
122 typedef void (*OH_AVCodecOnNeedInputBuffer)(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData);
131 * @param buffer Buffer containing the new output buffer.
135 typedef void (*OH_AVCodecOnNewOutputBuffer)(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData);
166 * @param onNeedInputBuffer Monitoring codec requires input buffer, refe
[all...]
/interface/sdk_c/multimedia/image_framework/include/
H A Dimage_source_mdk.h251 /** Image source pixel format, used to describe YUV buffer usually. */
320 /** Pointer to the image source buffer. Only a formatted packet buffer or Base64 buffer is accepted. */
321 uint8_t* buffer = nullptr; member
322 /** Size of the image source buffer. */
394 /** Image source update data buffer.*/
395 uint8_t* buffer = nullptr; member
396 /** Image source update data buffer size.*/
398 /** Image source offset of update data buffer
[all...]

Completed in 37 milliseconds

123