Searched defs:format (Results 201 - 225 of 368) sorted by relevance

1234567891011>>

/hardware/intel/common/libmix/videodecoder/
H A DVideoDecoderBase.cpp801 // if format has been changed in USE_NATIVE_GRAPHIC_BUFFER mode,
893 int32_t format = VA_RT_FORMAT_YUV420; local
896 format |= VA_RT_FORMAT_PROTECTED;
947 format,
958 format,
973 format,
1172 mSurfaceBuffers[i].mappedData->fourcc = image.format.fourcc;
1185 WTRACE("Unexpected VAImage format, w = %d, h = %d, offset = %d", image.width, image.height, image.offsets[0]);
1218 // size in NV12 format
1317 int32_t format local
[all...]
/hardware/intel/common/libva/test/videoprocess/
H A Dvideoprocess.cpp27 * blending, scaling and several surface format conversion.
186 uint32_t fourCC, uint32_t format)
196 format,
274 if (surface_image.format.fourcc == VA_FOURCC_YV12 ||
275 surface_image.format.fourcc == VA_FOURCC_I420 ||
276 surface_image.format.fourcc == VA_FOURCC_NV12){
290 if(surface_image.format.fourcc == VA_FOURCC_YV12){
293 }else if(surface_image.format.fourcc == VA_FOURCC_I420){
309 if (surface_image.format.fourcc == VA_FOURCC_YV12||
310 surface_image.format
184 create_surface(VASurfaceID * p_surface_id, uint32_t width, uint32_t height, uint32_t fourCC, uint32_t format) argument
960 parse_fourcc_and_format(char *str, uint32_t *fourcc, uint32_t *format) argument
[all...]
/hardware/intel/common/libva/va/glx/
H A Dva_glx_impl.c35 static void va_glx_error_message(const char *format, ...) argument
38 va_start(args, format);
40 vfprintf(stderr, format, args);
714 // Check internal texture format is supported
715 static int is_supported_internal_format(GLenum format) argument
718 switch (format) {
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DOverlayPlaneBase.cpp389 uint32_t format = grallocMapper.getFormat(); local
392 format = OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled;
395 switch (format) {
445 buf.setFormat(format);
581 uint32_t format; local
584 format = mapper.getFormat();
585 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar &&
586 format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled)
691 uint32_t format = mapper.getFormat(); local
700 // clear original format settin
821 uint32_t format = mapper.getFormat(); local
1156 uint32_t format = mapper.getFormat(); local
1201 uint32_t format; local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DOverlayPlaneBase.cpp373 uint32_t format = grallocMapper.getFormat(); local
376 format = OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled;
379 switch (format) {
425 buf.setFormat(format);
560 uint32_t format; local
563 format = mapper.getFormat();
564 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar &&
565 format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled)
665 uint32_t format = mapper.getFormat(); local
673 // clear original format settin
800 uint32_t format = mapper.getFormat(); local
1180 uint32_t format; local
[all...]
/hardware/intel/img/psb_video/src/
H A Dpsb_output.c278 VAImageFormat *format,
293 img_fmt = psb__VAImageCheckFourCC(format, psb__CreateImageFormat,
307 obj_image->image.format = *img_fmt;
312 switch (format->fourcc) {
478 /* Can't derive image from reconstrued frame which is in tiled format */
481 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Ignore tiled memory format" \
485 "which is tiled format\n");
535 obj_image->image.format = psb__CreateImageFormat[fourcc_index];
663 if (obj_image->image.format.fourcc != VA_FOURCC_AI44) {
731 * Convert the memroy format fro
276 psb_CreateImage( VADriverContextP ctx, VAImageFormat *format, int width, int height, VAImage *image ) argument
[all...]
H A Dvsp_VPP.c345 ctx->format = VSP_NV12;
348 ctx->format = VSP_NV16;
350 ctx->format = VSP_NV12;
413 enum vsp_format format; local
551 /* get the surface format info */
554 format = VSP_YV12;
557 format = VSP_NV12;
561 drv_debug_msg(VIDEO_DEBUG_ERROR, "Only support NV12 and YV12 format!\n");
583 cell_proc_picture_param->input_picture[0].format = format;
[all...]
/hardware/interfaces/audio/2.0/vts/functional/
H A DAudioPrimaryHidlHalTest.cpp342 //////////////// Required and recommended audio format support ///////////////
395 for (auto format : formats) {
400 config.format = format;
465 "Input buffer size must be retrievable for a format with required "
485 "Input buffer size should be retrievable for a format with recommended "
758 "Check that the stream format == the one it was opened with",
759 ASSERT_EQ(audioConfig.format, extract(stream->getFormat())))
817 "Check that the stream format is declared as supported",
860 AudioFormat format; local
[all...]
/hardware/interfaces/camera/device/1.0/default/
H A DCameraDevice.cpp221 int width, int height, int format) {
230 object->mPreviewCallback->setBuffersGeometry(width, height, (PixelFormat) format));
220 sSetBuffersGeometry(struct preview_stream_ops* w, int width, int height, int format) argument
/hardware/interfaces/graphics/composer/2.1/default/
H A DComposerClient.cpp337 PixelFormat format, Dataspace dataspace)
340 width, height, format, dataspace);
335 getClientTargetSupport(Display display, uint32_t width, uint32_t height, PixelFormat format, Dataspace dataspace) argument
H A DHwc.cpp306 PixelFormat* format, Display* outDisplay)
308 int32_t hwc_format = static_cast<int32_t>(*format);
311 *format = static_cast<PixelFormat>(hwc_format);
342 PixelFormat format, Dataspace dataspace)
345 width, height, static_cast<int32_t>(format),
305 createVirtualDisplay(uint32_t width, uint32_t height, PixelFormat* format, Display* outDisplay) argument
340 getClientTargetSupport(Display display, uint32_t width, uint32_t height, PixelFormat format, Dataspace dataspace) argument
/hardware/libhardware/include/hardware/
H A Dcamera3.h143 * RAW_OPAQUE format is supported.
146 * mandatory if any RAW format is supported
407 * that pixel format. The HAL must still call process_capture_result() to
1143 * For ZSL use case, the pixel format for bidirectional stream will be
1163 * 1. Application/framework configures an opaque (RAW or YUV based) format output stream that is
1164 * used to produce the ZSL output buffers. The stream pixel format will be
1167 * 2. Application/framework configures an opaque format input stream that is used to
1168 * send the reprocessing ZSL buffers to the HAL. The stream pixel format will
1172 * reprocessed data. The stream pixel format will be YCbCr_420/HAL_PIXEL_FORMAT_BLOB.
1180 * The HAL can select the actual opaque buffer format an
1572 int format; member in struct:camera3_stream
[all...]
/hardware/libhardware/modules/soundtrigger/
H A Dsound_trigger_hw.c179 void write_vastr(int conn_socket, char* format, ...) { argument
181 va_start(argptr, format);
182 int num = vsnprintf(tmp_write_buffer, PARSE_BUF_LEN, format, argptr);
282 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT;
304 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT;
/hardware/libhardware/modules/usbaudio/
H A Daudio_hal.c317 * Relies on the framework to provide data in the specified format.
321 audio_format_t format = audio_format_from_pcm_format(proxy_get_format(proxy)); local
322 return format;
325 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument
594 if (config->format == AUDIO_FORMAT_DEFAULT) {
595 proxy_config.format = profile_get_default_format(out->profile);
596 config->format = audio_format_from_pcm_format(proxy_config.format);
598 enum pcm_format fmt = pcm_format_from_audio_format(config->format);
600 proxy_config.format
725 audio_format_t format = audio_format_from_pcm_format(proxy_get_format(proxy)); local
729 in_set_format(struct audio_stream *stream, audio_format_t format) argument
[all...]
/hardware/libhardware_legacy/audio/
H A Daudio_hw_hal.cpp157 return (audio_format_t) out->legacy_out->format();
160 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument
308 return (audio_format_t) in->legacy_in->format();
311 static int in_set_format(struct audio_stream *stream, audio_format_t format) argument
484 return ladev->hwif->getInputBufferSize(config->sample_rate, (int) config->format,
508 (int *) &config->format,
574 in->legacy_in = ladev->hwif->openInputStream(devices, (int *) &config->format,
/hardware/libhardware_legacy/include/hardware_legacy/
H A Drtt.h71 // Burst Exponent" found in the FTM frame format. It
223 }; //rtt debug format
229 unsigned format; //rtt debug format member in struct:rtt_debug
/hardware/qcom/audio/legacy/alsa_sound/
H A Dalsa_default.cpp270 snd_pcm_format_t format = SNDRV_PCM_FORMAT_S16_LE; local
295 if (handle->format != SNDRV_PCM_FORMAT_S16_LE) {
296 if (handle->format == AudioSystem::AMR_NB
297 || handle->format == AudioSystem::AMR_WB
299 || handle->format == AudioSystem::EVRC
300 || handle->format == AudioSystem::EVRCB
301 || handle->format == AudioSystem::EVRCWB
304 format = SNDRV_PCM_FORMAT_SPECIAL;
307 format);
H A Daudio_hw_hal.cpp177 return (audio_format_t)out->qcom_out->format();
180 static int out_set_format(struct audio_stream *stream, audio_format_t format) argument
327 return (audio_format_t)in->qcom_in->format();
330 static int in_set_format(struct audio_stream *stream, audio_format_t format) argument
511 return qadev->hwif->getInputBufferSize(config->sample_rate, config->format, channelCount);
517 int *format,
532 out->qcom_out = qadev->hwif->openOutputSession(devices, format,&status,sessionId,samplingRate,channels);
573 (int *)&config->format,
640 in->qcom_in = qadev->hwif->openInputStream(devices, (int *)&config->format,
515 adev_open_output_session(struct audio_hw_device *dev, uint32_t devices, int *format, int sessionId, uint32_t samplingRate, uint32_t channels, struct audio_stream_out **stream_out) argument
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_audio.h30 unsigned format; member in struct:pcm
135 const char *get_format_name(int format);
136 const char *get_format_desc(int format);
252 __u32 format; member in struct:snd_codec
H A Dalsa_pcm.c133 int get_compressed_format(const char *format) argument
135 const char *ch = format;
143 printf("invalid format\n");
151 int format; local
152 for (format = 0; format < FORMAT_LAST; format++) {
153 if (formats_list[format][0] &&
154 strcasecmp(name, formats_list[format][0]) == 0) {
156 return format;
162 get_format_name(int format) argument
170 get_format_desc(int format) argument
[all...]
/hardware/qcom/display/msm8084/libgralloc/
H A Dgralloc_priv.h116 //format reduces the memory access bandwidth
221 int format; member in struct:private_handle_t
234 int format, int width, int height, int eFd = -1,
239 format(format), width(width), height(height),
233 private_handle_t(int fd, size_t size, int flags, int bufferType, int format, int width, int height, int eFd = -1, size_t eOffset = 0, uintptr_t eBase = 0) argument
/hardware/qcom/display/msm8226/libgralloc/
H A Dgralloc_priv.h116 //format reduces the memory access bandwidth
223 int format; member in struct:private_handle_t
237 int format, int width, int height, int eFd = -1,
242 format(format), width(width), height(height),
236 private_handle_t(int fd, unsigned int size, int flags, int bufferType, int format, int width, int height, int eFd = -1, unsigned int eOffset = 0, uint64_t eBase = 0) argument
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_copybit.cpp395 buf.format = hnd->format;
426 (!(hnd->format == HAL_PIXEL_FORMAT_RGBA_8888 ||
427 hnd->format == HAL_PIXEL_FORMAT_RGBX_8888)) ||
662 src.format = hnd->format;
687 dst.format = dstHandle->format;
707 (dst.format == HAL_PIXEL_FORMAT_RGB_565) ? COPYBIT_ENABLE :
748 src.format
889 int format = fbHandle->format; local
[all...]
/hardware/qcom/display/msm8909/libgralloc/
H A Dgralloc_priv.h118 //format reduces the memory access bandwidth
224 int format; member in struct:private_handle_t
238 int format, int width, int height, int eFd = -1,
243 format(format), width(width), height(height),
237 private_handle_t(int fd, unsigned int size, int flags, int bufferType, int format, int width, int height, int eFd = -1, unsigned int eOffset = 0, uint64_t eBase = 0) argument
/hardware/qcom/display/msm8909/libhwcomposer/
H A Dhwc_copybit.cpp506 buf.format = hnd->format;
538 (!(hnd->format == HAL_PIXEL_FORMAT_RGBA_8888 ||
539 hnd->format == HAL_PIXEL_FORMAT_RGBX_8888)) ||
826 src.format = hnd->format;
851 dst.format = dstHandle->format;
871 (dst.format == HAL_PIXEL_FORMAT_RGB_565) ? COPYBIT_ENABLE :
918 src.format
1068 int format = fbHandle->format; local
[all...]

Completed in 2902 milliseconds

1234567891011>>