Lines Matching refs:key

139  * @param key key to write data
142 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
146 bool OH_AVFormat_SetIntValue(struct OH_AVFormat *format, const char *key, int32_t value);
152 * @param key key to write data
155 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
159 bool OH_AVFormat_SetLongValue(struct OH_AVFormat *format, const char *key, int64_t value);
165 * @param key key to write data
168 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
172 bool OH_AVFormat_SetFloatValue(struct OH_AVFormat *format, const char *key, float value);
178 * @param key key to write data
181 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
185 bool OH_AVFormat_SetDoubleValue(struct OH_AVFormat *format, const char *key, double value);
191 * @param key key to write data
194 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
199 bool OH_AVFormat_SetStringValue(struct OH_AVFormat *format, const char *key, const char *value);
205 * @param key key to write data
209 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
214 bool OH_AVFormat_SetBuffer(struct OH_AVFormat *format, const char *key, const uint8_t *addr, size_t size);
220 * @param key read key value
223 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
228 bool OH_AVFormat_GetIntValue(struct OH_AVFormat *format, const char *key, int32_t *out);
234 * @param key read key value
237 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
242 bool OH_AVFormat_GetLongValue(struct OH_AVFormat *format, const char *key, int64_t *out);
248 * @param key read key value
251 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
256 bool OH_AVFormat_GetFloatValue(struct OH_AVFormat *format, const char *key, float *out);
262 * @param key read key value
265 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
270 bool OH_AVFormat_GetDoubleValue(struct OH_AVFormat *format, const char *key, double *out);
276 * @param key read key value
280 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
285 bool OH_AVFormat_GetStringValue(struct OH_AVFormat *format, const char *key, const char **out);
291 * @param key Key value for reading and writing data
296 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error. 3. key is nullptr.
301 bool OH_AVFormat_GetBuffer(struct OH_AVFormat *format, const char *key, uint8_t **addr, size_t *size);
307 * @return Returns a string consisting of key and data for success, nullptr for failure