summaryrefslogtreecommitdiff
path: root/firmware/asm/lcd-as-memframe.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/asm/lcd-as-memframe.c')
-rw-r--r--firmware/asm/lcd-as-memframe.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/firmware/asm/lcd-as-memframe.c b/firmware/asm/lcd-as-memframe.c
index fb31fa1953..8ea9e68a39 100644
--- a/firmware/asm/lcd-as-memframe.c
+++ b/firmware/asm/lcd-as-memframe.c
@@ -25,10 +25,10 @@ static inline int clamp(int val, int min, int max)
25 return val; 25 return val;
26} 26}
27 27
28extern void lcd_write_yuv420_lines(fb_data *dst, 28void lcd_write_yuv420_lines(fb_data *dst,
29 unsigned char const * const src[3], 29 unsigned char const * const src[3],
30 int width, 30 int width,
31 int stride) 31 int stride)
32{ 32{
33 /* Draw a partial YUV colour bitmap - similiar behavior to lcd_blit_yuv 33 /* Draw a partial YUV colour bitmap - similiar behavior to lcd_blit_yuv
34 in the core */ 34 in the core */
@@ -176,4 +176,6 @@ void lcd_write_yuv420_lines_odither(fb_data *dst,
176 unsigned char const * const src[3], 176 unsigned char const * const src[3],
177 int width, int stride, 177 int width, int stride,
178 int x_screen, int y_screen) 178 int x_screen, int y_screen)
179__attribute__((alias("lcd_write_yuv420_lines"))); 179{
180 return lcd_write_yuv420_lines(dst, src, width, stride);
181}