Home
last modified time | relevance | path

Searched refs:out (Results 1 – 4 of 4) sorted by relevance

/pdk/apps/TestingCamera/src/com/android/testingcamera/
Dcallback.rscript101 uchar4 out;
102 out.r = yuv_in[y_stride * y_scaled + x_scaled];
103 out.g = 128;
104 out.b = 128;
105 out.a = 255; // For affine transform later
108 return multiply_and_clamp(&yuv2rgb_matrix, out);
120 uchar4 out;
121 out.r = yuv_in[y_stride * y_scaled + x_scaled];
122 out.g = yuv_in[u_start + vu_pixel];
123 out.b = yuv_in[v_start + vu_pixel];
[all …]
DSnapshotDialogFragment.java160 FileOutputStream out = new FileOutputStream(targetFile); in saveFile() local
161 out.write(mJpegImage); in saveFile()
162 out.close(); in saveFile()
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/
DImageReaderSubPane.java579 try (FileOutputStream out = new FileOutputStream(output)) { in saveImage() argument
582 writeJpegImage(img, out); in saveImage()
586 writeYuvImage(img, out); in saveImage()
590 writeDngImage(img, out); in saveImage()
598 writeDepth16Image(img, out); in saveImage()
602 writeDepthPointImage(img, out); in saveImage()
610 private void writeDngImage(Image img, OutputStream out) throws IOException { in writeDngImage() argument
630 writer.writeImage(out, img); in writeDngImage()
634 private void writeJpegImage(Image img, OutputStream out) throws IOException { in writeJpegImage() argument
640 WritableByteChannel outChannel = Channels.newChannel(out); in writeJpegImage()
[all …]
/pdk/apps/TestingCamera2/
DREADME.txt42 the cameras available on the Android device. It allows for opening the device, reading out its