/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioUtil.cpp | 24 int AudioUtil::printFormatFromEDID(unsigned char format) { argument 25 switch (format) { 69 ALOGV("Invalid format ID...."); 72 return format; 104 unsigned char format) { 106 if (format == 1) { 118 ALOGV("not lpcm format, return 0"); 103 getBitsPerSampleFromEDID(unsigned char byte, unsigned char format) argument
|
H A D | AudioHardwareALSA.cpp | 689 uint32_t AudioHardwareALSA::getVoipMode(int format) argument 691 switch(format) { 722 int *format, 777 if(*format == AudioSystem::PCM_16_BIT) 778 alsa_handle.format = SNDRV_PCM_FORMAT_S16_LE; 780 alsa_handle.format = *format; 787 mALSADevice->setVoipConfig(getVoipMode(*format), mVoipBitRate); 828 err = out->set(format, channels, sampleRate, devices); 846 alsa_handle.format 721 openOutputStream(uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument 997 openOutputSession(uint32_t devices, int *format, status_t *status, int sessionId, uint32_t samplingRate, uint32_t channels) argument 1092 openInputStream(uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument 1410 getInputBufferSize(uint32_t sampleRate, int format, int channelCount) argument [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayMdssRot.cpp | 63 return mRotInfo.src.format; 79 mRotInfo.src.format = whf.format; 180 // Calculate the size based on rotator's dst format, w and h. 251 mRotInfo.src.format); //mdss src and dst formats are same. 289 //respective format classes, yuv/rgb. The table above is for reference 290 if(utils::isYuv(destWhf.format)) {
|
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlayMdpRot.cpp | 47 return mRotImgInfo.dst.format; 53 if(mRotImgInfo.src.format == MDP_Y_CR_CB_GH2V2){ 94 mRotImgInfo.src.format = whf.format; 153 mRotImgInfo.dst.format);
|
/hardware/intel/common/libva/va/wayland/ |
H A D | va_wayland.c | 45 va_wayland_error(const char *format, ...) argument 49 va_start(args, format); 51 vfprintf(stderr, format, args);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | webm_video_source.h | 62 nestegg_log_cb(nestegg *context, unsigned int severity, char const *format, argument 66 va_start(ap, format); 67 vfprintf(stderr, format, ap);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | webmdec.c | 50 char const *format, ...) { 52 va_start(ap, format); 53 vfprintf(stderr, format, ap); 48 nestegg_log_cb(nestegg *context, unsigned int severity, char const *format, ...) argument
|
/hardware/samsung_slsi/exynos5/gralloc/ |
H A D | mapper.cpp | 100 ALOGE("error importing handle %d %x\n", hnd->fd, hnd->format); 104 ALOGE("error importing handle1 %d %x\n", hnd->fd1, hnd->format); 109 ALOGE("error importing handle2 %d %x\n", hnd->fd2, hnd->format);
|
/hardware/ti/omap4-aah/camera/ |
H A D | MemoryManager.cpp | 64 CameraBuffer* MemoryManager::allocateBufferList(int width, int height, const char* format, int &size, int numBufs) argument 121 buffers[i].format = CameraHal::getPixelFormatConstant(format);
|
/hardware/libhardware/modules/audio_remote_submix/ |
H A D | audio_hw.cpp | 344 if (input_config->format != output_config->format) { 345 ALOGE("audio_config_compare() format mismatch %x vs. %x", 346 input_config->format, output_config->format); 415 const NBAIO_Format format = Format_from_SR_C(config->sample_rate, pipe_channel_count, 416 config->format); 417 const NBAIO_Format offers[1] = {format}; 420 MonoPipe* sink = new MonoPipe(buffer_size_frames, format, true /*writeCanBlock*/); 422 // creates both ends of the pipe using the same audio format [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_dump_layers.cpp | 240 getHalPixelFormatStr(hnd->format, pixFormatStr); 312 getHalPixelFormatStr(hnd->format, pixFormatStr); 323 switch (hnd->format) { 347 " format %s for png encoder", 372 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) argument 377 switch(format) { 438 snprintf(pixFormatStr, len, "Unknown0x%X", format);
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_dump_layers.cpp | 240 getHalPixelFormatStr(hnd->format, pixFormatStr); 312 getHalPixelFormatStr(hnd->format, pixFormatStr); 323 switch (hnd->format) { 347 " format %s for png encoder", 372 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) argument 377 switch(format) { 438 snprintf(pixFormatStr, len, "Unknown0x%X", format);
|
/hardware/qcom/audio/hal/ |
H A D | audio_hw.c | 77 .format = PCM_FORMAT_S16_LE, 88 .format = PCM_FORMAT_S16_LE, 99 .format = PCM_FORMAT_S16_LE, 108 .format = PCM_FORMAT_S16_LE, 122 .format = PCM_FORMAT_S16_LE, 136 .format = PCM_FORMAT_S16_LE, 180 static bool is_supported_format(audio_format_t format) argument 182 switch (format) { 194 static int get_snd_codec_id(audio_format_t format) argument 198 switch (format 1104 check_input_parameters(uint32_t sample_rate, audio_format_t format, int channel_count) argument 1130 get_input_buffer_size(uint32_t sample_rate, audio_format_t format, int channel_count, bool is_low_latency) argument [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/mpeg4/ |
H A D | Exynos_OMX_Mpeg4dec.c | 864 (pInputPort->portDefinition.format.video.nFrameWidth != pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth) || 865 (pInputPort->portDefinition.format.video.nFrameHeight != pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight)) { 866 pInputPortDefinition->format.video.nFrameWidth = pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth; 867 pInputPortDefinition->format.video.nFrameHeight = pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight; 868 pInputPortDefinition->format.video.nStride = ((pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth + 15) & (~15)); 869 pInputPortDefinition->format.video.nSliceHeight = ((pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight + 15) & (~15)); 887 (pInputPort->portDefinition.format.video.nFrameWidth != pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth) || 888 (pInputPort->portDefinition.format.video.nFrameHeight != pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameHeight) || 890 pInputPortDefinition->format.video.nFrameWidth = pMpeg4Dec->hMFCMpeg4Handle.codecOutbufConf.nFrameWidth; 891 pInputPortDefinition->format [all...] |
/hardware/intel/common/omx-components/videocodec/ |
H A D | OMXVideoDecoderVP8.cpp | 45 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP8_MIME_TYPE; 46 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP8;
|
H A D | OMXVideoDecoderWMV.cpp | 45 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)WMV_MIME_TYPE; 46 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingWMV;
|
/hardware/intel/img/hwcomposer/ips/common/ |
H A D | OverlayPlaneBase.cpp | 375 uint32_t format = grallocMapper.getFormat(); local 378 format = OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled; 381 switch (format) { 426 buf.setFormat(format); 561 uint32_t format; local 564 format = mapper.getFormat(); 565 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar && 566 format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled) 666 uint32_t format = mapper.getFormat(); local 675 // clear original format settin 796 uint32_t format = mapper.getFormat(); local 1123 uint32_t format; local [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | copybit.cpp | 122 /** convert COPYBIT_FORMAT to MDP format */ 123 static int get_format(int format) { argument 124 switch (format) { 150 img->format = get_format(rhs->format); 246 l->req[i].src.format, 253 l->req[i].dst.format, 398 switch (src->format) { 402 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__, 403 src->format); [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_copybit.cpp | 175 fbHnd->format); 215 buf.format = hnd->format; 313 src.format = hnd->format; 338 dst.format = fbHandle->format; 420 if (0 == alloc_buffer(&tmpHnd, tmp_w, tmp_h, fbHandle->format, usage)){ 425 tmp_dst.format = tmpHnd->format; [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
H A D | copybit.cpp | 124 /** convert COPYBIT_FORMAT to MDP format */ 125 static int get_format(int format) { argument 126 switch (format) { 153 img->format = get_format(rhs->format); 249 l->req[i].src.format, 256 l->req[i].dst.format, 433 switch (src->format) { 437 ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__, 438 src->format); [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
H A D | omx_proxy_videodec.c | 383 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 387 pPortDef->format.video.eColorFormat = HAL_NV12_PADDED_PIXEL_FORMAT; 391 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 446 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar 447 || pPortDef->format.video.eColorFormat == HAL_NV12_PADDED_PIXEL_FORMAT) 449 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar; 599 if (sPortDef.eDomain == OMX_PortDomainVideo && sPortDef.format.video.eCompressionFormat == OMX_VIDEO_CodingUnused) 603 sPortDef.format.video.nStride = LINUX_PAGE_SIZE; 619 sPortDef.format.video.nStride = tParamStruct.nWidth; 699 0,0,sPortDef.format [all...] |
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/ |
H A D | omx_proxy_videodec.c | 352 if(pPortDef->format.video.eColorFormat == OMX_COLOR_FormatYUV420PackedSemiPlanar) 356 pPortDef->format.video.eColorFormat = HAL_NV12_PADDED_PIXEL_FORMAT; 360 pPortDef->format.video.eColorFormat = OMX_TI_COLOR_FormatYUV420PackedSemiPlanar; 415 if(pPortDef->format.video.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar 416 || pPortDef->format.video.eColorFormat == HAL_NV12_PADDED_PIXEL_FORMAT) 418 pPortDef->format.video.eColorFormat = OMX_COLOR_FormatYUV420PackedSemiPlanar; 568 if (sPortDef.eDomain == OMX_PortDomainVideo && sPortDef.format.video.eCompressionFormat == OMX_VIDEO_CodingUnused) 572 sPortDef.format.video.nStride = LINUX_PAGE_SIZE; 588 sPortDef.format.video.nStride = tParamStruct.nWidth; 649 0,0,sPortDef.format [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
H A D | alsa_pcm.c | 137 int get_compressed_format(const char *format) argument 139 const char *ch = format; 147 printf("invalid format\n"); 155 int format; local 156 for (format = 0; format < FORMAT_LAST; format++) { 157 if (formats_list[format][0] && 158 strcasecmp(name, formats_list[format][0]) == 0) { 160 return format; 166 get_format_name(int format) argument 174 get_format_desc(int format) argument [all...] |
/hardware/ti/omap4-aah/test/CameraHal/ |
H A D | camera_test_surfacetexture.cpp | 53 //temporarily define format here 69 static size_t calcBufSize(int format, int width, int height) argument 73 switch (format) { 90 static unsigned int calcOffset(int format, unsigned int width, unsigned int top, unsigned int left) argument 94 switch (format) { 111 static int getHalPixFormat(const char *format) argument 114 if ( NULL != format ) { 115 if ( strcmp(format, CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0 ) { 117 } else if ( strcmp(format, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 ) { 119 } else if ( strcmp(format, CameraParameter 129 getUsageFromANW(int format) argument 743 setInput(buffer_info_t bufinfo, const char *format, ShotParameters ¶ms) argument [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/h264/ |
H A D | Exynos_OMX_H264dec.c | 760 (pInputPort->portDefinition.format.video.nFrameWidth != pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth) || 761 (pInputPort->portDefinition.format.video.nFrameHeight != pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight)) { 762 pInputPortDefinition->format.video.nFrameWidth = pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth; 763 pInputPortDefinition->format.video.nFrameHeight = pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight; 764 pInputPortDefinition->format.video.nStride = ((pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth + 15) & (~15)); 765 pInputPortDefinition->format.video.nSliceHeight = ((pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight + 15) & (~15)); 783 (pInputPort->portDefinition.format.video.nFrameWidth != pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth) || 784 (pInputPort->portDefinition.format.video.nFrameHeight != pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameHeight) || 786 pInputPortDefinition->format.video.nFrameWidth = pH264Dec->hMFCH264Handle.codecOutbufConf.nFrameWidth; 787 pInputPortDefinition->format [all...] |