Searched refs:width (Results 76 - 100 of 1122) sorted by relevance

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters2.cpp219 int width, height;
220 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
226 sizes.push(Size(width, height));
235 void CameraParameters2::setPreviewSize(int width, int height)
238 sprintf(str, "%dx%d", width, height);
242 void CameraParameters2::getPreviewSize(int *width, int *height) const
244 *width = *height = -1;
248 parse_pair(p, width, height, 'x');
251 void CameraParameters2::getPreferredPreviewSizeForVideo(int *width, int *height) const
253 *width
[all...]
/frameworks/av/include/media/stagefright/
H A DSurfaceUtils.h29 int width, int height, int format, int rotation, int usage);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c50 * [in] dstStep Destination frame step in byte. Must be multiple of roi.width.
55 * [in] roi Dimension of the interpolation region;the parameters roi.width and roi.height must
58 * if roi.width==2, 2-byte alignment required
59 * if roi.width==4, 4-byte alignment required
60 * if roi.width==8, 8-byte alignment required
68 * roi.width or roi.height is out of range {2,4,8}.
69 * roi.width is equal to 2, but pDst is not 2-byte aligned.
70 * roi.width is equal to 4, but pDst is not 4-byte aligned.
71 * roi.width is equal to 8, but pDst is not 8 byte aligned.
87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, ro
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c50 * [in] dstStep Destination frame step in byte. Must be multiple of roi.width.
55 * [in] roi Dimension of the interpolation region;the parameters roi.width and roi.height must
58 * if roi.width==2, 2-byte alignment required
59 * if roi.width==4, 4-byte alignment required
60 * if roi.width==8, 8-byte alignment required
68 * roi.width or roi.height is out of range {2,4,8}.
69 * roi.width is equal to 2, but pDst is not 2-byte aligned.
70 * roi.width is equal to 4, but pDst is not 4-byte aligned.
71 * roi.width is equal to 8, but pDst is not 8 byte aligned.
87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, ro
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.h48 u32 width; member in struct:__anon621
H A Dh264bsd_util.c266 u32 width, height; local
271 width = image->width;
273 row = mbNum / width;
274 col = mbNum % width;
276 tmp = row * width;
277 picSize = width * height;
/frameworks/av/media/libstagefright/webm/
H A DEbmlUtil.h38 // Like above but pads the input value with leading zeros up to the specified width. The length
39 // descriptor is calculated based on width.
40 uint64_t encodeUnsigned(uint64_t u, int width);
/frameworks/base/include/private/hwui/
H A DDrawGlInfo.h34 // Input: current width/height of destination surface
35 int width; member in struct:android::uirenderer::DrawGlInfo
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java64 public void setDimensions(int width, int height) { argument
66 dimensions[0] = width;
72 public void setDimensions(int width, int height, int depth) { argument
74 dimensions[0] = width;
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java36 public static MutableFrameFormat create(int width, argument
42 result.setDimensions(width, height);
51 public static MutableFrameFormat create(int width, argument
55 return create(width,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsViewLayoutAlgorithm.java52 bounds.add(new Rect(getRelativeCoordinate(ab.left, ab.width(), sb.left, db.width()),
54 getRelativeCoordinate(ab.left, ab.width(), sb.right, db.width()),
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dexposure.cpp30 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
34 const int numPixels = width * height;
52 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) {
56 const int numPixels = width * height;
29 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_overExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
51 Java_androidx_media_filterfw_samples_simplecamera_ExposureFilter_underExposureOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer) argument
H A Dpixelutils.h31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
H A Dsobeloperator.h30 JNIEnv* env, jclass clazz, jint width, jint height,
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DTabStops.java33 public float width(float widthSoFar) { method in class:TabStops
/frameworks/native/opengl/tests/lib/
H A DWindowSurface.cpp46 uint32_t width, height; local
50 width = mainDpyInfo.h;
53 width = mainDpyInfo.w;
58 String8("Benchmark"), width, height,
/frameworks/av/include/camera/
H A DCameraParameters2.h66 void setPreviewSize(int width, int height);
67 void getPreviewSize(int *width, int *height) const;
70 // Set the dimensions in pixels to the given width and height
71 // for video frames. The given width and height must be one
75 void setVideoSize(int width, int height);
76 // Retrieve the current dimensions (width and height)
81 void getVideoSize(int *width, int *height) const;
82 // Retrieve a Vector of supported dimensions (width and height)
89 // Retrieve the preferred preview size (width and height) in pixels
90 // for video recording. The given width an
[all...]
H A DCameraParameters.h26 int width; member in struct:android::Size
30 width = 0;
35 width = w;
59 void setPreviewSize(int width, int height);
60 void getPreviewSize(int *width, int *height) const;
63 // Set the dimensions in pixels to the given width and height
64 // for video frames. The given width and height must be one
68 void setVideoSize(int width, int height);
69 // Retrieve the current dimensions (width and height)
74 void getVideoSize(int *width, in
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java60 int width = bitmap.getWidth();
63 if (height > COMPACT_BITMAP_SIZE || width > COMPACT_BITMAP_SIZE) {
74 (float) COMPACT_BITMAP_SIZE / width,
80 width = height = COMPACT_BITMAP_SIZE;
83 final int size = height*width;
85 bitmap.getPixels(mTempBuffer, 0, width, 0, 0, width, height);
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp52 const float width = mLayer->layer.getWidth(); local
57 dirty.right >= width && dirty.bottom >= height)) {
59 dirty.set(0.0f, 0.0f, width, height);
61 dirty.intersect(0.0f, 0.0f, width, height);
186 Layer* LayerRenderer::createRenderLayer(RenderState& renderState, uint32_t width, uint32_t height) { argument
187 ATRACE_FORMAT("Allocate %ux%u HW Layer", width, height);
188 LAYER_RENDERER_LOGD("Requesting new render layer %dx%d", width, height);
198 Layer* layer = caches.layerCache.get(renderState, width, height);
210 width, height, maxTextureSize, maxTextureSize);
220 layer->layer.set(0.0f, 0.0f, width, heigh
256 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument
288 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, bool forceFilter, GLenum renderTarget, float* textureTransform) argument
[all...]
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DFixedAspectSurfaceView.java34 * requested aspect ratio. This can happen if both the width and the height are exactly
35 * determined by the layout. To avoid this, ensure that either the height or the width is
42 * Desired width/height ratio
63 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
90 int width = MeasureSpec.getSize(widthMeasureSpec);
108 // Height is fixed, widthMode either AT_MOST or UNSPECIFIED, so adjust width
111 // Need to fit into box <= [width, height] in size.
114 float boxAspectRatio = width / (float) height;
123 // Maximize width, heightSpec is UNSPECIFIED
130 // with width
[all...]
/frameworks/av/cmds/stagefright/
H A Djpeg.cpp40 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height) { argument
43 uint8_t row_data[width * 3];
63 cinfo.image_width = width;
74 uint16_t *src = (uint16_t *)(frame + row * width * 2);
76 for (int col = 0; col < width; col++) {
/frameworks/av/media/libstagefright/include/
H A DSoftVideoEncoderOMXComponent.h37 int32_t width,
55 struct android_ycbcr *ycbcr, int32_t width, int32_t height);
58 const uint8_t *inYVU, uint8_t* outYUV, int32_t width, int32_t height);
62 const uint8_t *src, size_t width, size_t height, size_t srcStride,
67 size_t width, size_t height) const;
77 int32_t mWidth; // width of the input frames
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java48 final int width = root.getWidth();
50 int left = width;
85 mBackgroundFallback.setBounds(0, 0, width, top);
92 if (right < width) {
93 mBackgroundFallback.setBounds(right, top, width, height);
/frameworks/base/media/java/android/media/
H A DFaceDetector.java105 * Note that the width of the image must be even.
107 * @param width the width of the image
112 public FaceDetector(int width, int height, int maxFaces) argument
117 fft_initialize(width, height, maxFaces);
118 mWidth = width;
121 mBWBuffer = new byte[width * height];
189 native private int fft_initialize(int width, int height, int maxFaces); argument

Completed in 2149 milliseconds

1234567891011>>