1 /*
2  * Copyright (C) 2024 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef FRAMEWORKS_SERVICES_MEDIA_MTP_INCLUDE_PLAYBACK_FORMATS_H_
16 #define FRAMEWORKS_SERVICES_MEDIA_MTP_INCLUDE_PLAYBACK_FORMATS_H_
17 #include <stdint.h>
18 #include "mtp_constants.h"
19 
20 static const uint16_t PLAYBACK_FORMATS[] = {
21     MTP_FORMAT_UNDEFINED_CODE,
22     MTP_FORMAT_ASSOCIATION_CODE,
23     MTP_FORMAT_TEXT_CODE,
24     MTP_FORMAT_HTML_CODE,
25     MTP_FORMAT_WAV_CODE,
26     MTP_FORMAT_MP3_CODE,
27     MTP_FORMAT_MPEG_CODE,
28     MTP_FORMAT_EXIF_JPEG_CODE,
29     MTP_FORMAT_TIFF_EP_CODE,
30     MTP_FORMAT_BMP_CODE,
31     MTP_FORMAT_GIF_CODE,
32     MTP_FORMAT_JFIF_CODE,
33     MTP_FORMAT_PNG_CODE,
34     MTP_FORMAT_TIFF_CODE,
35     MTP_FORMAT_WMA_CODE,
36     MTP_FORMAT_OGG_CODE,
37     MTP_FORMAT_AAC_CODE,
38     MTP_FORMAT_MP4_CONTAINER_CODE,
39     MTP_FORMAT_MP2_CODE,
40     MTP_FORMAT_3GP_CONTAINER_CODE,
41     MTP_FORMAT_ABSTRACT_AUDIO_VIDEO_PLAYLIST_CODE,
42     MTP_FORMAT_WPL_PLAYLIST_CODE,
43     MTP_FORMAT_M3U_PLAYLIST_CODE,
44     MTP_FORMAT_PLS_PLAYLIST_CODE,
45     MTP_FORMAT_XML_DOCUMENT_CODE,
46     MTP_FORMAT_FLAC_CODE,
47     MTP_FORMAT_DNG_CODE,
48     MTP_FORMAT_HEIF_CODE,
49 };
50 
51 #endif  // FRAMEWORKS_SERVICES_MEDIA_MTP_INCLUDE_PLAYBACK_FORMATS_H_
52