HomeSort by relevance Sort by last modified time
    Searched refs:mVideoWidth (Results 1 - 25 of 30) sorted by null

1 2

  /frameworks/base/core/java/android/widget/
VideoView.java 89 private int mVideoWidth;
130 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
132 if (mVideoWidth > 0 && mVideoHeight > 0) {
145 if ( mVideoWidth * height < width * mVideoHeight ) {
147 width = height * mVideoWidth / mVideoHeight;
148 } else if ( mVideoWidth * height > width * mVideoHeight ) {
150 height = width * mVideoHeight / mVideoWidth;
155 height = width * mVideoHeight / mVideoWidth;
163 width = height * mVideoWidth / mVideoHeight;
170 width = mVideoWidth;
    [all...]
  /cts/suite/pts/deviceTests/videoperf/src/com/android/pts/videoperf/
VideoEncoderDecoderTest.java 72 private int mVideoWidth;
142 mVideoWidth = w;
293 buffer.put(yBuffer, srcOffsetY, mVideoWidth);
300 buffer.put(uvBuffer, srcOffsetU, mVideoWidth);
308 buffer.put(uvBuffer, srcOffsetU, mVideoWidth / 2);
312 buffer.put(uvBuffer, srcOffsetV, mVideoWidth / 2);
316 int size = mVideoHeight * mVideoWidth * 3 /2;
392 printByteBuffer("UV ", buf, mVideoWidth * mVideoHeight, 20);
393 printByteBuffer("UV ", buf, mVideoWidth * mVideoHeight + mVideoWidth * 60, 20)
    [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);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ContentVideoView.java 73 private int mVideoWidth;
113 if (mVideoWidth == 0 && mVideoHeight == 0) {
117 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
119 if (mVideoWidth > 0 && mVideoHeight > 0) {
120 if ( mVideoWidth * height > width * mVideoHeight ) {
121 height = width * mVideoHeight / mVideoWidth;
122 } else if ( mVideoWidth * height < width * mVideoHeight ) {
123 width = height * mVideoWidth / mVideoHeight;
310 mVideoWidth = width;
312 if (mVideoWidth != 0 && mVideoHeight != 0)
    [all...]
  /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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
MediaPlayerPerformance.java 91 private int mVideoWidth;
110 mVideoWidth = mCamcorderProfile.videoFrameWidth;
112 Log.v(TAG, "height = " + mVideoHeight + " width= " + mVideoWidth);
430 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
451 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
473 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
  /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/av/include/media/
mediaplayer.h 273 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 337 int32_t mVideoWidth;
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouterActivity.java 797 private int mVideoWidth;
    [all...]

Completed in 2007 milliseconds

1 2