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

1234567891011>>

/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/akm/AK8975_FS/akmdfs/
H A DAKFS_Common.h105 #define AKMDEBUG(level, format, ...) \
107 ? (fprintf(stdout, (format), ##__VA_ARGS__)) \
110 #define AKMDEBUG(level, format, ...)
115 #define AKMDATA(flag, format, ...) \
117 ? (fprintf(stdout, (format), ##__VA_ARGS__)) \
120 #define AKMDATA(flag, format, ...)
125 #define AKM_LOG(format, ...) ALOGD((format), ##__VA_ARGS__)
127 #define AKM_LOG(format, ...)
/hardware/qcom/camera/hdr/include/
H A Dmorpho_noise_reduction.h53 * @param[in] format �摜�t�H�[�}�b�g������
60 const char *format);
117 * @param[out] format �摜�t�H�[�}�b�g�����񂪊i�[�����
124 char *format,
159 * @param[in] format �摜�t�H�[�}�b�g������
165 const char *format);
H A Dmorpho_hdr_checker.h64 * @param[in] format ��͉摜�̃t�H�[�}�b�g
71 const char *format);
81 * @param[in] format ��͉摜�̃t�H�[�}�b�g
91 const char *format);
/hardware/qcom/display/msm8960/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 <= HAL_PIXEL_FORMAT_sRGB_X_8888) {
109 switch(format)
130 switch (format)
253 size_t getBufferSizeAndDimensions(int width, int height, int format, argument
258 alignedw = AdrenoMemInfo::getInstance().getStride(width, format);
260 switch (format) {
290 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) {
291 ALOGE("w or h is odd for the YV12 format");
295 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) {
344 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);
/hardware/qcom/display/msm8974/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 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 Dalloc_controller.cpp103 int AdrenoMemInfo::getStride(int width, int format) argument
107 if (format <= HAL_PIXEL_FORMAT_sRGB_X_8888) {
118 switch(format)
139 switch (format)
272 size_t getBufferSizeAndDimensions(int width, int height, int format, argument
277 alignedw = AdrenoMemInfo::getInstance().getStride(width, format);
279 switch (format) {
308 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) {
309 ALOGE("w or h is odd for the YV12 format");
325 ALOGE("width is odd for the YUV422_SP format");
361 alloc_buffer(private_handle_t **pHnd, int w, int h, int format, int usage) argument
[all...]
/hardware/qcom/display/msm8x26/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)
130 switch (format)
253 size_t getBufferSizeAndDimensions(int width, int height, int format, argument
258 alignedw = AdrenoMemInfo::getInstance().getStride(width, format);
260 switch (format) {
288 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) {
289 ALOGE("w or h is odd for the YV12 format");
293 if (HAL_PIXEL_FORMAT_NV12_ENCODEABLE == format) {
342 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);
/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...]
/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 if (format == HAL_PIXEL_FORMAT_RGBA_8888) {
148 format = HAL_PIXEL_FORMAT_BGRA_8888;
152 format = HAL_PIXEL_FORMAT_BGRA_8888;
156 switch (format) {
178 if (format != HAL_PIXEL_FORMAT_BLOB) {
196 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride,
202 static int gralloc_alloc_framework_yuv(int ionfd, int w, int h, int format, argument
210 switch (format) {
220 ALOGE("invalid yuv format
232 gralloc_alloc_yuv(int ionfd, int w, int h, int format, int usage, unsigned int ion_flags, private_handle_t **hnd, int *stride) argument
335 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
[all...]
/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/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.cpp63 virtual bool isYUVSurface(ColorConvertFormat format);
64 virtual void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
67 virtual uint32_t getC2DFormat(ColorConvertFormat format);
68 virtual size_t calcStride(ColorConvertFormat format, size_t width);
69 virtual size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
70 virtual size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
73 virtual size_t calcLumaAlign(ColorConvertFormat format);
74 virtual size_t calcSizeAlign(ColorConvertFormat format);
259 bool C2DColorConverter::isYUVSurface(ColorConvertFormat format) argument
261 switch (format) {
276 getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument
365 getC2DFormat(ColorConvertFormat format) argument
388 calcStride(ColorConvertFormat format, size_t width) argument
415 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument
438 calcSize(ColorConvertFormat format, size_t width, size_t height) argument
551 calcLumaAlign(ColorConvertFormat format) argument
565 calcSizeAlign(ColorConvertFormat format) argument
[all...]
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayUtils.h121 * The compound format passed to the overlay is
122 * ABCCC where A is the input 3D format
123 * B is the output 3D format
124 * 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
474 isYuv(uint32_t format) argument
493 isRgb(uint32_t format) argument
506 getFormatString(int 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...]

Completed in 2311 milliseconds

1234567891011>>