/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Vignette.java | 17 package com.android.rs.image;
|
H A D | ImageProcessingTest.java | 17 package com.android.rs.image; 19 import com.android.rs.image.ImageProcessingTestRunner; 22 import com.android.rs.image.ImageProcessingActivity.TestName; 32 * adb shell am instrument -e iteration <n> -w com.android.rs.image/.ImageProcessingTestRunner
|
/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/core/tests/coretests/src/android/hardware/display/ |
H A D | VirtualDisplayTest.java | 364 // Create a solid color image to use as the content of the presentation. 374 * Watches for an image with a large amount of some particular solid color to be shown. 411 Log.d(TAG, "New image available from virtual display."); 414 Image image = reader.acquireLatestImage(); 415 if (image != null) { 418 int color = scanImage(image); 426 image.close(); 434 private int scanImage(Image image) { argument 435 final Image.Plane plane = image.getPlanes()[0]; 437 final int width = image [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.h | 121 uint8_t* image; member in struct:android::uirenderer::FontRenderer::DropShadow 126 // After renderDropShadow returns, the called owns the memory in DropShadow.image 215 // the input image handle may have its pointer replaced (to avoid copies) 216 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
|
/frameworks/base/libs/hwui/debug/ |
H A D | nullegl.cpp | 155 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR image) { argument 156 free(image);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | RecentTasks.java | 178 void saveImage(Bitmap image, String path) { argument 179 mTaskPersister.saveImage(image, path);
|
H A D | TaskPersister.java | 93 * until the image queue is drained and all tasks needing persisting are written to disk. There 116 ImageWriteQueueItem(String filePath, Bitmap image) { argument 118 mImage = image; 300 void saveImage(Bitmap image, String filePath) { argument 309 imageWriteQueueItem.mImage = image; 315 mWriteQueue.add(new ImageWriteQueueItem(filePath, image));
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
H A D | MusicTrack.java | 44 * @param image 50 String image, int trackNumber, int totalTrackCount, int duration) { 56 this.mImage = image; 49 MusicTrack(String title, String album, String artist, String genre, String source, String image, int trackNumber, int totalTrackCount, int duration) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapShader_Delegate.java | 32 import java.awt.image.BufferedImage; 33 import java.awt.image.ColorModel; 34 import java.awt.image.Raster; 94 private BitmapShader_Delegate(BufferedImage image, argument 96 mJavaPaint = new BitmapShaderPaint(image, tileModeX, tileModeY); 104 BitmapShaderPaint(BufferedImage image, argument 106 mImage = image; 166 BufferedImage image = new BufferedImage( 191 image.setRGB(0 /*startX*/, 0 /*startY*/, w, h, data, 0 /*offset*/, w /*scansize*/); 193 return image [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | GLES11RenderEngine.cpp | 241 void GLES11RenderEngine::bindImageAsFramebuffer(EGLImageKHR image, argument 247 glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, (GLeglImageOES)image);
|
H A D | GLES20RenderEngine.cpp | 210 void GLES20RenderEngine::bindImageAsFramebuffer(EGLImageKHR image, argument 216 glEGLImageTargetTexture2DOES(GL_TEXTURE_2D, (GLeglImageOES)image);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_dpb.c | 609 image pointer to current picture to be placed in the buffer 632 image_t *image, 653 if (image->data != dpb->currentOut->data) 868 function to allocate memory for a image. This function does not 873 pointer to memory area for the image 1029 * image size + 32 + 15, where 32 cames from the fact that in ARM OpenMax 629 h264bsdMarkDecRefPic( dpbStorage_t *dpb, decRefPicMarking_t *mark, image_t *image, u32 frameNum, i32 picOrderCnt, u32 isIdr, u32 currentPicId, u32 numErrMbs) argument
|
H A D | h264bsd_macroblock_layer.c | 101 macroblockLayer_t *mbLayer, const u8 **pSrc, image_t *image); 104 u32 intraChromaPredMode, const u8 **pSrc, image_t *image); 942 Decode one macroblock and write into output image. 947 currImage pointer to output image 956 currImage decoded macroblock is written into output image 1218 image_t *image) 1240 if (h264bsdIntra16x16Prediction(pMb, data, image->luma, 1241 image->width*16, constrainedIntraPred) != HANTRO_OK) 1264 image, 1286 image_t *image) 1213 ProcessIntra16x16Residual(mbStorage_t *pMb, u8 *data, u32 constrainedIntraPred, u32 intraChromaPredMode, const u8** pSrc, image_t *image) argument 1281 ProcessIntra4x4Residual(mbStorage_t *pMb, u8 *data, u32 constrainedIntraPred, macroblockLayer_t *mbLayer, const u8 **pSrc, image_t *image) argument [all...] |
H A D | h264bsd_deblocking.c | 556 on the original image. Parameters controlling the filtering process 562 image pointer to image to be filtered 567 image filtered image stored here 575 image_t *image, 591 ASSERT(image); 593 ASSERT(image->data); 594 ASSERT(image->width); 595 ASSERT(image 574 h264bsdFilterPicture( image_t *image, mbStorage_t *mb) argument 1766 h264bsdFilterPicture( image_t *image, mbStorage_t *mb) argument [all...] |
H A D | h264bsd_intra_prediction.c | 372 u32 h264bsdIntraChromaPrediction(mbStorage_t *pMb, u8 *data, image_t *image, argument 386 ASSERT(image); 402 ptr = image->cb; 403 width = image->width*8; 421 ptr = image->cr; 452 (prediction + residual) into the output image (image) 457 image pointer to output image 465 image curren 473 h264bsdIntraPrediction(mbStorage_t *pMb, macroblockLayer_t *mbLayer, image_t *image, u32 mbNum, u32 constrainedIntraPred, u8 *data) argument 540 h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraErrorCollector.java | 1058 public void expectImageProperties(String msg, Image image, int format, Size size, argument 1060 expectEquals(msg + "Image format is wrong.", image.getFormat(), format); 1061 expectEquals(msg + "Image width is wrong.", image.getWidth(), size.getWidth()); 1062 expectEquals(msg + "Image height is wrong.", image.getHeight(), size.getHeight()); 1063 expectEquals(msg + "Image timestamp is wrong.", image.getTimestamp(), timestampNs);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2RecordingTest.java | 183 * capture the JPEG image. The still capture images are validated according to the capture 701 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); 702 validateVideoSnapshotCapture(image, videoSnapshotSz); 703 image.close(); 706 // validate video snapshot image 707 Image image = imageListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); 708 validateVideoSnapshotCapture(image, videoSnapshotSz); 712 resultListener, image.getTimestamp()); 717 image.close(); 978 * Validate video snapshot capture image objec 985 validateVideoSnapshotCapture(Image image, Size size) argument [all...] |
H A D | Camera2ReprocessCaptureTest.java | 80 // The image reader for the first regular capture 82 // The image reader for the reprocess capture 84 // A flag indicating whether the regular capture and the reprocess capture share the same image 572 // Drain the image reader listeners. 591 * sensor timestamp, and output image's timestamp should match the reprocess input's timestamp. 619 // Reprocess result's timestamp should match input image's timestamp. 638 // Verify the result timestamps match the input image's timestamps. 642 "image's timestamp (" + expected + ")", expected, timestamp); 644 // Verify the reprocess output image timestamps match the input image' 1122 dumpImage(Image image, String name) argument 1149 ImageResultHolder(Image image, TotalCaptureResult result) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 46 * Shows an image using {@link TiledImageRenderer} using either {@link GLSurfaceView} 71 TiledImageRenderer image; field in class:TiledImageView.ImageRendererWrapper 97 mRenderer.image = new TiledImageRenderer(this); 130 mRenderer.image.freeTextures(); 289 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); 295 mRenderer.image.setViewSize(width, height); 304 mRenderer.image.setModel(mRenderer.source, mRenderer.rotation); 305 mRenderer.image.setPosition(mRenderer.centerX, mRenderer.centerY, 308 boolean complete = mRenderer.image.draw(mCanvas);
|
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_gif.cpp | 69 const SavedImage& image = mGif->SavedImages[i]; local 72 for (int j = 0; (j + 1) < image.ExtensionBlockCount; j++) { 73 ExtensionBlock* eb1 = image.ExtensionBlocks + j; 74 ExtensionBlock* eb2 = image.ExtensionBlocks + j + 1;
|
/frameworks/base/media/java/android/media/ |
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...] |
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...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 317 static void ImageWriter_dequeueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image) { argument 353 // Finally, set the native info into image object. 354 Image_setNativeContext(env, image, buffer, fenceFd); 392 static void ImageWriter_cancelImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image) { argument 404 Image_getNativeContext(env, image, &buffer, &fenceFd); 406 // Cancel an already cancelled image is harmless. 410 // Unlock the image if it was locked 411 Image_unlockIfLocked(env, image); 415 Image_setNativeContext(env, image, NULL, -1); 418 static void ImageWriter_queueImage(JNIEnv* env, jobject thiz, jlong nativeCtx, jobject image, argument 686 Image_getLockedImage(JNIEnv* env, jobject thiz, LockedImage *image) argument [all...] |