/device/generic/goldfish/opengl/system/GLESv1_enc/ |
H A D | GLEncoderUtils.cpp | 22 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) argument 25 return ctx->pixelDataSize(width, height, format, type, pack);
|
/device/generic/goldfish/camera/fake-pipeline2/ |
H A D | Base.h | 39 uint32_t format; member in struct:android::StreamBuffer 49 int32_t format; member in struct:android::Stream 56 int32_t format; member in struct:android::ReprocessStream
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
H A D | GL2EncoderUtils.cpp | 23 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) argument 27 return ctx->state()->pixelDataSize(width, height, format, type, pack); 30 size_t pixelDataSize3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack) argument 32 size_t layerSize = pixelDataSize(self, width, height, format, type, pack);
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
H A D | glUtils.cpp | 368 int glUtilsPixelBitSize(GLenum format, GLenum type) argument 401 switch(format) { 427 ERR("glUtilsPixelBitSize: unknown pixel format...\n");
|
H A D | GLClientState.cpp | 226 size_t GLClientState::pixelDataSize(GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) const argument 230 int pixelsize = glUtilsPixelBitSize(format, type) >> 3; 235 ERR("unknown pixel size: width: %d height: %d format: %d type: %d pack: %d align: %d\n", 236 width, height, format, type, pack, alignment);
|
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
H A D | gralloc_cb.h | 41 format(p_format), 93 int frameworkFormat; // format requested by the Android framework 94 int format; // real internal pixel format format member in struct:cb_handle_t 95 int glFormat; // OpenGL format enum used for host h/w color buffer
|
/device/asus/fugu/libaudio/ |
H A D | AudioHardwareInput.cpp | 82 audio_format_t format, 91 return size * channelCount * audio_bytes_per_sample(format); 97 config->format, 103 audio_format_t* format, uint32_t* channelMask, uint32_t* sampleRate, 117 *status = in->set(format, channelMask, sampleRate); 81 calculateInputBufferSize(uint32_t outputSampleRate, audio_format_t format, uint32_t channelCount) argument 102 openInputStream(uint32_t devices, audio_format_t* format, uint32_t* channelMask, uint32_t* sampleRate, status_t* status) argument
|
H A D | AudioHardwareOutput.cpp | 107 audio_format_t *format, 131 *status = out->set(format, channels, sampleRate); 105 openOutputStream( uint32_t devices, audio_format_t *format, uint32_t *channels, uint32_t *sampleRate, audio_output_flags_t flags, status_t *status) argument
|
H A D | AudioStreamOut.h | 53 audio_format_t format() const { return mInputFormat; } function in class:android::AudioStreamOut 100 // Details about the format of the audio we have been configured to receive
|
H A D | alsa_utils.cpp | 182 } else if ((m.fmt >= kFmtAC3) && (m.fmt <= kFmtATRAC)) { // FIXME ATRAC is not last format!? 350 bool HDMIAudioCaps::supportsFormat(audio_format_t format, argument 360 switch (format & AUDIO_FORMAT_MAIN_MASK) { 381 uint32_t subFormat = format & AUDIO_FORMAT_SUB_MASK; 394 // supports the caller's format. 405 // supports the caller's format.
|
H A D | AudioStreamIn.cpp | 84 // Respond with a request for mono if a different format is given. 132 status_t AudioStreamIn::setFormat(audio_format_t format) argument 134 (void) format; 135 // other audio HALs fail any call to this API (even if the format matches 136 // the current format) 355 mPcmConfig.format = PCM_FORMAT_S16_LE;
|
/device/generic/goldfish/opengl/system/egl/ |
H A D | eglDisplay.cpp | 207 PixelFormat format; local 208 if (getConfigNativePixelFormat(config, &format)) { 209 setConfigAttrib(config, EGL_NATIVE_VISUAL_ID, format); 463 EGLBoolean eglDisplay::getConfigNativePixelFormat(EGLConfig config, PixelFormat * format) argument 472 ALOGE("Couldn't find value for one of the pixel format attributes"); 476 //calculate the GL internal format 477 if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==8)) *format = PIXEL_FORMAT_RGBA_8888; //XXX: BGR? 478 else if ((redSize==8)&&(greenSize==8)&&(blueSize==8)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGBX_8888; //XXX or PIXEL_FORMAT_RGB_888 479 else if ((redSize==5)&&(greenSize==6)&&(blueSize==5)&&(alphaSize==0)) *format = PIXEL_FORMAT_RGB_565; 480 else if ((redSize==5)&&(greenSize==5)&&(blueSize==5)&&(alphaSize==1)) *format 487 getConfigGLPixelFormat(EGLConfig config, GLenum * format) argument [all...] |
/device/generic/goldfish/opengl/system/renderControl_enc/ |
H A D | renderControl_entry.cpp | 32 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels); 33 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels); 182 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) argument 185 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); 188 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) argument 191 return ctx->rcUpdateColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels);
|
H A D | renderControl_enc.cpp | 457 void rcReadColorBuffer_enc(void *self , uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) argument 463 const unsigned int __size_pixels = (((glUtilsPixelBitSize(format, type) * width) >> 3) * height); 475 memcpy(ptr, &format, 4); ptr += 4; 481 int rcUpdateColorBuffer_enc(void *self , uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum format, GLenum type, void* pixels) argument 487 const unsigned int __size_pixels = (((glUtilsPixelBitSize(format, type) * width) >> 3) * height); 499 memcpy(ptr, &format, 4); ptr += 4;
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
H A D | QCameraStream.cpp | 253 cam_format_t format) 264 mFormat = format; 283 stream_config.fmt.fmt=format; 287 ALOGE("<DEBUG>::%s: Width :%d Height:%d Format:%d",__func__,mWidth,mHeight,format); 252 initStream(mm_camera_img_mode imgmode, cam_format_t format) argument
|
H A D | QCameraHWI.cpp | 388 uint32_t height, int format, 406 format, 421 /* Set to an arbitrary format SUPPORTED by gralloc */ 465 uint32_t format, 386 allocate_stream( uint32_t width, uint32_t height, int format, const camera2_stream_ops_t *stream_ops, uint32_t *stream_id, uint32_t *format_actual, uint32_t *usage, uint32_t *max_buffers) argument 462 allocate_reprocess_stream( uint32_t width, uint32_t height, uint32_t format, const camera2_stream_in_ops_t *reprocess_stream_ops, uint32_t *stream_id, uint32_t *consumer_usage, uint32_t *max_buffers) argument
|
H A D | QCameraStream_Preview.cpp | 213 cam_format_t format; local 216 ALOGE("%s: private_handle->format = %d, flags = %d", __func__, 217 private_handle->format, private_handle->flags); 227 switch (private_handle->format) { 229 format = CAMERA_YUV_420_NV12; 232 format = CAMERA_YUV_420_NV21; 235 ALOGE("%s: Invalid format!!!", __func__); 238 if(NO_ERROR!=initStream(img_mode, format)) { 352 ALOGE("Unsupported requested format %d", requestedFormat);
|
/device/asus/flo/camera/QCamera2/HAL/ |
H A D | QCameraMem.cpp | 949 * @foramt : format of preview image 954 int width, int height, int format) 959 mFormat = format; 953 setWindowInfo(preview_stream_ops_t *window, int width, int height, int format) argument
|
/device/asus/flo/camera/QCamera2/stack/common/ |
H A D | mm_jpeg_interface.h | 48 mm_jpeg_format_t format; /* buffer format*/ member in struct:__anon198 118 /* color format */
|
/device/generic/goldfish/camera/ |
H A D | EmulatedCamera2.cpp | 133 int format, 159 uint32_t format, 261 int format, 268 return ec->allocateStream(width, height, format, stream_ops, 290 uint32_t format, 296 return ec->allocateReprocessStream(width, height, format, 130 allocateStream( uint32_t width, uint32_t height, int format, const camera2_stream_ops_t *stream_ops, uint32_t *stream_id, uint32_t *format_actual, uint32_t *usage, uint32_t *max_buffers) argument 156 allocateReprocessStream( uint32_t width, uint32_t height, uint32_t format, const camera2_stream_in_ops_t *reprocess_stream_ops, uint32_t *stream_id, uint32_t *consumer_usage, uint32_t *max_buffers) argument 258 allocate_stream(const camera2_device_t *d, uint32_t width, uint32_t height, int format, const camera2_stream_ops_t *stream_ops, uint32_t *stream_id, uint32_t *format_actual, uint32_t *usage, uint32_t *max_buffers) argument 287 allocate_reprocess_stream(const camera2_device_t *d, uint32_t width, uint32_t height, uint32_t format, const camera2_stream_in_ops_t *reprocess_stream_ops, uint32_t *stream_id, uint32_t *consumer_usage, uint32_t *max_buffers) argument
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
H A D | QCameraMem.cpp | 949 * @foramt : format of preview image 954 int width, int height, int format) 959 mFormat = format; 953 setWindowInfo(preview_stream_ops_t *window, int width, int height, int format) argument
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
H A D | mm_jpeg_interface.h | 52 mm_jpeg_format_t format; /* buffer format*/ member in struct:__anon705 122 /* color format */
|
/device/lge/mako/camera/ |
H A D | QCameraHWI_Preview.cpp | 76 int format = 0; local 91 format = mHalCamCtrl->getPreviewFormatInfo().Hal_format; 93 ALOGE("%s: display format %d is not supported", __func__, dim.prev_format); 121 dim.display_width, dim.display_height, format); 804 ALOGV("%s: mMsgEnabled =0x%x, preview format =%d", __func__, 835 ALOGE("Invalid preview format, buffer size in preview callback may be wrong.");
|
H A D | QCameraHWI_Preview_7x27A.cpp | 79 int format = 0; local 93 format = mHalCamCtrl->getPreviewFormatInfo().Hal_format; 95 ALOGE("%s: display format %d is not supported", __func__, dim.prev_format); 118 dim.display_width, dim.display_height, format);
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
H A D | QCameraHWI_Preview.cpp | 245 int format = 0; local 724 ALOGD("%s: mMsgEnabled =0x%x, preview format =%d", __func__, 756 ALOGE("Invalid preview format, buffer size in preview callback may be wrong.");
|