Searched refs:format (Results 51 - 75 of 484) sorted by relevance

1234567891011>>

/hardware/intel/common/libva/va/wayland/
H A Dwayland-drm-client-protocol.h127 * format - format
128 * @format: format
130 void (*format)(void *data, member in struct:wl_drm_listener
132 uint32_t format);
178 wl_drm_create_buffer(struct wl_drm *wl_drm, uint32_t name, int32_t width, int32_t height, uint32_t stride, uint32_t format) argument
188 WL_DRM_CREATE_BUFFER, id, name, width, height, stride, format);
194 wl_drm_create_planar_buffer(struct wl_drm *wl_drm, uint32_t name, int32_t width, int32_t height, uint32_t format, int32_t offset0, int32_t stride0, int32_t offset1, int32_t stride1, int32_t offset2, int32_t stride2) argument
204 WL_DRM_CREATE_PLANAR_BUFFER, id, name, width, height, format, offset
[all...]
/hardware/libhardware/modules/camera/
H A DStream.cpp41 mFormat(s->format),
106 const char* Stream::formatToString(int format) argument
109 switch (format) {
145 return "Invalid stream format!";
171 if (s->format != mFormat) {
172 ALOGE("%s:%d: Mismatched format in reused stream. Got %s(%d) "
173 "expect %s(%d)", __func__, mId, formatToString(s->format),
174 s->format, formatToString(mFormat), mFormat);
/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...]
/hardware/intel/common/omx-components/videocodec/
H A DOMXVideoEncoderBase.cpp101 paramPortDefinitionInput.format.video.cMIMEType = (OMX_STRING)RAW_MIME_TYPE;
102 paramPortDefinitionInput.format.video.pNativeRender = NULL;
103 paramPortDefinitionInput.format.video.nFrameWidth = 176;
104 paramPortDefinitionInput.format.video.nFrameHeight = 144;
105 paramPortDefinitionInput.format.video.nStride = 0;
106 paramPortDefinitionInput.format.video.nSliceHeight = 0;
107 paramPortDefinitionInput.format.video.nBitrate = 64000;
108 paramPortDefinitionInput.format.video.xFramerate = 15 << 16;
109 paramPortDefinitionInput.format.video.bFlagErrorConcealment = OMX_FALSE;
110 paramPortDefinitionInput.format
[all...]
/hardware/qcom/display/msm8226/libgralloc/
H A Dgpu.cpp56 int format, int width, int height)
65 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)) {
162 bufferType, format, width, height, eData.fd, eData.offset,
262 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
270 int grallocFormat = format;
273 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
274 //the usage bits, gralloc assigns a format
54 gralloc_alloc_buffer(unsigned int 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/intel/common/libva/va/
H A Dva_backend_tpi.h42 int format,
/hardware/libhardware_legacy/
H A Dqemu.h67 const char* format,
/hardware/qcom/media/mm-video-legacy/vidc/common/src/
H A Dvidc_color_converter.cpp133 int format = -1; local
135 format = HAL_PIXEL_FORMAT_NV12_ENCODEABLE;
137 format = HAL_PIXEL_FORMAT_RGBA_8888;
139 return format;
/hardware/qcom/media/mm-video-v4l2/vidc/common/src/
H A Dvidc_color_converter.cpp145 int format = -1; local
148 format = HAL_PIXEL_FORMAT_NV12_ENCODEABLE;
150 format = HAL_PIXEL_FORMAT_RGBA_8888;
153 return format;
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/dec/
H A DExynos_OMX_Vdec.c74 if ((exynosOutputPort->portDefinition.format.video.nFrameWidth !=
75 exynosInputPort->portDefinition.format.video.nFrameWidth) ||
76 (exynosOutputPort->portDefinition.format.video.nFrameHeight !=
77 exynosInputPort->portDefinition.format.video.nFrameHeight)) {
80 exynosOutputPort->portDefinition.format.video.nFrameWidth =
81 exynosInputPort->portDefinition.format.video.nFrameWidth;
82 exynosOutputPort->portDefinition.format.video.nFrameHeight =
83 exynosInputPort->portDefinition.format.video.nFrameHeight;
84 width = exynosOutputPort->portDefinition.format.video.nStride =
85 exynosInputPort->portDefinition.format
[all...]
H A DExynos_OMX_VdecControl.c622 pInputPort->portDefinition.format.video.nFrameWidth = pInputPort->newPortDefinition.format.video.nFrameWidth;
623 pInputPort->portDefinition.format.video.nFrameHeight = pInputPort->newPortDefinition.format.video.nFrameHeight;
624 pInputPort->portDefinition.format.video.nStride = pInputPort->newPortDefinition.format.video.nStride;
625 pInputPort->portDefinition.format.video.nSliceHeight = pInputPort->newPortDefinition.format.video.nSliceHeight;
1043 portFormat->eCompressionFormat = portDefinition->format.video.eCompressionFormat;
1044 portFormat->eColorFormat = portDefinition->format
[all...]
/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/msm8960/libgralloc/
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/qcom/display/msm8974/libgralloc/
H A Dgpu.cpp56 int format, int width, int height)
65 if(format == HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED)
112 // Per the camera spec ITU 709 format should be set only for
114 // It should be set to ITU 601 full range format for any other
152 bufferType, format, width, height, eData.fd, eData.offset,
251 int gpu_context_t::alloc_impl(int w, int h, int format, int usage, argument
259 int grallocFormat = format;
262 //If input format is HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED then based on
263 //the usage bits, gralloc assigns a format.
264 if(format
54 gralloc_alloc_buffer(size_t size, int usage, buffer_handle_t* pHandle, int bufferType, int format, int width, int height) argument
348 gralloc_alloc(alloc_device_t* dev, int w, int h, int format, int usage, buffer_handle_t* pHandle, int* pStride) argument
358 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/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/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/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/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/msm8974/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) {
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
395 static int is_supported_rgb_format(int format) argument
397 switch(format) {
409 get_num_planes(int format) argument
426 is_supported_yuv_format(int format) argument
440 is_valid_destination_format(int format) argument
454 int format = info.format; local
[all...]
/hardware/qcom/media/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/libhardware/modules/usbaudio/
H A Daudio_hw.c272 * Relies on the framework to provide data in the specified format.
276 audio_format_t format = audio_format_from_pcm_format(proxy_get_format(proxy)); local
277 return format;
280 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument
537 if (config->format == AUDIO_FORMAT_DEFAULT) {
538 proxy_config.format = profile_get_default_format(out->profile);
539 config->format = audio_format_from_pcm_format(proxy_config.format);
541 enum pcm_format fmt = pcm_format_from_audio_format(config->format);
543 proxy_config.format
651 in_set_format(struct audio_stream *stream, audio_format_t format) argument
808 enum pcm_format format = proxy_get_format(&in->proxy); local
[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,
H A DAudioHardwareStub.cpp46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
49 status_t lStatus = out->set(format, channels, sampleRate);
65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate,
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics);
121 if (pFormat) *pFormat = format();
150 snprintf(buffer, SIZE, "\tformat: %d\n", format());
197 snprintf(buffer, SIZE, "\tformat: %d\n", format());
45 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
64 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument

Completed in 3871 milliseconds

1234567891011>>