/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | mp4dec_lib.h | 150 int height, /* i */ 164 int height, /* i */ 182 int height, /* i */ 201 int height /* i */ 253 int height, 283 void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int T); 291 void Deringing_Luma(uint8 *Rec_Y, int width, int height, int16 *QP_store, 293 void Deringing_Chroma(uint8 *Rec_C, int width, int height, int16 *QP_store, 295 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store, 297 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int1 [all...] |
H A D | post_filter.cpp | 43 int width, height; local 51 height = video->height; 52 size = (int32)width * height; 75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod); 83 CombinedHorzVertFilter(output, width, height, 88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height, 94 Deringing_Luma(output, width, height, QP_store, 107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod); 116 (int)(height >> 176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument [all...] |
H A D | mb_motion_comp.cpp | 140 int height, width, pred_width; local 172 height = video->height; 251 video->mblock->pred_block, width, height, 272 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE))) 285 pred, width, height, round1, pred_width); 308 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE))) 320 pred, width, height, round1, pred_width); 344 ypred >= 0 && ypred <= ((height << 1) - (2*B_SIZE))) 356 pred, width, height, round [all...] |
/frameworks/native/opengl/tests/gl_perfapp/jni/ |
H A D | gl_code.cpp | 21 // Width and height of the screen 62 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height); 66 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument 69 gHeight = height;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ImageDescriptor.java | 25 int height; field in class:ImageDescriptor 41 height = 0; 60 d.height = rawData[valueIndex++] & 0xff;
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 40 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height"; 325 int width, height; local 326 int success = parse_pair(sizeStartPtr, &width, &height, 'x', 332 sizes.push(Size(width, height)); 341 void CameraParameters::setPreviewSize(int width, int height) argument 344 sprintf(str, "%dx%d", width, height); 348 void CameraParameters::getPreviewSize(int *width, int *height) const 350 *width = *height = -1; 354 parse_pair(p, width, height, 'x'); 357 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons 371 setVideoSize(int width, int height) argument 420 setPictureSize(int width, int height) argument [all...] |
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 137 int width, int height) { 140 mPreviewTexHeight = height; 146 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 205 if (lhs.height < rhs.height) return -1; 206 if (lhs.height > rhs.height) return 1; 221 Integer.toString(mPreviewSizes.get(i).height); 267 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight; 279 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height); 136 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapMutateActivity.java | 88 int height = mBitmap1.getHeight(); 97 for (int y = 0; y < height; y++) { 102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height); 106 canvas.translate(0.0f, height + 32); 107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 96 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { 103 result = Rect(result.left, height - result.bottom, 104 result.right, height - result.top); 107 int left = height - result.bottom; 109 int right = height - result.top;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 156 int height = icon.getIntrinsicHeight(); 160 height *= scale; 162 if (height > mMaxIconSize) { 163 final float scale = (float) mMaxIconSize / height; 164 height = mMaxIconSize; 167 icon.setBounds(0, 0, width, height); 236 final int height = getHeight(); 237 final int midy = screenPos[1] + height / 2; 241 if (midy < displayFrame.height()) { 244 screenWidth - screenPos[0] - width / 2, height); [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_frame.cpp | 56 bool GLFrame::Init(int width, int height) { argument 59 InitDimensions(width, height); 65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { argument 68 InitDimensions(width, height); 72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { argument 76 InitDimensions(width, height); 87 void GLFrame::InitDimensions(int width, int height) { argument 89 height_ = height; 91 vp_height_ = height; 187 bool GLFrame::SetViewport(int x, int y, int width, int height) { argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 141 0, 0, native_buffer->width, native_buffer->height, 279 (dst.height == src.height) && 286 const size_t size = src.height * src.stride * pixelFormat.size; 363 GLenum format, GLenum type, GLsizei width, GLsizei height, 380 const size_t size = bpr * height; 387 width, height, stride, formatIdx, compressedFormat, bpr); 398 width, height, stride, formatIdx, compressedFormat, bpr); 408 static size_t dataSizePalette4(int numLevels, int width, int height, int format) argument 443 int h = (height >> 361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument 451 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument 1056 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 25 int height, int* offsets, int jpegQuality) { 39 setJpegCompressStruct(&cinfo, width, height, jpegQuality); 51 int width, int height, int quality) { 53 cinfo->image_height = height; 83 int height = cinfo->image_height; local 85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height; 93 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height); 95 // Jpeg library ignores the rows whose indices are greater than height. 102 // height and width are both halved because of downsampling 116 uint8_t* vRows, int rowIndex, int width, int height) { 24 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument 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 159 int height = cinfo->image_height; 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, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 128 int height = getFormat().getHeight(); 129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) { 138 int height = getFormat().getHeight(); 139 if (!nativeAllocateWithFbo(mGLEnvironment, fboId, width, height)) { 276 public void setViewport(int x, int y, int width, int height) { argument 278 setNativeViewport(x, y, width, height); 364 private native boolean nativeAllocate(GLEnvironment env, int width, int height); argument 369 int height); 374 int height); 396 private native boolean setNativeViewport(int x, int y, int width, int height); argument 366 nativeAllocateWithTexture(GLEnvironment env, int textureId, int width, int height) argument 371 nativeAllocateWithFbo(GLEnvironment env, int fboId, int width, int height) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | IconUtilities.java | 116 int height = mIconHeight; 121 painter.setIntrinsicHeight(height); 135 if (width < sourceWidth || height < sourceHeight) { 139 height = (int) (width / ratio); 141 width = (int) (height * ratio); 143 } else if (sourceWidth < width && sourceHeight < height) { 146 height = sourceHeight; 160 final int top = (textureHeight-height) / 2; 168 canvas.drawRect(left, top, left+width, top+height, debugPaint); 172 icon.setBounds(left, top, left+width, top+height); [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 142 public Path toPath(int width, int height, int edge, int numSample) { argument 143 return toPath(null, width, height, edge, numSample); 146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument 153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample)); 179 * @param height height of the target bitmap 185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument 186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample); 215 * @param height 220 toBitmap(int width, int height, int inset, int color) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 99 height height of the reference frame chrominance in pixels 102 chromaPartHeight height of the predicted part in pixels 114 u32 height, 136 (y0 < 0) || ((u32)y0+chromaPartHeight > height)) 138 h264bsdFillBlock(pRef, block, x0, y0, width, height, 140 pRef += width * height; 142 x0, y0, width, height, chromaPartWidth + 1, 149 height = chromaPartHeight; 157 ptrA = pRef + (comp * height 108 h264bsdInterpolateChromaHor( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 204 h264bsdInterpolateChromaVer( u8 *pRef, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 300 h264bsdInterpolateChromaHorVer( u8 *ref, u8 *predPartChroma, i32 x0, i32 y0, u32 width, u32 height, u32 xFrac, u32 yFrac, u32 chromaPartWidth, u32 chromaPartHeight) argument 426 u32 xFrac, yFrac, width, height, chromaPartWidth, chromaPartHeight; local 489 h264bsdInterpolateVerHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 607 h264bsdInterpolateVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument 741 h264bsdInterpolateHorHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 864 h264bsdInterpolateHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument 1002 h264bsdInterpolateHorVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horVerOffset) argument 1208 h264bsdInterpolateMidHalf( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight) argument 1394 h264bsdInterpolateMidVerQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 verOffset) argument 1598 h264bsdInterpolateMidHorQuarter( u8 *ref, u8 *mb, i32 x0, i32 y0, u32 width, u32 height, u32 partWidth, u32 partHeight, u32 horOffset) argument 1832 u32 xFrac, yFrac, width, height; local 1981 u32 width, height; local 2219 h264bsdFillBlock( u8 *ref, u8 *fill, i32 x0, i32 y0, u32 width, u32 height, u32 blockWidth, u32 blockHeight, u32 fillScanLength) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | MultiPaneChallengeLayout.java | 183 private int getVirtualHeight(LayoutParams lp, int height, int heightUsed) { argument 184 int virtualHeight = height; 199 return height; 201 return Math.min(virtualHeight - heightUsed, height); 213 final int height = MeasureSpec.getSize(heightSpec); 214 setMeasuredDimension(width, height); 255 Math.min(lp.maxHeight, height), MeasureSpec.EXACTLY); 285 final int virtualHeight = getVirtualHeight(lp, height, heightUsed); 332 final int height = b - t; 337 layoutWithGravity(width, height, mUserSwitcherVie 360 layoutWithGravity(int width, int height, View child, Rect padding, boolean adjustPadding) argument 544 LayoutParams(int width, int height) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | APacketSource.cpp | 108 const char *params, int32_t *width, int32_t *height) { 110 *height = 0; 200 FindAVCDimensions(nal, width, height); 201 ALOGI("dimensions %dx%d", *width, *height); 338 const sp<ABuffer> &config, int32_t *width, int32_t *height) { 340 *height = 0; 361 &ptr[offset], config->size() - offset, width, height); 365 const char *params, int32_t *width, int32_t *height) { 367 *height = 0; 375 if (!ExtractDimensionsMPEG4Config(config, width, height)) { 107 MakeAVCCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument 337 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument 364 MakeMPEG4VideoCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument 430 int32_t width, height; local 462 int32_t width, height; local 515 int32_t width, height; local [all...] |
H A D | VideoSource.h | 32 VideoSource(int width, int height) argument 34 mHeight(height), 35 mSize((width * height * 3) / 2) {
|
/frameworks/av/cmds/stagefright/ |
H A D | jpeg.cpp | 40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument 64 cinfo.image_height = height; 73 for (int row = 0; row < height; row++) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | IncludeTest.java | 57 assertTrue("Both buttons should have different height", 58 button1.getLayoutParams().height != button2.getLayoutParams().height); 77 assertEquals("Included button should be 23dip x 23dip", 23, lp.height);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | SurfaceTexture.java | 146 * The width and height parameters must be no greater than the minimum of 152 public void setDefaultBufferSize(int width, int height) { argument 153 nativeSetDefaultBufferSize(width, height); 305 private native void nativeSetDefaultBufferSize(int width, int height); argument
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteDisplay.java | 116 final int width, final int height, final int flags) { 120 mListener.onDisplayConnected(surface, width, height, flags); 149 void onDisplayConnected(Surface surface, int width, int height, int flags); argument 115 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags) argument
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
H A D | SingleFilterEffect.java | 70 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 73 Frame inputFrame = frameFromTexture(inputTexId, width, height); 74 Frame outputFrame = frameFromTexture(outputTexId, width, height);
|