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

/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java50 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 DVideoView.java80 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 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.java44 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 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/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h58 int32_t mVideoHeight; member in class:android::CameraSourceTimeLapse
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp191 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 DStagefrightRecorder.h85 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
/frameworks/av/include/media/
H A Dmediaplayer.h262 int mVideoHeight; member in class:android::MediaPlayer
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp59 mVideoWidth = mVideoHeight = 0;
96 mVideoWidth = mVideoHeight = 0;
377 *h = mVideoHeight;
735 mVideoHeight = ext2;
/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.cpp76 mVideoHeight = videoSize.height;
H A DAwesomePlayer.cpp579 mStats.mVideoHeight = -1;
1055 mStats.mVideoHeight = usableHeight;
2626 mStats.mVideoHeight,
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h325 int32_t mVideoHeight; member in struct:android::AwesomePlayer::Stats
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java329 int video_height = MediaRecorderStressTestRunner.mVideoHeight;

Completed in 178 milliseconds