Searched refs:mVideoHeight (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DVideoView.java100 private int mVideoHeight; field in class:VideoView
141 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
142 if (mVideoWidth > 0 && mVideoHeight > 0) {
155 if ( mVideoWidth * height < width * mVideoHeight ) {
157 width = height * mVideoWidth / mVideoHeight;
158 } else if ( mVideoWidth * height > width * mVideoHeight ) {
160 height = width * mVideoHeight / mVideoWidth;
165 height = width * mVideoHeight / mVideoWidth;
173 width = height * mVideoWidth / mVideoHeight;
181 height = mVideoHeight;
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp85 mVideoHeight(144),
130 mEncParams->encHeight[0] = mVideoHeight;
154 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1);
159 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) {
161 mVideoWidth, mVideoHeight);
235 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1;
260 def.format.video.nFrameHeight = mVideoHeight;
262 def.format.video.nSliceHeight = mVideoHeight;
291 def.format.video.nFrameHeight = mVideoHeight;
293 def.format.video.nSliceHeight = mVideoHeight;
[all...]
H A DSoftMPEG4Encoder.h71 int32_t mVideoHeight; member in struct:android::SoftMPEG4Encoder
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java42 public static int mVideoHeight = profile.videoFrameHeight; field in class:MediaRecorderStressTestRunner
90 mVideoHeight = Integer.parseInt(videoHeight);
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp177 mVideoHeight(144),
261 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1);
266 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) {
268 mVideoWidth, mVideoHeight);
273 mEncParams->height = mVideoHeight;
279 (((mVideoHeight + 15) >> 4) << 4)) >> 8;
375 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1;
398 def.format.video.nFrameHeight = mVideoHeight;
400 def.format.video.nSliceHeight = mVideoHeight;
421 def.format.video.nFrameHeight = mVideoHeight;
[all...]
H A DSoftAVCEncoder.h81 int32_t mVideoHeight; member in struct:android::SoftAVCEncoder
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DMediaPlayerPerformance.java92 private int mVideoHeight; field in class:MediaPlayerPerformance
111 mVideoHeight = mCamcorderProfile.videoFrameHeight;
112 Log.v(TAG, "height = " + mVideoHeight + " width= " + mVideoWidth);
430 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
451 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
473 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h62 int32_t mVideoHeight; member in class:android::CameraSourceTimeLapse
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp193 mVideoHeight = height;
1167 videoFrameHeight == mVideoHeight &&
1258 if (minFrameHeight != -1 && mVideoHeight < minFrameHeight) {
1260 " and will be set to (%d)", mVideoHeight, minFrameHeight);
1261 mVideoHeight = minFrameHeight;
1262 } else if (maxFrameHeight != -1 && mVideoHeight > maxFrameHeight) {
1264 " and will be set to (%d)", mVideoHeight, maxFrameHeight);
1265 mVideoHeight = maxFrameHeight;
1301 mSurfaceMediaSource = new SurfaceMediaSource(mVideoWidth, mVideoHeight);
1333 videoSize.height = mVideoHeight;
[all...]
H A DStagefrightRecorder.h88 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp58 mVideoWidth = mVideoHeight = 0;
94 mVideoWidth = mVideoHeight = 0;
375 *h = mVideoHeight;
754 mVideoHeight = ext2;
/frameworks/av/include/media/
H A Dmediaplayer.h274 int mVideoHeight; member in class:android::MediaPlayer
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.h198 int32_t mVideoWidth, mVideoHeight; member in struct:android::PreviewPlayer
H A DPreviewPlayer.cpp256 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight,
328 mVideoWidth = mVideoHeight = -1;
690 if (mVideoWidth < 0 || mVideoHeight < 0) {
695 *height = mVideoHeight;
1459 mVideoHeight = height;
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp86 mVideoHeight = videoSize.height;
H A DAwesomePlayer.cpp602 mStats.mVideoHeight = -1;
1154 mStats.mVideoHeight = usableHeight;
2841 mStats.mVideoHeight,
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h338 int32_t mVideoHeight; member in struct:android::AwesomePlayer::Stats
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java196 videoHeight = MediaRecorderStressTestRunner.mVideoHeight;

Completed in 278 milliseconds