/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/rs/java/tests/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 | 46 * AImage is an opaque type that provides access to image generated by {@link AImageReader}. 94 * 16 bits per pixel raw camera sensor image format, usually representing a single-channel 95 * Bayer-mosaic image. 98 * values of the raw pixel data, the color space of the image, and all other 99 * needed information to interpret a raw sensor image must be queried from 100 * the {@link ACameraDevice} which produced the image.</p> 105 * Private raw camera sensor image format, a single channel image with implementation depedent 108 * <p>AIMAGE_FORMAT_RAW_PRIVATE is a format for unprocessed raw image buffers coming from an 109 * image senso [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ImageSwitcher.java | 38 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/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 71 void MediaImage2::initFromV1(const MediaImage &image) { argument 74 if (image.mType != MediaImage::MEDIA_IMAGE_TYPE_YUV) { 79 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { 80 if (image.mPlane[ix].mHorizSubsampling > INT32_MAX 81 || image.mPlane[ix].mVertSubsampling > INT32_MAX) { 87 mType = (MediaImage2::Type)image.mType; 88 mNumPlanes = image.mNumPlanes; 89 mWidth = image.mWidth; 90 mHeight = image.mHeight; 91 mBitDepth = image [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 207 * image buffer is inaccessible to the application, and calling this method 254 * filled the input image with data. This method then passes the filled 283 * @param image The Image to be queued back to ImageWriter for future 285 * @throws IllegalStateException if the image was already queued previously, 286 * or the image was aborted previously, or the input 292 public void queueInputImage(Image image) { argument 293 if (image == null) { 294 throw new IllegalArgumentException("image shouldn't be null"); 296 boolean ownedByMe = isImageOwnedByMe(image); 297 if (ownedByMe && !(((WriterSurfaceImage) image) 497 attachAndQueueInputImage(Image image) argument 585 abortImage(Image image) argument 612 isImageOwnedByMe(Image image) argument 818 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 825 cancelImage(long nativeCtx, Image image) argument [all...] |
H A D | ImageReader.java | 37 * <p>The ImageReader class allows direct application access to image data 43 * {@link android.renderscript.Allocation RenderScript Allocations}. The image 47 * <p>The image data is encapsulated in {@link Image} objects, and multiple such 51 * or {@link #acquireNextImage} call. Due to memory limits, an image source will 59 * Returned by nativeImageSetup when acquiring the image was successful. 86 * The valid sizes and formats depend on the source of the image data. 101 * ImageReaders} are more efficient to use when application access to image 138 "The image dimensions must be positive"); 142 "Maximum outstanding image count must be at least 1"); 195 * The default {@link ImageFormat image forma 563 detachImage(Image image) argument 583 isImageOwnedbyMe(Image image) 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 | 245 // Scan the entire image and determine if: 251 printf("Initial image data:\n"); 275 // Check if image is really grayscale 286 // Check if image is really opaque 297 // Check if image is really <= 256 colors 340 // Choose the best color type for the image. 365 << "forcing image to gray (max deviation = " 373 // Perform postprocessing of the image or palette data based on the final 389 // If the image is gray or gray + alpha, compact the pixels into outRows 444 << "writing image 850 getOutline(PngInfo* image) argument 940 do9Patch(PngInfo* image, std::string* outError) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 109 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 123 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 137 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 151 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 165 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 183 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 238 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 346 ALOGE("%s: image %p has been closed!", __FUNCTION__, this); 501 void AImage_delete(AImage* image) { argument 503 if (image ! 516 AImage_getWidth(const AImage* image, int32_t* width) argument 527 AImage_getHeight(const AImage* image, int32_t* height) argument 538 AImage_getFormat(const AImage* image, int32_t* format) argument 549 AImage_getCropRect(const AImage* image, AImageCropRect* rect) argument 575 AImage_getTimestamp(const AImage* image, int64_t* timestampNs) argument 586 AImage_getNumberOfPlanes(const AImage* image, int32_t* numPlanes) argument 597 AImage_getPlanePixelStride( const AImage* image, int planeIdx, int32_t* pixelStride) argument 609 AImage_getPlaneRowStride( const AImage* image, int planeIdx, int32_t* rowStride) argument 621 AImage_getPlaneData( const AImage* image, int planeIdx, uint8_t** data, int* dataLength) argument [all...] |
H A D | NdkImageReader.cpp | 236 AImage* image = *it; local 237 image->close(); 253 AImageReader::acquireCpuConsumerImageLocked(/*out*/AImage** image) { argument 254 *image = nullptr; 329 *image = new AImage(this, mFormat, buffer, buffer->timestamp, 332 *image = new AImage(this, mFormat, buffer, buffer->timestamp, 335 mAcquiredImages.push_back(*image); 357 AImageReader::releaseImageLocked(AImage* image) { argument 358 CpuConsumer::LockedBuffer* buffer = image->mBuffer; 361 ALOGW("AImage %p has no buffer!", image); 407 acquireNextImage( AImage** image) argument 413 acquireLatestImage( AImage** image) argument 554 AImageReader_acquireNextImage(AImageReader* reader, AImage** image) argument 565 AImageReader_acquireLatestImage(AImageReader* reader, AImage** image) 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/ |
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 320 saveImageAndAppendMessage(@onNull BufferedImage image, @NonNull String initialMessage, @NonNull String relativePath) argument [all...] |
/frameworks/native/vulkan/include/vulkan/ |
H A D | vk_android_native_buffer.h | 50 typedef VkResult (VKAPI_PTR *PFN_vkAcquireImageANDROID)(VkDevice device, VkImage image, int nativeFenceFd, VkSemaphore semaphore, VkFence fence); 51 typedef VkResult (VKAPI_PTR *PFN_vkQueueSignalReleaseImageANDROID)(VkQueue queue, uint32_t waitSemaphoreCount, const VkSemaphore* pWaitSemaphores, VkImage image, int* pNativeFenceFd); 62 VkImage image, 71 VkImage image,
|
/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/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...] |