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

123456789

/hardware/ti/omap3/omx/system/src/openmax_il/common/inc/
H A DOMX_TI_Debug.h44 *! that is, newest first. The date format is dd-Mon-yyyy.
90 Output format is:
285 * format, list - debug message
290 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \
294 format OMX_DBG_FN OMX_DBG_LINE, ##list); \
297 #define OMX_DBG_PRINT(file, domain, level, mask, format, list...) \
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...) \
317 format OMX_DBG_F
[all...]
/hardware/ti/omap3/dspbridge/inc/
H A Dgt.h193 GT_0trace(struct GT_Mask mask, SmBits class, String format) argument
199 GT_1trace(struct GT_Mask mask, SmBits class, String format, ...) argument
205 GT_2trace(struct GT_Mask mask, SmBits class, String format, ...) argument
211 GT_3trace(struct GT_Mask mask, SmBits class, String format, ...) argument
217 GT_4trace(struct GT_Mask mask, SmBits class, String format, ...) argument
223 GT_5trace(struct GT_Mask mask, SmBits class, String format, ...) argument
229 GT_6trace(struct GT_Mask mask, SmBits class, String format, ...) argument
243 extern Int _GT_trace(struct GT_Mask * mask, String format, ...);
278 #define GT_0trace( mask, class, format )
279 #define GT_1trace( mask, class, format, arg
[all...]
/hardware/qcom/display/libgralloc/
H A 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,
H A Dalloc_controller.cpp103 int AdrenoMemInfo::getStride(int width, int format) argument
107 if (format < 0x7) {
109 switch(format)
132 switch (format)
255 size_t getBufferSizeAndDimensions(int width, int height, int format, argument
260 alignedw = AdrenoMemInfo::getInstance().getStride(width, format);
262 switch (format) {
292 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) {
293 ALOGE("w or h is odd for the YV12 format");
297 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) {
346 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
[all...]
H A Dgr.h54 size_t getBufferSizeAndDimensions(int width, int height, int format,
57 int decideBufferHandlingMechanism(int format, const char *compositionUsed,
61 // Allocate buffer from width, height, format into a private_handle_t
63 int alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage);
92 * Function to compute the adreno stride based on the width and format.
96 int getStride(int width, int format);
H A Dgpu.cpp57 int format, int width, int height)
66 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
146 bufferType, format, width, height, eData.fd, eData.offset,
245 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
253 int grallocFormat = format;
256 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
257 //the usage bits, gralloc assigns a format.
258 if(format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED ||
259 format == HAL_PIXEL_FORMAT_YCbCr_420_888) {
333 int gpu_context_t::gralloc_alloc(alloc_device_t* dev, int w, int h, int format, argument
55 gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
343 gralloc_alloc_size(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride, int bufferSize) argument
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Dgralloc_priv.h87 int format; member in struct:private_handle_t
110 int h, int format, int stride, int vstride) :
112 offset(0), format(format), width(w), height(h), stride(stride),
122 int h, int format, int stride, int vstride) :
124 offset(0), format(format), width(w), height(h), stride(stride),
134 int h, int format, int stride, int vstride) :
136 offset(0), format(format), widt
109 private_handle_t(int fd, int size, int flags, int w, int h, int format, int stride, int vstride) argument
121 private_handle_t(int fd, int fd1, int size, int flags, int w, int h, int format, int stride, int vstride) argument
133 private_handle_t(int fd, int fd1, int fd2, int size, int flags, int w, int h, int format, int stride, int vstride) argument
[all...]
/hardware/ti/omap4xxx/security/tf_daemon/
H A Ddelegation_client.c93 It is up to you to define the format of this configuration file and the
148 static MD_INLINE void LogError(const char* format, ...) argument
151 va_start(ap, format);
154 vsyslog(LOG_ERR, format, ap);
159 vfprintf(stderr, format, ap);
165 static MD_INLINE void LogWarning(const char* format, ...) argument
168 va_start(ap, format);
171 vsyslog(LOG_WARNING, format, ap);
176 vfprintf(stderr, format, ap);
181 static MD_INLINE void LogInfo(const char* format, argument
197 TRACE_ERROR(const char* format, ...) argument
218 TRACE_WARNING(const char* format, ...) argument
239 TRACE_INFO(const char* format, ...) argument
263 LogError(const char* format, ...) argument
267 LogWarning(const char* format, ...) argument
271 LogInfo(const char* format, ...) argument
276 TRACE_ERROR(const char* format, ...) argument
281 TRACE_WARNING(const char* format, ...) argument
286 TRACE_INFO(const char* format, ...) argument
294 LogError(const char* format, ...) argument
303 LogWarning(const char* format, ...) argument
312 LogInfo(const char* format, ...) argument
321 TRACE_ERROR(const char* format, ...) argument
335 TRACE_WARNING(const char* format, ...) argument
349 TRACE_INFO(const char* format, ...) argument
[all...]
/hardware/libhardware_legacy/audio/
H A DAudioDumpInterface.cpp60 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...]
H A DAudioHardwareInterface.cpp113 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);
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUtil.h64 static int printFormatFromEDID(unsigned char format);
67 unsigned char format);
H A DALSAStreamOps.cpp94 status_t ALSAStreamOps::set(int *format, argument
141 snd_pcm_format_t iformat = mHandle->format;
143 if (format) {
144 switch(*format) {
158 iformat = *format;
166 ALOGE("Unknown PCM format %i. Forcing default", *format);
170 if (mHandle->format != iformat)
175 *format = AudioSystem::PCM_16_BIT;
178 *format
309 int ALSAStreamOps::format() const function in class:android_audio_legacy::ALSAStreamOps
[all...]
/hardware/samsung_slsi/exynos5/gralloc/
H A Dgralloc.cpp134 static int gralloc_alloc_rgb(int ionfd, int w, int h, int format, int usage, argument
141 switch (format) {
165 if (format != HAL_PIXEL_FORMAT_BLOB) {
183 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride,
189 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, argument
197 switch (format) {
207 ALOGE("invalid yuv format %d\n", format);
215 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, h);
219 static int gralloc_alloc_yuv(int ionfd, int w, int h, int format, argument
322 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
H A DExynos_OMX_Vdec.c73 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth !=
74 exynosInputPort->portDefinition.format.video.nFrameWidth) ||
75 (exynosOutputPort->portDefinition.format.video.nFrameHeight !=
76 exynosInputPort->portDefinition.format.video.nFrameHeight)) {
79 exynosOutputPort->portDefinition.format.video.nFrameWidth =
80 exynosInputPort->portDefinition.format.video.nFrameWidth;
81 exynosOutputPort->portDefinition.format.video.nFrameHeight =
82 exynosInputPort->portDefinition.format.video.nFrameHeight;
83 width = exynosOutputPort->portDefinition.format.video.nStride =
84 exynosInputPort->portDefinition.format
[all...]
/hardware/libhardware/tests/camera2/
H A DCameraStreamFixture.h36 // Format specifier for picking the best format for CPU reading the given device
168 int format = MapAutoFormat(p.mFormat); local
172 mWidth, mHeight, format, /*size (for jpegs)*/0,
186 int MapAutoFormat(int format) { argument
187 if (format == CAMERA_STREAM_AUTO_CPU_FORMAT) {
189 format = HAL_PIXEL_FORMAT_YCbCr_420_888;
191 format = HAL_PIXEL_FORMAT_YCrCb_420_SP;
194 return format;
/hardware/libhardware_legacy/include/hardware_legacy/
H A DAudioHardwareInterface.h64 * return audio format in 8bit or 16bit PCM format -
67 virtual int format() const = 0;
72 uint32_t frameSize() const { return popcount(channels())*((format()==AUDIO_FORMAT_PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
140 * return audio format in 8bit or 16bit PCM format -
143 virtual int format() const = 0;
148 uint32_t frameSize() const { return AudioSystem::popCount(channels())*((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
244 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
249 int *format
[all...]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
H A DJPEGTest.c330 imageinfo->format = GetYUVformat(Data);
331 switch (imageinfo->format) {
333 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV420PackedPlanar\n");
336 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV411Planar\n");
339 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV422Interleaved\n");
342 printf("APP:: Image chroma format is OMX_COLOR_FormatYUV444Interleaved\n");
345 printf("APP:: Image chroma format is OMX_COLOR_FormatL8 \n");
348 printf("APP:: Cannot find Image chroma format \n");
349 imageinfo->format = OMX_COLOR_FormatUnused;
358 imageinfo->format
[all...]
/hardware/qcom/media/libc2dcolorconvert/
H A DC2DColorConverter.cpp66 virtual bool isYUVSurface(ColorConvertFormat format);
67 virtual void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
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) argument
270 switch (format) {
284 getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument
373 getC2DFormat(ColorConvertFormat format) argument
395 calcStride(ColorConvertFormat format, size_t width) argument
417 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument
438 calcSize(ColorConvertFormat format, size_t width, size_t height) argument
548 calcLumaAlign(ColorConvertFormat format) argument
560 calcSizeAlign(ColorConvertFormat format) argument
[all...]
/hardware/ti/omap3/omx/video/src/openmax_il/video_decode/src/
H A DOMX_VideoDec_Utils.c45 *! that is, newest first. The date format is dd-Mon-yyyy.
70 if ((OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_CIF_WIDTH) ||
71 (OMX_U16)(pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_CIF_HEIGHT)) {
72 if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingAVC) {
75 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingWMV) {
78 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG4) {
79 if ((OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameHeight > VIDDEC_D1MAX_HEIGHT ||
80 (OMX_U16)pComponentPrivate->pInPortDef->format.video.nFrameWidth > VIDDEC_D1MAX_WIDTH)
89 else if (pComponentPrivate->pInPortDef->format.video.eCompressionFormat == OMX_VIDEO_CodingMPEG2) {
92 else if (pComponentPrivate->pInPortDef->format
[all...]
/hardware/libhardware_legacy/
H A Dqemu.h67 const char* format,
/hardware/qcom/media/mm-video/vidc/common/src/
H A Dvidc_color_converter.cpp132 int format = -1; local
134 format = HAL_PIXEL_FORMAT_NV12_ENCODEABLE;
136 format = HAL_PIXEL_FORMAT_RGBA_8888;
138 return format;
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/
H A DExynos_OMX_Venc.c61 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth !=
62 exynosInputPort->portDefinition.format.video.nFrameWidth) ||
63 (exynosOutputPort->portDefinition.format.video.nFrameHeight !=
64 exynosInputPort->portDefinition.format.video.nFrameHeight)) {
67 exynosOutputPort->portDefinition.format.video.nFrameWidth =
68 exynosInputPort->portDefinition.format.video.nFrameWidth;
69 exynosOutputPort->portDefinition.format.video.nFrameHeight =
70 exynosInputPort->portDefinition.format.video.nFrameHeight;
71 width = exynosOutputPort->portDefinition.format.video.nStride =
72 exynosInputPort->portDefinition.format
[all...]
/hardware/qcom/display/liboverlay/
H A DoverlayUtils.h122 * The compound format passed to the overlay is
123 * ABCCC where A is the input 3D format
124 * B is the output 3D format
125 * CCC is the color format e.g YCbCr420SP YCrCb420SP etc */
193 Whf() : w(0), h(0), format(0), size(0) {}
195 w(wi), h(he), format(f), size(0) {}
197 w(wi), h(he), format(f), size(s) {}
201 whf.format == format;
209 uint32_t format; member in struct:overlay::utils::Whf
477 isYuv(uint32_t format) argument
496 isRgb(uint32_t format) argument
509 getFormatString(int format) argument
[all...]
/hardware/msm7k/libgralloc-qsd8k/
H A Dgpu.h61 int alloc_impl(int w, int h, int format, int usage,
64 static int gralloc_alloc(alloc_device_t* dev, int w, int h, int format,
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
H A DExynos_OSAL_Android.h53 OMX_IN OMX_COLOR_FORMATTYPE format,
62 OMX_IN OMX_COLOR_FORMATTYPE format,

Completed in 1373 milliseconds

123456789