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 99 private int mVideoWidth;
140 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
142 if (mVideoWidth > 0 && mVideoHeight > 0) {
155 if ( mVideoWidth * height < width * mVideoHeight ) {
157 width = height * mVideoWidth / mVideoHeight;
158 } else if ( mVideoWidth * height > width * mVideoHeight ) {
160 height = width * mVideoHeight / mVideoWidth;
165 height = width * mVideoHeight / mVideoWidth;
173 width = height * mVideoWidth / mVideoHeight;
180 width = mVideoWidth;
    [all...]
  /cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/
VideoEncoderDecoderTest.java 69 private int mVideoWidth;
139 mVideoWidth = w;
291 buffer.put(yBuffer, srcOffsetY, mVideoWidth);
298 buffer.put(uvBuffer, srcOffsetU, mVideoWidth);
306 buffer.put(uvBuffer, srcOffsetU, mVideoWidth / 2);
310 buffer.put(uvBuffer, srcOffsetV, mVideoWidth / 2);
314 int size = mVideoHeight * mVideoWidth * 3 /2;
390 printByteBuffer("UV ", buf, mVideoWidth * mVideoHeight, 20);
391 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);
  /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;
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
ContentVideoView.java 68 private int mVideoWidth;
109 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
111 if (mVideoWidth > 0 && mVideoHeight > 0) {
112 if (mVideoWidth * height > width * mVideoHeight) {
113 height = width * mVideoHeight / mVideoWidth;
114 } else if (mVideoWidth * height < width * mVideoHeight) {
115 width = height * mVideoWidth / mVideoHeight;
285 mVideoWidth = width;
288 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight);
  /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 61 int32_t mVideoWidth;
  /frameworks/av/media/libmediaplayerservice/
StagefrightRecorder.cpp 192 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);
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
LocalPlayer.java 70 private int mVideoWidth;
295 protected int getVideoWidth() { return mVideoWidth; }
358 mVideoWidth = width;
363 mVideoWidth = mVideoHeight = 0;
  /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 85 mVideoWidth = videoSize.width;
  /device/lge/mako/camera/
QCameraHWI.cpp     [all...]
  /frameworks/av/media/libstagefright/include/
AwesomePlayer.h 337 int32_t mVideoWidth;

Completed in 2403 milliseconds

1 2