From: hsgwon Date: Fri, 3 Jul 2020 06:17:16 +0000 (+0900) Subject: [MediaTool] Add new audio/video mimetype (#1774) X-Git-Tag: accepted/tizen/unified/20210219.040944~603 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eac8b96e324a39fc7131f23273bb1b99fc4ddb92;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [MediaTool] Add new audio/video mimetype (#1774) * [MediaTool] Add new audio/video mimetype --- diff --git a/src/Tizen.Multimedia/MediaTool/MediaFormatAudioMimeType.cs b/src/Tizen.Multimedia/MediaTool/MediaFormatAudioMimeType.cs index d2c1579..eaa6fa2 100644 --- a/src/Tizen.Multimedia/MediaTool/MediaFormatAudioMimeType.cs +++ b/src/Tizen.Multimedia/MediaTool/MediaFormatAudioMimeType.cs @@ -93,6 +93,30 @@ namespace Tizen.Multimedia WmaLossless = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x10A3), /// + /// AC3. + /// + /// 8 + Ac3 = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x10B1), + + /// + /// Enhanced AC3. + /// + /// 8 + Eac3 = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x10B2), + + /// + /// Digital Theater Systems. + /// + /// 8 + Dts = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x10C1), + + /// + /// OPUS. + /// + /// 8 + Opus = (MediaFormatType.Audio | MediaFormatDataType.Encoded | 0x10D1), + + /// /// PCM. /// Pcm = (MediaFormatType.Audio | MediaFormatDataType.Raw | 0x1510), diff --git a/src/Tizen.Multimedia/MediaTool/MediaFormatVideoMimeType.cs b/src/Tizen.Multimedia/MediaTool/MediaFormatVideoMimeType.cs index 259ad56..9d9ef85 100644 --- a/src/Tizen.Multimedia/MediaTool/MediaFormatVideoMimeType.cs +++ b/src/Tizen.Multimedia/MediaTool/MediaFormatVideoMimeType.cs @@ -88,6 +88,12 @@ namespace Tizen.Multimedia Mpeg4Asp = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x2071), /// + /// AOMedia Video 1. + /// + /// 8 + Av1 = (MediaFormatType.Video | MediaFormatDataType.Encoded | 0x20E0), + + /// /// I420. /// I420 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x2510), @@ -135,26 +141,32 @@ namespace Tizen.Multimedia /// /// RGB565. /// - Rgb565 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25a0), + Rgb565 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25A0), /// /// RGB888. /// - Rgb888 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25b0), + Rgb888 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25B0), /// /// RGBA. /// - Rgba = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25c0), + Rgba = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25C0), /// /// ARGB. /// - Argb = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25d0), + Argb = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25D0), /// /// BGRA. /// - Bgra = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25e0), + Bgra = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25E0), + + /// + /// Y8. + /// + /// 8 + Y8 = (MediaFormatType.Video | MediaFormatDataType.Raw | 0x25F0), } }