Home
last modified time | relevance | path

Searched refs:videoEncoder (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java78 public static String getVideoCodecName(int videoEncoder) { in getVideoCodecName() argument
79 if (videoEncoder != MediaRecorder.VideoEncoder.H263 && in getVideoCodecName()
80 videoEncoder != MediaRecorder.VideoEncoder.H264 && in getVideoCodecName()
81 videoEncoder != MediaRecorder.VideoEncoder.MPEG_4_SP) { in getVideoCodecName()
82 throw new IllegalArgumentException("Unsupported video encoder " + videoEncoder); in getVideoCodecName()
84 return videoEncoderMap.get(videoEncoder); in getVideoCodecName()
DMediaRecorderStressTestRunner.java65 String videoEncoder = (String) icicle.get("video_encoder"); in onCreate() local
77 if (videoEncoder != null) { in onCreate()
78 mVideoEncoder = Integer.parseInt(videoEncoder); in onCreate()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java306 int videoEncoder = videoCap.mCodec; in recordVideoWithPara() local
327 … String filename = ("/sdcard/" + videoEncoder + "_" + audioEncoder + "_" + highQuality + ".3gp"); in recordVideoWithPara()
329 Log.v(TAG, "video encoder : " + videoEncoder); in recordVideoWithPara()
332 Log.v(TAG, "encoder : " + MediaProfileReader.getVideoCodecName(videoEncoder)); in recordVideoWithPara()
353 mMediaRecorder.setVideoEncoder(videoEncoder); in recordVideoWithPara()
511 for (VideoEncoderCap videoEncoder: videoEncoders) { in testDeviceSpecificCodec()
514 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, true); in testDeviceSpecificCodec()
516 recordSuccess = recordVideoWithPara(videoEncoder, audioEncoder, false); in testDeviceSpecificCodec()
520 … Log.v(TAG, "Encoder = " + videoEncoder.mCodec + "Audio Encoder = " + audioEncoder.mCodec); in testDeviceSpecificCodec()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java175 int videoEncoder; in recordVideoAndPlayback() local
186 videoEncoder = camcorderProfile.videoCodec; in recordVideoAndPlayback()
193 videoEncoder = MediaRecorderStressTestRunner.mVideoEncoder; in recordVideoAndPlayback()
222 Log.v(TAG, "video encoder : " + videoEncoder); in recordVideoAndPlayback()
237 mRecorder.setVideoEncoder(videoEncoder); in recordVideoAndPlayback()