/frameworks/base/core/java/android/webkit/ |
HTML5VideoFullScreen.java | 49 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 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; 91 private int mVideoWidth; 138 mVideoWidth = mp.getVideoWidth(); 140 if (mVideoWidth != 0 && mVideoHeight != 0) { 141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight) [all...] |
/frameworks/base/core/java/android/widget/ |
VideoView.java | 79 private int mVideoWidth; 114 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 116 if (mVideoWidth > 0 && mVideoHeight > 0) { 129 if ( mVideoWidth * height < width * mVideoHeight ) { 131 width = height * mVideoWidth / mVideoHeight; 132 } else if ( mVideoWidth * height > width * mVideoHeight ) { 134 height = width * mVideoHeight / mVideoWidth; 139 height = width * mVideoHeight / mVideoWidth; 147 width = height * mVideoWidth / mVideoHeight; 154 width = mVideoWidth; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Video.java | 40 private int mVideoWidth; 154 mVideoWidth = width; 208 mVideoWidth = 0; 216 holder.setFixedSize(mVideoWidth, mVideoHeight);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 84 mVideoWidth(176), 129 mEncParams->encWidth[0] = mVideoWidth; 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; 259 def.format.video.nFrameWidth = mVideoWidth; 261 def.format.video.nStride = mVideoWidth; 290 def.format.video.nFrameWidth = mVideoWidth; 292 def.format.video.nStride = mVideoWidth; [all...] |
SoftMPEG4Encoder.h | 70 int32_t mVideoWidth;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaRecorderStressTestRunner.java | 41 public static int mVideoWidth = profile.videoFrameWidth; 87 mVideoWidth = Integer.parseInt(videoWidth);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 70 private int mVideoWidth; 172 mVideoWidth = width; 191 mHolder.setFixedSize(mVideoWidth, mVideoHeight); 195 float aspectRatio = ((float) mVideoWidth) / mVideoHeight;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 176 mVideoWidth(176), 261 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 266 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 268 mVideoWidth, mVideoHeight); 272 mEncParams->width = mVideoWidth; 278 int32_t nMacroBlocks = ((((mVideoWidth + 15) >> 4) << 4) * 375 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; 397 def.format.video.nFrameWidth = mVideoWidth; 399 def.format.video.nStride = mVideoWidth; 420 def.format.video.nFrameWidth = mVideoWidth; [all...] |
SoftAVCEncoder.h | 80 int32_t mVideoWidth;
|
/frameworks/av/include/media/stagefright/ |
CameraSourceTimeLapse.h | 60 int32_t mVideoWidth;
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 191 mVideoWidth = width; [all...] |
StagefrightRecorder.h | 88 int32_t mVideoWidth, mVideoHeight;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 67 private int mVideoWidth; 90 mVideoWidth = profile.videoFrameWidth; 386 Log.v(TAG, "videoWidth : " + mVideoWidth); 397 mRecorder.setVideoSize(mVideoWidth, mVideoHeight);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 90 private int mVideoWidth = mCamcorderProfile.videoFrameWidth; 418 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, 438 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, 458 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
|
/frameworks/av/include/media/ |
mediaplayer.h | 263 int mVideoWidth;
|
/frameworks/av/media/libmedia/ |
mediaplayer.cpp | 58 mVideoWidth = mVideoHeight = 0; 94 mVideoWidth = mVideoHeight = 0; 366 *w = mVideoWidth; 753 mVideoWidth = ext1;
|
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 369 mVideoWidth = w; 418 mVideoWidth = w; 420 CAMHAL_LOGVB("%s Video Width=%d Height=%d\n", __FUNCTION__, mVideoWidth, mVideoHeight); 426 if ((w != mVideoWidth) && (h != mVideoHeight)) 438 params.getPreviewSize(&mVideoWidth, &mVideoHeight); 455 params.getPreviewSize(&mVideoWidth, &mVideoHeight); [all...] |
AppCallbackNotifier.cpp | [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.h | 198 int32_t mVideoWidth, mVideoHeight;
|
PreviewPlayer.cpp | 256 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight, 328 mVideoWidth = mVideoHeight = -1; 690 if (mVideoWidth < 0 || mVideoHeight < 0) { 694 *width = mVideoWidth; [all...] |
/frameworks/av/media/libstagefright/ |
CameraSourceTimeLapse.cpp | 81 mVideoWidth = videoSize.width;
|
/device/lge/mako/camera/ |
QCameraHWI.cpp | [all...] |
/frameworks/av/media/libstagefright/include/ |
AwesomePlayer.h | 324 int32_t mVideoWidth;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 195 videoWidth = MediaRecorderStressTestRunner.mVideoWidth;
|
/hardware/ti/omap4xxx/camera/inc/ |
CameraHal.h | 675 int mVideoWidth; [all...] |