/hardware/google/graphics/common/libhwjpeg/ |
D | hwjpeg-v4l2.cpp | 39 m_v4l2Format.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_RGB24; in CHWJpegV4L2Compressor() 40 m_v4l2Format.fmt.pix_mp.width = TO_IMAGE_SIZE(16, 0); in CHWJpegV4L2Compressor() 41 m_v4l2Format.fmt.pix_mp.height = TO_IMAGE_SIZE(16, 0); in CHWJpegV4L2Compressor() 153 if ((m_v4l2Format.fmt.pix_mp.pixelformat == v4l2_fmt) && in SetImageFormat() 154 (m_v4l2Format.fmt.pix_mp.width == TO_IMAGE_SIZE(width, width2)) && in SetImageFormat() 155 (m_v4l2Format.fmt.pix_mp.height == TO_IMAGE_SIZE(height, height2))) in SetImageFormat() 158 m_v4l2Format.fmt.pix_mp.pixelformat = v4l2_fmt; in SetImageFormat() 159 m_v4l2Format.fmt.pix_mp.width = TO_IMAGE_SIZE(width, width2); in SetImageFormat() 160 m_v4l2Format.fmt.pix_mp.height = TO_IMAGE_SIZE(height, height2); in SetImageFormat() 170 for (unsigned int i = 0; i < m_v4l2Format.fmt.pix_mp.num_planes; i++) in GetImageBufferSizes() [all …]
|
D | LibScalerForJpeg.cpp | 135 fmt.fmt.pix_mp.pixelformat = format; in setFormat() 136 fmt.fmt.pix_mp.width = width; in setFormat() 137 fmt.fmt.pix_mp.height = height; in setFormat() 144 for (uint32_t i = 0; i < fmt.fmt.pix_mp.num_planes ; i++) { in setFormat() 145 planelen[i] = fmt.fmt.pix_mp.plane_fmt[i].sizeimage; in setFormat()
|
/hardware/google/graphics/common/libscaler/ |
D | libscaler-v4l2.cpp | 292 fmt.fmt.pix_mp.pixelformat = frm.color_format; in DevSetFormat() 293 fmt.fmt.pix_mp.width = frm.width; in DevSetFormat() 294 fmt.fmt.pix_mp.height = frm.height; in DevSetFormat() 298 fmt.fmt.pix_mp.flags = V4L2_PIX_FMT_FLAG_PREMUL_ALPHA; in DevSetFormat() 300 fmt.fmt.pix_mp.reserved[1] = SC_V4L2_FMT_PREMULTI_FLAG; in DevSetFormat() 306 fmt.fmt.pix_mp.pixelformat, fmt.fmt.pix_mp.width, fmt.fmt.pix_mp.height, in DevSetFormat() 312 frm.out_num_planes = fmt.fmt.pix_mp.num_planes; in DevSetFormat() 315 frm.out_plane_size[i] = fmt.fmt.pix_mp.plane_fmt[i].sizeimage; in DevSetFormat()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2_params.cpp | 594 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_set_param() 595 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_set_param() 596 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.inputformat; in venc_set_param() 597 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_set_param() 600 fmt.type, fmt.fmt.pix_mp.width, fmt.fmt.pix_mp.height, in venc_set_param() 601 fmt.fmt.pix_mp.pixelformat, fmt.fmt.pix_mp.colorspace); in venc_set_param() 605 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_set_param() 626 fmt.fmt.pix_mp.height = m_sVenc_cfg.dvs_height; in venc_set_param() 627 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; in venc_set_param() 628 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype; in venc_set_param() [all …]
|
D | video_encoder_device_v4l2.cpp | 1625 fmt.fmt.pix_mp.height = m_sVenc_cfg.dvs_height; in venc_open() 1626 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; in venc_open() 1627 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype; in venc_open() 1638 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 1642 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open() 1643 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open() 1644 fmt.fmt.pix_mp.pixelformat = V4L2_DEFAULT_OUTPUT_COLOR_FMT; in venc_open() 1645 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_open() 1648 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 1850 *w = fmt.fmt.pix_mp.width; in venc_get_dimensions() [all …]
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1789 fmt.fmt.pix_mp.height = m_sVenc_cfg.dvs_height; in venc_open() 1790 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; in venc_open() 1791 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype; in venc_open() 1802 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 1806 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open() 1807 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open() 1808 fmt.fmt.pix_mp.pixelformat = V4L2_DEFAULT_OUTPUT_COLOR_FMT; in venc_open() 1809 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_open() 1812 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 2053 *w = fmt.fmt.pix_mp.width; in venc_get_dimensions() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | video_encoder_device_copper.cpp | 360 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open() 361 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open() 362 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_NV12; in venc_open() 366 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 370 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open() 371 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open() 372 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_H264; in venc_open() 376 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 547 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_get_buf_req() 548 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_get_buf_req() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 1237 fmt.fmt.pix_mp.height = m_sVenc_cfg.dvs_height; in venc_open() 1238 fmt.fmt.pix_mp.width = m_sVenc_cfg.dvs_width; in venc_open() 1239 fmt.fmt.pix_mp.pixelformat = m_sVenc_cfg.codectype; in venc_open() 1250 m_sOutput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 1254 fmt.fmt.pix_mp.height = m_sVenc_cfg.input_height; in venc_open() 1255 fmt.fmt.pix_mp.width = m_sVenc_cfg.input_width; in venc_open() 1256 fmt.fmt.pix_mp.pixelformat = V4L2_DEFAULT_OUTPUT_COLOR_FMT; in venc_open() 1257 fmt.fmt.pix_mp.colorspace = V4L2_COLORSPACE_470_SYSTEM_BG; in venc_open() 1260 m_sInput_buff_property.datasize=fmt.fmt.pix_mp.plane_fmt[0].sizeimage; in venc_open() 1470 *w = fmt.fmt.pix_mp.width; in venc_get_dimensions() [all …]
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2_params.cpp | 642 … fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in set_parameter() 643 … fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in set_parameter() 644 fmt.fmt.pix_mp.pixelformat = output_capability; in set_parameter() 646 … fmt.fmt.pix_mp.height,fmt.fmt.pix_mp.width); in set_parameter() 649 fmt.fmt.pix_mp.pixelformat = capture_capability; in set_parameter() 727 … fmt.fmt.pix_mp.pixelformat = capture_capability = V4L2_PIX_FMT_NV12; in set_parameter() 737 … fmt.fmt.pix_mp.pixelformat = capture_capability = V4L2_PIX_FMT_NV12_UBWC; in set_parameter() 740 … fmt.fmt.pix_mp.pixelformat = capture_capability = V4L2_PIX_FMT_NV12; in set_parameter()
|
D | omx_vdec_v4l2.cpp | 1950 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1951 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1952 fmt.fmt.pix_mp.pixelformat = output_capability; in component_init() 1999 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 2000 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 2001 fmt.fmt.pix_mp.pixelformat = capture_capability; in component_init() 6951 fmt.fmt.pix_mp.pixelformat = output_capability; in get_buffer_req() 6955 fmt.fmt.pix_mp.pixelformat = capture_capability; in get_buffer_req() 6976 drv_ctx.num_planes = fmt.fmt.pix_mp.num_planes; in get_buffer_req() 6977 DEBUG_PRINT_HIGH("Buffer Size = %d, type = %d",fmt.fmt.pix_mp.plane_fmt[0].sizeimage, fmt.type); in get_buffer_req() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 1075 fmt.fmt.pix_mp.pixelformat = capture_capability; in decide_dpb_buffer_mode() 1239 fmt.fmt.pix_mp.pixelformat = capture_capability; in decide_downscalar() 1245 isPortraitVideo = fmt.fmt.pix_mp.width < fmt.fmt.pix_mp.height ? OMX_TRUE : OMX_FALSE; in decide_downscalar() 1309 fmt.fmt.pix_mp.pixelformat = capture_capability; in decide_downscalar() 1316 height = fmt.fmt.pix_mp.height; in decide_downscalar() 1317 width = fmt.fmt.pix_mp.width; in decide_downscalar() 1320 …fmt.fmt.pix_mp.width, fmt.fmt.pix_mp.height, m_downscalar_width, m_downscalar_height, m_is_display… in decide_downscalar() 1322 if ((fmt.fmt.pix_mp.width * fmt.fmt.pix_mp.height > m_downscalar_width * m_downscalar_height) && in decide_downscalar() 1330 width = m_downscalar_width > fmt.fmt.pix_mp.width ? in decide_downscalar() 1331 fmt.fmt.pix_mp.width : m_downscalar_width; in decide_downscalar() [all …]
|
/hardware/google/graphics/common/libhwjpeg/include/ |
D | exynos-hwjpeg.h | 544 return (TO_SEC_IMG_SIZE(m_v4l2Format.fmt.pix_mp.width) + in IsB2BCompression() 545 TO_SEC_IMG_SIZE(m_v4l2Format.fmt.pix_mp.height)) != 0; in IsB2BCompression()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_msm8974.cpp | 1869 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1870 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1871 fmt.fmt.pix_mp.pixelformat = output_capability; in component_init() 1931 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1932 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1933 fmt.fmt.pix_mp.pixelformat = capture_capability; in component_init() 3330 fmt.fmt.pix_mp.pixelformat = capture_capability; in set_parameter() 3337 … if ((portDefn->format.video.nFrameHeight != (unsigned int)fmt.fmt.pix_mp.height) || in set_parameter() 3338 … (portDefn->format.video.nFrameWidth != (unsigned int)fmt.fmt.pix_mp.width)) { in set_parameter() 3357 … fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in set_parameter() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 1768 fmt.fmt.pix_mp.width = 320; in component_init() 1769 fmt.fmt.pix_mp.height = 240; in component_init() 1770 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_HEVC_HYBRID; in component_init() 1917 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1918 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1919 fmt.fmt.pix_mp.pixelformat = output_capability; in component_init() 1946 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1947 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1948 fmt.fmt.pix_mp.pixelformat = capture_capability; in component_init() 3468 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in set_parameter() [all …]
|
D | omx_vdec_hevc.cpp | 1474 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1475 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1476 fmt.fmt.pix_mp.pixelformat = output_capability; in component_init() 1506 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1507 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1508 fmt.fmt.pix_mp.pixelformat = capture_capability; in component_init() 2807 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in set_parameter() 2808 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in set_parameter() 2809 fmt.fmt.pix_mp.pixelformat = output_capability; in set_parameter() 2810 …mt.fmt.pix_mp.height = %d , fmt.fmt.pix_mp.width = %d",fmt.fmt.pix_mp.height,fmt.fmt.pix_mp.width); in set_parameter() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc_swvdec.cpp | 1785 fmt.fmt.pix_mp.width = 320; in component_init() 1786 fmt.fmt.pix_mp.height = 240; in component_init() 1787 fmt.fmt.pix_mp.pixelformat = V4L2_PIX_FMT_HEVC_HYBRID; in component_init() 1940 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1941 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1942 fmt.fmt.pix_mp.pixelformat = output_capability; in component_init() 1969 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in component_init() 1970 fmt.fmt.pix_mp.width = drv_ctx.video_resolution.frame_width; in component_init() 1971 fmt.fmt.pix_mp.pixelformat = capture_capability; in component_init() 3540 fmt.fmt.pix_mp.height = drv_ctx.video_resolution.frame_height; in set_parameter() [all …]
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
D | videodev2.h | 1235 struct v4l2_pix_format_mplane pix_mp; member
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
D | videodev2.h | 1236 struct v4l2_pix_format_mplane pix_mp; member
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
D | videodev2.h | 1742 struct v4l2_pix_format_mplane pix_mp; /* V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE */ member
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | videodev2.h | 1745 struct v4l2_pix_format_mplane pix_mp; /* V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE */ member
|
/hardware/qcom/msm8x09/kernel-headers/linux/ |
D | videodev2.h | 1076 struct v4l2_pix_format_mplane pix_mp; member
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
D | videodev2.h | 2066 struct v4l2_pix_format_mplane pix_mp; member
|