Home
last modified time | relevance | path

Searched refs:ImageProxy (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DZslImageCaptureCommand.java27 import com.android.camera.one.v2.camera2proxy.ImageProxy;
56 private final BufferQueue<ImageProxy> mZslRingBuffer;
63 BufferQueue<ImageProxy> zslRingBuffer, in ZslImageCaptureCommand()
80 private List<ImageProxy> getAllAvailableImages() throws InterruptedException, in getAllAvailableImages()
82 List<ImageProxy> images = new ArrayList<>(); in getAllAvailableImages()
96 for (ImageProxy image : images) { in getAllAvailableImages()
104 private List<ImageProxy> filterImagesWithinMaxLookBack(List<ImageProxy> images) { in filterImagesWithinMaxLookBack()
108 List<ImageProxy> filtered = new ArrayList<>(); in filterImagesWithinMaxLookBack()
111 for (ImageProxy image : images) { in filterImagesWithinMaxLookBack()
122 private Pair<ImageProxy, TotalCaptureResultProxy> tryGetZslImage() throws InterruptedException, in tryGetZslImage()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java19 import com.android.camera.one.v2.camera2proxy.ImageProxy;
38 private final Map<Long, ImageProxy> mThumbnails;
48 public void addThumbnail(ImageProxy imageProxy) { in addThumbnail()
54 public void addFullSizeImage(ImageProxy imageProxy, in addFullSizeImage()
72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); in close()
87 for (ImageProxy image : mThumbnails.values()) { in closeAllImages()
91 for (ImageProxy image : mFullSizeImages.values()) { in closeAllImages()
96 private void closeOlderImages(long threshold, Map<Long, ? extends ImageProxy> imageMap) { in closeOlderImages()
123 for (ImageProxy image : mFullSizeImages.values()) { in getMostRecentFullSizeImageTimestamp()
152 private ImageProxy getThumbnail(long timestamp) { in getThumbnail()
DSingleImageSaver.java19 import com.android.camera.one.v2.camera2proxy.ImageProxy;
34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail, in saveAndCloseImage()
DImageSaver.java22 import com.android.camera.one.v2.camera2proxy.ImageProxy;
73 public void addThumbnail(ImageProxy imageProxy); in addThumbnail()
84 public void addFullSizeImage(ImageProxy imageProxy, ListenableFuture<TotalCaptureResultProxy> in addFullSizeImage()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
DImageDistributorImpl.java23 import com.android.camera.one.v2.camera2proxy.ImageProxy;
45 public final BufferQueueController<ImageProxy> imageStream;
48 BufferQueueController<ImageProxy> imageStream) { in DispatchRecord()
97 public void distributeImage(ImageProxy image) { in distributeImage()
122 List<BufferQueueController<ImageProxy>> streamsToReceiveImage = new ArrayList<>(); in distributeImage()
186 for (BufferQueueController<ImageProxy> outputStream : streamsToReceiveImage) { in distributeImage()
190 ImageProxy singleCloseImage = new SingleCloseImageProxy(sharedImage); in distributeImage()
210 BufferQueueController<ImageProxy> outputStream) { in addRoute()
DImageStream.java20 import com.android.camera.one.v2.camera2proxy.ImageProxy;
39 public interface ImageStream extends BufferQueue<ImageProxy>, CaptureStream {
57 public ImageProxy getNext() throws InterruptedException, BufferQueueClosedException; in getNext()
73 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, in getNext()
86 public ImageProxy peekNext(); in peekNext()
DRefCountedImageProxy.java21 import com.android.camera.one.v2.camera2proxy.ImageProxy;
31 private final RefCountBase<ImageProxy> mRefCount;
37 public RefCountedImageProxy(ImageProxy image, int refCount) { in RefCountedImageProxy()
39 mRefCount = new RefCountBase<ImageProxy>(image, refCount); in RefCountedImageProxy()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidImageProxy.java36 public class AndroidImageProxy implements ImageProxy {
42 public class Plane implements ImageProxy.Plane {
93 private final ImmutableList<ImageProxy.Plane> mPlanes;
115 List<ImageProxy.Plane> wrappedPlanes = new ArrayList<>(planes.length); in AndroidImageProxy()
174 public List<ImageProxy.Plane> getPlanes() { in getPlanes()
219 if (!(other instanceof ImageProxy)) { in equals()
222 ImageProxy otherImage = (ImageProxy) other; in equals()
DForwardingImageProxy.java32 public abstract class ForwardingImageProxy implements ImageProxy {
33 private final ImageProxy mImpl;
35 public ForwardingImageProxy(ImageProxy proxy) { in ForwardingImageProxy()
117 if (!(other instanceof ImageProxy)) { in equals()
120 ImageProxy otherImage = (ImageProxy) other; in equals()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DDynamicRingBuffer.java24 import com.android.camera.one.v2.camera2proxy.ImageProxy;
60 final class DynamicRingBuffer implements TicketPool, BufferQueue<ImageProxy>,
61 BufferQueueController<ImageProxy> {
62 private final CountableBufferQueue<ImageProxy> mQueue;
84 public void update(@Nonnull ImageProxy image) { in update()
131 public ImageProxy getNext() throws InterruptedException, BufferQueueClosedException { in getNext()
136 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, in getNext()
142 public ImageProxy peekNext() { in peekNext()
DDynamicRingBufferFactory.java23 import com.android.camera.one.v2.camera2proxy.ImageProxy;
42 private final BufferQueueController<ImageProxy> mRingBufferInput;
43 private final BufferQueue<ImageProxy> mRingBufferOutput;
66 public BufferQueueController<ImageProxy> provideRingBufferInput() { in provideRingBufferInput()
70 public BufferQueue<ImageProxy> provideRingBufferOutput() { in provideRingBufferOutput()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataReleasingImageQueue.java21 import com.android.camera.one.v2.camera2proxy.ImageProxy;
34 public class MetadataReleasingImageQueue implements BufferQueueController<ImageProxy> {
36 public MetadataReleasingImageProxy(ImageProxy proxy) { in MetadataReleasingImageProxy()
51 private final BufferQueueController<ImageProxy> mOutputQueue;
54 public MetadataReleasingImageQueue(BufferQueueController<ImageProxy> outputQueue, in MetadataReleasingImageQueue()
61 public void update(@Nonnull ImageProxy element) { in update()
DMetadataPoolFactory.java21 import com.android.camera.one.v2.camera2proxy.ImageProxy;
26 private final BufferQueueController<ImageProxy> mImageQueue;
29 public MetadataPoolFactory(BufferQueueController<ImageProxy> imageQueue) { in MetadataPoolFactory()
42 public BufferQueueController<ImageProxy> provideImageQueue() { in provideImageQueue()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCloseWhenDoneImageReader.java21 import com.android.camera.one.v2.camera2proxy.ImageProxy;
42 public ImageDecorator(ImageProxy proxy) { in ImageDecorator()
83 public ImageProxy acquireNextImage() { in acquireNextImage()
86 ImageProxy image = super.acquireNextImage(); in acquireNextImage()
98 public ImageProxy acquireLatestImage() { in acquireLatestImage()
101 ImageProxy image = super.acquireLatestImage(); in acquireLatestImage()
DLoggingImageReader.java23 import com.android.camera.one.v2.camera2proxy.ImageProxy;
35 public LoggingImageProxy(ImageProxy proxy) { in LoggingImageProxy()
60 public ImageProxy acquireNextImage() { in acquireNextImage()
66 public ImageProxy acquireLatestImage() { in acquireLatestImage()
71 private ImageProxy decorateNewImage(@Nullable ImageProxy image) { in decorateNewImage()
/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java24 import com.android.camera.one.v2.camera2proxy.ImageProxy;
122 public static void copyImagePlaneToBitmap(ImageProxy.Plane plane, Bitmap bitmap, int rot90) { in copyImagePlaneToBitmap()
173 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality) { in compressJpegFromYUV420Image()
188 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image()
210 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image()
224 final List<ImageProxy.Plane> planeList = img.getPlanes(); in compressJpegFromYUV420Image()
232 ImageProxy.Plane plane = planeList.get(i); in compressJpegFromYUV420Image()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DTicketRequiredFilter.java20 import com.android.camera.one.v2.camera2proxy.ImageProxy;
32 class TicketRequiredFilter implements BufferQueueController<ImageProxy> {
34 private final BufferQueueController<ImageProxy> mImageSequence;
37 BufferQueueController<ImageProxy> imageSequence) { in TicketRequiredFilter()
43 public void update(@Nonnull ImageProxy image) { in update()
DImageStreamImpl.java25 import com.android.camera.one.v2.camera2proxy.ImageProxy;
34 class ImageStreamImpl extends ForwardingBufferQueue<ImageProxy> implements
37 private final BufferQueueController<ImageProxy> mImageStreamController;
41 public ImageStreamImpl(BufferQueue<ImageProxy> imageStream, in ImageStreamImpl()
42 BufferQueueController<ImageProxy> imageStreamController, in ImageStreamImpl()
DAllocatingImageStream.java23 import com.android.camera.one.v2.camera2proxy.ImageProxy;
56 BufferQueue<ImageProxy> imageStream, in AllocatingImageStream()
57 BufferQueueController<ImageProxy> imageStreamController, in AllocatingImageStream()
DManagedImageReader.java26 import com.android.camera.one.v2.camera2proxy.ImageProxy;
100 ConcurrentBufferQueue<ImageProxy> imageStream = new ConcurrentBufferQueue<>(new in createUnallocatedStream()
104 BufferQueueController<ImageProxy> imageStreamController = new in createUnallocatedStream()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageToProcess.java22 import com.android.camera.one.v2.camera2proxy.ImageProxy;
31 public final ImageProxy proxy;
45 public ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, in ImageToProcess()
60 public ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, in ImageToProcess()
DTaskJpegEncode.java27 import com.android.camera.one.v2.camera2proxy.ImageProxy;
78 public byte[] convertYUV420ImageToPackedNV21(ImageProxy img) { in convertYUV420ImageToPackedNV21()
79 final List<ImageProxy.Plane> planeList = img.getPlanes(); in convertYUV420ImageToPackedNV21()
100 public byte[] convertYUV420ImageToPackedNV21(ImageProxy img, byte[] dataCopy) { in convertYUV420ImageToPackedNV21()
104 final List<ImageProxy.Plane> planeList = img.getPlanes(); in convertYUV420ImageToPackedNV21()
DTaskConvertImageToRGBPreview.java21 import com.android.camera.one.v2.camera2proxy.ImageProxy;
222 protected int[] colorInscribedDataCircleFromYuvImage(ImageProxy img, int subsample) { in colorInscribedDataCircleFromYuvImage()
228 protected int[] colorInscribedDataCircleFromYuvImage(ImageProxy img, Rect crop, int subsample) { in colorInscribedDataCircleFromYuvImage()
230 final List<ImageProxy.Plane> planeList = img.getPlanes(); in colorInscribedDataCircleFromYuvImage()
500 protected int[] colorSubSampleFromYuvImage(ImageProxy img, int subsample, in colorSubSampleFromYuvImage()
540 protected int[] colorSubSampleFromYuvImage(ImageProxy img, Rect crop, int subsample, in colorSubSampleFromYuvImage()
543 final List<ImageProxy.Plane> planeList = img.getPlanes(); in colorSubSampleFromYuvImage()
782 protected int[] dummyColorInscribedDataCircleFromYuvImage(ImageProxy img, int subsample) { in dummyColorInscribedDataCircleFromYuvImage()
847 protected int[] runSelectedConversion(ImageProxy img, Rect crop, int subsample) { in runSelectedConversion()
DTaskImageContainer.java22 import com.android.camera.one.v2.camera2proxy.ImageProxy;
225 public Rect guaranteedSafeCrop(ImageProxy image, @Nullable Rect crop) { in guaranteedSafeCrop()
274 public boolean requiresCropOperation(ImageProxy image, @Nullable Rect crop) { in requiresCropOperation()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
DImageCloser.java20 import com.android.camera.one.v2.camera2proxy.ImageProxy;
22 public class ImageCloser implements ConcurrentBufferQueue.UnusedElementProcessor<ImageProxy> {
24 public void process(ImageProxy element) { in process()

12