Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 194) sorted by relevance

12345678

/device/generic/goldfish/opengl/system/egl/
DeglDisplay.cpp207 PixelFormat format; in processConfigs() local
208 if (getConfigNativePixelFormat(config, &format)) { in processConfigs()
209 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); in processConfigs()
463 EGLBoolean eglDisplay::getConfigNativePixelFormat(EGLConfig config, PixelFormat * format) in getConfigNativePixelFormat() argument
477 …if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888;… in getConfigNativePixelFormat()
478 …else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_… in getConfigNativePixelFormat()
479 …else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_5… in getConfigNativePixelFormat()
480 …else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
481 …else if ((redSize==4)&&(greenSize==4)&&(blueSize==4)&&(alphaSize==4)) *format = PIXEL_FORMAT_RGBA_… in getConfigNativePixelFormat()
487 EGLBoolean eglDisplay::getConfigGLPixelFormat(EGLConfig config, GLenum * format) in getConfigGLPixelFormat() argument
[all …]
DeglDisplay.h53 EGLBoolean getConfigGLPixelFormat(EGLConfig config, GLenum * format);
54 EGLBoolean getConfigNativePixelFormat(EGLConfig config, PixelFormat * format);
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2EncoderUtils.cpp23 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac… in pixelDataSize() argument
27 return ctx->state()->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
30 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLe… in pixelDataSize3D() argument
32 size_t layerSize = pixelDataSize(self, width, height, format, type, pack); in pixelDataSize3D()
DGL2EncoderUtils.h21 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac…
22 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLe…
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c68 int format; member
205 void chromaScale(mm_jpeg_color_format format, float *cScale) in chromaScale() argument
209 switch(format) { in chromaScale()
252 chromaScale(p_input->format, &cScale); in decode_init()
269 p_params->color_format = p_input->format; in decode_init()
275 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init()
290 p_params->src_main_buf[0].format = MM_JPEG_FMT_BITSTREAM; in decode_init()
361 int format = 0; in mm_jpegdec_test_get_input() local
362 format = atoi(optarg); in mm_jpegdec_test_get_input()
364 CLAMP(format, 0, num_formats); in mm_jpegdec_test_get_input()
[all …]
/device/generic/goldfish/camera/fake-pipeline2/
DBase.h39 uint32_t format; member
49 int32_t format; member
56 int32_t format; member
/device/lge/mako/camera/hdr/include/
Dmorpho_noise_reduction.h60 const char *format);
124 char *format,
165 const char *format);
Dmorpho_hdr_checker.h71 const char *format);
91 const char *format);
/device/lge/hammerhead/camera/hdr/include/
Dmorpho_noise_reduction.h60 const char *format);
124 char *format,
165 const char *format);
Dmorpho_hdr_checker.h71 const char *format);
91 const char *format);
/device/asus/flo/camera/hdr/include/
Dmorpho_noise_reduction.h60 const char *format);
124 char *format,
165 const char *format);
Dmorpho_hdr_checker.h71 const char *format);
91 const char *format);
/device/asus/fugu/libaudio/
DHDMIAudioOutput.cpp48 ALOGI("setupForStream format %08x, rate = %u", stream.format(), mFramesPerSec); in setupForStream()
51 stream.format(), in setupForStream()
55 stream.format(), mFramesPerSec, mChannelCnt); in setupForStream()
DAudioHardwareInput.cpp82 audio_format_t format, in calculateInputBufferSize() argument
91 return size * channelCount * audio_bytes_per_sample(format); in calculateInputBufferSize()
97 config->format, in getInputBufferSize()
103 audio_format_t* format, uint32_t* channelMask, uint32_t* sampleRate, in openInputStream() argument
117 *status = in->set(format, channelMask, sampleRate); in openInputStream()
DAudioHardwareInput.h43 audio_format_t* format,
56 audio_format_t format,
/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp126 int w, int h, int format, int usage, in gralloc_alloc() argument
150 int frameworkFormat = format; in gralloc_alloc()
153 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in gralloc_alloc()
158 format = HAL_PIXEL_FORMAT_RGBA_8888; in gralloc_alloc()
161 format = HAL_PIXEL_FORMAT_YCrCb_420_SP; in gralloc_alloc()
165 format = HAL_PIXEL_FORMAT_RGB_888; in gralloc_alloc()
169 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in gralloc_alloc()
175 } else if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in gralloc_alloc()
178 format = HAL_PIXEL_FORMAT_YCrCb_420_SP; in gralloc_alloc()
180 if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in gralloc_alloc()
[all …]
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoderUtils.cpp22 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac… in pixelDataSize() argument
25 return ctx->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
/device/generic/goldfish/camera/
DEmulatedFakeCamera2.cpp343 int format, in allocateStream() argument
357 if (format == CAMERA2_HAL_PIXEL_FORMAT_ZSL) { in allocateStream()
358 format = HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED; in allocateStream()
361 if (format != HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in allocateStream()
366 if (format == (int)kAvailableFormats[formatIdx]) break; in allocateStream()
369 ALOGE("%s: Format 0x%x is not supported", __FUNCTION__, format); in allocateStream()
376 switch (format) { in allocateStream()
399 ALOGE("%s: Unknown format 0x%x", __FUNCTION__, format); in allocateStream()
410 format, width, height); in allocateStream()
414 switch (format) { in allocateStream()
[all …]
DEmulatedCamera2.h105 int format,
123 uint32_t format,
181 int format,
199 uint32_t format,
DEmulatedCamera2.cpp133 int format, in allocateStream() argument
159 uint32_t format, in allocateReprocessStream() argument
261 int format, in allocate_stream() argument
268 return ec->allocateStream(width, height, format, stream_ops, in allocate_stream()
290 uint32_t format, in allocate_reprocess_stream() argument
296 return ec->allocateReprocessStream(width, height, format, in allocate_reprocess_stream()
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_entry.cpp32 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void…
33 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void…
182 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void… in rcReadColorBuffer() argument
185 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcReadColorBuffer()
188 …int32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void… in rcUpdateColorBuffer() argument
191 return ctx->rcUpdateColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcUpdateColorBuffer()
DrenderControl.attrib36 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
40 len pixels (((glUtilsPixelBitSize(format, type) * width) >> 3) * height)
/device/moto/shamu/qrngd/
Dqrngd.c122 void log_print(int level, char *format, ...) in log_print() argument
131 va_start(ap, format); in log_print()
132 __android_log_vprint(levels[level], APP_NAME, format, ap); in log_print()
138 va_start(ap, format); in log_print()
139 vfprintf(stderr, format, ap); in log_print()
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h41 format(p_format), in cb_handle_t()
94 int format; // real internal pixel format format member
/device/moto/shamu/camera/QCamera/HAL2/wrapper/
DQualcommCamera.h67 int format,
87 uint32_t format,

12345678