/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_display_virtual.cpp | 47 uint32_t height, int32_t *format, HWCDisplay **hwc_display) { 52 // TODO(user): Populate format correctly 53 DLOGI("Creating virtual display: w: %d h:%d format:0x%x", width, height, *format); 164 buffer_info.buffer_config.format = 165 GetSDMFormat(output_handle->format, output_handle->flags); 205 // Fill output buffer parameters (width, height, format, plane information, fence) 211 int output_handle_format = output_handle->format; 217 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); 219 if (output_buffer_->format 45 Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, HWCCallbacks *callbacks, uint32_t width, uint32_t height, int32_t *format, HWCDisplay **hwc_display) argument [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_display_virtual.cpp | 47 uint32_t height, int32_t *format, HWCDisplay **hwc_display) { 52 // TODO(user): Populate format correctly 53 DLOGI("Creating virtual display: w: %d h:%d format:0x%x", width, height, *format); 148 buffer_info.buffer_config.format = 149 GetSDMFormat(output_handle->format, output_handle->flags); 179 // Fill output buffer parameters (width, height, format, plane information, fence) 185 int output_handle_format = output_handle->format; 191 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); 193 if (output_buffer_->format 45 Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, HWCCallbacks *callbacks, uint32_t width, uint32_t height, int32_t *format, HWCDisplay **hwc_display) argument [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_display_virtual.cpp | 47 uint32_t height, int32_t *format, HWCDisplay **hwc_display) { 52 // TODO(user): Populate format correctly 53 DLOGI("Creating virtual display: w: %d h:%d format:0x%x", width, height, *format); 147 buffer_info.buffer_config.format = 148 GetSDMFormat(output_handle->format, output_handle->flags); 178 // Fill output buffer parameters (width, height, format, plane information, fence) 183 int output_handle_format = output_handle->format; 189 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); 191 if (output_buffer_->format 45 Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, HWCCallbacks *callbacks, uint32_t width, uint32_t height, int32_t *format, HWCDisplay **hwc_display) argument [all...] |
H A D | hwc_display.cpp | 526 HWC2::Error HWCDisplay::GetClientTargetSupport(uint32_t width, uint32_t height, int32_t format, argument 531 if (format != HAL_PIXEL_FORMAT_RGBA_8888 || dataspace != HAL_DATASPACE_UNKNOWN || 970 LayerBufferFormat format = kFormatInvalid; local 974 format = kFormatRGBA8888Ubwc; 977 format = kFormatRGBX8888Ubwc; 980 format = kFormatBGR565Ubwc; 985 format = kFormatYCbCr420SPVenusUbwc; 988 format = kFormatRGBA1010102Ubwc; 991 format = kFormatRGBX1010102Ubwc; 994 format 1189 GetHALPixelFormatString(int format) argument 1309 int format = HAL_PIXEL_FORMAT_RGBA_8888; local 1313 buffer_allocator_->GetAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, usage, local 1316 AdrenoMemInfo::getInstance().getAlignedWidthAndHeight(INT(x_pixels), INT(y_pixels), format, local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_display_virtual.cpp | 47 uint32_t height, int32_t *format, HWCDisplay **hwc_display) { 52 // TODO(user): Populate format correctly 53 DLOGI("Creating virtual display: w: %d h:%d format:0x%x", width, height, *format); 147 buffer_info.buffer_config.format = 148 GetSDMFormat(output_handle->format, output_handle->flags); 178 // Fill output buffer parameters (width, height, format, plane information, fence) 184 int output_handle_format = output_handle->format; 190 output_buffer_->format = GetSDMFormat(output_handle_format, output_handle->flags); 192 if (output_buffer_->format 45 Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, HWCCallbacks *callbacks, uint32_t width, uint32_t height, int32_t *format, HWCDisplay **hwc_display) argument [all...] |
/hardware/libhardware/modules/camera/3_4/ |
H A D | v4l2_camera.cpp | 331 HAL_LOGE("Can't set device format while frames are in flight."); 338 int format = stream->format; local 344 // stream at a time. If not all streams are the same format 350 if (stream->format != format || stream->width != width || 354 "(stream 0 is format %d, width %u, height %u, " 355 "stream %d is format %d, width %u, height %u).", 356 format, 360 stream->format, [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayUtils.cpp | 85 int getMdpFormat(int format) { argument 86 switch (format) { 124 //NV12 encodeable format maps to the venus format on 136 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format); 143 // This function returns corresponding tile format 147 int getMdpFormat(int format, bool tileEnabled) argument 150 return getMdpFormat(format); 152 switch (format) { [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioHardwareALSA.h | 171 snd_pcm_format_t format; member in struct:android_audio_legacy::alsa_handle_t 269 status_t set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device); 276 int format() const; 310 virtual int format() const function in class:android_audio_legacy::AudioStreamOutALSA 312 return ALSAStreamOps::format(); 369 virtual int format() const function in class:android_audio_legacy::AudioStreamInALSA 371 return ALSAStreamOps::format(); 487 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channels); 494 int *format, 505 int *format [all...] |
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_buf_mgr.h | 75 int GetBufferType(int format); 78 uint32_t GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, 80 int GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage,
|
H A D | gr_buf_mgr.cpp | 371 uint32_t BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, argument 374 if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) { 391 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, argument 426 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { 467 int format = descriptor.GetFormat(); local 472 // Get implementation defined format 473 int gralloc_format = allocator_->GetImplDefinedFormat(prod_usage, cons_usage, format); 486 data.align = GetDataAlignment(format, prod_usage, cons_usage); 512 flags = GetHandleFlags(format, prod_usage, cons_usage); 523 format, 554 int format = va_arg(args, int); local 585 int format = va_arg(args, int); local 645 int format = va_arg(args, int); local 774 int format = va_arg(args, int); local 798 int format = va_arg(args, int); local [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_buf_mgr.h | 75 int GetBufferType(int format); 78 uint32_t GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, 80 int GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage,
|
H A D | gr_buf_mgr.cpp | 368 uint32_t BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, argument 371 if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) { 388 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, argument 423 if (IsUBwcEnabled(format, prod_usage, cons_usage)) { 464 int format = descriptor.GetFormat(); local 469 // Get implementation defined format 470 int gralloc_format = allocator_->GetImplDefinedFormat(prod_usage, cons_usage, format); 484 data.align = GetDataAlignment(format, prod_usage, cons_usage); 509 flags = GetHandleFlags(format, prod_usage, cons_usage); 520 format, 551 int format = va_arg(args, int); local 582 int format = va_arg(args, int); local 642 int format = va_arg(args, int); local 774 int format = va_arg(args, int); local 797 int format = va_arg(args, int); local [all...] |
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_buf_mgr.h | 75 int GetBufferType(int format); 78 uint32_t GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, 80 int GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage,
|
H A D | gr_buf_mgr.cpp | 377 uint32_t BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, argument 380 if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) { 397 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, argument 432 if (allocator_->IsUBwcEnabled(format, prod_usage, cons_usage)) { 473 int format = descriptor.GetFormat(); local 478 // Get implementation defined format 479 int gralloc_format = allocator_->GetImplDefinedFormat(prod_usage, cons_usage, format); 491 data.align = GetDataAlignment(format, prod_usage, cons_usage); 517 flags = GetHandleFlags(format, prod_usage, cons_usage); 528 format, 559 int format = va_arg(args, int); local 586 int format = va_arg(args, int); local 633 int format = va_arg(args, int); local 729 int format = va_arg(args, int); local 749 int format = va_arg(args, int); local [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_buf_mgr.h | 75 int GetBufferType(int format); 78 uint32_t GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, 80 int GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage,
|
H A D | gr_buf_mgr.cpp | 365 uint32_t BufferManager::GetDataAlignment(int format, gralloc1_producer_usage_t prod_usage, argument 368 if (format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) { 385 int BufferManager::GetHandleFlags(int format, gralloc1_producer_usage_t prod_usage, argument 420 if (allocator_->IsUBwcEnabled(format, prod_usage, cons_usage)) { 461 int format = descriptor.GetFormat(); local 466 // Get implementation defined format 467 int gralloc_format = allocator_->GetImplDefinedFormat(prod_usage, cons_usage, format); 479 data.align = GetDataAlignment(format, prod_usage, cons_usage); 505 flags = GetHandleFlags(format, prod_usage, cons_usage); 516 format, 547 int format = va_arg(args, int); local 574 int format = va_arg(args, int); local 621 int format = va_arg(args, int); local 717 int format = va_arg(args, int); local 737 int format = va_arg(args, int); local [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
H A D | omx_swvenc_hevc.cpp | 237 m_sInPortDef.format.video.cMIMEType = (char *)"YUV420"; 238 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; 239 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT; 240 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH; 241 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT; 242 m_sInPortDef.format.video.nBitrate = 64000; 243 m_sInPortDef.format.video.xFramerate = 15 << 16; 244 m_sInPortDef.format.video.eColorFormat = (OMX_COLOR_FORMATTYPE) 246 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; 262 m_sOutPortDef.format [all...] |
/hardware/google/easel/amber/camera/libhdrplusclient/include/ |
H A D | HdrPlusClientListener.h | 88 uint32_t width, uint32_t height, uint32_t stride, int32_t format) = 0;
|
/hardware/intel/common/libva/test/videoprocess/ |
H A D | videoprocess.cpp | 27 * blending, scaling and several surface format conversion. 186 uint32_t fourCC, uint32_t format) 196 format, 274 if (surface_image.format.fourcc == VA_FOURCC_YV12 || 275 surface_image.format.fourcc == VA_FOURCC_I420 || 276 surface_image.format.fourcc == VA_FOURCC_NV12){ 290 if(surface_image.format.fourcc == VA_FOURCC_YV12){ 293 }else if(surface_image.format.fourcc == VA_FOURCC_I420){ 309 if (surface_image.format.fourcc == VA_FOURCC_YV12|| 310 surface_image.format 184 create_surface(VASurfaceID * p_surface_id, uint32_t width, uint32_t height, uint32_t fourCC, uint32_t format) argument 960 parse_fourcc_and_format(char *str, uint32_t *fourcc, uint32_t *format) argument [all...] |
/hardware/intel/common/libva/va/ |
H A D | va_tpi.h | 56 unsigned int pixel_format; /* buffer format */ 101 int format,
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
H A D | IVideoPayloadManager.h | 46 uint32_t format; member in struct:android::intel::IVideoPayloadManager::MetaData
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | VideoPayloadBuffer.h | 41 uint32_t format; member in struct:android::intel::VideoPayloadBuffer
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
H A D | VideoPayloadBuffer.h | 41 uint32_t format; member in struct:android::intel::VideoPayloadBuffer
|
/hardware/libhardware/modules/camera/3_0/ |
H A D | Stream.h | 46 const char* formatToString(int format); 66 // Gralloc format: HAL_PIXEL_FORMAT_* (see <system/graphics.h>)
|
/hardware/libhardware/modules/usbcamera/ |
H A D | Stream.h | 43 const char* formatToString(int format);
|