/frameworks/base/core/java/android/webkit/ |
H A D | 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; field in class:HTML5VideoFullScreen 138 mVideoWidth = mp.getVideoWidth(); 140 if (mVideoWidth != 0 && mVideoHeight != 0) { 141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeigh [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 79 private int mVideoWidth; field in class:VideoView 112 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 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); 173 mVideoWidth = 0; 283 mVideoWidth [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | 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...] |
H A D | SoftMPEG4Encoder.h | 70 int32_t mVideoWidth; member in struct:android::SoftMPEG4Encoder
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaRecorderStressTestRunner.java | 43 public static int mVideoWidth = profile.videoFrameWidth; field in class:MediaRecorderStressTestRunner 89 mVideoWidth = Integer.parseInt(video_width);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | 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...] |
H A D | SoftAVCEncoder.h | 80 int32_t mVideoWidth; member in struct:android::SoftAVCEncoder
|
/frameworks/av/include/media/stagefright/ |
H A D | CameraSourceTimeLapse.h | 57 int32_t mVideoWidth; member in class:android::CameraSourceTimeLapse
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 190 mVideoWidth = width; 1072 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) { 1074 " and will be set to (%d)", mVideoWidth, minFrameWidth); 1075 mVideoWidth = minFrameWidth; 1076 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) { 1078 " and will be set to (%d)", mVideoWidth, maxFrameWidth); 1079 mVideoWidth = maxFrameWidth; 1141 videoFrameWidth == mVideoWidth && 1276 mSurfaceMediaSource = new SurfaceMediaSource(mVideoWidth, mVideoHeight); 1305 videoSize.width = mVideoWidth; [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 | 261 int mVideoWidth; member in class:android::MediaPlayer
|
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 59 mVideoWidth = mVideoHeight = 0; 96 mVideoWidth = mVideoHeight = 0; 368 *w = mVideoWidth; 734 mVideoWidth = ext1;
|
/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) { 694 *width = mVideoWidth; 1458 mVideoWidth = width;
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 75 mVideoWidth = videoSize.width;
|
H A D | AwesomePlayer.cpp | 578 mStats.mVideoWidth = -1; 1054 mStats.mVideoWidth = usableWidth; 2625 mStats.mVideoWidth,
|
/frameworks/av/media/libstagefright/include/ |
H A D | AwesomePlayer.h | 324 int32_t mVideoWidth; member in struct:android::AwesomePlayer::Stats
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 328 int video_width = MediaRecorderStressTestRunner.mVideoWidth;
|