/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 101 height height of the reference frame chrominance in pixels 104 chromaPartHeight height of the predicted part in pixels 116 u32 height, 138 (y0 < 0) || ((u32)y0+chromaPartHeight > height)) 140 h264bsdFillBlock(pRef, block, x0, y0, width, height, 142 pRef += width * height; 144 x0, y0, width, height, chromaPartWidth + 1, 151 height = chromaPartHeight; 159 ptrA = pRef + (comp * height 110 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 206 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 302 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 428 u32 xFrac, yFrac, width, height, chromaPartWidth, chromaPartHeight; local 491 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 609 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument 743 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 866 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument 1004 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument 1210 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 1396 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument 1600 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument 1834 u32 xFrac, yFrac, width, height; local 1983 u32 width, height; local 2222 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ColorUtils.cpp | 364 ColorAspects &aspects, int32_t width, int32_t height) { 370 if (width >= 3840 || height >= 3840 || width * (int64_t)height >= 3840 * 1634) { 373 } else if ((width <= 720 && height > 480 && height <= 576) 374 || (height <= 720 && width > 480 && width <= 576)) { 377 } else if ((width <= 720 && height <= 480) || (height <= 720 && width <= 480)) { 363 setDefaultCodecColorAspectsIfNeeded( ColorAspects &aspects, int32_t width, int32_t height) argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoDecoderOMXComponent.cpp | 50 int32_t height, 59 mHeight(height), 63 mCropHeight(height), 193 bool *portWillReset, uint32_t width, uint32_t height, 196 bool sizeChanged = (width != mWidth || height != mHeight); 203 || def->format.video.nSliceHeight != (OMX_U32)height) { 210 mHeight = height; 214 || height > mAdaptiveMaxHeight) { 219 if (height > mAdaptiveMaxHeight) { 220 mAdaptiveMaxHeight = height; 43 SoftVideoDecoderOMXComponent( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const CodecProfileLevel *profileLevels, size_t numProfileLevels, int32_t width, int32_t height, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument 192 handlePortSettingsChange( bool *portWillReset, uint32_t width, uint32_t height, CropSettingsMode cropSettingsMode, bool fakeStride) argument [all...] |
H A D | SoftVideoEncoderOMXComponent.cpp | 65 int32_t height, 72 mHeight(height), 390 struct android_ycbcr *ycbcr, int32_t width, int32_t height) { 397 for (size_t y = height; y > 0; --y) { 404 for (size_t y = height >> 1; y > 0; --y) { 414 for (size_t y = height >> 1; y > 0; --y) { 432 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) { 434 int32_t outYsize = width * height; 445 for (int32_t i = height >> 1; i > 0; --i) { 464 const uint8_t *src, size_t width, size_t height, size_ 58 SoftVideoEncoderOMXComponent( const char *name, const char *componentRole, OMX_VIDEO_CODINGTYPE codingType, const CodecProfileLevel *profileLevels, size_t numProfileLevels, int32_t width, int32_t height, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument 388 ConvertFlexYUVToPlanar( uint8_t *dst, size_t dstStride, size_t dstVStride, struct android_ycbcr *ycbcr, int32_t width, int32_t height) argument 431 ConvertYUV420SemiPlanarToYUV420Planar( const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height) argument 462 ConvertRGB32ToPlanar( uint8_t *dstY, size_t dstStride, size_t dstVStride, const uint8_t *src, size_t width, size_t height, size_t srcStride, bool bgr) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyTransmitter.h | 109 int height = 480; local 111 sp<MediaSource> source = new VideoSource(width, height); 116 encMeta->setInt32("height", height); 183 int32_t width, height; local 185 CHECK(meta->findInt32(kKeyHeight, &height)); 193 sdp.append(height); 202 sdp.append(height);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 349 void oneBufferPass(int width, int height ); 350 void oneBufferPassNoFill(int width, int height ); 387 int outputFormat, int videoEncoder, int width, int height, int fps); 464 int outputFormat, int videoEncoder, int width, int height, int fps) { 470 mr->setVideoSize(width, height); 505 void SurfaceMediaSourceTest::oneBufferPass(int width, int height ) { 515 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride()); 524 int /* width */, int /* height */) { 636 // Pass the buffer with the wrong height and weight and should not be accepted 463 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 345 uint64_t height, 375 videoInfo.push_back(new WebmUnsigned(kMkvPixelHeight, height)); 342 VideoTrackEntry( const char *codec, uint64_t width, uint64_t height, const sp<MetaData> &meta, uint64_t uid, bool lacing, const char *lang) argument
|
H A D | WebmWriter.cpp | 85 int32_t width, height; local 88 || !md->findInt32(kKeyHeight, &height) 109 return WebmElement::VideoTrackEntry(codec, width, height, md);
|
/frameworks/av/media/ndk/ |
H A D | NdkImageReader.cpp | 239 int32_t height, 244 mHeight(height), 578 int32_t width, int32_t height, int32_t format, int32_t maxImages, 582 width, height, format, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN, maxImages, reader); 587 int32_t width, int32_t height, int32_t format, uint64_t usage, 591 if (width < 1 || height < 1) { 593 __FUNCTION__, width, height); 621 width, height, format, usage, maxImages); 671 media_status_t AImageReader_getHeight(const AImageReader* reader, /*out*/int32_t* height) { argument 673 if (reader == nullptr || height 238 AImageReader(int32_t width, int32_t height, int32_t format, uint64_t usage, int32_t maxImages) argument 577 AImageReader_new( int32_t width, int32_t height, int32_t format, int32_t maxImages, AImageReader** reader) argument 586 AImageReader_newWithUsage( int32_t width, int32_t height, int32_t format, uint64_t usage, int32_t maxImages, AImageReader** reader) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 49 uint32_t width, uint32_t height, size_t maxSize, int format, 68 camera3_stream::height = height; member in class:android::camera3::camera3_stream 96 return camera3_stream::height; 47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityView.java | 292 private void setSurfaceAsync(final Surface surface, final int width, final int height, argument 299 mActivityContainer.setSurface(surface, width, height, densityDpi); 365 int height) { 369 if (DEBUG) Log.d(TAG, "onSurfaceTextureAvailable: width=" + width + " height=" 370 + height); 372 mHeight = height; 379 int height) { 383 if (DEBUG) Log.d(TAG, "onSurfaceTextureSizeChanged: w=" + width + " h=" + height); 451 void setSurface(Surface surface, int width, int height, int density) argument 453 mIActivityContainer.setSurface(surface, width, height, densit 364 onSurfaceTextureAvailable(SurfaceTexture surfaceTexture, int width, int height) argument 378 onSurfaceTextureSizeChanged(SurfaceTexture surfaceTexture, int width, int height) argument [all...] |
H A D | NativeActivity.java | 103 int format, int width, int height); 263 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 266 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); 102 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceUserShim.java | 594 public int createInputStream(int width, int height, int format) { argument
|
H A D | LegacyCameraDevice.java | 574 * @return the width and height of the surface 683 int height, int pixelFormat) 688 checkArgumentPositive(height, "height must be positive."); 690 LegacyExceptionUtils.throwOnError(nativeProduceFrame(surface, pixelBuffer, width, height, 701 static void setSurfaceDimens(Surface surface, int width, int height) argument 705 checkArgumentPositive(height, "height must be positive."); 707 LegacyExceptionUtils.throwOnError(nativeSetSurfaceDimens(surface, width, height)); 806 int height, in 682 produceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument 805 nativeProduceFrame(Surface surface, byte[] pixelBuffer, int width, int height, int pixelFormat) argument 810 nativeSetSurfaceDimens(Surface surface, int width, int height) argument [all...] |
H A D | SurfaceTextureRenderer.java | 74 int height; field in class:SurfaceTextureRenderer.EGLSurfaceHolder 251 private void drawFrame(SurfaceTexture st, int width, int height, int flipType) argument 275 RectF output = new RectF(/*left*/0, /*top*/0, /*right*/width, /*bottom*/height); 283 float scaleY = intermediate.height() / output.height(); 293 width + "x" + height + " surface, intermediate buffer size is " + texWidth + 298 GLES20.glViewport(0, 0, width, height); 478 int length = holder.width * holder.height; 483 EGL14.EGL_HEIGHT, holder.height, 602 path.append(String.format("_%d_%d", surface.width, surface.height)); [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 397 * Sets the translator used to scale canvas's width/height in compatibility 671 * <li>Returns the width and height of the target metrics, rather than 721 Canvas lockCanvas(int width, int height) { argument 725 mCanvas = mRenderNode.start(width, height);
|
H A D | TextureView.java | 64 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 75 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 402 // parameters are correct (width, height, transform, etc.) 531 * texture is not available or the width <= 0 or the height <= 0 555 * @param height The height of the bitmap to create 558 * texture is not available or width is <= 0 or height is <= 0 564 public Bitmap getBitmap(int width, int height) { argument 565 if (isAvailable() && width > 0 && height > 0) { 567 width, height, Bitma 811 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument 821 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument [all...] |
H A D | ViewStructure.java | 57 * @param height The view's visible height, in pixels. This is the height visible on 58 * screen, not the total data height of a scrollable view. 61 int height); 60 setDimens(int left, int top, int scrollX, int scrollY, int width, int height) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 462 int height = v.getMeasuredHeight(); 472 int t = midVertical - (height / 2); 473 int b = t + height; 493 final int height = v.getMeasuredHeight(); 496 final int t = midVertical - height / 2; 497 v.layout(l, t, l + width, t + height); 515 int height = v.getMeasuredHeight(); 516 int t = midVertical - height / 2; 517 v.layout(startRight - width, t, startRight, t + height); 531 int height 827 LayoutParams(int width, int height) argument 833 LayoutParams(int width, int height, boolean isOverflowButton) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 151 // Make sure to have some height for the divider 323 * @param menuHeight The height of this menu to assume for positioning 411 // Get the desired height of the icon menu view (last row of items does 417 // Maximum possible width and desired height 757 public LayoutParams(int width, int height) { argument 758 super(width, height);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 55 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, uint8_t* yPlane, argument 59 for (size_t j = 0; j < height; j++) { 86 static void rgbToYuv420(uint8_t* rgbBuf, size_t width, size_t height, android_ycbcr* ycbcr) { argument 92 rgbToYuv420(rgbBuf, width, height, reinterpret_cast<uint8_t*>(ycbcr->y), 141 * height - height of the pixelBuffer in pixels. 170 ALOGE("%s: height must be non-negative", __FUNCTION__); 178 size_t height = static_cast<size_t>(bufHeight); local 189 if (grallocBufWidth != width || grallocBufHeight != height) { 192 grallocBufHeight, width, height); 567 LegacyCameraDevice_nativeProduceFrame(JNIEnv* env, jobject thiz, jobject surface, jbyteArray pixelBuffer, jint width, jint height, jint pixelFormat) argument 617 LegacyCameraDevice_nativeSetSurfaceDimens(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 186 * Sets the intrinsic (default) height for this shape. 188 * @param height the intrinsic height (in pixels) 190 public void setIntrinsicHeight(int height) { argument 191 mShapeState.mIntrinsicHeight = height; 491 final int h = r.height(); 633 * is resized (has a new width or height). Its resize() method returns a 646 * @param height the heigh of the Drawable being drawn 649 public abstract Shader resize(int width, int height); argument
|
/frameworks/base/libs/hwui/ |
H A D | TessellationCache.cpp | 72 if (lRect.height != rRect.height) return false; 424 description.shape.roundRect.height); 440 float width, float height, float rx, float ry) { 443 entry.shape.roundRect.height = height; 449 float width, float height, float rx, float ry) { 450 return getRoundRectBuffer(transform, paint, width, height, rx, ry)->getVertexBuffer(); 438 getRoundRectBuffer( const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument 448 getRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
|
H A D | VectorDrawable.cpp | 420 int scaledHeight = (int) (bounds.height() * canvasScaleY); 462 mStagingCache.bitmap->width(), mStagingCache.bitmap->height(), 504 float scaleY = outCache.height() / viewportHeight; 509 bool Tree::allocateBitmapIfNeeded(Cache& cache, int width, int height) { argument 510 if (!canReuseBitmap(cache.bitmap.get(), width, height)) { 516 SkImageInfo info = SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType, colorSpace); 523 bool Tree::canReuseBitmap(Bitmap* bitmap, int width, int height) { argument 524 return bitmap && width <= bitmap->width() && height <= bitmap->height();
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 138 int height = (int) glyph->mBitmapHeight; local 152 if (bounds->top < nPenY + height) { 153 bounds->top = nPenY + height; 160 float height = (float) glyph->mBitmapHeight; local 163 float nPenY = y + glyph->mBitmapTop + height; 172 nPenX + width, nPenY - height, u2, v1, 173 nPenX, nPenY - height, u1, v1, glyph->mCacheTexture); 179 float height = (float) glyph->mBitmapHeight; local 182 p[0].iset(glyph->mBitmapLeft, glyph->mBitmapTop + height); 183 p[1].iset(glyph->mBitmapLeft + width, glyph->mBitmapTop + height); 240 const float height = glyph->mBitmapHeight; local [all...] |