Lines Matching defs:dst_linesize
170 * @param dst_linesize linesize of destination
177 static void draw_rectangle(unsigned val, uint8_t *dst, int dst_linesize, unsigned segment_width,
183 dst += segment_width * (step * x + y * dst_linesize);
188 dst += dst_linesize;
192 static void draw_digit(int digit, uint8_t *dst, unsigned dst_linesize,
228 draw_rectangle(0, dst, dst_linesize, segment_width, 0, 0, 8, 13);
231 draw_rectangle(255, dst, dst_linesize, segment_width,
392 static void rgbtest_put_pixel(uint8_t *dst, int dst_linesize,
400 case PIX_FMT_BGR444: ((uint16_t*)(dst + y*dst_linesize))[x] = ((r >> 4) << 8) | ((g >> 4) << 4) | (b >> 4); break;
401 case PIX_FMT_RGB444: ((uint16_t*)(dst + y*dst_linesize))[x] = ((b >> 4) << 8) | ((g >> 4) << 4) | (r >> 4); break;
402 case PIX_FMT_BGR555: ((uint16_t*)(dst + y*dst_linesize))[x] = ((r>>3)<<10) | ((g>>3)<<5) | (b>>3); break;
403 case PIX_FMT_RGB555: ((uint16_t*)(dst + y*dst_linesize))[x] = ((b>>3)<<10) | ((g>>3)<<5) | (r>>3); break;
404 case PIX_FMT_BGR565: ((uint16_t*)(dst + y*dst_linesize))[x] = ((r>>3)<<11) | ((g>>2)<<5) | (b>>3); break;
405 case PIX_FMT_RGB565: ((uint16_t*)(dst + y*dst_linesize))[x] = ((b>>3)<<11) | ((g>>2)<<5) | (r>>3); break;
409 p = dst + 3*x + y*dst_linesize;
417 p = dst + 4*x + y*dst_linesize;