增加信息解析key

Signed-off-by: yangjunhui10 <yangjunhui10@huawei.com>
This commit is contained in:
yangjunhui10 2024-05-20 03:32:24 +00:00
parent 4ff7d5b3a2
commit 9ebfde982c
2 changed files with 44 additions and 0 deletions

View File

@ -347,6 +347,22 @@
"first_introduced": "12",
"name": "OH_MD_KEY_VIDEO_ENCODER_QP_MIN"
},
{
"first_introduced": "12",
"name": "OH_MD_KEY_DECODING_TIMESTAMP"
},
{
"first_introduced": "12",
"name": "OH_MD_KEY_BUFFER_DURATION"
},
{
"first_introduced": "12",
"name": "OH_MD_KEY_VIDEO_SAR"
},
{
"first_introduced": "12",
"name": "OH_MD_KEY_START_TIME"
},
{
"first_introduced": "10",
"name": "OH_AVCodec_GetCapability"

View File

@ -536,6 +536,34 @@ extern const char *OH_MD_KEY_VIDEO_ENCODER_QP_MAX;
* @since 12
*/
extern const char *OH_MD_KEY_VIDEO_ENCODER_QP_MIN;
/**
* @brief Key for decoding timestamp of the buffer in microseconds, value type is int64_t.
*
* @syscap SystemCapability.Multimedia.Media.CodecBase
* @since 12
*/
extern const char *OH_MD_KEY_DECODING_TIMESTAMP;
/**
* @brief Key for duration of the buffer in microseconds, value type is int64_t.
*
* @syscap SystemCapability.Multimedia.Media.CodecBase
* @since 12
*/
extern const char *OH_MD_KEY_BUFFER_DURATION;
/**
* @brief Key for sample aspect ratio, value type is double.
*
* @syscap SystemCapability.Multimedia.Media.CodecBase
* @since 12
*/
extern const char *OH_MD_KEY_VIDEO_SAR;
/**
* @brief Key for start time of file, value type is int64_t.
*
* @syscap SystemCapability.Multimedia.Media.CodecBase
* @since 12
*/
extern const char *OH_MD_KEY_START_TIME;
/**
* @brief Media type.