Searched refs:image (Results 1 - 25 of 131) sorted by relevance

123456

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.h52 image_t *image,
H A Dh264bsd_image.h60 void h264bsdWriteMacroblock(image_t *image, u8 *data);
63 void h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data,
H A Dh264bsd_inter_prediction.h53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);
H A Dh264bsd_util.c255 image Current image
264 void h264bsdSetCurrImageMbPointers(image_t *image, u32 mbNum) argument
271 width = image->width;
272 height = image->height;
279 image->luma = (u8*)(image->data + col * 16 + tmp * 256);
280 image->cb = (u8*)(image->data + picSize * 256 + tmp * 64 + col * 8);
281 image
[all...]
H A Dh264bsd_image.c65 Write one macroblock into the image. Both luma and chroma
73 image pointer to the image where the macroblock will be written
80 void h264bsdWriteMacroblock(image_t *image, u8 *data) argument
93 ASSERT(image);
97 width = image->width;
101 lum = (u32*)image->luma;
102 cb = (u32*)image->cb;
103 cr = (u32*)image->cr;
151 Write one macroblock into the image
171 h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data, i32 residual[][16]) argument
[all...]
H A Dh264bsd_intra_prediction.h52 image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data);
63 void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum);
75 u32 h264bsdIntraChromaPrediction(mbStorage_t *pMb, u8 *data, image_t *image,
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dip.rsh18 #pragma rs java_package_name(com.android.rs.image)
H A DImageProcessingTestRunner.java17 package com.android.rs.image;
19 import com.android.rs.image.ImageProcessingTest;
27 * adb shell am instrument -e iteration <n> -w com.android.rs.image/.ImageProcessingTestRunner
H A DBWFilter.java17 package com.android.rs.image;
H A DContrast.java17 package com.android.rs.image;
H A DExposure.java17 package com.android.rs.image;
H A DShadows.java17 package com.android.rs.image;
H A DVibrance.java17 package com.android.rs.image;
/frameworks/base/core/java/android/widget/
H A DImageSwitcher.java38 ImageView image = (ImageView)this.getNextView();
39 image.setImageResource(resid);
45 ImageView image = (ImageView)this.getNextView();
46 image.setImageURI(uri);
52 ImageView image = (ImageView)this.getNextView();
53 image.setImageDrawable(drawable);
/frameworks/base/media/java/android/media/
H A DImageWriter.java188 * image buffer is inaccessible to the application, and calling this method
235 * filled the input image with data. This method then passes the filled
264 * @param image The Image to be queued back to ImageWriter for future
266 * @throws IllegalStateException if the image was already queued previously,
267 * or the image was aborted previously, or the input
273 public void queueInputImage(Image image) { argument
274 if (image == null) {
275 throw new IllegalArgumentException("image shouldn't be null");
277 boolean ownedByMe = isImageOwnedByMe(image);
278 if (ownedByMe && !(((WriterSurfaceImage) image)
473 attachAndQueueInputImage(Image image) argument
561 abortImage(Image image) argument
589 isImageOwnedByMe(Image image) argument
795 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument
802 cancelImage(long nativeCtx, Image image) argument
[all...]
H A DImageUtils.java72 * Copy source image data to destination Image.
77 * source image will be copied to the byteBuffers from the destination Image
78 * starting from position zero, and the destination image will be rewound to
82 * @param src The source image to be copied from.
83 * @param dst The destination image to be copied to.
99 throw new IllegalArgumentException("Destination image is not from ImageWriter. Only"
105 throw new IllegalArgumentException("source image size " + srcSize + " is different"
106 + " with " + "destination image size " + dstSize);
123 throw new IllegalArgumentException("Source plane image pixel stride " +
125 " must be same as destination image pixe
219 getEffectivePlaneSizeForImage(Image image, int planeIdx) argument
[all...]
H A DImageReader.java35 * <p>The ImageReader class allows direct application access to image data
41 * {@link android.renderscript.Allocation RenderScript Allocations}. The image
45 * <p>The image data is encapsulated in {@link Image} objects, and multiple such
49 * or {@link #acquireNextImage} call. Due to memory limits, an image source will
57 * Returned by nativeImageSetup when acquiring the image was successful.
84 * The valid sizes and formats depend on the source of the image data.
99 * ImageReaders} are more efficient to use when application access to image
136 "The image dimensions must be positive");
140 "Maximum outstanding image count must be at least 1");
189 * The default {@link ImageFormat image forma
525 detachImage(Image image) argument
584 isImageOwnedbyMe(Image image) argument
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp36 // This holds an image as 8bpp RGBA.
449 static void get_outline(image_info* image) argument
451 int midX = image->width / 2;
452 int midY = image->height / 2;
453 int endX = image->width - 2;
454 int endY = image->height - 2;
457 if (image->width > 4) {
458 find_max_opacity(image->rows, 1, midY, midX, -1, 1, 0, &image->outlineInsetsLeft);
459 find_max_opacity(image
541 do_9patch(const char* imageName, image_info* image) argument
[all...]
/frameworks/base/tools/aapt2/
H A DPng.cpp247 // Scan the entire image and determine if:
253 printf("Initial image data:\n");
277 // Check if image is really grayscale
288 // Check if image is really opaque
299 // Check if image is really <= 256 colors
342 // Choose the best color type for the image.
366 logger->note() << "forcing image to gray (max deviation = " << maxGrayDeviation
375 // Perform postprocessing of the image or palette data based on the final
391 // If the image is gray or gray + alpha, compact the pixels into outRows
445 logger->note() << "writing image
852 getOutline(PngInfo* image) argument
942 do9Patch(PngInfo* image, std::string* outError) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffColorFilter_Delegate.java25 import java.awt.image.BufferedImage;
69 BufferedImage image = createFilterImage(width, height);
71 g.drawImage(image, 0, 0, null);
92 BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
93 Graphics2D graphics = image.createGraphics();
100 return image;
103 // For filtering the colors, the src image should contain the "color" only for pixel values
104 // which are not transparent in the target image. But, we are using a simple rectangular image
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSurfaceHolderTarget.java17 package androidx.media.filterpacks.image;
101 .addInputPort("image", Signature.PORT_REQUIRED, imageType)
126 FrameImage2D image = getConnectedInputPort("image").pullFrame().asFrameImage2D();
131 renderGL(image);
133 renderCanvas(image);
141 * @param image the image to render
143 private void renderGL(FrameImage2D image) { argument
148 Rect frameRect = new Rect(0, 0, image
163 renderCanvas(FrameImage2D image) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java25 import java.awt.image.BufferedImage;
33 import static java.awt.image.BufferedImage.TYPE_INT_ARGB;
46 * Utilities related to image processing.
61 public static void requireSimilar(@NonNull String relativePath, @NonNull BufferedImage image) argument
63 int maxDimension = Math.max(image.getWidth(), image.getHeight());
65 BufferedImage thumbnail = scale(image, scale, scale);
84 BufferedImage image, double maxPercentDifferent) throws IOException {
85 assertEquals("Only TYPE_INT_ARGB image types are supported", TYPE_INT_ARGB, image
83 assertImageSimilar(String relativePath, BufferedImage goldenImage, BufferedImage image, double maxPercentDifferent) argument
316 saveImageAndAppendMessage(@onNull BufferedImage image, @NonNull String initialMessage, @NonNull String relativePath) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DIfElseFilterTest.java51 FrameImage2D image =
63 image.setBitmap(imageBitmap);
64 injectInputFrame("falseResult", image);
82 FrameImage2D image =
94 image.setBitmap(imageBitmap);
95 injectInputFrame("falseResult", image);
109 assertEquals(outputImage, image);
H A DAvgBrightnessFilterTest.java43 FrameImage2D image =
48 image.setBitmap(bitmap);
50 injectInputFrame("image", image);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DShadowPainter.java23 import java.awt.image.BufferedImage;
24 import java.awt.image.DataBufferInt;
33 * Adds a drop shadow to a semi-transparent image (of an arbitrary shape) and returns it as a
34 * new image. This method attempts to mimic the same visual characteristics as the rectangular
35 * shadow painting methods in this class, {@link #createRectangularDropShadow(java.awt.image.BufferedImage)}
36 * and {@link #createSmallRectangularDropShadow(java.awt.image.BufferedImage)}.
38 * If shadowSize is less or equals to 1, no shadow will be painted and the source image will be
41 * @param source the source image
45 * @return an image with the shadow painted in or the source image i
241 drawRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument
262 drawSmallRectangleShadow(BufferedImage image, int x, int y, int width, int height) argument
[all...]

Completed in 1564 milliseconds

123456