/cts/tests/tests/media/src/android/media/cts/ |
CamcorderProfileTest.java | 24 import android.media.CamcorderProfile; 35 private CamcorderProfile getWithOptionalId(int quality, int cameraId) { 37 return CamcorderProfile.get(quality); 39 return CamcorderProfile.get(cameraId, quality); 43 private void checkProfile(CamcorderProfile profile, List<Size> videoSizes) { 61 assertTrue(profile.quality == CamcorderProfile.QUALITY_LOW || 62 profile.quality == CamcorderProfile.QUALITY_HIGH || 63 profile.quality == CamcorderProfile.QUALITY_QCIF || 64 profile.quality == CamcorderProfile.QUALITY_CIF || 65 profile.quality == CamcorderProfile.QUALITY_480P | [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
VideoPlayerCapability.java | 19 import android.media.CamcorderProfile; 28 if (!CamcorderProfile.hasProfile(quality)) { 32 CamcorderProfile profile = CamcorderProfile.get(quality);
|
H264R1080pAacLongPlayerTest.java | 19 import android.media.CamcorderProfile; 30 super(CamcorderProfile.QUALITY_1080P, VideoEncoder.H264, AudioEncoder.AAC);
|
H264R1080pAacRepeatedPlayerTest.java | 19 import android.media.CamcorderProfile; 30 super(CamcorderProfile.QUALITY_1080P, VideoEncoder.H264, AudioEncoder.AAC);
|
H264R480pAacLongPlayerTest.java | 19 import android.media.CamcorderProfile; 30 super(CamcorderProfile.QUALITY_480P, VideoEncoder.H264, AudioEncoder.AAC);
|
H264R720pAacLongPlayerTest.java | 19 import android.media.CamcorderProfile; 31 super(CamcorderProfile.QUALITY_720P, VideoEncoder.H264, AudioEncoder.AAC);
|
NativeMediaTest.java | 20 import android.media.CamcorderProfile; 37 runPlayTest(CamcorderProfile.QUALITY_1080P); 41 runPlayTest(CamcorderProfile.QUALITY_720P); 45 runPlayTest(CamcorderProfile.QUALITY_480P); 91 if (!CamcorderProfile.hasProfile(quality)) { 94 CamcorderProfile profile = CamcorderProfile.get(quality);
|
H264R1080pAacShortPlayerTest.java | 19 import android.media.CamcorderProfile; 32 super(CamcorderProfile.QUALITY_1080P, VideoEncoder.H264, AudioEncoder.AAC);
|
H264R480pAacShortPlayerTest.java | 19 import android.media.CamcorderProfile; 41 super(CamcorderProfile.QUALITY_480P, VideoEncoder.H264, AudioEncoder.AAC);
|
H264R720pAacShortPlayerTest.java | 19 import android.media.CamcorderProfile; 42 super(CamcorderProfile.QUALITY_720P, VideoEncoder.H264, AudioEncoder.AAC);
|
NativeMediaActivity.java | 23 import android.media.CamcorderProfile; 53 /** 0 for default (480x360), other value can be CamcorderProfile.QUALITY_480P / 720P / 1080P */ 160 case CamcorderProfile.QUALITY_1080P: 163 case CamcorderProfile.QUALITY_720P: 166 case CamcorderProfile.QUALITY_480P:
|
MediaRecorderStressTest.java | 21 import android.media.CamcorderProfile; 60 private static int mProfileQuality = CamcorderProfile.QUALITY_HIGH; 61 private static CamcorderProfile profile = 62 CamcorderProfile.get(mCameraId, mProfileQuality); 86 CamcorderProfile profile = CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_HIGH);
|
/frameworks/av/include/media/ |
MediaProfiles.h | 263 struct CamcorderProfile { 264 CamcorderProfile() 272 CamcorderProfile(const CamcorderProfile& copy) { 281 ~CamcorderProfile() { 411 static CamcorderProfile* createCamcorderProfile( 427 static CamcorderProfile *createDefaultCamcorderQcifProfile(camcorder_quality quality); 428 static CamcorderProfile *createDefaultCamcorderCifProfile(camcorder_quality quality); 430 MediaProfiles::CamcorderProfile **lowProfile, 431 MediaProfiles::CamcorderProfile **lowSpecificProfile) [all...] |
/frameworks/base/media/java/android/media/ |
CamcorderProfile.java | 28 * CamcorderProfile contains two tracks: one for audio and one for video. 43 public class CamcorderProfile 212 public static CamcorderProfile get(int quality) { 263 public static CamcorderProfile get(int cameraId, int quality) { 307 private CamcorderProfile(int duration, 336 private static native final CamcorderProfile native_get_camcorder_profile(
|
MediaRecorder.java | 348 * Uses the settings from a CamcorderProfile object for recording. This method should 350 * If a time lapse CamcorderProfile is used, audio related source or recording 353 * @param profile the CamcorderProfile to use 354 * @see android.media.CamcorderProfile 356 public void setProfile(CamcorderProfile profile) { 362 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW && 363 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) { [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaRecorderStressTestRunner.java | 19 import android.media.CamcorderProfile; 35 public static int mProfileQuality = CamcorderProfile.QUALITY_HIGH; 36 public static CamcorderProfile profile = CamcorderProfile.get(mCameraId, mProfileQuality);
|
/packages/apps/Camera/src/com/android/camera/ |
CameraSettings.java | 29 import android.media.CamcorderProfile; 98 if (CamcorderProfile.hasProfile( 103 return Integer.toString(CamcorderProfile.QUALITY_HIGH); 355 // that of CamcorderProfile.java. 535 supported.add(Integer.toString(CamcorderProfile.QUALITY_HIGH)); 536 CamcorderProfile high = CamcorderProfile.get( 537 mCameraId, CamcorderProfile.QUALITY_HIGH); 538 CamcorderProfile low = CamcorderProfile.get [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
CameraVideoActivity.java | 25 import android.media.CamcorderProfile; 154 // Step 3: set a CamcorderProfile 155 mMediaRecorder.setProfile(CamcorderProfile.get(mCurrentCameraId, mCurrentVideoSizeId)); 445 CamcorderProfile.QUALITY_LOW, 446 CamcorderProfile.QUALITY_HIGH, 447 CamcorderProfile.QUALITY_QCIF, 448 CamcorderProfile.QUALITY_CIF, 449 CamcorderProfile.QUALITY_480P, 450 CamcorderProfile.QUALITY_720P, 451 CamcorderProfile.QUALITY_1080 [all...] |
/developers/samples/android/media/MediaRecorder/MediaRecorderSample/src/main/java/com/example/android/mediarecorder/ |
MainActivity.java | 22 import android.media.CamcorderProfile; 144 CamcorderProfile profile = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH); 173 // Step 3: Set a CamcorderProfile (requires API Level 8 or higher)
|
/development/samples/browseable/MediaRecorder/src/com.example.android.mediarecorder/ |
MainActivity.java | 22 import android.media.CamcorderProfile; 144 CamcorderProfile profile = CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH); 173 // Step 3: Set a CamcorderProfile (requires API Level 8 or higher)
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 31 import android.media.CamcorderProfile; 183 CamcorderProfile.hasProfile(CAMERA_ID, profile)); 184 CamcorderProfile camcorderProfile = CamcorderProfile.get(CAMERA_ID, profile); 185 videoEncoder = camcorderProfile.videoCodec; 186 audioEncoder = camcorderProfile.audioCodec; 187 frameRate = camcorderProfile.videoFrameRate; 188 videoWidth = camcorderProfile.videoFrameWidth; 189 videoHeight = camcorderProfile.videoFrameHeight [all...] |
/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 311 /*static*/ MediaProfiles::CamcorderProfile* 326 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; 573 CamcorderProfile *profile = 574 new CamcorderProfile( 664 /*static*/ MediaProfiles::CamcorderProfile* 671 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; 681 /*static*/ MediaProfiles::CamcorderProfile* 688 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraSettings.java | 26 import android.media.CamcorderProfile; 89 if (CamcorderProfile.hasProfile(cameraId, quality)) { 92 return Integer.toString(CamcorderProfile.QUALITY_HIGH); 299 // that of CamcorderProfile.java. 458 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P)) { 459 supported.add(Integer.toString(CamcorderProfile.QUALITY_1080P)); 461 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P)) { 462 supported.add(Integer.toString(CamcorderProfile.QUALITY_720P)) [all...] |
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 27 import android.media.CamcorderProfile; 130 private List<CamcorderProfile> mCamcorderProfiles; [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CameraSettings.java | 28 import android.media.CamcorderProfile; 359 // that of CamcorderProfile.java. 491 if (CamcorderProfile.hasProfile(cameraId, CamcorderProfile.QUALITY_1080P)) { 492 supported.add(Integer.toString(CamcorderProfile.QUALITY_1080P)); 494 if (CamcorderProfile.hasProfile(cameraId, CamcorderProfile.QUALITY_720P)) { 495 supported.add(Integer.toString(CamcorderProfile.QUALITY_720P)); 497 if (CamcorderProfile.hasProfile(cameraId, CamcorderProfile.QUALITY_480P)) [all...] |