Searched refs:format (Results 201 - 225 of 692) sorted by relevance

1234567891011>>

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp297 m_sInPortDef.format.video.cMIMEType = (char *)"YUV420";
298 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH;
299 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT;
300 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH;
301 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT;
302 m_sInPortDef.format.video.nBitrate = 64000;
303 m_sInPortDef.format.video.xFramerate = 15 << 16;
304 m_sInPortDef.format.video.eColorFormat = (OMX_COLOR_FORMATTYPE)
306 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
323 m_sOutPortDef.format
[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_surface_attrib.c133 struct v4l2_format *v4l2_fmt, /* format of V4L2 */
260 int format,
283 drv_debug_msg(VIDEO_DEBUG_GENERAL, "Create surface: width %d, height %d, format 0x%08x"
287 width, height, format,
295 /* We only support one format */
296 if ((VA_RT_FORMAT_YUV420 != format) && (VA_RT_FORMAT_RGB32 != format)) {
303 if ((VA_RT_FORMAT_YUV420 == format) && (fourcc != VA_FOURCC_NV12)) {
304 drv_debug_msg(VIDEO_DEBUG_ERROR, "Only support NV12 format\n");
311 if (VA_RT_FORMAT_YUV420 == format) {
256 psb_CreateSurfacesForUserPtr( VADriverContextP ctx, int Width, int Height, int format, int num_surfaces, VASurfaceID *surface_list, unsigned size, unsigned int fourcc, unsigned int luma_stride, unsigned int chroma_u_stride, unsigned int chroma_v_stride, unsigned int luma_offset, unsigned int chroma_u_offset, unsigned int chroma_v_offset, unsigned int tiling ) argument
410 psb_CreateSurfaceFromKBuf( VADriverContextP ctx, int _width, int _height, int format, VASurfaceID *surface, unsigned int kbuf_handle, unsigned size, unsigned int kBuf_fourcc, unsigned int luma_stride, unsigned int chroma_u_stride, unsigned int chroma_v_stride, unsigned int luma_offset, unsigned int chroma_u_offset, unsigned int chroma_v_offset, unsigned int tiling ) argument
543 psb_CreateSurfaceFromUserspace( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, VASurfaceAttributeTPI *attribute_tpi ) argument
635 psb_CreateSurfaceFromION( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, VASurfaceAttributeTPI *attribute_tpi ) argument
759 psb_CreateSurfacesWithAttribute( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, VASurfaceAttributeTPI *attribute_tpi ) argument
[all...]
/hardware/qcom/audio/msm8909/hal/
H A Daudio_hw.c76 .format = PCM_FORMAT_S16_LE,
87 .format = PCM_FORMAT_S16_LE,
98 .format = PCM_FORMAT_S16_LE,
107 .format = PCM_FORMAT_S16_LE,
121 .format = PCM_FORMAT_S16_LE,
135 .format = PCM_FORMAT_S16_LE,
252 static bool is_supported_format(audio_format_t format) argument
254 if (format == AUDIO_FORMAT_MP3 ||
255 format == AUDIO_FORMAT_AAC_LC ||
256 format
271 get_snd_codec_id(audio_format_t format) argument
1559 check_input_parameters(uint32_t sample_rate, audio_format_t format, int channel_count) argument
1596 get_input_buffer_size(uint32_t sample_rate, audio_format_t format, int channel_count, bool is_low_latency) argument
2603 audio_format_t format; local
[all...]
/hardware/qcom/audio/msm8909/hal/audio_extn/
H A Ddolby.c246 ((usecase->stream.out->format == AUDIO_FORMAT_AC3) ||
247 (usecase->stream.out->format == AUDIO_FORMAT_E_AC3) ||
248 (usecase->stream.out->format == AUDIO_FORMAT_E_AC3_JOC))) {
264 ((usecase->stream.out->format == AUDIO_FORMAT_AC3) ||
265 (usecase->stream.out->format == AUDIO_FORMAT_E_AC3) ||
266 (usecase->stream.out->format == AUDIO_FORMAT_E_AC3_JOC))) {
363 audio_format_t format)
375 switch (format) {
394 ALOGE("%s: Unsupported audio format :%x", __func__, format);
361 audio_extn_dolby_get_snd_codec_id(struct audio_device *adev, struct stream_out *out, audio_format_t format) argument
400 audio_extn_is_dolby_format(audio_format_t format) argument
[all...]
/hardware/qcom/audio/msm8909/hal/voice_extn/
H A Dcompress_voip.c47 .format = PCM_FORMAT_S16_LE,
55 .format = PCM_FORMAT_S16_LE,
95 static int voip_set_mode(struct audio_device *adev, int format);
104 static int audio_format_to_voip_mode(int format) argument
108 switch(format) {
190 static int voip_set_mode(struct audio_device *adev, int format) argument
197 ALOGD("%s: enter, format=%d", __func__, format);
199 mode = audio_format_to_voip_mode(format);
658 ret = voip_set_mode(out->dev, out->format);
777 voice_extn_compress_voip_is_format_supported(audio_format_t format) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/
H A Dmm_lib2d_test.c102 * @format: format of the input yuv frame
110 cam_format_t format; member in struct:input_yuv_data_t
140 // assuming buffer format is always ARGB
141 void lib2d_dump_tga(void *addr, cam_format_t format, int width, argument
347 cam_format_t format = CAM_FORMAT_YUV_420_NV21; local
392 format = (uint32_t)atoi(argv[6]);
399 "<stride> <offset> <format> \n");
410 format = input_nv21[index].format;
[all...]
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayUtils.cpp91 int getMdpFormat(int format) { argument
92 switch (format) {
130 //NV12 encodeable format maps to the venus format on
142 ALOGE("%s: Unsupported HAL format = 0x%x", __func__, format);
149 // This function returns corresponding tile format
153 int getMdpFormat(int format, bool tileEnabled) argument
156 return getMdpFormat(format);
158 switch (format) {
[all...]
H A DoverlayMdssRot.cpp63 return mRotInfo.src.format;
79 mRotInfo.src.format = whf.format;
180 // Calculate the size based on rotator's dst format, w and h.
251 mRotInfo.src.format); //mdss src and dst formats are same.
289 //respective format classes, yuv/rgb. The table above is for reference
290 if(utils::isYuv(destWhf.format)) {
/hardware/qcom/display/msm8996/libgralloc/
H A Dmapper.cpp311 int format = va_arg(args, int); local
326 hnd->format = format;
336 int format = va_arg(args, int); local
340 0, format, 0, alignedw, alignedh);
381 int format = va_arg(args, int); local
386 *tileEnabled = isUBwcEnabled(format, usage) ||
387 isMacroTileEnabled(format, usage);
389 height, format, usage, *alignedWidth, *alignedHeight);
/hardware/ti/omap4-aah/security/tf_daemon/
H A Dsmc_properties_parser.c82 static void TRACE_ERROR(const char* format, ...) argument
85 va_start(ap, format);
87 vfprintf(stderr, format, ap);
92 static void TRACE_WARNING(const char* format, ...) argument
95 va_start(ap, format);
97 vfprintf(stderr, format, ap);
102 static void TRACE_INFO(const char* format, ...) argument
105 va_start(ap, format);
107 vfprintf(stderr, format, ap);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
H A DAnnOverlayPlane.cpp176 uint32_t format = mapper.getFormat(); local
188 if (format == HAL_PIXEL_FORMAT_BGRX_8888 ||
189 format == HAL_PIXEL_FORMAT_BGRA_8888) {
190 // set source format XRGB
200 // clear original format setting
216 switch(format) {
263 // NOTE: this is the decoded video format, align the height to 32B
313 ELOGTRACE("unsupported format %d", format);
339 uint32_t format local
417 uint32_t format = mapper.getFormat(); local
747 uint32_t format; local
783 uint32_t format; local
[all...]
/hardware/libhardware_legacy/qemu/
H A Dqemu.c253 const char* format,
262 len = vsnprintf(buffer+4, buffer_size-4, format, args);
274 const char* format,
280 va_start(args, format);
281 ret = qemu_command_vformat(buffer, buffer_size, format, args);
251 qemu_command_vformat( char* buffer, int buffer_size, const char* format, va_list args ) argument
272 qemu_command_format( char* buffer, int buffer_size, const char* format, ... ) argument
/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUtil.cpp24 int AudioUtil::printFormatFromEDID(unsigned char format) { argument
25 switch (format) {
69 ALOGV("Invalid format ID....");
72 return format;
104 unsigned char format) {
106 if (format == 1) {
118 ALOGV("not lpcm format, return 0");
103 getBitsPerSampleFromEDID(unsigned char byte, unsigned char format) argument
/hardware/qcom/display/msm8909/libhwcomposer/
H A Dhwc_virtual.cpp149 int format = ohnd->format; local
150 if (format == HAL_PIXEL_FORMAT_RGBA_8888)
151 format = HAL_PIXEL_FORMAT_RGBX_8888;
153 utils::getMdpFormat(format));
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayMdpRot.cpp47 return mRotImgInfo.dst.format;
53 if(mRotImgInfo.src.format == MDP_Y_CR_CB_GH2V2){
94 mRotImgInfo.src.format = whf.format;
153 mRotImgInfo.dst.format);
/hardware/intel/common/libva/va/wayland/
H A Dva_wayland.c45 va_wayland_error(const char *format, ...) argument
49 va_start(args, format);
51 vfprintf(stderr, format, args);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dwebm_video_source.h62 nestegg_log_cb(nestegg *context, unsigned int severity, char const *format, argument
66 va_start(ap, format);
67 vfprintf(stderr, format, ap);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dwebmdec.c50 char const *format, ...) {
52 va_start(ap, format);
53 vfprintf(stderr, format, ap);
48 nestegg_log_cb(nestegg *context, unsigned int severity, char const *format, ...) argument
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
H A DAnnOverlayPlane.cpp168 uint32_t format = mapper.getFormat(); local
181 // clear original format setting
197 switch(format) {
232 // NOTE: this is the decoded video format, align the height to 32B
282 ETRACE("unsupported format %d", format);
660 uint32_t format; local
662 format = mapper.getFormat();
663 if (format != OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar &&
664 format !
696 uint32_t format; local
[all...]
/hardware/ti/omap4-aah/camera/
H A DMemoryManager.cpp64 CameraBuffer* MemoryManager::allocateBufferList(int width, int height, const char* format, int &size, int numBufs) argument
121 buffers[i].format = CameraHal::getPixelFormatConstant(format);
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp346 if (input_config->format != output_config->format) {
347 ALOGE("audio_config_compare() format mismatch %x vs. %x",
348 input_config->format, output_config->format);
417 const NBAIO_Format format = Format_from_SR_C(config->sample_rate, pipe_channel_count,
418 config->format);
419 const NBAIO_Format offers[1] = {format};
422 MonoPipe* sink = new MonoPipe(buffer_size_frames, format, true /*writeCanBlock*/);
424 // creates both ends of the pipe using the same audio format
[all...]
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_dump_layers.cpp240 getHalPixelFormatStr(hnd->format, pixFormatStr);
312 getHalPixelFormatStr(hnd->format, pixFormatStr);
323 switch (hnd->format) {
347 " format %s for png encoder",
372 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) argument
377 switch(format) {
438 snprintf(pixFormatStr, len, "Unknown0x%X", format);
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_dump_layers.cpp240 getHalPixelFormatStr(hnd->format, pixFormatStr);
312 getHalPixelFormatStr(hnd->format, pixFormatStr);
323 switch (hnd->format) {
347 " format %s for png encoder",
372 void HwcDebug::getHalPixelFormatStr(int format, char pixFormatStr[]) argument
377 switch(format) {
438 snprintf(pixFormatStr, len, "Unknown0x%X", format);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_swvenc_mpeg4.cpp259 m_sInPortDef.format.video.cMIMEType = (char *)"YUV420";
260 m_sInPortDef.format.video.nFrameWidth = OMX_CORE_QCIF_WIDTH;
261 m_sInPortDef.format.video.nFrameHeight = OMX_CORE_QCIF_HEIGHT;
262 m_sInPortDef.format.video.nStride = OMX_CORE_QCIF_WIDTH;
263 m_sInPortDef.format.video.nSliceHeight = OMX_CORE_QCIF_HEIGHT;
264 m_sInPortDef.format.video.nBitrate = 64000;
265 m_sInPortDef.format.video.xFramerate = 15 << 16;
266 m_sInPortDef.format.video.eColorFormat = (OMX_COLOR_FORMATTYPE)
268 m_sInPortDef.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused;
272 Prop.info.frame_size.height = m_sInPortDef.format
[all...]

Completed in 1968 milliseconds

1234567891011>>