/frameworks/base/core/java/android/webkit/ |
HTML5VideoFullScreen.java | 37 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 39 if (mVideoWidth > 0 && mVideoHeight > 0) { 40 if ( mVideoWidth * height > width * mVideoHeight ) { 41 height = width * mVideoHeight / mVideoWidth; 42 } else if ( mVideoWidth * height < width * mVideoHeight ) { 43 width = height * mVideoWidth / mVideoHeight; 79 private int mVideoWidth; 126 mVideoWidth = 0; 201 mVideoWidth = mp.getVideoWidth(); 204 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight) [all...] |
/frameworks/base/core/java/android/widget/ |
VideoView.java | 76 private int mVideoWidth; 108 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 110 if (mVideoWidth > 0 && mVideoHeight > 0) { 111 if ( mVideoWidth * height > width * mVideoHeight ) { 113 height = width * mVideoHeight / mVideoWidth; 114 } else if ( mVideoWidth * height < width * mVideoHeight ) { 116 width = height * mVideoWidth / mVideoHeight; 120 //mVideoWidth+"/"+mVideoHeight); 157 mVideoWidth = 0; 266 mVideoWidth = mp.getVideoWidth() [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/base/media/libstagefright/codecs/m4v_h263/enc/ |
M4vH263Encoder.cpp | 201 CHECK(meta->findInt32(kKeyWidth, &mVideoWidth)); 216 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 221 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 223 mVideoWidth, mVideoHeight); 246 mEncParams->encWidth[0] = mVideoWidth; 299 mFormat->setInt32(kKeyWidth, mVideoWidth); 410 if (mInputBuffer->size() - ((mVideoWidth * mVideoHeight * 3) >> 1) != 0) { 444 inPtr, mInputFrameData, mVideoWidth, mVideoHeight); 452 vin.pitch = ((mVideoWidth + 15) >> 4) << 4;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaRecorderStressTestRunner.java | 43 public static int mVideoWidth = profile.videoFrameWidth; 87 mVideoWidth = Integer.parseInt(video_width);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 70 private int mVideoWidth; 173 mVideoWidth = width; 182 mHolder.setFixedSize(mVideoWidth, mVideoHeight); 202 float aspectRatio = ((float) mVideoWidth) / mVideoHeight;
|
/frameworks/base/include/media/stagefright/ |
CameraSourceTimeLapse.h | 57 int32_t mVideoWidth;
|
/frameworks/base/media/libstagefright/include/ |
AVCEncoder.h | 61 int32_t mVideoWidth;
|
M4vH263Encoder.h | 55 int32_t mVideoWidth;
|
AwesomePlayer.h | 327 int32_t mVideoWidth;
|
/frameworks/base/media/libstagefright/codecs/avc/enc/ |
AVCEncoder.cpp | 208 CHECK(meta->findInt32(kKeyWidth, &mVideoWidth)); 223 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 228 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 230 mVideoWidth, mVideoHeight); 236 mEncParams->width = mVideoWidth; 274 int32_t nMacroBlocks = ((((mVideoWidth + 15) >> 4) << 4) * 322 mFormat->setInt32(kKeyWidth, mVideoWidth); 485 if (mInputBuffer->size() - ((mVideoWidth * mVideoHeight * 3) >> 1) != 0) { 515 videoInput.pitch = ((mVideoWidth + 15) >> 4) << 4; 523 inputData, mInputFrameData, mVideoWidth, mVideoHeight) [all...] |
/frameworks/base/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 189 mVideoWidth = width; [all...] |
StagefrightRecorder.h | 85 int32_t mVideoWidth, mVideoHeight;
|
/frameworks/base/include/media/ |
mediaplayer.h | 231 int mVideoWidth;
|
/frameworks/base/media/libmedia/ |
mediaplayer.cpp | 61 mVideoWidth = mVideoHeight = 0; 97 mVideoWidth = mVideoHeight = 0; 373 *w = mVideoWidth; 697 mVideoWidth = ext1;
|
/frameworks/media/libvideoeditor/lvpp/ |
PreviewPlayer.h | 122 int32_t mVideoWidth, mVideoHeight;
|
PreviewPlayer.cpp | 242 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight, 319 mVideoWidth = mVideoHeight = -1; 686 if (mVideoWidth < 0 || mVideoHeight < 0) { 690 *width = mVideoWidth; [all...] |
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 369 mVideoWidth = w; 407 mVideoWidth = w; 409 CAMHAL_LOGVB("%s Video Width=%d Height=%d\n", __FUNCTION__, mVideoWidth, mVideoHeight); 415 if ((w != mVideoWidth) && (h != mVideoHeight)) 427 params.getPreviewSize(&mVideoWidth, &mVideoHeight); 444 params.getPreviewSize(&mVideoWidth, &mVideoHeight); [all...] |
AppCallbackNotifier.cpp | [all...] |
/frameworks/base/media/libstagefright/ |
CameraSourceTimeLapse.cpp | 75 mVideoWidth = videoSize.width;
|
AwesomePlayer.cpp | 573 mStats.mVideoWidth = -1; 1036 mStats.mVideoWidth = usableWidth; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
MediaRecorderStressTest.java | 322 int video_width = MediaRecorderStressTestRunner.mVideoWidth;
|
/hardware/ti/omap4xxx/camera/inc/ |
CameraHal.h | 669 int mVideoWidth; [all...] |