Lines Matching refs:j
75 for (int j = 0; j < height; ++j) { in rgba8888_to_nv21() local
76 uint8_t* outputY = output + j*yStride; in rgba8888_to_nv21()
78 uint8_t R = input[j*width*4 + i*4]; in rgba8888_to_nv21()
79 uint8_t G = input[j*width*4 + i*4 + 1]; in rgba8888_to_nv21()
80 uint8_t B = input[j*width*4 + i*4 + 2]; in rgba8888_to_nv21()
83 bool jeven = (j & 1) == 0; in rgba8888_to_nv21()
100 for (int j = 0; j < height; ++j) { in nv21_to_rgba8888() local
101 uint8_t* inputY = input + j*yStride; in nv21_to_rgba8888()
104 bool jeven = (j & 1) == 0; in nv21_to_rgba8888()
148 static void get_color(uint32_t* img, int i, int j, int w, int h, int dw, uint32_t * color) { in get_color() argument
154 if ( i >= mini && i <= maxi && j >= minj && j <= maxj) { in get_color()
155 *color = img[i-mini + dw*(j-minj)]; in get_color()
161 for (int j=0; j < dw; ++j) { in convert_to_square() local
163 get_color(src, i, j, sw, sh, dw, &color); in convert_to_square()
164 dest[i+j*dw] = color; in convert_to_square()