Searched refs:fmt (Results 26 - 50 of 95) sorted by relevance

1234

/hardware/ti/omap4xxx/ion/
H A Dion.h28 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags,
H A Dion.c75 int ion_alloc_tiler(int fd, size_t w, size_t h, int fmt, unsigned int flags, argument
82 .fmt = fmt,
/hardware/broadcom/libbt/include/
H A Duserial_vendor.h98 uint16_t fmt; /* Data format */ member in struct:__anon7
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_subdev.c165 int exynos_subdev_g_fmt(int fd, struct v4l2_subdev_format *fmt) argument
174 if (!fmt) {
175 ALOGE("%s: fmt is NULL", __func__);
179 ret = ioctl(fd, VIDIOC_SUBDEV_G_FMT, fmt);
192 int exynos_subdev_s_fmt(int fd, struct v4l2_subdev_format *fmt) argument
201 if (!fmt) {
202 ALOGE("%s: fmt is NULL", __func__);
206 ret = ioctl(fd, VIDIOC_SUBDEV_S_FMT, fmt);
H A Dexynos_v4l2.c283 bool exynos_v4l2_enum_fmt(int fd, enum v4l2_buf_type type, unsigned int fmt) argument
294 if (fmtdesc.pixelformat == fmt) {
295 ALOGE("Passed fmt = %#x found pixel format[%d]: %s", fmt, fmtdesc.index, fmtdesc.description);
313 int exynos_v4l2_g_fmt(int fd, struct v4l2_format *fmt) argument
324 if (!fmt) {
325 ALOGE("%s: fmt is NULL", __func__);
329 if (__v4l2_check_buf_type(fmt->type) == false) {
334 ret = ioctl(fd, VIDIOC_G_FMT, fmt);
345 static int __v4l2_s_fmt(int fd, unsigned int request, struct v4l2_format *fmt) argument
381 exynos_v4l2_try_fmt(int fd, struct v4l2_format *fmt) argument
386 exynos_v4l2_s_fmt(int fd, struct v4l2_format *fmt) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_rdi.c95 cam_format_t fmt = CAM_FORMAT_MAX; local
110 fmt = cam_cap->supported_raw_fmts[i];
111 CDBG_ERROR("%s: fmt=%d\n", __func__, fmt);
115 if (CAM_FORMAT_MAX == fmt) {
139 stream->s_config.stream_info->fmt = fmt;
195 stream->s_config.stream_info->fmt = DEFAULT_SNAPSHOT_FORMAT;
/hardware/qcom/media/mm-video-legacy/vidc/venc/src/
H A Dvideo_encoder_device_copper.cpp328 struct v4l2_format fmt; local
344 printf("fmt: description: %s, fmt: %x, flags = %x\n", fdesc.description,
353 printf("fmt: description: %s, fmt: %x, flags = %x\n", fdesc.description,
361 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
362 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
363 fmt.fmt
537 struct v4l2_format fmt; local
[all...]
/hardware/libhardware/tests/hwc/
H A Dcnativewindow.c39 #define _TRACE(n,fmt...) \
40 do { if (trace_level >= n) fprintf(stderr, "CNW: " fmt); } while (0)
42 #define ERROR(fmt...) _TRACE(0, fmt)
43 #define INFO(fmt...) _TRACE(1, fmt)
44 #define LOG(fmt...) _TRACE(2, fmt)
45 #define TRACE(fmt...) _TRACE(3, fmt)
573 cnw_info(CNativeWindow *win, unsigned *w, unsigned *h, unsigned *fmt) argument
[all...]
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayUtils.h142 bool send3DInfoPacket (uint32_t fmt);
144 uint32_t getS3DFormat(uint32_t fmt);
151 bool getCropS3D(const Dim& in, Dim& out, uint32_t fmt);
544 ALOGE("%s wrong fmt %d", __FUNCTION__, format);
635 inline Dim getCropS3DImpl(const Dim& in, uint32_t fmt) { argument
636 switch (fmt & INPUT_3D_MASK)
648 ALOGE("%s Unsupported 3D format %d", __FUNCTION__, fmt);
655 inline Dim getCropS3DImpl<utils::OV_RIGHT_SPLIT>(const Dim& in, uint32_t fmt) { argument
656 switch (fmt & INPUT_3D_MASK)
668 ALOGE("%s Unsupported 3D format %d", __FUNCTION__, fmt);
675 getCropS3D(const Dim& in, Dim& out, uint32_t fmt) argument
[all...]
H A DoverlayUtils.cpp301 uint32_t getS3DFormat(uint32_t fmt) { argument
304 if (fmt == HAL_PIXEL_FORMAT_YV12) {
307 uint32_t fmt3D = format3D(fmt);
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayUtils.h141 bool send3DInfoPacket (uint32_t fmt);
143 uint32_t getS3DFormat(uint32_t fmt);
151 bool getCropS3D(const Dim& in, Dim& out, uint32_t fmt);
541 ALOGE("%s wrong fmt %d", __FUNCTION__, format);
613 inline Dim getCropS3DImpl(const Dim& in, uint32_t fmt) { argument
614 switch (fmt & INPUT_3D_MASK)
626 ALOGE("%s Unsupported 3D format %d", __FUNCTION__, fmt);
633 inline Dim getCropS3DImpl<utils::OV_RIGHT_SPLIT>(const Dim& in, uint32_t fmt) { argument
634 switch (fmt & INPUT_3D_MASK)
646 ALOGE("%s Unsupported 3D format %d", __FUNCTION__, fmt);
653 getCropS3D(const Dim& in, Dim& out, uint32_t fmt) argument
[all...]
H A DoverlayUtils.cpp351 uint32_t getS3DFormat(uint32_t fmt) { argument
354 if (fmt == HAL_PIXEL_FORMAT_YV12) {
357 uint32_t fmt3D = format3D(fmt);
/hardware/qcom/display/msm8x26/liboverlay/
H A DoverlayUtils.h142 bool send3DInfoPacket (uint32_t fmt);
144 uint32_t getS3DFormat(uint32_t fmt);
151 bool getCropS3D(const Dim& in, Dim& out, uint32_t fmt);
544 ALOGE("%s wrong fmt %d", __FUNCTION__, format);
635 inline Dim getCropS3DImpl(const Dim& in, uint32_t fmt) { argument
636 switch (fmt & INPUT_3D_MASK)
648 ALOGE("%s Unsupported 3D format %d", __FUNCTION__, fmt);
655 inline Dim getCropS3DImpl<utils::OV_RIGHT_SPLIT>(const Dim& in, uint32_t fmt) { argument
656 switch (fmt & INPUT_3D_MASK)
668 ALOGE("%s Unsupported 3D format %d", __FUNCTION__, fmt);
675 getCropS3D(const Dim& in, Dim& out, uint32_t fmt) argument
[all...]
/hardware/libhardware/tests/camera2/
H A DCameraStreamFixture.h59 char fmt[100]; local
61 ANDROID_SCALER_AVAILABLE_FORMATS, p.mFormat, fmt, sizeof(fmt));
65 *os << "Format name: " << fmt << ", "; local
/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_ucm.h174 * \param fmt Format (sprintf like)
178 char *snd_use_case_identifier(const char *fmt, ...);
/hardware/samsung_slsi/exynos5/include/
H A Ds5p_fimc_v4l2.h114 unsigned int fmt; member in struct:yuv_fmt_list
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dfimg2d.h31 #define fimg2d_debug(fmt, arg...) printk(KERN_INFO "[%s] " fmt, __func__, ## arg)
33 #define fimg2d_debug(fmt, arg...) do { } while (0)
329 enum color_format fmt; member in struct:fimg2d_image
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/
H A DExynosVideoEncoder.c1008 struct v4l2_format fmt; local
1022 memset(&fmt, 0, sizeof(fmt));
1024 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
1025 fmt.fmt.pix_mp.pixelformat = __ColorFormatType_To_V4L2PixelFormat(bufferConf->eColorFormat);
1026 fmt.fmt.pix_mp.width = bufferConf->nFrameWidth;
1027 fmt.fmt
1052 struct v4l2_format fmt; local
1093 struct v4l2_format fmt; local
1135 struct v4l2_format fmt; local
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_stream.c75 int32_t mm_stream_calc_offset_preview(cam_format_t fmt,
78 int32_t mm_stream_calc_offset_snapshot(cam_format_t fmt,
82 int32_t mm_stream_calc_offset_raw(cam_format_t fmt,
121 uint32_t mm_stream_get_v4l2_fmt(cam_format_t fmt);
1592 * @fmt : camera image format
1596 uint32_t mm_stream_get_v4l2_fmt(cam_format_t fmt) argument
1599 switch(fmt) {
1635 CDBG_ERROR("%s: Unknown fmt=%d", __func__, fmt);
1638 CDBG("%s: fmt
1657 mm_stream_calc_offset_preview(cam_format_t fmt, cam_dimension_t *dim, cam_stream_buf_plane_info_t *buf_planes) argument
1814 mm_stream_calc_offset_snapshot(cam_format_t fmt, cam_dimension_t *dim, cam_padding_info_t *padding, cam_stream_buf_plane_info_t *buf_planes) argument
1968 mm_stream_calc_offset_raw(cam_format_t fmt, cam_dimension_t *dim, cam_padding_info_t *padding, cam_stream_buf_plane_info_t *buf_planes) argument
2453 struct v4l2_format fmt; local
[all...]
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
H A Domx_vdec_hevc.cpp1226 struct v4l2_format fmt; local
1448 DEBUG_PRINT_HIGH("fmt: description: %s, fmt: %x, flags = %x\n", fdesc.description,
1456 DEBUG_PRINT_HIGH("fmt: description: %s, fmt: %x, flags = %x\n", fdesc.description,
1461 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
1462 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height;
1463 fmt.fmt
2706 struct v4l2_format fmt; local
2828 struct v4l2_format fmt; local
3179 struct v4l2_format fmt; local
6214 struct v4l2_format fmt; local
7092 struct v4l2_format fmt; local
7188 struct v4l2_format fmt; local
[all...]
/hardware/samsung_slsi/exynos5/libgscaler/
H A Dexynos_gscaler.c628 info->format.fmt.pix_mp.width = info->width;
629 info->format.fmt.pix_mp.height = info->height;
630 info->format.fmt.pix_mp.pixelformat = info->v4l2_colorformat;
631 info->format.fmt.pix_mp.field = V4L2_FIELD_ANY;
632 info->format.fmt.pix_mp.num_planes = plane_count;
685 info->buffer.length = info->format.fmt.pix_mp.num_planes;
688 for (i = 0; i < info->format.fmt.pix_mp.num_planes; i++) {
1385 struct v4l2_format fmt; local
1582 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
1583 fmt
[all...]
/hardware/libhardware_legacy/qemu/
H A Dqemu.c327 qemu_control_command( const char* fmt, ... ) argument
333 va_start(args, fmt);
334 len = qemu_command_vformat( command, sizeof command, fmt, args );
/hardware/ti/omap4xxx/
H A Dheaptracker.c75 extern int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap);
76 static void default_log(const char *fmt, ...) argument
79 va_start(lst, fmt);
80 __android_log_vprint(ANDROID_LOG_ERROR, "DEBUG", fmt, lst);
85 void (*malloc_log)(const char *fmt, ...) = default_log;
/hardware/samsung_slsi/exynos5/librotator/
H A Dexynos_rotator.c454 if (info->width != info->format.fmt.pix_mp.width ||
455 info->height != info->format.fmt.pix_mp.height ||
456 info->v4l2_colorformat != info->format.fmt.pix_mp.pixelformat) {
493 ALOGV("%s::fmt, crop is same with old-one, so skip s_fmt crop..", __func__);
512 info->format.fmt.pix_mp.width = info->width;
513 info->format.fmt.pix_mp.height = info->height;
514 info->format.fmt.pix_mp.pixelformat = info->v4l2_colorformat;
515 info->format.fmt.pix_mp.field = V4L2_FIELD_ANY;
516 info->format.fmt.pix_mp.num_planes = plane_count;
568 info->buffer.length = info->format.fmt
[all...]
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
H A DExynosVideoDecoder.c707 struct v4l2_format fmt; local
721 memset(&fmt, 0, sizeof(fmt));
723 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
724 fmt.fmt.pix_mp.pixelformat = __CodingType_To_V4L2PixelFormat(bufferConf->eCompressionFormat);
725 fmt.fmt.pix_mp.plane_fmt[0].sizeimage = bufferConf->nSizeImage;
727 if (exynos_v4l2_s_fmt(pCtx->hDec, &fmt) != 0) {
748 struct v4l2_format fmt; local
788 struct v4l2_format fmt; local
[all...]

Completed in 705 milliseconds

1234