Lines Matching refs:buf_planes
77 cam_stream_buf_plane_info_t *buf_planes);
81 cam_stream_buf_plane_info_t *buf_planes);
85 cam_stream_buf_plane_info_t *buf_planes);
87 cam_stream_buf_plane_info_t *buf_planes);
90 cam_stream_buf_plane_info_t *buf_planes);
93 cam_stream_buf_plane_info_t *buf_planes);
1650 * @buf_planes : [out] buffer plane information
1658 cam_stream_buf_plane_info_t *buf_planes)
1667 buf_planes->plane_info.num_planes = 2;
1671 buf_planes->plane_info.mp[0].offset = 0;
1672 buf_planes->plane_info.mp[0].len = stride * scanline;
1673 buf_planes->plane_info.mp[0].offset_x = 0;
1674 buf_planes->plane_info.mp[0].offset_y = 0;
1675 buf_planes->plane_info.mp[0].stride = stride;
1676 buf_planes->plane_info.mp[0].scanline = scanline;
1680 buf_planes->plane_info.mp[1].offset = 0;
1681 buf_planes->plane_info.mp[1].len =
1683 buf_planes->plane_info.mp[1].offset_x = 0;
1684 buf_planes->plane_info.mp[1].offset_y = 0;
1685 buf_planes->plane_info.mp[1].stride = stride;
1686 buf_planes->plane_info.mp[1].scanline = scanline;
1688 buf_planes->plane_info.frame_len =
1689 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
1690 buf_planes->plane_info.mp[1].len,
1695 buf_planes->plane_info.num_planes = 2;
1699 buf_planes->plane_info.mp[0].offset = 0;
1700 buf_planes->plane_info.mp[0].len =
1703 buf_planes->plane_info.mp[0].offset_x = 0;
1704 buf_planes->plane_info.mp[0].offset_y = 0;
1705 buf_planes->plane_info.mp[0].stride = stride;
1706 buf_planes->plane_info.mp[0].scanline = scanline;
1710 buf_planes->plane_info.mp[1].offset = 0;
1711 buf_planes->plane_info.mp[1].len =
1714 buf_planes->plane_info.mp[1].offset_x = 0;
1715 buf_planes->plane_info.mp[1].offset_y = 0;
1716 buf_planes->plane_info.mp[1].stride = stride;
1717 buf_planes->plane_info.mp[1].scanline = scanline;
1719 buf_planes->plane_info.frame_len =
1720 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
1721 buf_planes->plane_info.mp[1].len,
1726 buf_planes->plane_info.num_planes = 3;
1730 buf_planes->plane_info.mp[0].offset = 0;
1731 buf_planes->plane_info.mp[0].len = stride * scanline;
1732 buf_planes->plane_info.mp[0].offset_x = 0;
1733 buf_planes->plane_info.mp[0].offset_y = 0;
1734 buf_planes->plane_info.mp[0].stride = stride;
1735 buf_planes->plane_info.mp[0].scanline = scanline;
1739 buf_planes->plane_info.mp[1].offset = 0;
1740 buf_planes->plane_info.mp[1].len =
1742 buf_planes->plane_info.mp[1].offset_x = 0;
1743 buf_planes->plane_info.mp[1].offset_y = 0;
1744 buf_planes->plane_info.mp[1].stride = stride;
1745 buf_planes->plane_info.mp[1].scanline = scanline;
1747 buf_planes->plane_info.mp[2].offset = 0;
1748 buf_planes->plane_info.mp[2].len =
1750 buf_planes->plane_info.mp[2].offset_x = 0;
1751 buf_planes->plane_info.mp[2].offset_y = 0;
1752 buf_planes->plane_info.mp[2].stride = stride;
1753 buf_planes->plane_info.mp[2].scanline = scanline;
1755 buf_planes->plane_info.frame_len =
1756 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
1757 buf_planes->plane_info.mp[1].len +
1758 buf_planes->plane_info.mp[2].len,
1764 buf_planes->plane_info.num_planes = 2;
1768 buf_planes->plane_info.mp[0].offset = 0;
1769 buf_planes->plane_info.mp[0].len = stride * scanline;
1770 buf_planes->plane_info.mp[0].offset_x = 0;
1771 buf_planes->plane_info.mp[0].offset_y = 0;
1772 buf_planes->plane_info.mp[0].stride = stride;
1773 buf_planes
1775 buf_planes->plane_info.mp[1].offset = 0;
1776 buf_planes->plane_info.mp[1].len = stride * scanline;
1777 buf_planes->plane_info.mp[1].offset_x = 0;
1778 buf_planes->plane_info.mp[1].offset_y = 0;
1779 buf_planes->plane_info.mp[1].stride = stride;
1780 buf_planes->plane_info.mp[1].scanline = scanline;
1782 buf_planes->plane_info.frame_len =
1783 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
1784 buf_planes->plane_info.mp[1].len,
1807 * @buf_planes : [out] buffer plane information
1816 cam_stream_buf_plane_info_t *buf_planes)
1842 buf_planes->plane_info.num_planes = 2;
1844 buf_planes->plane_info.mp[0].len =
1847 buf_planes->plane_info.mp[0].offset =
1850 buf_planes->plane_info.mp[0].offset_x = offset_x;
1851 buf_planes->plane_info.mp[0].offset_y = offset_y;
1852 buf_planes->plane_info.mp[0].stride = stride;
1853 buf_planes->plane_info.mp[0].scanline = scanline;
1856 buf_planes->plane_info.mp[1].len =
1859 buf_planes->plane_info.mp[1].offset =
1862 buf_planes->plane_info.mp[1].offset_x = offset_x;
1863 buf_planes->plane_info.mp[1].offset_y = offset_y;
1864 buf_planes->plane_info.mp[1].stride = stride;
1865 buf_planes->plane_info.mp[1].scanline = scanline;
1867 buf_planes->plane_info.frame_len =
1868 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
1869 buf_planes->plane_info.mp[1].len,
1874 buf_planes->plane_info.num_planes = 3;
1876 buf_planes->plane_info.mp[0].offset =
1879 buf_planes->plane_info.mp[0].len =
1881 buf_planes->plane_info.mp[0].offset_x = offset_x;
1882 buf_planes->plane_info.mp[0].offset_y = offset_y;
1883 buf_planes->plane_info.mp[0].stride = stride;
1884 buf_planes->plane_info.mp[0].scanline = scanline;
1888 buf_planes->plane_info.mp[1].offset =
1891 buf_planes->plane_info.mp[1].len =
1893 buf_planes->plane_info.mp[1].offset_x = offset_x;
1894 buf_planes->plane_info.mp[1].offset_y = offset_y;
1895 buf_planes->plane_info.mp[1].stride = stride;
1896 buf_planes->plane_info.mp[1].scanline = scanline;
1898 buf_planes->plane_info.mp[2].offset =
1901 buf_planes->plane_info.mp[2].len =
1903 buf_planes->plane_info.mp[2].offset_x = offset_x;
1904 buf_planes->plane_info.mp[2].offset_y = offset_y;
1905 buf_planes->plane_info.mp[2].stride = stride;
1906 buf_planes->plane_info.mp[2].scanline = scanline;
1908 buf_planes->plane_info.frame_len =
1909 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
1910 buf_planes->plane_info.mp[1].len +
1911 buf_planes->plane_info.mp[2].len,
1917 buf_planes->plane_info.num_planes = 2;
1918 buf_planes->plane_info.mp[0].len =
1920 buf_planes->plane_info.mp[0].offset =
1923 buf_planes->plane_info.mp[0].offset_x = offset_x;
1924 buf_planes->plane_info.mp[0].offset_y = offset_y;
1925 buf_planes->plane_info.mp[0].stride = stride;
1926 buf_planes->plane_info.mp[0].scanline = scanline;
1928 buf_planes->plane_info.mp[1].len =
1930 buf_planes->plane_info.mp[1].offset =
1933 buf_planes->plane_info.mp[1].offset_x = offset_x;
1934 buf_planes->plane_info.mp[1].offset_y = offset_y;
1935 buf_planes->plane_info.mp[1].stride = stride;
1936 buf_planes->plane_info.mp[1].scanline = scanline;
1938 buf_planes->plane_info.frame_len = PAD_TO_SIZE(
1939 buf_planes->plane_info.mp[0].len + buf_planes->plane_info.mp[1].len,
1961 * @buf_planes : [out] buffer plane information
1970 cam_stream_buf_plane_info_t *buf_planes)
1986 buf_planes->plane_info.num_planes = 1;
1987 buf_planes->plane_info.mp[0].offset = 0;
1988 buf_planes->plane_info.mp[0].len =
1990 buf_planes->plane_info.frame_len =
1991 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
1992 buf_planes->plane_info.mp[0].offset_x =0;
1993 buf_planes->plane_info.mp[0].offset_y = 0;
1994 buf_planes->plane_info.mp[0].stride = stride;
1995 buf_planes->plane_info.mp[0].scanline = scanline;
2020 buf_planes->plane_info.num_planes = 1;
2021 buf_planes->plane_info.mp[0].offset = 0;
2022 buf_planes->plane_info.mp[0].len =
2024 buf_planes->plane_info.frame_len =
2025 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
2026 buf_planes->plane_info.mp[0].offset_x =0;
2027 buf_planes->plane_info.mp[0].offset_y = 0;
2028 buf_planes->plane_info.mp[0].stride = stride;
2029 buf_planes->plane_info.mp[0].scanline = scanline;
2041 buf_planes->plane_info.num_planes = 1;
2042 buf_planes->plane_info.mp[0].offset = 0;
2043 buf_planes->plane_info.mp[0].len =
2045 buf_planes->plane_info.frame_len =
2046 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
2047 buf_planes->plane_info.mp[0].offset_x =0;
2048 buf_planes->plane_info.mp[0].offset_y = 0;
2049 buf_planes->plane_info.mp[0].stride = stride;
2050 buf_planes->plane_info.mp[0].scanline = scanline;
2062 buf_planes->plane_info.num_planes = 1;
2063 buf_planes->plane_info.mp[0].offset = 0;
2064 buf_planes->plane_info.mp[0].len =
2066 buf_planes->plane_info.frame_len =
2067 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
2068 buf_planes->plane_info.mp[0].offset_x =0;
2069 buf_planes->plane_info.mp[0].offset_y = 0;
2070 buf_planes->plane_info.mp[0].stride = stride;
2071 buf_planes->plane_info.mp[0].scanline = scanline;
2083 buf_planes->plane_info.num_planes = 1;
2084 buf_planes->plane_info.mp[0].offset = 0;
2085 buf_planes->plane_info.mp[0].len =
2087 buf_planes->plane_info.frame_len =
2088 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
2089 buf_planes->plane_info.mp[0].offset_x =0;
2090 buf_planes->plane_info.mp[0].offset_y = 0;
2091 buf_planes->plane_info.mp[0].stride = stride;
2092 buf_planes->plane_info.mp[0].scanline = scanline;
2104 buf_planes->plane_info.num_planes = 1;
2105 buf_planes->plane_info.mp[0].offset = 0;
2106 buf_planes->plane_info.mp[0].len =
2108 buf_planes->plane_info.frame_len =
2109 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
2110 buf_planes->plane_info.mp[0].offset_x =0;
2111 buf_planes->plane_info.mp[0].offset_y = 0;
2112 buf_planes->plane_info.mp[0].stride = stride;
2113 buf_planes->plane_info.mp[0].scanline = scanline;
2129 buf_planes->plane_info.num_planes = 1;
2130 buf_planes->plane_info.mp[0].offset = 0;
2131 buf_planes->plane_info.mp[0].len =
2133 buf_planes->plane_info.frame_len =
2134 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len, CAM_PAD_TO_4K);
2135 buf_planes->plane_info.mp[0].offset_x =0;
2136 buf_planes->plane_info.mp[0].offset_y = 0;
2137 buf_planes->plane_info.mp[0].stride = stride;
2138 buf_planes->plane_info.mp[0].scanline = scanline;
2158 * @buf_planes : [out] buffer plane information
2166 cam_stream_buf_plane_info_t *buf_planes)
2174 buf_planes->plane_info.frame_len =
2176 buf_planes->plane_info.num_planes = 2;
2177 buf_planes->plane_info.mp[0].len = stride * scanline;
2178 buf_planes->plane_info.mp[0].offset = 0;
2179 buf_planes->plane_info.mp[0].offset_x =0;
2180 buf_planes->plane_info.mp[0].offset_y = 0;
2181 buf_planes->plane_info.mp[0].stride = stride;
2182 buf_planes->plane_info.mp[0].scanline = scanline;
2185 buf_planes->plane_info.mp[1].len =
2186 buf_planes->plane_info.frame_len - buf_planes->plane_info.mp[0].len;
2187 buf_planes->plane_info.mp[1].offset = 0;
2188 buf_planes->plane_info.mp[1].offset_x =0;
2189 buf_planes->plane_info.mp[1].offset_y = 0;
2190 buf_planes->plane_info.mp[1].stride = stride;
2191 buf_planes->plane_info.mp[1].scanline = scanline;
2197 cam_stream_buf_plane_info_t *buf_planes)
2201 buf_planes->plane_info.num_planes = 2;
2205 buf_planes->plane_info.mp[0].len =
2207 buf_planes->plane_info.mp[0].offset = 0;
2208 buf_planes->plane_info.mp[0].offset_x =0;
2209 buf_planes->plane_info.mp[0].offset_y = 0;
2210 buf_planes->plane_info.mp[0].stride = stride;
2211 buf_planes->plane_info.mp[0].scanline = scanline;
2215 buf_planes->plane_info.mp[1].len =
2217 buf_planes->plane_info.mp[1].offset = 0;
2218 buf_planes->plane_info.mp[1].offset_x =0;
2219 buf_planes->plane_info.mp[1].offset_y = 0;
2220 buf_planes->plane_info.mp[1].stride = stride;
2221 buf_planes->plane_info.mp[1].scanline = scanline;
2223 buf_planes->plane_info.frame_len =
2224 PAD_TO_SIZE(buf_planes->plane_info.mp[0].len +
2225 buf_planes->plane_info.mp[1].len,
2241 * @buf_planes : [out] buffer plane information
2249 cam_stream_buf_plane_info_t *buf_planes)
2252 buf_planes->plane_info.num_planes = 1;
2253 buf_planes->plane_info.mp[0].offset = 0;
2254 buf_planes->plane_info.mp[0].len =
2256 buf_planes->plane_info.frame_len =
2257 buf_planes->plane_info.mp[0].len;
2259 buf_planes->plane_info.mp[0].offset_x =0;
2260 buf_planes->plane_info.mp[0].offset_y = 0;
2261 buf_planes->plane_info.mp[0].stride = dim->width;
2262 buf_planes->plane_info.mp[0].scanline = dim->height;
2274 * @buf_planes : [out] buffer plane information
2282 cam_stream_buf_plane_info_t *buf_planes)
2286 if (buf_planes->plane_info.frame_len == 0) {
2288 *buf_planes = stream_info->reprocess_config.offline.input_buf_planes;
2299 buf_planes);
2306 buf_planes);
2310 buf_planes);
2316 buf_planes);
2321 buf_planes);
2364 &my_obj->stream_info->buf_planes);
2371 &my_obj->stream_info->buf_planes);
2376 &my_obj->stream_info->buf_planes);
2380 &my_obj->stream_info->buf_planes);
2386 &my_obj->stream_info->buf_planes);
2391 &my_obj->stream_info->buf_planes);
2400 my_obj->frame_offset = my_obj->stream_info->buf_planes.plane_info;