/frameworks/base/core/java/android/webkit/ |
H A D | HTML5VideoFullScreen.java | 50 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 51 if (mVideoWidth > 0 && mVideoHeight > 0) { 52 if ( mVideoWidth * height > width * mVideoHeight ) { 53 height = width * mVideoHeight / mVideoWidth; 54 } else if ( mVideoWidth * height < width * mVideoHeight ) { 55 width = height * mVideoWidth / mVideoHeight; 92 private int mVideoHeight; field in class:HTML5VideoFullScreen 139 mVideoHeight = mp.getVideoHeight(); 140 if (mVideoWidth != 0 && mVideoHeight != 0) { 141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 80 private int mVideoHeight; field in class:VideoView 113 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 114 if (mVideoWidth > 0 && mVideoHeight > 0) { 115 if ( mVideoWidth * height > width * mVideoHeight ) { 117 height = width * mVideoHeight / mVideoWidth; 118 } else if ( mVideoWidth * height < width * mVideoHeight ) { 120 width = height * mVideoWidth / mVideoHeight; 124 //mVideoWidth+"/"+mVideoHeight); 174 mVideoHeight = 0; 284 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 | 44 public static int mVideoHeight = profile.videoFrameHeight; field in class:MediaRecorderStressTestRunner 92 mVideoHeight = Integer.parseInt(video_height);
|
/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/av/include/media/stagefright/ |
H A D | CameraSourceTimeLapse.h | 58 int32_t mVideoHeight; member in class:android::CameraSourceTimeLapse
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 191 mVideoHeight = height; 1142 videoFrameHeight == mVideoHeight && 1233 if (minFrameHeight != -1 && mVideoHeight < minFrameHeight) { 1235 " and will be set to (%d)", mVideoHeight, minFrameHeight); 1236 mVideoHeight = minFrameHeight; 1237 } else if (maxFrameHeight != -1 && mVideoHeight > maxFrameHeight) { 1239 " and will be set to (%d)", mVideoHeight, maxFrameHeight); 1240 mVideoHeight = maxFrameHeight; 1276 mSurfaceMediaSource = new SurfaceMediaSource(mVideoWidth, mVideoHeight); 1306 videoSize.height = mVideoHeight; [all...] |
H A D | StagefrightRecorder.h | 85 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
|
/frameworks/av/include/media/ |
H A D | mediaplayer.h | 262 int mVideoHeight; member in class:android::MediaPlayer
|
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 59 mVideoWidth = mVideoHeight = 0; 96 mVideoWidth = mVideoHeight = 0; 377 *h = mVideoHeight; 735 mVideoHeight = ext2;
|
/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 | 76 mVideoHeight = videoSize.height;
|
H A D | AwesomePlayer.cpp | 579 mStats.mVideoHeight = -1; 1055 mStats.mVideoHeight = usableHeight; 2626 mStats.mVideoHeight,
|
/frameworks/av/media/libstagefright/include/ |
H A D | AwesomePlayer.h | 325 int32_t mVideoHeight; member in struct:android::AwesomePlayer::Stats
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 329 int video_height = MediaRecorderStressTestRunner.mVideoHeight;
|