Lines Matching refs:format
19 * @brief Provides audio and video format.
65 * format from surface.
90 * Possible failure causes: 1. mimeType is nullptr. 2. new format is nullptr.
105 * Possible failure causes: 1. mimeType is nullptr. 2. new format is nullptr.
116 * @param format pointer to an OH_AVFormat instance
121 void OH_AVFormat_Destroy(struct OH_AVFormat *format);
129 * Possible failure causes: 1. input format is nullptr. 2. input format's magic error.
138 * @param format pointer to an OH_AVFormat instance
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);
151 * @param format pointer to an OH_AVFormat instance
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);
164 * @param format pointer to an OH_AVFormat instance
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);
177 * @param format pointer to an OH_AVFormat instance
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);
190 * @param format pointer to an OH_AVFormat instance
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);
204 * @param format pointer to an OH_AVFormat instance
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);
219 * @param format pointer to an OH_AVFormat instance
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);
233 * @param format pointer to an OH_AVFormat instance
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);
247 * @param format pointer to an OH_AVFormat instance
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);
261 * @param format pointer to an OH_AVFormat instance
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);
275 * @param format pointer to an OH_AVFormat instance
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);
290 * @param format pointer to an OH_AVFormat instance
292 * @param addr The life cycle is held by the format, with the destruction of the format,
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);
306 * @param format pointer to an OH_AVFormat instance
308 * Possible failure causes: 1. input format is nullptr. 2. malloc dump info nullptr.
312 const char *OH_AVFormat_DumpInfo(struct OH_AVFormat *format);