/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 100 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 D | SoftMPEG4Encoder.cpp | 85 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 D | SoftMPEG4Encoder.h | 71 int32_t mVideoHeight; member in struct:android::SoftMPEG4Encoder
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaRecorderStressTestRunner.java | 42 public static int mVideoHeight = profile.videoFrameHeight; field in class:MediaRecorderStressTestRunner 90 mVideoHeight = Integer.parseInt(videoHeight);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 177 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 D | SoftAVCEncoder.h | 81 int32_t mVideoHeight; member in struct:android::SoftAVCEncoder
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 92 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 D | CameraSourceTimeLapse.h | 62 int32_t mVideoHeight; member in class:android::CameraSourceTimeLapse
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 193 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 D | StagefrightRecorder.h | 88 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
|
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 58 mVideoWidth = mVideoHeight = 0; 94 mVideoWidth = mVideoHeight = 0; 375 *h = mVideoHeight; 754 mVideoHeight = ext2;
|
/frameworks/av/include/media/ |
H A D | mediaplayer.h | 274 int mVideoHeight; member in class:android::MediaPlayer
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.h | 198 int32_t mVideoWidth, mVideoHeight; member in struct:android::PreviewPlayer
|
H A D | PreviewPlayer.cpp | 256 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 D | CameraSourceTimeLapse.cpp | 86 mVideoHeight = videoSize.height;
|
H A D | AwesomePlayer.cpp | 602 mStats.mVideoHeight = -1; 1154 mStats.mVideoHeight = usableHeight; 2841 mStats.mVideoHeight,
|
/frameworks/av/media/libstagefright/include/ |
H A D | AwesomePlayer.h | 338 int32_t mVideoHeight; member in struct:android::AwesomePlayer::Stats
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 196 videoHeight = MediaRecorderStressTestRunner.mVideoHeight;
|