Searched refs:frmsize (Results 1 – 4 of 4) sorted by relevance
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1022 struct v4l2_frmsizeenum frmsize; in venc_open() local 1025 memset((void *)&frmsize,0,sizeof(frmsize)); in venc_open() 1026 frmsize.index = 0; in venc_open() 1027 frmsize.pixel_format = m_sVenc_cfg.codectype; in venc_open() 1028 ret = ioctl(m_nDriver_fd, VIDIOC_ENUM_FRAMESIZES, &frmsize); in venc_open() 1030 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open() 1035 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open() 1036 capability.min_width = frmsize.stepwise.min_width; in venc_open() 1037 capability.max_width = frmsize.stepwise.max_width; in venc_open() 1038 capability.min_height = frmsize.stepwise.min_height; in venc_open() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1279 struct v4l2_frmsizeenum frmsize; in venc_open() local 1282 memset((void *)&frmsize,0,sizeof(frmsize)); in venc_open() 1283 frmsize.index = 0; in venc_open() 1284 frmsize.pixel_format = m_sVenc_cfg.codectype; in venc_open() 1285 ret = ioctl(m_nDriver_fd, VIDIOC_ENUM_FRAMESIZES, &frmsize); in venc_open() 1287 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open() 1292 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in venc_open() 1293 capability.min_width = frmsize.stepwise.min_width; in venc_open() 1294 capability.max_width = frmsize.stepwise.max_width; in venc_open() 1295 capability.min_height = frmsize.stepwise.min_height; in venc_open() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 1592 struct v4l2_frmsizeenum frmsize; in component_init() local 1911 memset((void *)&frmsize,0,sizeof(frmsize)); in component_init() 1912 frmsize.index = 0; in component_init() 1913 frmsize.pixel_format = output_capability; in component_init() 1915 VIDIOC_ENUM_FRAMESIZES, &frmsize); in component_init() 1916 if (ret || frmsize.type != V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init() 1921 if (frmsize.type == V4L2_FRMSIZE_TYPE_STEPWISE) { in component_init() 1922 m_decoder_capability.min_width = frmsize.stepwise.min_width; in component_init() 1923 m_decoder_capability.max_width = frmsize.stepwise.max_width; in component_init() 1924 m_decoder_capability.min_height = frmsize.stepwise.min_height; in component_init() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 1746 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 …]
|