1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/camera/GonkRecorderProfiles.def Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +/* 1.5 + * Copyright (C) 2012 Mozilla Foundation 1.6 + * 1.7 + * Licensed under the Apache License, Version 2.0 (the "License"); 1.8 + * you may not use this file except in compliance with the License. 1.9 + * You may obtain a copy of the License at 1.10 + * 1.11 + * http://www.apache.org/licenses/LICENSE-2.0 1.12 + * 1.13 + * Unless required by applicable law or agreed to in writing, software 1.14 + * distributed under the License is distributed on an "AS IS" BASIS, 1.15 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1.16 + * See the License for the specific language governing permissions and 1.17 + * limitations under the License. 1.18 + */ 1.19 + 1.20 +/** 1.21 + * DO NOT PUT RE-INCLUSION GUARD MACROS AROUND THIS HEADER!!! 1.22 + */ 1.23 + 1.24 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_LOW, "low") 1.25 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_HIGH, "high") 1.26 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_QCIF, "qcif") 1.27 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_CIF, "cif") 1.28 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_480P, "480p") 1.29 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_720P, "720p") 1.30 +DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_1080P, "1080p") 1.31 +/** 1.32 + * This profile is disabled because the CAMCORDER_QUALITY_QVGA value 1.33 + * conflicts across AOSP and vendor-specific versions of MediaProfiles.h. 1.34 + * 1.35 + * See bug 804359. 1.36 + */ 1.37 +// DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_QVGA, "qvga") 1.38 +/** 1.39 + * The following profiles do not appear in the AOSP version of 1.40 + * MediaProfiles.h and are disabled. 1.41 + * 1.42 + * See bug 804359. 1.43 + */ 1.44 +// DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_FWVGA, "fwvga") 1.45 +// DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_WVGA, "wvga") 1.46 +// DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_VGA, "vga") 1.47 +// DEF_GONK_RECORDER_PROFILE(CAMCORDER_QUALITY_WQVGA, "wqvga") 1.48 +#undef DEF_GONK_RECORDER_PROFILE