[gnome-photos/wip/rishi/buffer-decoder] jpeg
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/buffer-decoder] jpeg
- Date: Wed, 12 Sep 2018 11:56:04 +0000 (UTC)
commit 3ca7da731769657915a3901fa9d2b87a8a564ac8
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Sep 7 23:56:15 2018 +0200
jpeg
src/photos-gegl-buffer-codec-jpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-gegl-buffer-codec-jpeg.c b/src/photos-gegl-buffer-codec-jpeg.c
index b833e73a..aae3b4c6 100644
--- a/src/photos-gegl-buffer-codec-jpeg.c
+++ b/src/photos-gegl-buffer-codec-jpeg.c
@@ -353,7 +353,6 @@ photos_gegl_buffer_codec_jpeg_zoom_from_mipmap (PhotosGeglBufferCodecJpeg *self)
gint bpp;
gint j;
gint k;
- guchar *tile_memory = (guchar *) self->tile_memory;
sampler_get_fun = gegl_sampler_get_fun (self->sampler);
bpp = babl_format_get_bytes_per_pixel (format);
@@ -362,6 +361,7 @@ photos_gegl_buffer_codec_jpeg_zoom_from_mipmap (PhotosGeglBufferCodecJpeg *self)
{
gdouble u_tile = u_base + self->inverse_jacobian.coeff[0][0] * bbox_tile.x;
gdouble v = v_tile;
+ guchar *tile_memory = (guchar *) self->tile_memory;
for (j = 0; j < self->tile_height; j++)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]