summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawin Vongmasa2017-05-18 06:07:59 -0500
committerPawin Vongmasa2017-05-19 03:11:59 -0500
commit644fd569bde81ef9a47b2a874c85b11a8fa18bc3 (patch)
tree6a13c351eb528f91c924ef70bc220e6e2c8383db /media/1.0/media_profiles.dtd
parent8d0e10f08d0163d5feeea0dbe6e25db05241a188 (diff)
downloadplatform-hardware-interfaces-644fd569bde81ef9a47b2a874c85b11a8fa18bc3.tar.gz
platform-hardware-interfaces-644fd569bde81ef9a47b2a874c85b11a8fa18bc3.tar.xz
platform-hardware-interfaces-644fd569bde81ef9a47b2a874c85b11a8fa18bc3.zip
Move media_profiles_V1_0.dtd to hardware/interfaces
Test: media_profiles_V1_0.dtd exists in system/etc Bug: 36430270 Merged-In: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67 Change-Id: I43d6eb68cc866a280cbe24fcf0f0af75a3c3ae67
Diffstat (limited to 'media/1.0/media_profiles.dtd')
-rw-r--r--media/1.0/media_profiles.dtd56
1 files changed, 56 insertions, 0 deletions
diff --git a/media/1.0/media_profiles.dtd b/media/1.0/media_profiles.dtd
new file mode 100644
index 00000000..40900e07
--- /dev/null
+++ b/media/1.0/media_profiles.dtd
@@ -0,0 +1,56 @@
1<!ELEMENT MediaSettings (CamcorderProfiles+,
2 EncoderOutputFileFormat+,
3 VideoEncoderCap+,
4 AudioEncoderCap+,
5 VideoDecoderCap,
6 AudioDecoderCap)>
7<!ELEMENT CamcorderProfiles (EncoderProfile|ImageEncoding|ImageDecoding|Camera)+>
8<!ATTLIST CamcorderProfiles cameraId (0|1) #REQUIRED>
9<!ELEMENT EncoderProfile (Video, Audio)>
10<!ATTLIST EncoderProfile quality CDATA #REQUIRED>
11<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
12<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
13<!ELEMENT Video EMPTY>
14<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
15<!ATTLIST Video bitRate CDATA #REQUIRED>
16<!ATTLIST Video width CDATA #REQUIRED>
17<!ATTLIST Video height CDATA #REQUIRED>
18<!ATTLIST Video frameRate CDATA #REQUIRED>
19<!ELEMENT Audio EMPTY>
20<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
21<!ATTLIST Audio bitRate CDATA #REQUIRED>
22<!ATTLIST Audio sampleRate CDATA #REQUIRED>
23<!ATTLIST Audio channels (1|2) #REQUIRED>
24<!ELEMENT ImageEncoding EMPTY>
25<!ATTLIST ImageEncoding quality (95|90|80|70|60|50|40) #REQUIRED>
26<!ELEMENT ImageDecoding EMPTY>
27<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
28<!ELEMENT Camera EMPTY>
29<!ELEMENT EncoderOutputFileFormat EMPTY>
30<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
31<!ELEMENT VideoEncoderCap EMPTY>
32<!ATTLIST VideoEncoderCap name (hevc|h264|h263|m4v|wmv) #REQUIRED>
33<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
34<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
35<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
36<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
37<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
38<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
39<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
40<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
41<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
42<!ELEMENT AudioEncoderCap EMPTY>
43<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma|heaac|aaceld) #REQUIRED>
44<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
45<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
46<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
47<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
48<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
49<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
50<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
51<!ELEMENT VideoDecoderCap EMPTY>
52<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
53<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
54<!ELEMENT AudioDecoderCap EMPTY>
55<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
56<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>