/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/ |
D | OMX_TI_Debug.h | 290 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ argument 294 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 297 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ argument 302 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 306 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 312 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \ argument 317 format OMX_DBG_FN OMX_DBG_LINE, ##list); \ 335 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) argument 341 #define OMX_DBG_BAIL_IF_ERROR(_eError, dbg, cmd, format, list...) \ argument 344 cmd(dbg, format, ##list); \ [all …]
|
/hardware/intel/common/libmix/videodecoder/ |
D | VideoDecoderTrace.h | 33 extern void TraceVideoDecoder(const char* cat, const char* fun, int line, const char* format, ...); 34 #define VIDEO_DECODER_TRACE(cat, format, ...) \ argument 35 TraceVideoDecoder(cat, __FUNCTION__, __LINE__, format, ##__VA_ARGS__) 37 #define ETRACE(format, ...) VIDEO_DECODER_TRACE("ERROR: ", format, ##__VA_ARGS__) argument 38 #define WTRACE(format, ...) VIDEO_DECODER_TRACE("WARNING: ", format, ##__VA_ARGS__) argument 39 #define ITRACE(format, ...) VIDEO_DECODER_TRACE("INFO: ", format, ##__VA_ARGS__) argument 40 #define VTRACE(format, ...) VIDEO_DECODER_TRACE("VERBOSE: ", format, ##__VA_ARGS__) argument 60 #define ETRACE(format, ...) argument 61 #define WTRACE(format, ...) argument 62 #define ITRACE(format, ...) argument [all …]
|
/hardware/ti/omap3/dspbridge/inc/ |
D | gt.h | 193 GT_0trace(struct GT_Mask mask, SmBits class, String format) in GT_0trace() argument 199 GT_1trace(struct GT_Mask mask, SmBits class, String format, ...) in GT_1trace() argument 205 GT_2trace(struct GT_Mask mask, SmBits class, String format, ...) in GT_2trace() argument 211 GT_3trace(struct GT_Mask mask, SmBits class, String format, ...) in GT_3trace() argument 217 GT_4trace(struct GT_Mask mask, SmBits class, String format, ...) in GT_4trace() argument 223 GT_5trace(struct GT_Mask mask, SmBits class, String format, ...) in GT_5trace() argument 229 GT_6trace(struct GT_Mask mask, SmBits class, String format, ...) in GT_6trace() argument 243 extern Int _GT_trace(struct GT_Mask * mask, String format, ...); 278 #define GT_0trace( mask, class, format ) argument 279 #define GT_1trace( mask, class, format, arg1 ) argument [all …]
|
/hardware/qcom/gps/platform_lib_abstractions/ |
D | platform_lib_macros.h | 34 #define TS_PRINTF(format, x...) \ argument 43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \ 52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
|
/hardware/qcom/gps/msm8960/platform_lib_abstractions/ |
D | platform_lib_macros.h | 34 #define TS_PRINTF(format, x...) \ argument 43 fprintf(stdout,"%02d:%02d:%02d.%06ld]" format "\n", hh, mm, ss, tv.tv_usec,##x); \ 52 #define ALOGE(format, x...) TS_PRINTF("E/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 53 #define ALOGW(format, x...) TS_PRINTF("W/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 54 #define ALOGI(format, x...) TS_PRINTF("I/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 55 #define ALOGD(format, x...) TS_PRINTF("D/%s (%d): " format , LOG_TAG, getpid(), ##x) argument 56 #define ALOGV(format, x...) TS_PRINTF("V/%s (%d): " format , LOG_TAG, getpid(), ##x) argument
|
/hardware/ti/omap4xxx/security/tf_daemon/ |
D | delegation_client.c | 148 static MD_INLINE void LogError(const char* format, ...) in LogError() argument 151 va_start(ap, format); in LogError() 154 vsyslog(LOG_ERR, format, ap); in LogError() 159 vfprintf(stderr, format, ap); in LogError() 165 static MD_INLINE void LogWarning(const char* format, ...) in LogWarning() argument 168 va_start(ap, format); in LogWarning() 171 vsyslog(LOG_WARNING, format, ap); in LogWarning() 176 vfprintf(stderr, format, ap); in LogWarning() 181 static MD_INLINE void LogInfo(const char* format, ...) in LogInfo() argument 184 va_start(ap, format); in LogInfo() [all …]
|
/hardware/ti/omap4-aah/security/tf_daemon/ |
D | delegation_client.c | 167 static MD_INLINE void LogError(const char* format, ...) in LogError() argument 170 va_start(ap, format); in LogError() 173 vsyslog(LOG_ERR, format, ap); in LogError() 178 __android_log_vprint(ANDROID_LOG_ERROR , "TF Daemon", format, ap); in LogError() 181 vfprintf(stderr, format, ap); in LogError() 188 static MD_INLINE void LogWarning(const char* format, ...) in LogWarning() argument 191 va_start(ap, format); in LogWarning() 194 vsyslog(LOG_WARNING, format, ap); in LogWarning() 199 __android_log_vprint(ANDROID_LOG_WARN , "TF Daemon", format, ap); in LogWarning() 202 vfprintf(stderr, format, ap); in LogWarning() [all …]
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderBase.cpp | 75 paramPortDefinitionInput.format.video.cMIMEType = NULL; // to be overridden in InitInputPort() 76 paramPortDefinitionInput.format.video.pNativeRender = NULL; in InitInputPort() 77 paramPortDefinitionInput.format.video.nFrameWidth = 176; in InitInputPort() 78 paramPortDefinitionInput.format.video.nFrameHeight = 144; in InitInputPort() 79 paramPortDefinitionInput.format.video.nStride = 0; in InitInputPort() 80 paramPortDefinitionInput.format.video.nSliceHeight = 0; in InitInputPort() 81 paramPortDefinitionInput.format.video.nBitrate = 64000; in InitInputPort() 82 paramPortDefinitionInput.format.video.xFramerate = 15 << 16; in InitInputPort() 84 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE; in InitInputPort() 85 …paramPortDefinitionInput.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; // to be overri… in InitInputPort() [all …]
|
D | OMXVideoDecoderVP9HWR.cpp | 208 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; in InitInputPortFormatSpecific() 209 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; in InitInputPortFormatSpecific() 280 int32_t format = VA_RT_FORMAT_YUV420; in ProcessorInit() local 312 format, in ProcessorInit() 508 if (widthCropped == paramPortDefinitionOutput.format.video.nFrameWidth && in HandleFormatChange() 509 heightCropped == paramPortDefinitionOutput.format.video.nFrameHeight) { in HandleFormatChange() 516 paramPortDefinitionInput.format.video.nFrameWidth = width; in HandleFormatChange() 517 paramPortDefinitionInput.format.video.nFrameHeight = height; in HandleFormatChange() 518 paramPortDefinitionInput.format.video.nStride = stride; in HandleFormatChange() 519 paramPortDefinitionInput.format.video.nSliceHeight = sliceHeight; in HandleFormatChange() [all …]
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AKFS_Common.h | 105 #define AKMDEBUG(level, format, ...) \ argument 107 ? (fprintf(stdout, (format), ##__VA_ARGS__)) \ 110 #define AKMDEBUG(level, format, ...) argument 115 #define AKMDATA(flag, format, ...) \ argument 117 ? (fprintf(stdout, (format), ##__VA_ARGS__)) \ 120 #define AKMDATA(flag, format, ...) argument 125 #define AKM_LOG(format, ...) ALOGD((format), ##__VA_ARGS__) argument 127 #define AKM_LOG(format, ...) argument
|
/hardware/samsung_slsi/exynos5/gralloc/ |
D | gralloc.cpp | 129 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, in gralloc_alloc_rgb() argument 136 if (format == HAL_PIXEL_FORMAT_RGBA_8888) { in gralloc_alloc_rgb() 143 format = HAL_PIXEL_FORMAT_BGRA_8888; in gralloc_alloc_rgb() 147 format = HAL_PIXEL_FORMAT_BGRA_8888; in gralloc_alloc_rgb() 151 switch (format) { in gralloc_alloc_rgb() 175 if (format != HAL_PIXEL_FORMAT_BLOB) { in gralloc_alloc_rgb() 193 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, in gralloc_alloc_rgb() 199 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_framework_yuv() argument 207 switch (format) { in gralloc_alloc_framework_yuv() 217 ALOGE("invalid yuv format %d\n", format); in gralloc_alloc_framework_yuv() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, in getAlignedWidthAndHeight() argument 135 if (format <= HAL_PIXEL_FORMAT_sRGB_X_8888) { in getAlignedWidthAndHeight() 148 switch(format) in getAlignedWidthAndHeight() 182 switch (format) in getAlignedWidthAndHeight() 246 width, height, format, 0,raster_mode, padding_threshold, in getAlignedWidthAndHeight() 359 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled() argument 368 switch(format) in isMacroTileEnabled() 392 size_t getSize(int format, int width, int height, const int alignedw, in getSize() argument 396 switch (format) { in getSize() 425 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getSize() [all …]
|
D | gr.h | 49 size_t getBufferSizeAndDimensions(int width, int height, int format, int usage, 51 size_t getBufferSizeAndDimensions(int width, int height, int format, 56 void getBufferAttributes(int width, int height, int format, int usage, 61 bool isMacroTileEnabled(int format, int usage); 63 int decideBufferHandlingMechanism(int format, const char *compositionUsed, 69 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage); 103 void getAlignedWidthAndHeight(int width, int height, int format, 138 int format,
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, in getAlignedWidthAndHeight() argument 135 if (format <= HAL_PIXEL_FORMAT_sRGB_X_8888) { in getAlignedWidthAndHeight() 148 switch(format) in getAlignedWidthAndHeight() 182 switch (format) in getAlignedWidthAndHeight() 251 width, height, format, 0,raster_mode, padding_threshold, in getAlignedWidthAndHeight() 364 bool isMacroTileEnabled(int format, int usage) in isMacroTileEnabled() argument 373 switch(format) in isMacroTileEnabled() 397 size_t getSize(int format, int width, int height, const int alignedw, in getSize() argument 401 switch (format) { in getSize() 433 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getSize() [all …]
|
D | gr.h | 50 size_t getBufferSizeAndDimensions(int width, int height, int format, int usage, 52 size_t getBufferSizeAndDimensions(int width, int height, int format, 57 void getBufferAttributes(int width, int height, int format, int usage, 62 bool isMacroTileEnabled(int format, int usage); 64 int decideBufferHandlingMechanism(int format, const char *compositionUsed, 70 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage); 114 void getAlignedWidthAndHeight(int width, int height, int format, 149 int format,
|
/hardware/qcom/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 62 bool isYUVSurface(ColorConvertFormat format); 63 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource); 66 uint32_t getC2DFormat(ColorConvertFormat format); 67 size_t calcStride(ColorConvertFormat format, size_t width); 68 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 69 size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 72 size_t calcLumaAlign(ColorConvertFormat format); 73 size_t calcSizeAlign(ColorConvertFormat format); 74 C2DBytesPerPixel calcBytesPerPixel(ColorConvertFormat format); 256 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) in isYUVSurface() argument [all …]
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | portbase.cpp | 65 portdefinition.format.audio.cMIMEType = &definition_format_mimetype[0]; in __PortBase() 66 portdefinition.format.video.cMIMEType = &definition_format_mimetype[0]; in __PortBase() 67 portdefinition.format.image.cMIMEType = &definition_format_mimetype[0]; in __PortBase() 227 OMX_AUDIO_PORTDEFINITIONTYPE *format = &temp.format.audio; in SetPortDefinition() local 228 const OMX_AUDIO_PORTDEFINITIONTYPE *pformat = &p->format.audio; in SetPortDefinition() 234 strncpy(format->cMIMEType, pformat->cMIMEType, in SetPortDefinition() 236 format->cMIMEType[mimetype_len+1] = '\0'; in SetPortDefinition() 237 format->pNativeRender = pformat->pNativeRender; in SetPortDefinition() 238 format->bFlagErrorConcealment = pformat->bFlagErrorConcealment; in SetPortDefinition() 239 format->eEncoding = pformat->eEncoding; in SetPortDefinition() [all …]
|
/hardware/libhardware/include/hardware/ |
D | audio_alsaops.h | 37 static inline enum pcm_format pcm_format_from_audio_format(audio_format_t format) in pcm_format_from_audio_format() argument 39 switch (format) { in pcm_format_from_audio_format() 61 LOG_ALWAYS_FATAL("pcm_format_from_audio_format: invalid audio format %#x", format); in pcm_format_from_audio_format() 72 static inline audio_format_t audio_format_from_pcm_format(enum pcm_format format) in audio_format_from_pcm_format() argument 74 switch (format) { in audio_format_from_pcm_format() 95 LOG_ALWAYS_FATAL("audio_format_from_pcm_format: invalid pcm format %#x", format); in audio_format_from_pcm_format()
|
/hardware/samsung_slsi/exynos5/include/ |
D | gralloc_priv.h | 89 int format; member 112 int h, int format, int stride, int vstride) : in private_handle_t() 114 offset(0), format(format), width(w), height(h), stride(stride), in private_handle_t() 124 int h, int format, int stride, int vstride) : in private_handle_t() 126 offset(0), format(format), width(w), height(h), stride(stride), in private_handle_t() 136 int h, int format, int stride, int vstride) : in private_handle_t() 138 offset(0), format(format), width(w), height(h), stride(stride), in private_handle_t()
|
/hardware/libhardware_legacy/audio/ |
D | AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); in openOutputStream() 70 lFormat = outFinal->format(); in openOutputStream() 74 if (format != 0) { in openOutputStream() 75 if (*format != 0) { in openOutputStream() 76 lFormat = *format; in openOutputStream() 78 *format = lFormat; in openOutputStream() 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channel… in openInputStream() argument 134 …inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustic… in openInputStream() 136 lFormat = inFinal->format(); in openInputStream() [all …]
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/ |
D | JPEGTest.c | 330 imageinfo->format = GetYUVformat(Data); 331 switch (imageinfo->format) { 349 imageinfo->format = OMX_COLOR_FormatUnused; 884 pInPortDef->format.image.cMIMEType = "JPEGDEC"; 885 pInPortDef->format.image.pNativeRender = NULL; 886 pInPortDef->format.image.nFrameWidth = imageinfo->nWidth; 887 pInPortDef->format.image.nFrameHeight = imageinfo->nHeight; 888 pInPortDef->format.image.nStride = -1; 889 pInPortDef->format.image.nSliceHeight = -1; 890 pInPortDef->format.image.bFlagErrorConcealment = OMX_FALSE; [all …]
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
D | PlaneCapabilities.cpp | 36 uint32_t format = hwcLayer->getFormat(); in isFormatSupported() local 40 switch (format) { in isFormatSupported() 48 VLOGTRACE("unsupported format %#x", format); in isFormatSupported() 52 switch (format) { in isFormatSupported() 68 VLOGTRACE("unsupported format %#x", format); in isFormatSupported() 79 uint32_t format = hwcLayer->getFormat(); in isSizeSupported() local 88 switch (format) { in isSizeSupported() 101 VLOGTRACE("unsupported format %#x", format); in isSizeSupported() 105 switch (format) { in isSizeSupported() 118 VLOGTRACE("unsupported format %#x", format); in isSizeSupported()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument 107 if (format <= HAL_PIXEL_FORMAT_sRGB_X_8888) { in getStride() 109 switch(format) in getStride() 130 switch (format) in getStride() 254 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument 259 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions() 261 switch (format) { in getBufferSizeAndDimensions() 292 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getBufferSizeAndDimensions() 297 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) { in getBufferSizeAndDimensions() 336 ALOGE("unrecognized pixel format: 0x%x", format); in getBufferSizeAndDimensions() [all …]
|
/hardware/intel/img/psb_video/src/android/ |
D | psb_surface_gralloc.c | 91 int format, in psb_CreateSurfacesFromGralloc() argument 100 int protected = (VA_RT_FORMAT_PROTECTED & format); in psb_CreateSurfacesFromGralloc() 109 format = format & (~VA_RT_FORMAT_PROTECTED); in psb_CreateSurfacesFromGralloc() 117 …ALOGD("format is 0x%x, width is %d, height is %d, num_surfaces is %d.\n", format, width, height, n… in psb_CreateSurfacesFromGralloc() 119 if ((VA_RT_FORMAT_YUV420 != format) in psb_CreateSurfacesFromGralloc() 120 && (VA_RT_FORMAT_YUV422 != format)) { in psb_CreateSurfacesFromGralloc() 174 switch (format) { in psb_CreateSurfacesFromGralloc() 244 int format, in psb_CreateSurfacesFromGralloc() argument 253 int protected = (VA_RT_FORMAT_PROTECTED & format); in psb_CreateSurfacesFromGralloc() 262 format = format & (~VA_RT_FORMAT_PROTECTED); in psb_CreateSurfacesFromGralloc() [all …]
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/ |
D | Exynos_OMX_Vdec.c | 74 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth != in Exynos_UpdateFrameSize() 75 exynosInputPort->portDefinition.format.video.nFrameWidth) || in Exynos_UpdateFrameSize() 76 (exynosOutputPort->portDefinition.format.video.nFrameHeight != in Exynos_UpdateFrameSize() 77 exynosInputPort->portDefinition.format.video.nFrameHeight)) { in Exynos_UpdateFrameSize() 80 exynosOutputPort->portDefinition.format.video.nFrameWidth = in Exynos_UpdateFrameSize() 81 exynosInputPort->portDefinition.format.video.nFrameWidth; in Exynos_UpdateFrameSize() 82 exynosOutputPort->portDefinition.format.video.nFrameHeight = in Exynos_UpdateFrameSize() 83 exynosInputPort->portDefinition.format.video.nFrameHeight; in Exynos_UpdateFrameSize() 84 width = exynosOutputPort->portDefinition.format.video.nStride = in Exynos_UpdateFrameSize() 85 exynosInputPort->portDefinition.format.video.nStride; in Exynos_UpdateFrameSize() [all …]
|