/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | me_utils.cpp | 103 Input/Output: Center of the search, Half-pel memory, width 159 Input/Output: Center of the search, Half-pel memory, width 222 Int pitch, width, height; local 225 width = refVop->width; 233 temp2 = src[width-1]; /* top-right corner */ 246 M4VENC_MEMCPY(dst, src, width); 248 *((ULong*)(dst += width)) = temp2; 253 dst = dst - width - 16; 269 temp2 = src[width [all...] |
H A D | sad.cpp | 322 Int width = (lx - 32); local 344 kk += (width >> 2);
|
H A D | sad_halfpel.cpp | 19 Int HalfPel1_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh) 20 Int HalfPel2_SAD_MB(UChar *ref,UChar *blk,Int dmin,Int width) 21 Int HalfPel1_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width,Int ih,Int jh) 22 Int HalfPel2_SAD_Blk(UChar *ref,UChar *blk,Int dmin,Int width) 24 Int SAD_MB_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 25 Int SAD_MB_HP_HTFM_Collect(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 26 Int SAD_MB_HP_HTFM(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 27 Int SAD_Blk_HalfPel_C(UChar *ref,UChar *blk,Int dmin,Int width,Int rx,Int xh,Int yh,void *extra_info) 64 Int HalfPel1_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument 75 else p2 = ref + width; 96 HalfPel2_SAD_MB(UChar *ref, UChar *blk, Int dmin, Int width) argument 138 HalfPel1_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width, Int ih, Int jh) argument 170 HalfPel2_SAD_Blk(UChar *ref, UChar *blk, Int dmin, Int width) argument 780 SAD_Blk_HalfPel_C(UChar *ref, UChar *blk, Int dmin, Int width, Int rx, Int xh, Int yh, void *extra_info) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_decoder.c | 627 Get width of the picture in macroblocks 636 picture width 671 picture width 831 width width of the image after cropping is stored here 841 u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) 854 *width = 16 * pStorage->activeSps->picWidthInMbs - 866 *width = 0; 885 sarHeight sample aspect ratio width 840 h264bsdCroppingParams(storage_t *pStorage, u32 *croppingFlag, u32 *leftOffset, u32 *width, u32 *topOffset, u32 *height) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 227 int32_t *width, int32_t *height) const { 228 *width = 0; 240 *width = strtoul(s, &end, 10); 225 getDimensions( size_t index, unsigned long PT, int32_t *width, int32_t *height) const argument
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 184 size_t width, height, fps, score; local 186 if (!GetConfiguration(type, index, &width, &height, 191 score = width * height * fps * (!interlaced + 1); 195 &width, &height, &fps, &interlaced) 196 && score >= width * height * fps * (!interlaced + 1)) { 273 size_t *width, size_t *height, size_t *framesPerSecond, 283 if (config->width == 0) { 287 if (width) { 288 *width = config->width; 270 GetConfiguration( ResolutionType type, size_t index, size_t *width, size_t *height, size_t *framesPerSecond, bool *interlaced) argument 495 size_t width, height, framesPerSecond; local [all...] |
/frameworks/av/services/camera/libcameraservice/api_pro/ |
H A D | ProCamera2Client.cpp | 257 status_t ProCamera2Client::createStream(int width, int height, int format, argument 267 ALOGV("%s (w = %d, h = %d, f = 0x%x)", __FUNCTION__, width, height, format); 283 return mDevice->createStream(window, width, height, format,
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.cpp | 36 uint32_t width, uint32_t height, int format) : 37 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, 51 uint32_t width, uint32_t height, size_t maxSize, int format) : 52 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize, 71 uint32_t width, uint32_t height, 73 Camera3IOStreamBase(id, type, width, height, 305 camera3_stream::width, camera3_stream::height); 314 __FUNCTION__, camera3_stream::width, camera3_stream::height, 34 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, int format) argument 49 Camera3OutputStream(int id, sp<ANativeWindow> consumer, uint32_t width, uint32_t height, size_t maxSize, int format) argument 70 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format) argument
|
H A D | Camera3Stream.cpp | 49 uint32_t width, uint32_t height, size_t maxSize, int format) : 58 camera3_stream::width = width; member in class:android::camera3::camera3_stream 76 return camera3_stream::width; 47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format) argument
|
H A D | Camera3ZslStream.cpp | 113 Camera3ZslStream::Camera3ZslStream(int id, uint32_t width, uint32_t height, argument 116 width, height,
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManager.java | 478 int width, int height, int densityDpi, @Nullable Surface surface, int flags) { 479 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null); 507 * @param width The width of the virtual display in pixels, must be greater than 0. 526 int width, int height, int densityDpi, @Nullable Surface surface, int flags, 529 name, width, height, densityDpi, surface, flags, callback, handler); 534 @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, 537 name, width, height, densityDpi, surface, flags, callback, handler); 477 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags) argument 525 createVirtualDisplay(@onNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument 533 createVirtualDisplay(@ullable MediaProjection projection, @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
|
/frameworks/base/core/java/android/text/ |
H A D | BoringLayout.java | 200 mMax = metrics.width; 204 * width because the width that was passed in was for the 221 * Returns null if not boring; the width, ascent, and descent if boring. 229 * Returns null if not boring; the width, ascent, and descent if boring. 239 * Returns null if not boring; the width, ascent, and descent in the 248 * Returns null if not boring; the width, ascent, and descent in the 304 fm.width = (int) FloatMath.ceil(line.metrics(fm)); 422 public int width; field in class:BoringLayout.Metrics 425 return super.toString() + " width [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayInfo.java | 67 * The width of the portion of the display that is available to applications, in pixels. 80 * in pixels, excepting cases where the width may be even smaller due to the presence 94 * in pixels, excepting cases where the width may be even larger due to system decorations 107 * The logical width of the display, in pixels. 434 IBinder token, int width, int height) { 436 outMetrics.noncompatWidthPixels = outMetrics.widthPixels = width; 433 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token, int width, int height) argument
|
H A D | GraphicBuffer.java | 72 * @param width The width in pixels of the buffer 79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument 80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage); 82 return new GraphicBuffer(width, height, format, usage, nativeObject); 90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument 91 mWidth = width; 99 * Returns the width of this buffer in pixels. 270 int width = in.readInt(); 276 return new GraphicBuffer(width, heigh 286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument [all...] |
H A D | HardwareLayer.java | 99 * return false if the requested width/height cannot be satisfied 101 * @param width The new width of this layer 108 public boolean prepare(int width, int height, boolean isOpaque) { argument 109 return nPrepare(mFinalizer.get(), width, height, isOpaque); 147 private static native boolean nPrepare(long layerUpdater, int width, int height, boolean isOpaque); argument
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ScaleAnimation.java | 278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument 279 super.initialize(width, height, parentWidth, parentHeight); 281 mFromX = resolveScale(mFromX, mFromXType, mFromXData, width, parentWidth); 282 mToX = resolveScale(mToX, mToXType, mToXData, width, parentWidth); 286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 134 * @param width Effect width in pixels 137 public void setSize(int width, int height) { argument 138 final float r = width * 0.75f / SIN; 148 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h)); 311 * width of X=0 to X=width, beginning from Y=0 and extending to some factor < 329 float translateX = mBounds.width() * displacement / 2;
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 115 public void setFixedSize(int width, int height) { argument 116 if (mRequestedWidth != width || mRequestedHeight != height) { 117 mRequestedWidth = width; 227 public void setSurfaceFrameSize(int width, int height) { argument 230 mSurfaceFrame.right = width;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboard.java | 58 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument 59 this(context, xmlLayoutResId, 0, width, height); 68 int width, int height) { 69 super(context, xmlLayoutResId, mode, width, height); 259 if (code == KEYCODE_SHIFT) x += width / 6; 260 if (code == KEYCODE_DELETE) x -= width / 6; 67 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
|
H A D | SizeAdaptiveLayout.java | 193 //TODO extend to width and height 312 * TODO extend to width and height 366 * Creates a new set of layout parameters with the specified width, height 369 * @param width the width, either {@link #MATCH_PARENT}, 377 public LayoutParams(int width, int height, int minHeight, int maxHeight) { argument 378 super(width, height); 386 public LayoutParams(int width, int height) { argument 387 this(width, height, UNBOUNDED, UNBOUNDED);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfBuzzNGFaceSkia.cpp | 55 static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* width, hb_glyph_extents_t* extents) argument 66 ALOGD("returned glyph for %i: width = %f", codepoint, skWidth); 68 if (width) 69 *width = SkScalarToHBFixed(skWidth); 74 extents->width = SkScalarToHBFixed(skBounds.width());
|
H A D | SurfaceTexture.cpp | 282 JNIEnv* env, jobject thiz, jint width, jint height) { 284 surfaceTexture->setDefaultBufferSize(width, height); 281 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument
|
H A D | YuvToJpegEncoder.cpp | 24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument 39 setJpegCompressStruct(&cinfo, width, height, jpegQuality); 51 int width, int height, int quality) { 52 cinfo->image_width = width; 82 int width = cinfo->image_width; local 85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 86 uint8_t* uRows = new uint8_t [8 * (width >> 1)]; 87 uint8_t* vRows = new uint8_t [8 * (width >> 1)]; 93 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height); 102 // height and width ar 50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument 115 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument 158 int width = cinfo->image_width; local 190 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument 219 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument [all...] |
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 35 PageRecord(int width, int height, const SkRect& contentRect) argument 38 , mWidth(width) 63 SkCanvas* startPage(int width, int height, argument 69 PageRecord* page = new PageRecord(width, height, contentRect); 74 contentRect.width(), contentRect.height(), NULL, 0);
|
/frameworks/base/core/jni/ |
H A D | android_media_RemoteDisplay.cpp | 65 uint32_t width, uint32_t height, uint32_t flags, uint32_t session) { 77 surfaceObj, width, height, flags, session); 64 onDisplayConnected(const sp<IGraphicBufferProducer>& bufferProducer, uint32_t width, uint32_t height, uint32_t flags, uint32_t session) argument
|