Enable 720p, 1080p recording on c1 targets.

Adds an overlay for the Camera resource needsSamsungCamMode, also
adjusts media_profiles.xml to include 1080p@30 as HD and 720p@30 as
High.

Change-Id: I84e439a25873942dbceb1e1ce36a550c74fcb55a
This commit is contained in:
Andrew Mahone 2011-07-29 14:23:10 -04:00
parent b9931b370e
commit d1c92e6230
2 changed files with 29 additions and 6 deletions

View File

@ -81,9 +81,9 @@
<EncoderProfile quality="hd" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="1000000"
width="720"
height="480"
bitRate="2000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
@ -94,9 +94,9 @@
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="512000"
width="320"
height="240"
bitRate="900000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2011, The CyanogenMod Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources>
<!-- Samsung Camcorder Mode -->
<bool name="needsSamsungCamMode">true</bool>
</resources>