Lines Matching defs:segment_width
171 * @param segment_width width of the segment
174 * @param w width of the rectangle to draw, expressed as a number of segment_width units
175 * @param h height of the rectangle to draw, expressed as a number of segment_width units
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);
184 w *= segment_width * step;
185 h *= segment_width;
193 unsigned segment_width)
228 draw_rectangle(0, dst, dst_linesize, segment_width, 0, 0, 8, 13);
231 draw_rectangle(255, dst, dst_linesize, segment_width,