Lines Matching refs:fmt

609     struct v4l2_format fmt;
628 DEBUG_PRINT_LOW("fmt: description: %s, fmt: %x, flags = %x\n", fdesc.description,
637 DEBUG_PRINT_LOW("fmt: description: %s, fmt: %x, flags = %x\n", fdesc.description,
643 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
644 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
645 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
646 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype;
650 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt);
657 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
659 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
660 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
661 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
662 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12;
664 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt);
665 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
825 struct v4l2_format fmt;
831 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
832 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
833 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
834 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12;
835 ret = ioctl(m_nDriver_fd, VIDIOC_G_FMT, &fmt);
836 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
864 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
865 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
866 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
867 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype;
869 ret = ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt);
870 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
871 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
872 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
873 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
874 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype;
876 ret = ioctl(m_nDriver_fd, VIDIOC_G_FMT, &fmt);
877 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
897 num_planes = fmt.fmt.pix_mp.num_planes;
901 extra_data_size = fmt.fmt.pix_mp.plane_fmt[extra_idx].sizeimage;
918 struct v4l2_format fmt;
943 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
944 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
945 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
946 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12;
948 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) {
953 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
973 fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
974 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
975 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
976 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype;
978 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) {
983 m_sOutput_buff_property.datasize = fmt.fmt.pix_mp.plane_fmt[0].sizeimage;
2912 struct v4l2_format fmt;
2926 fmt.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;
2927 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.inputformat;
2928 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height;
2929 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width;
2931 if (ioctl(m_nDriver_fd, VIDIOC_S_FMT, &fmt)) {