Searched refs:videoEncoder (Results 1 – 4 of 4) sorted by relevance
78 public static String getVideoCodecName(int videoEncoder) { in getVideoCodecName() argument79 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()
65 String videoEncoder = (String) icicle.get("video_encoder"); in onCreate() local77 if (videoEncoder != null) { in onCreate()78 mVideoEncoder = Integer.parseInt(videoEncoder); in onCreate()
306 int videoEncoder = videoCap.mCodec; in recordVideoWithPara() local327 … 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()
175 int videoEncoder; in recordVideoAndPlayback() local186 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()