OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_BASE_CONTAINER_NAMES_H_ | 5 #ifndef MEDIA_BASE_CONTAINER_NAMES_H_ |
6 #define MEDIA_BASE_CONTAINER_NAMES_H_ | 6 #define MEDIA_BASE_CONTAINER_NAMES_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "media/base/media_export.h" | 9 #include "media/base/media_export.h" |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 CONTAINER_MPEG2TS, // MPEG-2 Transport Stream | 49 CONTAINER_MPEG2TS, // MPEG-2 Transport Stream |
50 CONTAINER_MPEG4BS, // MPEG-4 Bitstream | 50 CONTAINER_MPEG4BS, // MPEG-4 Bitstream |
51 CONTAINER_OGG, // Ogg | 51 CONTAINER_OGG, // Ogg |
52 CONTAINER_RM, // RM (RealMedia) | 52 CONTAINER_RM, // RM (RealMedia) |
53 CONTAINER_SRT, // SRT (SubRip subtitle) | 53 CONTAINER_SRT, // SRT (SubRip subtitle) |
54 CONTAINER_SWF, // SWF (ShockWave Flash) | 54 CONTAINER_SWF, // SWF (ShockWave Flash) |
55 CONTAINER_VC1, // VC-1 | 55 CONTAINER_VC1, // VC-1 |
56 CONTAINER_WAV, // WAV / WAVE (Waveform Audio) | 56 CONTAINER_WAV, // WAV / WAVE (Waveform Audio) |
57 CONTAINER_WEBM, // Matroska / WebM | 57 CONTAINER_WEBM, // Matroska / WebM |
58 CONTAINER_WTV, // WTV (Windows Television) | 58 CONTAINER_WTV, // WTV (Windows Television) |
| 59 CONTAINER_DASH, // DASH (MPEG-DASH) |
| 60 CONTAINER_SMOOTHSTREAM, // SmoothStreaming |
59 CONTAINER_MAX // Must be last | 61 CONTAINER_MAX // Must be last |
60 }; | 62 }; |
61 | 63 |
62 // Determine the container type. | 64 // Determine the container type. |
63 MEDIA_EXPORT MediaContainerName DetermineContainer(const uint8* buffer, | 65 MEDIA_EXPORT MediaContainerName DetermineContainer(const uint8* buffer, |
64 int buffer_size); | 66 int buffer_size); |
65 | 67 |
66 } // namespace container_names | 68 } // namespace container_names |
67 | 69 |
68 } // namespace media | 70 } // namespace media |
69 | 71 |
70 #endif // MEDIA_BASE_CONTAINER_NAMES_H_ | 72 #endif // MEDIA_BASE_CONTAINER_NAMES_H_ |
OLD | NEW |