summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/StagefrightRecorder.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-07-07 15:00:28 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-07-07 15:00:28 -0700
commitbf21177ccede8f01c0da0bd53392a289a5a84462 (patch)
tree2c949bac7ef2da54093fa8a47c66fd7c48921bbd /media/libmediaplayerservice/StagefrightRecorder.h
parent5bb4809a27ae962be32c67b705671cdada03be00 (diff)
parentc61334edce8bd000543fa2c8172b305a887b9124 (diff)
downloadframeworks_av-bf21177ccede8f01c0da0bd53392a289a5a84462.zip
frameworks_av-bf21177ccede8f01c0da0bd53392a289a5a84462.tar.gz
frameworks_av-bf21177ccede8f01c0da0bd53392a289a5a84462.tar.bz2
am b3598832: am c4243342: Merge "Allow application to set two more encoding paramters: video profile and level" into gingerbread
Merge commit 'b35988329ac1a574898db9226039e37e352c57a8' * commit 'b35988329ac1a574898db9226039e37e352c57a8': Allow application to set two more encoding paramters: video profile and level
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.h')
-rw-r--r--media/libmediaplayerservice/StagefrightRecorder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h
index dcb4747..2090666 100644
--- a/media/libmediaplayerservice/StagefrightRecorder.h
+++ b/media/libmediaplayerservice/StagefrightRecorder.h
@@ -82,6 +82,8 @@ private:
int32_t mInterleaveDurationUs;
int32_t mIFramesInterval;
int32_t mCameraId;
+ int32_t mVideoEncoderProfile;
+ int32_t mVideoEncoderLevel;
int64_t mMaxFileSizeBytes;
int64_t mMaxFileDurationUs;
int32_t mTrackEveryNumberOfFrames;
@@ -110,6 +112,8 @@ private:
status_t setParamAudioSamplingRate(int32_t sampleRate);
status_t setParamVideoEncodingBitRate(int32_t bitRate);
status_t setParamVideoIFramesInterval(int32_t interval);
+ status_t setParamVideoEncoderProfile(int32_t profile);
+ status_t setParamVideoEncoderLevel(int32_t level);
status_t setParamVideoCameraId(int32_t cameraId);
status_t setParamTrackTimeStatus(int64_t timeDurationUs);
status_t setParamTrackFrameStatus(int32_t nFrames);