Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 215) sorted by relevance

123456789

/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/
DOMX_TI_Debug.h290 #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/ti/omap3/dspbridge/inc/
Dgt.h193 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/ti/omap4xxx/security/tf_daemon/
Ddelegation_client.c148 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/samsung_slsi/exynos5/gralloc/
Dgralloc.cpp134 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, in gralloc_alloc_rgb() argument
141 switch (format) { in gralloc_alloc_rgb()
165 if (format != HAL_PIXEL_FORMAT_BLOB) { in gralloc_alloc_rgb()
183 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, in gralloc_alloc_rgb()
189 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_framework_yuv() argument
197 switch (format) { in gralloc_alloc_framework_yuv()
207 ALOGE("invalid yuv format %d\n", format); in gralloc_alloc_framework_yuv()
215 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, h); in gralloc_alloc_framework_yuv()
219 static int gralloc_alloc_yuv(int ionfd, int w, int h, int format, in gralloc_alloc_yuv() argument
230 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { in gralloc_alloc_yuv()
[all …]
/hardware/qcom/media/libc2dcolorconvert/
DC2DColorConverter.cpp66 virtual bool isYUVSurface(ColorConvertFormat format);
67 …virtual void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSo…
70 virtual uint32_t getC2DFormat(ColorConvertFormat format);
71 virtual size_t calcStride(ColorConvertFormat format, size_t width);
72 virtual size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
73 virtual size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
76 virtual size_t calcLumaAlign(ColorConvertFormat format);
77 virtual size_t calcSizeAlign(ColorConvertFormat format);
268 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) in isYUVSurface() argument
270 switch (format) { in isYUVSurface()
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
DExynos_OMX_Vdec.c73 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth != in Exynos_UpdateFrameSize()
74 exynosInputPort->portDefinition.format.video.nFrameWidth) || in Exynos_UpdateFrameSize()
75 (exynosOutputPort->portDefinition.format.video.nFrameHeight != in Exynos_UpdateFrameSize()
76 exynosInputPort->portDefinition.format.video.nFrameHeight)) { in Exynos_UpdateFrameSize()
79 exynosOutputPort->portDefinition.format.video.nFrameWidth = in Exynos_UpdateFrameSize()
80 exynosInputPort->portDefinition.format.video.nFrameWidth; in Exynos_UpdateFrameSize()
81 exynosOutputPort->portDefinition.format.video.nFrameHeight = in Exynos_UpdateFrameSize()
82 exynosInputPort->portDefinition.format.video.nFrameHeight; in Exynos_UpdateFrameSize()
83 width = exynosOutputPort->portDefinition.format.video.nStride = in Exynos_UpdateFrameSize()
84 exynosInputPort->portDefinition.format.video.nStride; in Exynos_UpdateFrameSize()
[all …]
/hardware/samsung_slsi/exynos5/include/
Dgralloc_priv.h87 int format; member
110 int h, int format, int stride, int vstride) : in private_handle_t()
112 offset(0), format(format), width(w), height(h), stride(stride), in private_handle_t()
122 int h, int format, int stride, int vstride) : in private_handle_t()
124 offset(0), format(format), width(w), height(h), stride(stride), in private_handle_t()
134 int h, int format, int stride, int vstride) : in private_handle_t()
136 offset(0), format(format), width(w), height(h), stride(stride), in private_handle_t()
/hardware/libhardware_legacy/audio/
DAudioDumpInterface.cpp60 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 …]
DAudioHardwareStub.cpp46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument
49 status_t lStatus = out->set(format, channels, sampleRate); in openOutputStream()
65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, in openInputStream() argument
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics); in openInputStream()
121 if (pFormat) *pFormat = format(); in set()
149 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
195 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
DAudioDumpInterface.h40 int format,
49 virtual int format() const;
82 int format,
90 virtual int format() const;
123 int *format=0,
149 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
DAudioHardwareGeneric.cpp68 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream() argument
82 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate); in openOutputStream()
102 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, in openInputStream() argument
122 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics); in openInputStream()
205 if (lFormat == 0) lFormat = format(); in set()
210 if ((lFormat != format()) || in set()
213 if (pFormat) *pFormat = format(); in set()
258 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
323 if ((*pFormat != format()) || in set()
327 *pFormat = format(); in set()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
DJPEGTest.c330 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/qcom/display/libgralloc/
Dalloc_controller.cpp103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument
107 if (format < 0x7) { in getStride()
109 switch(format) in getStride()
132 switch (format) in getStride()
255 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument
260 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions()
262 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 …]
Dgpu.h41 int bufferType, int format,
46 int alloc_impl(int w, int h, int format, int usage,
51 int format, int usage,
63 int w, int h, int format,
Dgr.h54 size_t getBufferSizeAndDimensions(int width, int height, int format,
57 int decideBufferHandlingMechanism(int format, const char *compositionUsed,
63 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
96 int getStride(int width, int format);
Dgpu.cpp57 int format, int width, int height) in gralloc_alloc_buffer() argument
66 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) in gralloc_alloc_buffer()
146 bufferType, format, width, height, eData.fd, eData.offset, in gralloc_alloc_buffer()
245 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, in alloc_impl() argument
253 int grallocFormat = format; in alloc_impl()
258 if(format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED || in alloc_impl()
259 format == HAL_PIXEL_FORMAT_YCbCr_420_888) { in alloc_impl()
333 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, in gralloc_alloc() argument
341 return gpu->alloc_impl(w, h, format, usage, pHandle, pStride, 0); in gralloc_alloc()
344 int format, int usage, in gralloc_alloc_size() argument
[all …]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
DOMX_VideoDec_Utils.c70 if ((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_CIF_WIDTH) || in VIDDEC_GetRMFrecuency()
71 … (OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_CIF_HEIGHT)) { in VIDDEC_GetRMFrecuency()
72 … if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) { in VIDDEC_GetRMFrecuency()
75 … else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) { in VIDDEC_GetRMFrecuency()
78 …else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4) { in VIDDEC_GetRMFrecuency()
79 … if ((OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_D1MAX_HEIGHT || in VIDDEC_GetRMFrecuency()
80 … (OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_D1MAX_WIDTH) in VIDDEC_GetRMFrecuency()
89 …else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) { in VIDDEC_GetRMFrecuency()
92 … else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingH263) { in VIDDEC_GetRMFrecuency()
105 …else if (((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth <= VIDDEC_CIF_WIDTH) && in VIDDEC_GetRMFrecuency()
[all …]
/hardware/qcom/display/libcopybit/
Dcopybit_c2d.cpp176 int format; member
255 static int get_format(int format) { in get_format() argument
256 switch (format) { in get_format()
272 __FUNCTION__, format); in get_format()
386 static int is_supported_rgb_format(int format) in is_supported_rgb_format() argument
388 switch(format) { in is_supported_rgb_format()
402 static int get_num_planes(int format) in get_num_planes() argument
404 switch(format) { in get_num_planes()
419 static int is_supported_yuv_format(int format) in is_supported_yuv_format() argument
421 switch(format) { in is_supported_yuv_format()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp94 status_t ALSAStreamOps::set(int *format, in set() argument
141 snd_pcm_format_t iformat = mHandle->format; in set()
143 if (format) { in set()
144 switch(*format) { in set()
158 iformat = *format; in set()
166 ALOGE("Unknown PCM format %i. Forcing default", *format); in set()
170 if (mHandle->format != iformat) in set()
175 *format = AudioSystem::PCM_16_BIT; in set()
178 *format = AudioSystem::PCM_8_BIT; in set()
309 int ALSAStreamOps::format() const in format() function in android_audio_legacy::ALSAStreamOps
[all …]
DAudioHardwareALSA.h171 snd_pcm_format_t format; member
269 status_t set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device);
276 int format() const;
310 virtual int format() const in format() function
312 return ALSAStreamOps::format(); in format()
369 virtual int format() const in format() function
371 return ALSAStreamOps::format(); in format()
487 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channels);
494 int *format,
505 int *format=0,
[all …]
/hardware/qcom/display/liboverlay/
DoverlayUtils.h193 Whf() : w(0), h(0), format(0), size(0) {} in Whf()
195 w(wi), h(he), format(f), size(0) {} in Whf()
197 w(wi), h(he), format(f), size(s) {} in Whf()
201 whf.format == format;
209 uint32_t format; member
409 int getMdpFormat(int format);
418 const char* getFormatString(int format);
477 inline bool isYuv(uint32_t format) { in isYuv() argument
478 switch(format){ in isYuv()
496 inline bool isRgb(uint32_t format) { in isRgb() argument
[all …]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/
DExynos_OMX_Venc.c61 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth != in Exynos_UpdateFrameSize()
62 exynosInputPort->portDefinition.format.video.nFrameWidth) || in Exynos_UpdateFrameSize()
63 (exynosOutputPort->portDefinition.format.video.nFrameHeight != in Exynos_UpdateFrameSize()
64 exynosInputPort->portDefinition.format.video.nFrameHeight)) { in Exynos_UpdateFrameSize()
67 exynosOutputPort->portDefinition.format.video.nFrameWidth = in Exynos_UpdateFrameSize()
68 exynosInputPort->portDefinition.format.video.nFrameWidth; in Exynos_UpdateFrameSize()
69 exynosOutputPort->portDefinition.format.video.nFrameHeight = in Exynos_UpdateFrameSize()
70 exynosInputPort->portDefinition.format.video.nFrameHeight; in Exynos_UpdateFrameSize()
71 width = exynosOutputPort->portDefinition.format.video.nStride = in Exynos_UpdateFrameSize()
72 exynosInputPort->portDefinition.format.video.nStride; in Exynos_UpdateFrameSize()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareInterface.h67 virtual int format() const = 0;
72 …uint32_t frameSize() const { return popcount(channels())*((format()==AUDIO_FORMAT_PCM_16_BIT)?s… in frameSize()
143 virtual int format() const = 0;
148 …uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::… in frameSize()
244 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
249 int *format=0,
258 int *format,
/hardware/qcom/media/mm-video/vidc/venc/src/
Domx_video_encoder.cpp251 m_sInPortDef.format.video.cMIMEType = "YUV420"; in component_init()
252 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; in component_init()
253 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT; in component_init()
254 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH; in component_init()
255 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT; in component_init()
256 m_sInPortDef.format.video.nBitrate = 64000; in component_init()
257 m_sInPortDef.format.video.xFramerate = 15 << 16; in component_init()
258 m_sInPortDef.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar; in component_init()
259 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in component_init()
277 m_sOutPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH; in component_init()
[all …]
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp151 h->format, h->width, h->height, h->stride, h->vstride); in dump_handle()
182 c.format, c.blending); in dump_config()
257 c1.format != c2.format || in gsc_dst_cfg_changed()
270 static enum s3c_fb_pixel_format exynos5_format_to_s3c_format(int format) in exynos5_format_to_s3c_format() argument
272 switch (format) { in exynos5_format_to_s3c_format()
288 static bool exynos5_format_is_supported(int format) in exynos5_format_is_supported() argument
290 return exynos5_format_to_s3c_format(format) < S3C_FB_PIXEL_FORMAT_MAX; in exynos5_format_is_supported()
293 static bool exynos5_format_is_rgb(int format) in exynos5_format_is_rgb() argument
295 switch (format) { in exynos5_format_is_rgb()
310 static bool exynos5_format_is_supported_by_gscaler(int format) in exynos5_format_is_supported_by_gscaler() argument
[all …]

123456789