Searched refs:format (Results 126 - 150 of 692) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8960/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/qcom/display/msm8994/libgralloc/
H A Dgpu.cpp53 int format, int width, int height)
62 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
105 // Per the camera spec ITU 709 format should be set only for
107 // It should be set to ITU 601 full range format for any other
147 if(isMacroTileEnabled(format, usage)) {
151 if (isUBwcEnabled(format, usage)) {
173 bufferType, format, width, height, eData.fd, eData.offset,
272 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
280 int grallocFormat = format;
283 //If input format i
51 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
369 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
379 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/qcom/display/msm8996/libgralloc/
H A Dgpu.cpp52 int format, int width, int height)
61 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
126 if(isMacroTileEnabled(format, usage)) {
130 if (isUBwcEnabled(format, usage)) {
161 bufferType, format, width, height, eData.fd, eData.offset,
257 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
265 int grallocFormat = format;
268 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
269 //the usage bits, gralloc assigns a format.
270 if(format
50 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
368 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
378 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/qcom/display/msm8994/liboverlay/
H A DoverlayUtils.cpp85 int getMdpFormat(int format) { argument
86 switch (format) {
128 //NV12 encodeable format maps to the venus format on
137 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format);
144 int getMdpFormat(int format, int flags) argument
151 switch (format) {
161 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format);
[all...]
H A DoverlayUtils.h166 Whf() : w(0), h(0), format(0), size(0) {}
168 w(wi), h(he), format(f), size(0) {}
170 w(wi), h(he), format(f), size(s) {}
174 whf.format == format;
182 uint32_t format; member in struct:overlay::utils::Whf
370 int getMdpFormat(int format);
371 int getMdpFormat(int format, int flags);
381 const char* getFormatString(int format);
411 inline bool isYuv(uint32_t format) { argument
432 isRgb(uint32_t format) argument
447 getFormatString(int format) argument
[all...]
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayUtils.h166 Whf() : w(0), h(0), format(0), size(0) {}
168 w(wi), h(he), format(f), size(0) {}
170 w(wi), h(he), format(f), size(s) {}
174 whf.format == format;
182 uint32_t format; member in struct:overlay::utils::Whf
379 int getMdpFormat(int format);
380 int getMdpFormat(int format, bool tileEnabled);
392 const char* getFormatString(int format);
418 inline bool isYuv(uint32_t format) { argument
439 isRgb(uint32_t format) argument
452 getFormatString(int format) argument
[all...]
/hardware/qcom/display/msm8909/liboverlay/
H A DoverlayUtils.h166 Whf() : w(0), h(0), format(0), size(0) {}
168 w(wi), h(he), format(f), size(0) {}
170 w(wi), h(he), format(f), size(s) {}
174 whf.format == format;
182 uint32_t format; member in struct:overlay::utils::Whf
367 int getMdpFormat(int format);
368 int getMdpFormat(int format, bool tileEnabled);
378 const char* getFormatString(int format);
408 inline bool isYuv(uint32_t format) { argument
429 isRgb(uint32_t format) argument
442 getFormatString(int format) argument
[all...]
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dadxl335.py63 outputStr = "Raw Values: X: {0} Y: {1} Z: {2}".format(
71 "Acceleration: Z: {2}g").format(upmAdxl335.floatPointer_value(aX),
H A Dh3lis331dl.py64 " Z = {2}").format(upmH3LIS331DL.intp_value(x),
72 " AZ = {2}").format(upmH3LIS331DL.floatp_value(ax),
H A Dmma7660.py69 " z = {2}").format(upmMMA7660.intp_value(x),
77 "g z = {2}g").format(upmMMA7660.floatp_value(ax),
/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;
73 ((format()==AUDIO_FORMAT_PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
146 * return audio format in 8bit or 16bit PCM format -
149 virtual int format() const = 0;
155 ((format()==AudioSystem::PCM_16_BIT)?sizeof(int16_t):sizeof(int8_t)); }
251 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
256 int *format
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/inc/
H A Dmm_lib2d.h76 * @format: RGB color format
85 cam_format_t format; member in struct:mm_lib2d_rgb_buffer_t
95 * @format: YUV color format
98 * @plane0: holds the whole buffer if YUV format is not planar
104 * @plane2: holds the 3. plane, ignored if YUV format is not planar
110 cam_format_t format; member in struct:mm_lib2d_yuv_buffer_t
151 * src_format - source surface format
152 * dst_format - Destination surface format
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
H A Dmm_jpegdec_test.c76 int format; member in struct:__anon2678
208 void chromaScale(mm_jpeg_color_format format, double *cScale) argument
212 switch(format) {
232 LOGE("color format Error");
255 chromaScale(p_input->format, &cScale);
272 p_params->color_format = p_input->format;
278 p_params->dest_buf[0].format = MM_JPEG_FMT_YUV;
294 p_params->src_main_buf[0].format = MM_JPEG_FMT_BITSTREAM;
328 fprintf(stderr, " -F FORMAT\t\tDefault image format:\n");
365 int format local
[all...]
/hardware/qcom/display/msm8996/libcopybit/
H A Dcopybit_c2d.cpp178 int format; member in struct:bufferInfo
258 /* convert COPYBIT_FORMAT to C2D format */
259 static int get_format(int format) { argument
260 switch (format) {
277 default: ALOGE("%s: invalid format (0x%x",
278 __FUNCTION__, format);
302 * \brief Get the bpp for a particular color format
303 * \param color format
398 static int is_supported_rgb_format(int format) argument
400 switch(format) {
415 get_num_planes(int format) argument
432 is_supported_yuv_format(int format) argument
446 is_valid_destination_format(int format) argument
460 int format = info.format; local
[all...]
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Daudio_extn.h30 #define audio_is_offload_pcm(format) (0)
264 #define audio_extn_compr_cap_format_supported(format) (0)
266 #define audio_extn_compr_cap_get_buffer_size(format) (0)
272 bool audio_extn_compr_cap_format_supported(audio_format_t format);
274 size_t audio_extn_compr_cap_get_buffer_size(audio_format_t format);
301 bool audio_extn_is_dolby_format(audio_format_t format);
304 audio_format_t format);
306 #define audio_extn_is_dolby_format(format) (0)
307 #define audio_extn_dolby_get_snd_codec_id(adev, out, format) (0)
360 audio_format_t format,
[all...]
/hardware/qcom/display/msm8084/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
256 /* convert COPYBIT_FORMAT to C2D format */
257 static int get_format(int format) { argument
258 switch (format) {
271 default: ALOGE("%s: invalid format (0x%x",
272 __FUNCTION__, format);
296 * \brief Get the bpp for a particular color format
297 * \param color format
394 static int is_supported_rgb_format(int format) argument
396 switch(format) {
408 get_num_planes(int format) argument
425 is_supported_yuv_format(int format) argument
439 is_valid_destination_format(int format) argument
453 int format = info.format; local
[all...]
/hardware/qcom/display/msm8226/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
256 /* convert COPYBIT_FORMAT to C2D format */
257 static int get_format(int format) { argument
258 switch (format) {
273 default: ALOGE("%s: invalid format (0x%x",
274 __FUNCTION__, format);
298 * \brief Get the bpp for a particular color format
299 * \param color format
399 static int is_supported_rgb_format(int format) argument
401 switch(format) {
414 get_num_planes(int format) argument
431 is_supported_yuv_format(int format) argument
445 is_valid_destination_format(int format) argument
459 int format = info.format; local
[all...]
/hardware/qcom/display/msm8909/libcopybit/
H A Dcopybit_c2d.cpp175 int format; member in struct:bufferInfo
255 /* convert COPYBIT_FORMAT to C2D format */
256 static int get_format(int format) { argument
257 switch (format) {
272 default: ALOGE("%s: invalid format (0x%x",
273 __FUNCTION__, format);
297 * \brief Get the bpp for a particular color format
298 * \param color format
398 static int is_supported_rgb_format(int format) argument
400 switch(format) {
413 get_num_planes(int format) argument
430 is_supported_yuv_format(int format) argument
444 is_valid_destination_format(int format) argument
458 int format = info.format; local
[all...]
/hardware/qcom/display/msm8960/libcopybit/
H A Dcopybit_c2d.cpp176 int format; member in struct:bufferInfo
254 /* convert COPYBIT_FORMAT to C2D format */
255 static int get_format(int format) { argument
256 switch (format) {
269 default: ALOGE("%s: invalid format (0x%x",
270 __FUNCTION__, format);
294 * \brief Get the bpp for a particular color format
295 * \param color format
384 static int is_supported_rgb_format(int format) argument
386 switch(format) {
398 get_num_planes(int format) argument
415 is_supported_yuv_format(int format) argument
429 is_valid_destination_format(int format) argument
443 int format = info.format; local
[all...]
/hardware/qcom/display/msm8994/libcopybit/
H A Dcopybit_c2d.cpp175 int format; member in struct:bufferInfo
255 /* convert COPYBIT_FORMAT to C2D format */
256 static int get_format(int format) { argument
257 switch (format) {
274 default: ALOGE("%s: invalid format (0x%x",
275 __FUNCTION__, format);
299 * \brief Get the bpp for a particular color format
300 * \param color format
400 static int is_supported_rgb_format(int format) argument
402 switch(format) {
417 get_num_planes(int format) argument
434 is_supported_yuv_format(int format) argument
448 is_valid_destination_format(int format) argument
462 int format = info.format; local
[all...]
/hardware/qcom/display/msm8084/libgralloc/
H A Dgpu.cpp57 int format, int width, int height)
66 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
109 // Per the camera spec ITU 709 format should be set only for
111 // It should be set to ITU 601 full range format for any other
151 if(isMacroTileEnabled(format, usage)) {
158 bufferType, format, width, height, eData.fd, eData.offset,
258 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
266 int grallocFormat = format;
269 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
270 //the usage bits, gralloc assigns a format
55 gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
351 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
361 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/qcom/display/msm8909/libgralloc/
H A Dgpu.cpp53 int format, int width, int height)
62 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
109 // Per the camera spec ITU 709 format should be set only for
111 // It should be set to ITU 601 full range format for any other
151 if(isMacroTileEnabled(format, usage)) {
173 bufferType, format, width, height, eData.fd, eData.offset,
275 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
283 int grallocFormat = format;
286 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
287 //the usage bits, gralloc assigns a format
51 gralloc_alloc_buffer(unsigned int size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
368 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
378 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/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Domx_video_encoder.cpp251 m_sInPortDef.format.video.cMIMEType = "YUV420";
252 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH;
253 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT;
254 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH;
255 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT;
256 m_sInPortDef.format.video.nBitrate = 64000;
257 m_sInPortDef.format.video.xFramerate = 15 << 16;
258 m_sInPortDef.format.video.eColorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
259 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
277 m_sOutPortDef.format
[all...]
/hardware/bsp/intel/peripheral/audio/generic/
H A Daudio_hal.c379 * Relies on the framework to provide data in the specified format.
383 audio_format_t format = audio_format_from_pcm_format(proxy_get_format(proxy)); local
384 return format;
387 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument
651 if (config->format == AUDIO_FORMAT_DEFAULT) {
652 proxy_config.format = profile_get_default_format(out->profile);
653 config->format = audio_format_from_pcm_format(proxy_config.format);
655 enum pcm_format fmt = pcm_format_from_audio_format(config->format);
657 proxy_config.format
767 audio_format_t format = audio_format_from_pcm_format(proxy_get_format(proxy)); local
771 in_set_format(struct audio_stream *stream, audio_format_t format) argument
[all...]
/hardware/libhardware_legacy/audio/
H A 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,

Completed in 1480 milliseconds

1234567891011>>