Home
last modified time | relevance | path

Searched refs:imageSize (Results 1 – 16 of 16) sorted by relevance

/device/generic/goldfish/camera/
Djpeg.cpp167 bool compressYUVImpl(const android_ycbcr& image, const Rect<uint16_t> imageSize, in compressYUVImpl() argument
182 cinfo.image_width = imageSize.width; in compressYUVImpl()
183 cinfo.image_height = imageSize.height; in compressYUVImpl()
210 if (imageSize.width % kJpegMCUSize) { in compressYUVImpl()
212 ((imageSize.width + kJpegMCUSize) / kJpegMCUSize) * kJpegMCUSize; in compressYUVImpl()
290 const Rect<uint16_t> imageSize, in compressYUV() argument
296 yuv::toNV21Shallow(imageSize.width, imageSize.height, in compressYUV()
299 auto exifData = exif::createExifData(metadata, imageSize); in compressYUV()
331 const android_ycbcr thumbmnail = resizeYUV(imageNV21, imageSize, in compressYUV()
370 const bool success = compressYUVImpl(imageNV21, imageSize, rawExif, rawExifSize, in compressYUV()
DHwCamera.cpp96 bool HwCamera::compressJpeg(const Rect<uint16_t> imageSize, in compressJpeg() argument
110 const size_t compressedSize = jpeg::compressYUV(imageYcbcr, imageSize, metadata, in compressJpeg()
127 bool HwCamera::convertRGBAtoRAW16(const Rect<uint16_t> imageSize, in convertRGBAtoRAW16() argument
130 if ((imageSize.width & 1) || (imageSize.height & 1)) { in convertRGBAtoRAW16()
142 {imageSize.width, imageSize.height}, &raw16) != NO_ERROR) { in convertRGBAtoRAW16()
146 const unsigned height = imageSize.height; in convertRGBAtoRAW16()
147 const unsigned rgbaWidth = imageSize.width; in convertRGBAtoRAW16()
DQemuCamera.cpp342 const Rect<uint16_t> imageSize = si.size; in captureFrameRAW16() local
346 return [csb, image, imageSize, metadata = std::move(metadata), in captureFrameRAW16()
353 {imageSize.width, imageSize.height}, &mem) == NO_ERROR) { in captureFrameRAW16()
354 sb = csb->finish(convertRGBAtoRAW16(imageSize, mem, csb->getBuffer())); in captureFrameRAW16()
376 const Rect<uint16_t> imageSize = si.size; in captureFrameJpeg() local
381 return [csb, image, imageSize, metadata = std::move(metadata), jpegBufferSize, in captureFrameJpeg()
388 {imageSize.width, imageSize.height}, &imageYcbcr) == NO_ERROR) { in captureFrameJpeg()
389 sb = csb->finish(compressJpeg(imageSize, imageYcbcr, metadata, in captureFrameJpeg()
DFakeRotatingCamera.cpp217 bool compressNV21IntoJpeg(const Rect<uint16_t> imageSize, in compressNV21IntoJpeg() argument
222 const android_ycbcr imageYcbcr = yuv::NV21init(imageSize.width, imageSize.height, in compressNV21IntoJpeg()
225 return HwCamera::compressJpeg(imageSize, imageYcbcr, metadata, in compressNV21IntoJpeg()
593 const Rect<uint16_t> imageSize = si.size; in captureFrameJpeg() local
598 return [csb, imageSize, nv21data = std::move(nv21data), metadata = std::move(metadata), in captureFrameJpeg()
602 sb = csb->finish(compressNV21IntoJpeg(imageSize, nv21data.data(), metadata, in captureFrameJpeg()
643 bool FakeRotatingCamera::drawScene(const Rect<uint16_t> imageSize, in drawScene() argument
670 const double top = right / imageSize.width * imageSize.height; in drawScene()
685 glViewport(0, 0, imageSize.width, imageSize.height); in drawScene()
DHwCamera.h93 static bool compressJpeg(Rect<uint16_t> imageSize,
99 static bool convertRGBAtoRAW16(Rect<uint16_t> imageSize,
Djpeg.h32 size_t compressYUV(const android_ycbcr& image, Rect<uint16_t> imageSize,
DFakeRotatingCamera.h115 bool drawScene(Rect<uint16_t> imageSize,
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.attrib16 len data imageSize
17 param_check imageSize if(imageSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
19 param_check imageSize if(imageSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
22 len data imageSize
23 param_check imageSize if(imageSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
25 param_check imageSize if(imageSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
274 len data imageSize
275 param_check imageSize if(imageSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
279 len data imageSize
280 param_check imageSize if(imageSize<0){ ctx->setError(GL_INVALID_VALUE); return; }
[all …]
Dgles3.in22 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* d…
23 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* d…
153 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* d…
154 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* d…
282 …enum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLuint offset)
283 …set, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLuint offset)
444 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * …
445 …rmat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLuint offset)
446 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * …
447 …fset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLuint data);
/device/generic/opengl-transport/host/libs/virglrenderer/
DGLESv3.cpp264 GLsizei imageSize, GLuint offset) { in glCompressedTexImage2DOffsetAEMU() argument
265 s_gles3.glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, in glCompressedTexImage2DOffsetAEMU()
271 GLint border, GLsizei imageSize, GLuint offset) { in glCompressedTexImage3DOffsetAEMU() argument
273 imageSize, reinterpret_cast<const GLvoid*>(offset)); in glCompressedTexImage3DOffsetAEMU()
278 GLenum format, GLsizei imageSize, GLuint offset) { in glCompressedTexSubImage2DOffsetAEMU() argument
280 imageSize, reinterpret_cast<const GLvoid*>(offset)); in glCompressedTexSubImage2DOffsetAEMU()
286 GLsizei imageSize, GLuint offset) { in glCompressedTexSubImage3DOffsetAEMU() argument
288 format, imageSize, reinterpret_cast<const GLvoid*>(offset)); in glCompressedTexSubImage3DOffsetAEMU()
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles2_extensions.entries11 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *dat…
12 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *dat…
Dgles3_only.entries13 …at, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *dat…
14 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *dat…
Dgles2_core.entries26 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *dat…
27 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *dat…
Dgles1_core.entries63 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *d…
64 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *d…
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.attrib47 len data imageSize
51 len data imageSize
Dgles1.in55 …um internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *d…
56 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *d…