/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.h | 52 image_t *image,
|
H A D | h264bsd_image.h | 60 void h264bsdWriteMacroblock(image_t *image, u8 *data); 63 void h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data,
|
H A D | h264bsd_inter_prediction.h | 53 dpbStorage_t *dpb, u32 mbNum, image_t *image, u8 *data);
|
H A D | h264bsd_util.c | 255 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 D | h264bsd_image.c | 65 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...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 78 void MediaImage2::initFromV1(const MediaImage &image) { argument 81 if (image.mType != MediaImage::MEDIA_IMAGE_TYPE_YUV) { 86 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { 87 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX 88 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { 94 mType = (MediaImage2::Type)image.mType; 95 mNumPlanes = image.mNumPlanes; 96 mWidth = image.mWidth; 97 mHeight = image.mHeight; 98 mBitDepth = image 200 MediaImage2 &image = params.sMediaImage; local [all...] |
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | ip.rsh | 18 #pragma rs java_package_name(com.android.rs.image)
|
H A D | ImageProcessingTestRunner.java | 17 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 D | BWFilter.java | 17 package com.android.rs.image;
|
H A D | Contrast.java | 17 package com.android.rs.image;
|
H A D | Exposure.java | 17 package com.android.rs.image;
|
H A D | Shadows.java | 17 package com.android.rs.image;
|
/frameworks/av/include/ndk/ |
H A D | NdkImage.h | 54 * AImage is an opaque type that provides access to image generated by {@link AImageReader}. 193 * 16 bits per pixel raw camera sensor image format, usually representing a single-channel 194 * Bayer-mosaic image. 197 * values of the raw pixel data, the color space of the image, and all other 198 * needed information to interpret a raw sensor image must be queried from 199 * the {@link ACameraDevice} which produced the image.</p> 204 * Private raw camera sensor image format, a single channel image with implementation depedent 207 * <p>AIMAGE_FORMAT_RAW_PRIVATE is a format for unprocessed raw image buffers coming from an 208 * image senso [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 27 * image is set on it. The views added to an ImageSwitcher must all be 54 * Sets a new image on the ImageSwitcher with the given resource id. 55 * This will set that image resource on the next ImageView in the switcher and will 64 ImageView image = (ImageView)this.getNextView(); 65 image.setImageResource(resid); 70 * Sets a new image on the ImageSwitcher with the given Uri. 71 * This will set that image on the next ImageView in the switcher and will 74 * @param uri the Uri of an image 80 ImageView image = (ImageView)this.getNextView(); 81 image [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 136 * The format specifies the image format of this ImageWriter. The format 260 * image buffer is inaccessible to the application, and calling this method 307 * filled the input image with data. This method then passes the filled 336 * @param image The Image to be queued back to ImageWriter for future 338 * @throws IllegalStateException if the image was already queued previously, 339 * or the image was aborted previously, or the input 345 public void queueInputImage(Image image) { argument 346 if (image == null) { 347 throw new IllegalArgumentException("image shouldn't be null"); 349 boolean ownedByMe = isImageOwnedByMe(image); 536 attachAndQueueInputImage(Image image) argument 624 abortImage(Image image) argument 651 isImageOwnedByMe(Image image) argument 858 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 865 cancelImage(long nativeCtx, Image image) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 110 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 124 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 138 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 152 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 166 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 186 // Return immediately if the image has already been locked. 201 ALOGV("%s: Successfully locked the image %p.", __FUNCTION__, this); 219 // This image hasn't been locked yet, no need to unlock. 253 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 313 ALOGE("%s: image 611 AImage_delete(AImage* image) argument 618 AImage_deleteAsync(AImage* image, int releaseFenceFd) argument 633 AImage_getWidth(const AImage* image, int32_t* width) argument 644 AImage_getHeight(const AImage* image, int32_t* height) argument 655 AImage_getFormat(const AImage* image, int32_t* format) argument 666 AImage_getCropRect(const AImage* image, AImageCropRect* rect) argument 692 AImage_getTimestamp(const AImage* image, int64_t* timestampNs) argument 703 AImage_getNumberOfPlanes(const AImage* image, int32_t* numPlanes) argument 714 AImage_getPlanePixelStride( const AImage* image, int planeIdx, int32_t* pixelStride) argument 732 AImage_getPlaneRowStride( const AImage* image, int planeIdx, int32_t* rowStride) argument 750 AImage_getPlaneData( const AImage* image, int planeIdx, uint8_t** data, int* dataLength) argument 769 AImage_getHardwareBuffer( const AImage* image, AHardwareBuffer** buffer) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 36 // 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/compile/ |
H A D | Png.cpp | 263 // Scan the entire image and determine if: 269 printf("Initial image data:\n"); 293 // Check if image is really grayscale 304 // Check if image is really opaque 315 // Check if image is really <= 256 colors 359 // Choose the best color type for the image. 385 diag->Note(DiagMessage() << "forcing image to gray (max deviation = " 393 // Perform postprocessing of the image or palette data based on the final 410 // If the image is gray or gray + alpha, compact the pixels into outRows 465 diag->Note(DiagMessage() << "writing image 886 getOutline(PngInfo* image) argument 976 do9Patch(PngInfo* image, std::string* outError) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | SurfaceHolderTarget.java | 17 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/util/ |
H A D | ImageUtils.java | 25 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); 88 BufferedImage image, double maxPercentDifferent) throws IOException { 89 assertEquals("Only TYPE_INT_ARGB image types are supported", TYPE_INT_ARGB, image 87 assertImageSimilar(String relativePath, BufferedImage goldenImage, BufferedImage image, double maxPercentDifferent) argument 321 saveImageAndAppendMessage(@onNull BufferedImage image, @NonNull String initialMessage, @NonNull String relativePath) argument [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
H A D | IconCardPresenter.java | 40 final ImageView image = imageCardView.getMainImageView(); 41 image.setBackgroundResource(R.drawable.icon_focused); 42 image.getBackground().setAlpha(0); 46 animateIconBackground(image.getBackground(), hasFocus);
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
H A D | IconCardPresenter.java | 40 final ImageView image = imageCardView.getMainImageView(); 41 image.setBackgroundResource(R.drawable.icon_focused); 42 image.getBackground().setAlpha(0); 46 animateIconBackground(image.getBackground(), hasFocus);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | IfElseFilterTest.java | 51 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);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaOpenGLReadback.cpp | 64 sk_sp<SkImage> image(SkImage::MakeFromAdoptedTexture(grContext.get(), textureDescription)); 65 if (image) { 100 scaledSurface->getCanvas()->drawImageRect(image, skiaSrcRect, 102 image = scaledSurface->makeImageSnapshot(); 106 if (image->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 115 image.reset();
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 23 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...] |