Lines Matching defs:stride
2040 int stride = 0, scanline = 0;
2048 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
2052 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2055 buf_planes->plane_info.mp[0].stride = stride;
2060 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
2064 (uint32_t)(stride * scanline);
2067 buf_planes->plane_info.mp[1].stride = stride;
2081 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
2085 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K);
2088 buf_planes->plane_info.mp[0].stride = stride;
2093 stride = PAD_TO_SIZE(dim->width / 2, CAM_PAD_TO_32) * 2;
2097 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K);
2100 buf_planes->plane_info.mp[1].stride = stride;
2114 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2117 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2120 buf_planes->plane_info.mp[0].stride = stride;
2125 stride = PAD_TO_SIZE(stride / 2, CAM_PAD_TO_16);
2129 (uint32_t)(stride * scanline);
2132 buf_planes->plane_info.mp[1].stride = stride;
2139 (uint32_t)(stride * scanline);
2142 buf_planes->plane_info.mp[2].stride = stride;
2158 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2161 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2164 buf_planes->plane_info.mp[0].stride = stride;
2170 buf_planes->plane_info.mp[1].len = (uint32_t)(stride * scanline);
2173 buf_planes->plane_info.mp[1].stride = stride;
2186 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, dim->width);
2192 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2196 buf_planes->plane_info.mp[0].stride = stride;
2200 stride = VENUS_UV_STRIDE(COLOR_FMT_NV12, dim->width);
2207 buf_planes->plane_info.mp[1].stride = stride;
2245 int stride = 0, scanline = 0;
2253 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_64);
2256 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2259 buf_planes->plane_info.mp[0].stride = stride;
2264 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_64);
2268 (uint32_t)(stride * scanline);
2271 buf_planes->plane_info.mp[1].stride = stride;
2285 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
2289 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K);
2292 buf_planes->plane_info.mp[0].stride = stride;
2297 stride = PAD_TO_SIZE(dim->width / 2, CAM_PAD_TO_32) * 2;
2301 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K);
2304 buf_planes->plane_info.mp[1].stride = stride;
2318 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2321 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2324 buf_planes->plane_info.mp[0].stride = stride;
2329 stride = PAD_TO_SIZE(stride / 2, CAM_PAD_TO_16);
2333 (uint32_t)(stride * scanline);
2336 buf_planes->plane_info.mp[1].stride = stride;
2343 (uint32_t)(stride * scanline);
2346 buf_planes->plane_info.mp[2].stride = stride;
2362 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2365 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2368 buf_planes->plane_info.mp[0].stride = stride;
2374 buf_planes->plane_info.mp[1].len = (uint32_t)(stride * scanline);
2377 buf_planes->plane_info.mp[1].stride = stride;
2390 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, dim->width);
2396 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2400 buf_planes->plane_info.mp[0].stride = stride;
2404 stride = VENUS_UV_STRIDE(COLOR_FMT_NV12, dim->width);
2411 buf_planes->plane_info.mp[1].stride = stride;
2454 int stride = 0, scanline = 0;
2457 stride = dim->width;
2463 stride = PAD_TO_SIZE(dim->width,
2478 PAD_TO_SIZE((uint32_t)(stride * scanline),
2481 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2485 buf_planes->plane_info.mp[0].stride = stride;
2492 PAD_TO_SIZE((uint32_t)(stride * scanline),
2495 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2499 buf_planes->plane_info.mp[1].stride = stride;
2514 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2517 PAD_TO_SIZE((uint32_t)(stride * scanline),
2521 buf_planes->plane_info.mp[0].stride = stride;
2526 stride = PAD_TO_SIZE(stride / 2, CAM_PAD_TO_16);
2529 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2532 PAD_TO_SIZE((uint32_t)(stride * scanline),
2536 buf_planes->plane_info.mp[1].stride = stride;
2542 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2545 PAD_TO_SIZE((uint32_t)(stride * scanline),
2549 buf_planes->plane_info.mp[2].stride = stride;
2565 PAD_TO_SIZE((uint32_t)(stride * scanline),
2568 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2572 buf_planes->plane_info.mp[0].stride = stride;
2578 PAD_TO_SIZE((uint32_t)(stride * scanline),
2581 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
2585 buf_planes->plane_info.mp[1].stride = stride;
2630 int32_t stride = PAD_TO_SIZE(dim->width, (int32_t)padding->width_padding);
2631 int32_t stride_in_bytes = stride;
2640 PAD_TO_SIZE((uint32_t)(stride * scanline),
2645 buf_planes->plane_info.mp[0].stride = stride;
2646 buf_planes->plane_info.mp[0].stride_in_bytes = stride;
2653 PAD_TO_SIZE((uint32_t)(stride * scanline),
2658 buf_planes->plane_info.mp[1].stride = stride;
2659 buf_planes->plane_info.mp[1].stride_in_bytes = stride;
2676 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2677 stride_in_bytes = stride * 2;
2687 buf_planes->plane_info.mp[0].stride = stride;
2696 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2697 stride_in_bytes = stride * 2;
2707 buf_planes->plane_info.mp[0].stride = stride;
2734 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_16);
2735 stride_in_bytes = stride;
2745 buf_planes->plane_info.mp[0].stride = stride;
2760 stride = (dim->width + 11)/12 * 12;
2761 stride_in_bytes = stride * 8 / 6;
2771 buf_planes->plane_info.mp[0].stride = stride;
2786 stride = (dim->width + 9)/10 * 10;
2787 stride_in_bytes = stride * 8 / 5;
2797 buf_planes->plane_info.mp[0].stride = stride;
2812 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_4);
2813 stride_in_bytes = PAD_TO_SIZE(stride * 5 / 4, CAM_PAD_TO_8);
2823 buf_planes->plane_info.mp[0].stride = stride;
2838 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32);
2839 stride_in_bytes = stride * 3 / 2;
2849 buf_planes->plane_info.mp[0].stride = stride;
2868 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_8);
2869 stride_in_bytes = stride * 2;
2879 buf_planes->plane_info.mp[0].stride = stride;
2913 int stride = 0, scanline = 0;
2916 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, dim->width);
2922 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline);
2926 buf_planes->plane_info.mp[0].stride = stride;
2930 stride = VENUS_UV_STRIDE(COLOR_FMT_NV12, dim->width);
2937 buf_planes->plane_info.mp[1].stride = stride;
2948 int stride = 0, scanline = 0;
2952 stride = dim->width;
2955 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_2K);
2959 buf_planes->plane_info.mp[0].stride = stride;
2964 stride = dim->width;
2967 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_2K);
2971 buf_planes->plane_info.mp[1].stride = stride;
3015 buf_planes->plane_info.mp[0].stride = dim->width;
3045 int32_t stride, scanline;
3049 stride = (int32_t)padding->min_stride;
3051 stride = dim->width;
3060 stride = PAD_TO_SIZE(stride, padding->width_padding);
3070 PAD_TO_SIZE((uint32_t)(stride * scanline),
3073 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3077 buf_planes->plane_info.mp[0].stride = stride;
3084 PAD_TO_SIZE((uint32_t)(stride * scanline),
3087 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3091 buf_planes->plane_info.mp[1].stride = stride;
3106 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3109 PAD_TO_SIZE((uint32_t)(stride * scanline),
3113 buf_planes->plane_info.mp[0].stride = stride;
3118 stride = PAD_TO_SIZE(stride / 2, CAM_PAD_TO_16);
3121 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3124 PAD_TO_SIZE((uint32_t)(stride * scanline),
3128 buf_planes->plane_info.mp[1].stride = stride;
3134 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3137 PAD_TO_SIZE((uint32_t)(stride * scanline),
3141 buf_planes->plane_info.mp[2].stride = stride;
3157 PAD_TO_SIZE((uint32_t)(stride * scanline),
3160 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3164 buf_planes->plane_info.mp[0].stride = stride;
3170 PAD_TO_SIZE((uint32_t)(stride * scanline),
3173 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3177 buf_planes->plane_info.mp[1].stride = stride;
3190 PAD_TO_SIZE((uint32_t)(stride * scanline),
3193 PAD_TO_SIZE((uint32_t)(offset_x + stride * offset_y),
3197 buf_planes->plane_info.mp[0].stride = stride;