diff options
author | James Dong <jdong@google.com> | 2010-07-01 15:02:14 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-07-07 12:11:53 -0700 |
commit | 145bfe5eb3e08c9689c28f6bf3287a979438b04b (patch) | |
tree | ba140d50bbed7d0f8cb76fb3bd7920ecc5c4a6ce /media/libmediaplayerservice/StagefrightRecorder.h | |
parent | 91952e5221d2151e10738d7228575c4afe444f5e (diff) | |
download | frameworks_av-145bfe5eb3e08c9689c28f6bf3287a979438b04b.zip frameworks_av-145bfe5eb3e08c9689c28f6bf3287a979438b04b.tar.gz frameworks_av-145bfe5eb3e08c9689c28f6bf3287a979438b04b.tar.bz2 |
Allow application to set two more encoding paramters: video profile and level
Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.h')
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h index cb05571..85d2557 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; @@ -108,6 +110,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); |