mirror of
https://gitee.com/openharmony/multimedia_av_codec
synced 2024-10-07 22:23:44 +00:00
commit
af92c67005
@ -120,7 +120,7 @@ const std::map<AVCodecServiceErrCode, OH_AVErrCode> AVCSERRCODE_TO_OHAVCODECERRC
|
||||
{AVCS_ERR_EXTEND_START, AV_ERR_EXTEND_START},
|
||||
{AVCS_ERR_DECRYPT_FAILED, AV_ERR_DRM_DECRYPT_FAILED},
|
||||
{AVCS_ERR_CODEC_PARAM_INCORRECT, AV_ERR_INVALID_VAL},
|
||||
{AVCS_ERR_VIDEO_UNSUPPORT_COLOR_SPACE_CONVERSION, AV_ERR_VIDEO_UNSUPPORT_COLOR_SPACE_CONVERSION},
|
||||
{AVCS_ERR_VIDEO_UNSUPPORT_COLOR_SPACE_CONVERSION, AV_ERR_VIDEO_UNSUPPORTED_COLOR_SPACE_CONVERSION},
|
||||
};
|
||||
|
||||
const std::map<OH_AVErrCode, std::string> OHAVCODECERRCODE_INFOS = {
|
||||
|
@ -632,9 +632,9 @@ extern const char *OH_MD_KEY_START_TIME;
|
||||
* {@link OH_VideoDecoder_Configure}. If the color space conversion capability is supported and this key is configured,
|
||||
* the video decoder will automatically transcode an HDR Vivid video to an SDR video with color space BT709.
|
||||
* If color space conversion capability is not supported, {@link OH_VideoDecoder_Configure} returns
|
||||
* {@link AV_ERR_VIDEO_UNSUPPORT_COLOR_SPACE_CONVERSION}.
|
||||
* If the input video is not an HDR vivid video, an error {@link AV_ERR_VIDEO_UNSUPPORT_COLOR_SPACE_CONVERSION} will be
|
||||
* reported by callback function {@link OH_AVCodecOnError}.
|
||||
* {@link AV_ERR_VIDEO_UNSUPPORTED_COLOR_SPACE_CONVERSION}.
|
||||
* If the input video is not an HDR vivid video, an error {@link AV_ERR_VIDEO_UNSUPPORTED_COLOR_SPACE_CONVERSION} will
|
||||
* be reported by callback function {@link OH_AVCodecOnError}.
|
||||
*
|
||||
* @syscap SystemCapability.Multimedia.Media.CodecBase
|
||||
* @since 12
|
||||
|
@ -136,7 +136,7 @@ OH_AVErrCode OH_VideoDecoder_SetSurface(OH_AVCodec *codec, OHNativeWindow *windo
|
||||
* {@link AV_ERR_SERVICE_DIED}, avcodec service is died.
|
||||
* {@link AV_ERR_INVALID_STATE}, this interface was called in invalid state, must be called before Prepare.
|
||||
* {@link AV_ERR_UNSUPPORT}, unsupported features.
|
||||
* {@link AV_ERR_VIDEO_UNSUPPORT_COLOR_SPACE_CONVERSION}, video unsupported color space conversion.
|
||||
* {@link AV_ERR_VIDEO_UNSUPPORTED_COLOR_SPACE_CONVERSION}, video unsupported color space conversion.
|
||||
* @since 9
|
||||
* @version 1.0
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user