summaryrefslogtreecommitdiff
path: root/libavcodec/indeo5.c
diff options
context:
space:
mode:
authorMaxim Poliakovski <max_pole@gmx.de>2010-05-26 13:25:16 +0000
committerMaxim Poliakovski <max_pole@gmx.de>2010-05-26 13:25:16 +0000
commit220f2bd9c595c7934753694854d4a778358d5c4d (patch)
tree6218914df31beafa59d300680db6423f0ab50c4f /libavcodec/indeo5.c
parent93ebfeea90be8cc270226ac4d282efffed7ca0c7 (diff)
move indeo5 scan patterns into ivi_common.c
so those can be shared by indeo4. Originally committed as revision 23335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/indeo5.c')
-rw-r--r--libavcodec/indeo5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/indeo5.c b/libavcodec/indeo5.c
index 2593e55272..3dd976f7f9 100644
--- a/libavcodec/indeo5.c
+++ b/libavcodec/indeo5.c
@@ -185,25 +185,25 @@ static int decode_gop_header(IVI5DecContext *ctx, AVCodecContext *avctx)
case 1:
band->inv_transform = ff_ivi_row_slant8;
band->dc_transform = ff_ivi_dc_row_slant;
- band->scan = ivi5_scans8x8[0];
+ band->scan = ivi_vertical_scan_8x8;
break;
case 2:
band->inv_transform = ff_ivi_col_slant8;
band->dc_transform = ff_ivi_dc_col_slant;
- band->scan = ivi5_scans8x8[1];
+ band->scan = ivi_horizontal_scan_8x8;
break;
case 3:
band->inv_transform = ff_ivi_put_pixels_8x8;
band->dc_transform = ff_ivi_put_dc_pixel_8x8;
- band->scan = ivi5_scans8x8[1];
+ band->scan = ivi_horizontal_scan_8x8;
break;
case 4:
band->inv_transform = ff_ivi_inverse_slant_4x4;
band->dc_transform = ff_ivi_dc_slant_2d;
- band->scan = ivi5_scan4x4;
+ band->scan = ivi_direct_scan_4x4;
break;
}