diff options
Diffstat (limited to 'apps/plugins/imageviewer/jpeg/yuv2rgb.c')
-rw-r--r-- | apps/plugins/imageviewer/jpeg/yuv2rgb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/imageviewer/jpeg/yuv2rgb.c b/apps/plugins/imageviewer/jpeg/yuv2rgb.c index 2395f232b2..764dc71a47 100644 --- a/apps/plugins/imageviewer/jpeg/yuv2rgb.c +++ b/apps/plugins/imageviewer/jpeg/yuv2rgb.c | |||
@@ -106,7 +106,7 @@ static fb_data pixel_to_lcd_colour(void) | |||
106 | b = component_to_lcd(p->b, LCD_BLUE_BITS, NODITHER_DELTA); | 106 | b = component_to_lcd(p->b, LCD_BLUE_BITS, NODITHER_DELTA); |
107 | b = clamp_component_bits(b, LCD_BLUE_BITS); | 107 | b = clamp_component_bits(b, LCD_BLUE_BITS); |
108 | 108 | ||
109 | return LCD_RGBPACK_LCD(r, g, b); | 109 | return FB_RGBPACK_LCD(r, g, b); |
110 | } | 110 | } |
111 | 111 | ||
112 | /** write a monochrome pixel to the colour LCD **/ | 112 | /** write a monochrome pixel to the colour LCD **/ |
@@ -119,7 +119,7 @@ static fb_data pixel_to_lcd_gray(void) | |||
119 | b = component_to_lcd(g, LCD_BLUE_BITS, NODITHER_DELTA); | 119 | b = component_to_lcd(g, LCD_BLUE_BITS, NODITHER_DELTA); |
120 | g = component_to_lcd(g, LCD_GREEN_BITS, NODITHER_DELTA); | 120 | g = component_to_lcd(g, LCD_GREEN_BITS, NODITHER_DELTA); |
121 | 121 | ||
122 | return LCD_RGBPACK_LCD(r, g, b); | 122 | return FB_RGBPACK_LCD(r, g, b); |
123 | } | 123 | } |
124 | 124 | ||
125 | /** | 125 | /** |
@@ -163,7 +163,7 @@ static fb_data pixel_odither_to_lcd(void) | |||
163 | 163 | ||
164 | p->col += p->inc; | 164 | p->col += p->inc; |
165 | 165 | ||
166 | return LCD_RGBPACK_LCD(r, g, b); | 166 | return FB_RGBPACK_LCD(r, g, b); |
167 | } | 167 | } |
168 | 168 | ||
169 | /** | 169 | /** |
@@ -217,7 +217,7 @@ static fb_data pixel_fsdither_to_lcd(void) | |||
217 | distribute_error(&p->ce[BLU], &p->e[BLU], bc, epos, inc); | 217 | distribute_error(&p->ce[BLU], &p->e[BLU], bc, epos, inc); |
218 | 218 | ||
219 | /* Pack and return pixel */ | 219 | /* Pack and return pixel */ |
220 | return LCD_RGBPACK_LCD(r, g, b); | 220 | return FB_RGBPACK_LCD(r, g, b); |
221 | } | 221 | } |
222 | 222 | ||
223 | /* Functions for each output mode, colour then grayscale. */ | 223 | /* Functions for each output mode, colour then grayscale. */ |