Home
last modified time | relevance | path

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

1234567

/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/asus/fugu/libaudio/
DAudioOutput.cpp168 const audio_format_t format = AUDIO_FORMAT_PCM_8_24_BIT; in pushSilence() local
169 const size_t frameSize = audio_bytes_per_sample(format) * mChannelCnt; in pushSilence()
179 doPCMWrite((const uint8_t*)mSilenceBuf, writeSize, format); in pushSilence()
213 config.format = mALSAFormat; in openPCMDevice()
224 mALSACardID, dev_id, config.rate, config.channels, config.period_size, config.format); in openPCMDevice()
385 bool hasActiveOutputs, audio_format_t format) { in processOneChunk() argument
403 doPCMWrite(data, len, format); in processOneChunk()
405 const size_t frameSize = mChannelCnt * audio_bytes_per_sample(format); in processOneChunk()
415 void AudioOutput::doPCMWrite(const uint8_t* data, size_t len, audio_format_t format) { in doPCMWrite() argument
434 switch(format) { in doPCMWrite()
[all …]
DHDMIAudioOutput.cpp49 ALOGI("setupForStream format %08x, rate = %u", stream.format(), mFramesPerSec); in setupForStream()
52 stream.format(), in setupForStream()
57 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/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c67 int format; member
199 void chromaScale(mm_jpeg_color_format format, float *cScale) in chromaScale() argument
203 switch(format) { in chromaScale()
246 chromaScale(p_input->format, &cScale); in decode_init()
263 p_params->color_format = p_input->format; in decode_init()
269 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV; in decode_init()
284 p_params->src_main_buf[0].format = MM_JPEG_FMT_BITSTREAM; in decode_init()
355 int format = 0; in mm_jpegdec_test_get_input() local
356 format = atoi(optarg); in mm_jpegdec_test_get_input()
358 CLAMP(format, 0, num_formats); in mm_jpegdec_test_get_input()
[all …]
/device/generic/goldfish/camera/fake-pipeline2/
DBase.h39 uint32_t format; member
50 int32_t format; member
57 int32_t format; member
/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/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/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/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/generic/goldfish/camera/
DEmulatedCamera2.h105 int format,
123 uint32_t format,
181 int format,
199 uint32_t format,
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.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/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,
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQCameraMjpegDecode.cpp81 uint32_t format; member
189 mjpegd->format = outputFormat; in mjpegDecode()
195 if (((test_args.format == YCRCBLP_H1V2) || (test_args.format == YCBCRLP_H1V2) || in mjpegDecode()
196 (test_args.format == YCRCBLP_H1V1) || (test_args.format == YCBCRLP_H1V1)) && in mjpegDecode()
198 ALOGE("%s:These formats are not supported by SW format %d", __func__, test_args.format); in mjpegDecode()
347 dest.output_format = (jpeg_color_format_t) p_args->format; in decoder_test()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c109 overlayp->src.format = e->src.format; in overlay_set_params()
185 e->src.format = MDP_Y_CRCB_H2V2; in test_app_camframe_callback()
191 e->dst.format = MDP_RGB_565; in test_app_camframe_callback()
467 e->src.format = MDP_Y_CBCR_H2V2; in v4l2_render()
473 e->dst.format = MDP_RGB_565; in v4l2_render()
527 e->src.format = MDP_Y_CRCB_H2V2; in mm_app_dl_render()
533 e->dst.format = MDP_RGB_565; in mm_app_dl_render()

1234567