Lines Matching refs:stripe

229  * Function calculates input frame stripe offset, based
230 * on output frame stripe offset and filter parameters.
244 * stripe offset and filter parameters
260 * This function calculates input frame stripe width,
261 * based on output frame stripe offset and filter parameters
277 * This function calculates output frame stripe width, basedi
278 * on output frame stripe offset and filter parameters
573 /* Calculate stripe offsets */
596 /* Calculate stripe phase init */
669 * input stripe
683 /* Left padding is only for the first stripe */
688 /* Right padding is only for the last stripe */
704 /* Calculate target output stripe width */
707 /* Calculate input stripe width */
740 * The scaler requires that the last stripe
746 * Spec: input stripe width must be a multiple of 8.
750 * next stripe.
782 * Output stripe resolution and offset
860 /* Compute the frame and stripe params */
1005 osys->stripe[s].crop_top[pin] =
1007 osys->stripe[s].input_width =
1009 osys->stripe[s].input_height =
1011 osys->stripe[s].block_height =
1013 osys->stripe[s].block_width =
1015 osys->stripe[s].output_width[pin] =
1017 osys->stripe[s].output_height[pin] =
1021 /* Only first stripe should do left cropping */
1022 osys->stripe[s].crop_left[pin] =
1024 osys->stripe[s].output_offset[pin] =
1032 osys->stripe[s].crop_left[pin] = 0;
1033 osys->stripe[s].output_offset[pin] =
1035 osys->stripe[0].crop_left[pin]);
1095 osys->stripe[s].buf_stride[pin] =
1743 &scaler_chroma, acc->stripe.block_stripes))
1746 /* acc_param: stripe data */
1757 acc->stripe.num_of_stripes = stripes;
1758 acc->stripe.input_frame.width =
1760 acc->stripe.input_frame.height =
1762 acc->stripe.input_frame.bayer_order =
1766 acc->stripe.bds_out_stripes[i].height =
1768 acc->stripe.bds_out_stripes[0].offset = 0;
1770 acc->stripe.bds_out_stripes[0].width =
1774 acc->stripe.bds_out_stripes[0].width =
1775 acc->stripe.bds_out_stripes[1].width =
1784 acc->stripe.bds_out_stripes[0].width += f;
1787 acc->stripe.bds_out_stripes[0].width += f;
1788 acc->stripe.bds_out_stripes[1].width += f;
1791 acc->stripe.bds_out_stripes[1].offset =
1792 acc->stripe.bds_out_stripes[0].width - 2 * f;
1795 acc->stripe.effective_stripes[0].height =
1797 acc->stripe.effective_stripes[0].offset = 0;
1798 acc->stripe.bds_out_stripes_no_overlap[0].height =
1800 acc->stripe.bds_out_stripes_no_overlap[0].offset = 0;
1801 acc->stripe.output_stripes[0].height =
1803 acc->stripe.output_stripes[0].offset = 0;
1805 acc->stripe.down_scaled_stripes[0].width =
1807 acc->stripe.down_scaled_stripes[0].height =
1809 acc->stripe.down_scaled_stripes[0].offset = 0;
1811 acc->stripe.effective_stripes[0].width =
1813 acc->stripe.bds_out_stripes_no_overlap[0].width =
1816 acc->stripe.output_stripes[0].width =
1823 acc->stripe.down_scaled_stripes[0] =
1824 acc->stripe.bds_out_stripes[0];
1825 acc->stripe.down_scaled_stripes[1] =
1826 acc->stripe.bds_out_stripes[1];
1828 acc->stripe.down_scaled_stripes[1].width +=
1832 acc->stripe.effective_stripes[0].width = bds_ds *
1833 acc->stripe.down_scaled_stripes[0].width /
1835 acc->stripe.effective_stripes[1].width = bds_ds *
1836 acc->stripe.down_scaled_stripes[1].width /
1838 acc->stripe.effective_stripes[1].height =
1840 acc->stripe.effective_stripes[1].offset = bds_ds *
1841 acc->stripe.down_scaled_stripes[1].offset /
1844 acc->stripe.bds_out_stripes_no_overlap[0].width =
1845 acc->stripe.bds_out_stripes_no_overlap[1].offset =
1847 acc->stripe.bds_out_stripes_no_overlap[1].width =
1850 acc->stripe.bds_out_stripes_no_overlap[1].height =
1853 acc->stripe.output_stripes[0].width =
1854 acc->stripe.down_scaled_stripes[0].width - f;
1855 acc->stripe.output_stripes[1].width =
1856 acc->stripe.down_scaled_stripes[1].width - f;
1857 acc->stripe.output_stripes[1].height =
1859 acc->stripe.output_stripes[1].offset =
1860 acc->stripe.output_stripes[0].width;
1863 acc->stripe.output_system_in_frame_width =
1865 acc->stripe.output_system_in_frame_height =
1868 acc->stripe.effective_frame_width =
1870 acc->stripe.bds_frame_width = css_pipe->rect[IPU3_CSS_RECT_BDS].width;
1871 acc->stripe.out_frame_width =
1873 acc->stripe.out_frame_height =
1875 acc->stripe.gdc_in_buffer_width =
1878 acc->stripe.gdc_in_buffer_height =
1880 acc->stripe.gdc_in_buffer_offset_x = IMGU_GDC_BUF_X;
1881 acc->stripe.gdc_in_buffer_offset_y = IMGU_GDC_BUF_Y;
1882 acc->stripe.display_frame_width =
1884 acc->stripe.display_frame_height =
1886 acc->stripe.bds_aligned_frame_width =
1891 acc->stripe.half_overlap_vectors =
1894 acc->stripe.half_overlap_vectors = 0;
1930 acc->stripe.down_scaled_stripes[i].width;
1932 acc->stripe.down_scaled_stripes[i].width;
1954 acc->stripe.bds_aligned_frame_width;
1964 /* Update stripe using chroma and luma */
1992 ofs_x += acc->stripe.effective_stripes[1].offset;
2392 acc->stripe.down_scaled_stripes[1].offset + min_overlap) {
2393 /* Enable only for rightmost stripe, disable left */
2397 acc->stripe.bds_out_stripes[0].width - min_overlap) {
2398 /* Enable only for leftmost stripe, disable right */
2406 (acc->stripe.bds_out_stripes[0].width - min_overlap -
2421 acc->stripe.down_scaled_stripes[1].offset) &
2479 acc->stripe.down_scaled_stripes[1].offset) {
2480 /* Enable only for rightmost stripe, disable left */
2483 acc->stripe.bds_out_stripes[0].width) {
2484 /* Enable only for leftmost stripe, disable right */
2491 (acc->stripe.bds_out_stripes[0].width -
2506 acc->stripe.down_scaled_stripes[1].offset) &
2543 if (acc->stripe.bds_out_stripes[0].width <= min_overlap)
2551 acc->stripe.bds_out_stripes[i].width;
2555 acc->stripe.down_scaled_stripes[1].offset + min_overlap) {
2556 /* Enable only for rightmost stripe, disable left */
2561 acc->stripe.down_scaled_stripes[1].offset) &
2569 acc->stripe.bds_out_stripes[0].width - min_overlap) {
2570 /* Enable only for leftmost stripe, disable right */
2577 (acc->stripe.bds_out_stripes[0].width - min_overlap -
2592 acc->stripe.down_scaled_stripes[1].offset) &
2636 acc->stripe.down_scaled_stripes[1].offset + min_overlap) {
2637 /* Enable only for rightmost stripe, disable left */
2642 acc->stripe.down_scaled_stripes[1].offset) &
2651 acc->stripe.bds_out_stripes[0].width - min_overlap) {
2652 /* Enable only for leftmost stripe, disable right */
2658 (acc->stripe.bds_out_stripes[0].width -
2672 acc->stripe.down_scaled_stripes[1].offset) &