Home
last modified time | relevance | path

Searched refs:frmsize (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1665 struct v4l2_frmsizeenum frmsize; in venc_open() local
1668 memset((void *)&frmsize,0,sizeof(frmsize)); in venc_open()
1669 frmsize.index = 0; in venc_open()
1670 frmsize.pixel_format = m_sVenc_cfg.codectype; in venc_open()
1671 ret = ioctl(m_nDriver_fd, VIDIOC_ENUM_FRAMESIZES, &frmsize); in venc_open()
1673 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open()
1678 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open()
1679 capability.min_width = frmsize.stepwise.min_width; in venc_open()
1680 capability.max_width = frmsize.stepwise.max_width; in venc_open()
1681 capability.min_height = frmsize.stepwise.min_height; in venc_open()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1296 struct v4l2_frmsizeenum frmsize; in venc_open() local
1299 memset((void *)&frmsize,0,sizeof(frmsize)); in venc_open()
1300 frmsize.index = 0; in venc_open()
1301 frmsize.pixel_format = m_sVenc_cfg.codectype; in venc_open()
1302 ret = ioctl(m_nDriver_fd, VIDIOC_ENUM_FRAMESIZES, &frmsize); in venc_open()
1304 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open()
1309 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open()
1310 capability.min_width = frmsize.stepwise.min_width; in venc_open()
1311 capability.max_width = frmsize.stepwise.max_width; in venc_open()
1312 capability.min_height = frmsize.stepwise.min_height; in venc_open()
[all …]
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1862 struct v4l2_frmsizeenum frmsize; in venc_open() local
1865 memset((void *)&frmsize,0,sizeof(frmsize)); in venc_open()
1866 frmsize.index = 0; in venc_open()
1867 frmsize.pixel_format = m_sVenc_cfg.codectype; in venc_open()
1868 ret = ioctl(m_nDriver_fd, VIDIOC_ENUM_FRAMESIZES, &frmsize); in venc_open()
1870 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open()
1875 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open()
1876 capability.min_width = frmsize.stepwise.min_width; in venc_open()
1877 capability.max_width = frmsize.stepwise.max_width; in venc_open()
1878 capability.min_height = frmsize.stepwise.min_height; in venc_open()
[all …]
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp1770 struct v4l2_frmsizeenum frmsize; in component_init() local
1980 memset((void *)&frmsize,0,sizeof(frmsize)); in component_init()
1981 frmsize.index = 0; in component_init()
1982 frmsize.pixel_format = output_capability; in component_init()
1984 VIDIOC_ENUM_FRAMESIZES, &frmsize); in component_init()
1985 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1990 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1991 m_decoder_capability.min_width = frmsize.stepwise.min_width; in component_init()
1992 m_decoder_capability.max_width = frmsize.stepwise.max_width; in component_init()
1993 m_decoder_capability.min_height = frmsize.stepwise.min_height; in component_init()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp1729 struct v4l2_frmsizeenum frmsize; in component_init() local
1928 memset((void *)&frmsize,0,sizeof(frmsize)); in component_init()
1929 frmsize.index = 0; in component_init()
1930 frmsize.pixel_format = output_capability; in component_init()
1932 VIDIOC_ENUM_FRAMESIZES, &frmsize); in component_init()
1933 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1938 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1939 m_decoder_capability.min_width = frmsize.stepwise.min_width; in component_init()
1940 m_decoder_capability.max_width = frmsize.stepwise.max_width; in component_init()
1941 m_decoder_capability.min_height = frmsize.stepwise.min_height; in component_init()
[all …]
Domx_vdec_msm8974.cpp1593 struct v4l2_frmsizeenum frmsize; in component_init() local
1912 memset((void *)&frmsize,0,sizeof(frmsize)); in component_init()
1913 frmsize.index = 0; in component_init()
1914 frmsize.pixel_format = output_capability; in component_init()
1916 VIDIOC_ENUM_FRAMESIZES, &frmsize); in component_init()
1917 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1922 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1923 m_decoder_capability.min_width = frmsize.stepwise.min_width; in component_init()
1924 m_decoder_capability.max_width = frmsize.stepwise.max_width; in component_init()
1925 m_decoder_capability.min_height = frmsize.stepwise.min_height; in component_init()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp1746 struct v4l2_frmsizeenum frmsize; in component_init() local
1951 memset((void *)&frmsize,0,sizeof(frmsize)); in component_init()
1952 frmsize.index = 0; in component_init()
1953 frmsize.pixel_format = output_capability; in component_init()
1955 VIDIOC_ENUM_FRAMESIZES, &frmsize); in component_init()
1956 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1961 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
1962 m_decoder_capability.min_width = frmsize.stepwise.min_width; in component_init()
1963 m_decoder_capability.max_width = frmsize.stepwise.max_width; in component_init()
1964 m_decoder_capability.min_height = frmsize.stepwise.min_height; in component_init()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp2220 struct v4l2_frmsizeenum frmsize; in component_init() local
2582 memset((void *)&frmsize,0,sizeof(frmsize)); in component_init()
2583 frmsize.index = 0; in component_init()
2584 frmsize.pixel_format = output_capability; in component_init()
2586 VIDIOC_ENUM_FRAMESIZES, &frmsize); in component_init()
2587 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
2592 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init()
2593 m_decoder_capability.min_width = frmsize.stepwise.min_width; in component_init()
2594 m_decoder_capability.max_width = frmsize.stepwise.max_width; in component_init()
2595 m_decoder_capability.min_height = frmsize.stepwise.min_height; in component_init()
[all …]