/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
H A D | PlaneCapabilities.cpp | 39 uint32_t format = hwcLayer->getFormat(); local 43 switch (format) { 51 VLOGTRACE("unsupported format %#x", format); 55 switch (format) { 71 VLOGTRACE("unsupported format %#x", format); 82 uint32_t format = hwcLayer->getFormat(); local 89 switch (format) { 102 VLOGTRACE("unsupported format [all...] |
/hardware/libhardware/modules/usbcamera/ |
H A D | Stream.cpp | 90 const char* Stream::formatToString(int format) { argument 92 switch (format) { 126 return "Invalid stream format!"; 146 if (s->format != mStream->format) { 147 ALOGE("%s:%d: Mismatched format in reused stream. Got %s(%d) " 148 "expect %s(%d)", __func__, mId, formatToString(s->format), 149 s->format, formatToString(mStream->format), mStream->format); [all...] |
/hardware/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderBase.cpp | 87 paramPortDefinitionInput.format.video.cMIMEType = NULL; // to be overridden 88 paramPortDefinitionInput.format.video.pNativeRender = NULL; 89 paramPortDefinitionInput.format.video.nFrameWidth = 176; 90 paramPortDefinitionInput.format.video.nFrameHeight = 144; 91 paramPortDefinitionInput.format.video.nStride = 0; 92 paramPortDefinitionInput.format.video.nSliceHeight = 0; 93 paramPortDefinitionInput.format.video.nBitrate = 64000; 94 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; 96 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; 97 paramPortDefinitionInput.format [all...] |
/hardware/libhardware_legacy/audio/ |
H A D | AudioHardwareInterface.cpp | 113 size_t AudioHardwareBase::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 119 if (format != AudioSystem::PCM_16_BIT) { 120 ALOGW("getInputBufferSize bad format: %d", format); 154 int *format, 159 return openOutputStream(devices, format, channels, sampleRate, status); 152 openOutputStreamWithFlags(uint32_t devices, audio_output_flags_t flags, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
|
H A D | AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 70 lFormat = outFinal->format(); 74 if (format != 0) { 75 if (*format != 0) { 76 lFormat = *format; 78 *format = lFormat; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, argument 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 136 lFormat = inFinal->format(); 59 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 251 getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument 258 AudioStreamOutDump(AudioDumpInterface *interface, int id, AudioStreamOut* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument 329 int AudioStreamOutDump::format() const function in class:android::AudioStreamOutDump 419 AudioStreamInDump(AudioDumpInterface *interface, int id, AudioStreamIn* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument 533 int AudioStreamInDump::format() const function in class:android::AudioStreamInDump [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 167 int f = hnd->format; 182 bool isUncompressedRgbFormat(int format) argument 186 switch (format) 217 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 220 bool ubwc_enabled = isUBwcEnabled(format, usage); 223 if (isUncompressedRgbFormat(format) == true) { 224 int tileEnabled = ubwc_enabled || isMacroTileEnabled(format, usage); 225 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 227 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 232 switch (format) 324 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 382 isUBWCSupportedByGPU(int format) argument 520 isMacroTileEnabled(int format, int usage) argument 553 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 683 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 701 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 719 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tiled, unsigned int& size) argument 782 int format = hnd->format; local 873 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument 923 isUBwcFormat(int format) argument 936 isUBwcSupported(int format) argument 957 isUBwcEnabled(int format, int usage) argument 991 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument 1064 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 135 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 148 switch(format) 182 switch (format) 252 width, height, format, 0,raster_mode, padding_threshold, 365 bool isMacroTileEnabled(int format, int usage) argument 373 // check the format 374 switch(format) 398 size_t getSize(int format, int width, int height, const int alignedw, argument 402 switch (format) { 507 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 525 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 544 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, size_t& size) argument 627 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 135 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 148 switch(format) 182 switch (format) 246 width, height, format, 0,raster_mode, padding_threshold, 364 bool isMacroTileEnabled(int format, int usage) argument 372 // check the format 373 switch(format) 397 unsigned int getSize(int format, int width, int height, const int alignedw, argument 401 switch (format) { 502 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 520 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 539 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 621 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 160 int f = hnd->format; 187 bool isUncompressedRgbFormat(int format) argument 191 switch (format) 222 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 225 bool ubwc_enabled = isUBwcEnabled(format, usage); 228 if (isUncompressedRgbFormat(format) == true) { 230 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 232 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 237 switch (format) 326 width, height, format, 339 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 394 isUBWCSupportedByGPU(int format) argument 539 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 677 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 695 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 761 int format = hnd->format; local 870 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument 920 isUBwcFormat(int format) argument 934 isUBwcSupported(int format) argument 955 isUBwcEnabled(int format, int usage) argument 984 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument 1063 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | alloc_controller.cpp | 160 int f = hnd->format; 187 bool isUncompressedRgbFormat(int format) argument 191 switch (format) 222 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 225 bool ubwc_enabled = isUBwcEnabled(format, usage); 228 if (isUncompressedRgbFormat(format) == true) { 230 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 232 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 237 switch (format) 326 width, height, format, 339 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 394 isUBWCSupportedByGPU(int format) argument 539 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 677 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 695 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 761 int format = hnd->format; local 870 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument 920 isUBwcFormat(int format) argument 934 isUBwcSupported(int format) argument 955 isUBwcEnabled(int format, int usage) argument 984 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument 1063 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
/hardware/intel/common/libmix/videoencoder/ |
H A D | IntelMetadataBuffer.h | 30 #define STRING_TO_FOURCC(format) ((uint32_t)(((format)[0])|((format)[1]<<8)|((format)[2]<<16)|((format)[3]<<24))) 62 uint32_t format; //color format member in struct:__anon566 63 uint32_t s3dformat; //S3D format
|
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_adreno_info.cpp | 95 void AdrenoMemInfo::AlignUnCompressedRGB(int width, int height, int format, int tile_enabled, argument 107 switch (format) { 143 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, argument 152 width, height, format, 0, raster_mode, padding_threshold, 161 bool AdrenoMemInfo::IsUBWCSupportedByGPU(int format) { argument 163 ADRENOPIXELFORMAT gpu_format = GetGpuPixelFormat(format); 207 ALOGE("%s: No map for format: 0x%x", __FUNCTION__, hal_format);
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_adreno_info.cpp | 95 void AdrenoMemInfo::AlignUnCompressedRGB(int width, int height, int format, int tile_enabled, argument 107 switch (format) { 143 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, argument 152 width, height, format, 0, raster_mode, padding_threshold, 161 bool AdrenoMemInfo::IsUBWCSupportedByGPU(int format) { argument 163 ADRENOPIXELFORMAT gpu_format = GetGpuPixelFormat(format); 207 ALOGE("%s: No map for format: 0x%x", __FUNCTION__, hal_format);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_adreno_info.cpp | 87 void AdrenoMemInfo::AlignUnCompressedRGB(int width, int height, int format, int tile_enabled, argument 99 switch (format) { 134 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, argument 143 width, height, format, 0, raster_mode, padding_threshold, 150 bool AdrenoMemInfo::IsUBWCSupportedByGPU(int format) { argument 152 ADRENOPIXELFORMAT gpu_format = GetGpuPixelFormat(format); 189 ALOGE("%s: No map for format: 0x%x", __FUNCTION__, hal_format);
|
H A D | gr_priv_handle.h | 76 int format; member in struct:private_handle_t 104 int format, 117 format(format), 135 private_handle_t(int fd, unsigned int size, int usage, int buf_type, int format, int w, int h) argument 136 : private_handle_t(fd, -1, PRIV_FLAGS_CLIENT_ALLOCATED, w, h, 0, 0, format, buf_type, size, 168 "prod_usage:0x%" PRIx64" cons_usage:0x%" PRIx64 " format:0x%x layer_count: %d", 171 hnd->format, hnd->layer_count); 178 int GetColorFormat() const { return format; } 97 private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh, int format, int buf_type, unsigned int size, gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE) argument
|
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_adreno_info.cpp | 86 void AdrenoMemInfo::AlignUnCompressedRGB(int width, int height, int format, int tile_enabled, argument 98 switch (format) { 133 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, argument 142 width, height, format, 0, raster_mode, padding_threshold, 151 bool AdrenoMemInfo::IsUBWCSupportedByGPU(int format) { argument 153 ADRENOPIXELFORMAT gpu_format = GetGpuPixelFormat(format); 190 ALOGE("%s: No map for format: 0x%x", __FUNCTION__, hal_format);
|
/hardware/libhardware/modules/camera/3_4/ |
H A D | static_properties.cpp | 91 all_input_formats.insert(spec_capabilities.first.format); 94 all_output_formats.insert(spec_capabilities.first.format); 98 // Must be at least one input format. 110 "input/output format map input formats.", 115 // Check that each input format has at least one matching output format. 120 "%s: No output formats for input format %d.", __func__, input_format); 129 "%s: Output format %d for input format %d " 130 "is not a supported output format 247 IsRawFormat(int format) argument [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
H A D | PlaneCapabilities.cpp | 40 uint32_t format = hwcLayer->getFormat(); local 44 switch (format) { 52 VTRACE("unsupported format %#x", format); 56 switch (format) { 71 VTRACE("unsupported format %#x", format); 82 uint32_t format = hwcLayer->getFormat(); local 91 switch (format) { 104 VTRACE("unsupported format 205 uint32_t format = hwcLayer->getFormat(); local [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 105 int AdrenoMemInfo::getStride(int width, int format) argument 109 if (format <= HAL_PIXEL_FORMAT_BGRA_8888) { 111 switch(format) 132 switch (format) 256 size_t getBufferSizeAndDimensions(int width, int height, int format, argument 261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); 263 switch (format) { 298 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { 299 ALOGE("w or h is odd for the YV12 format"); 303 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) { 353 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument [all...] |
/hardware/intel/common/libmix/mix_common/src/ |
H A D | mixlog.c | 101 const gchar *func, gint line, const gchar *format, ...) { 106 if (!format) { 143 va_start(args, format); 144 g_vprintf(format, args); 194 const gchar *func, gint line, const gchar *format, ...) { 206 if (!format) { 246 va_start(args, format); 247 g_vprintf(format, args); 100 mix_log_func(const gchar* comp, gint level, const gchar *file, const gchar *func, gint line, const gchar *format, ...) argument 193 mix_log_func(const gchar* comp, gint level, const gchar *file, const gchar *func, gint line, const gchar *format, ...) argument
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioUtil.h | 64 static int printFormatFromEDID(unsigned char format); 67 unsigned char format);
|
/hardware/qcom/display/msm8909/sdm/include/core/ |
H A D | buffer_allocator.h | 50 LayerBufferFormat format = kFormatInvalid; //!< Specifies buffer format for buffer allocation. member in struct:sdm::BufferConfig 71 LayerBufferFormat format = kFormatInvalid; // Specifies buffer format for allocated buffer. member in struct:sdm::AllocatedBufferInfo 145 * Input: AllocatedBufferInfo with a valid aligned width, aligned height, SDM format
|
/hardware/qcom/display/msm8909w_3100/sdm/include/core/ |
H A D | buffer_allocator.h | 50 LayerBufferFormat format = kFormatInvalid; //!< Specifies buffer format for buffer allocation. member in struct:sdm::BufferConfig 71 LayerBufferFormat format = kFormatInvalid; // Specifies buffer format for allocated buffer. member in struct:sdm::AllocatedBufferInfo 145 * Input: AllocatedBufferInfo with a valid aligned width, aligned height, SDM format
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_buffer_allocator.h | 56 void GetAlignedWidthAndHeight(int width, int height, int format, uint32_t alloc_type, 60 int SetBufferInfo(LayerBufferFormat format, int *target, int *flags);
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_buffer_allocator.h | 56 void GetAlignedWidthAndHeight(int width, int height, int format, uint32_t alloc_type, 60 int SetBufferInfo(LayerBufferFormat format, int *target, int *flags);
|