comparison rtjpeg.h @ 4145:a5fca6fd5e4c libavcodec

Move idct block array variable onto rtjpeg_decode_frame_yuv420 stack since it is only used there and is only 128 byte large. Also make it aligned to fix playback with altivec.
author reimar
date Sun, 05 Nov 2006 16:18:37 +0000
parents c8c591fe26f8
children 4394344397d8
comparison
equal deleted inserted replaced
4144:dc52a253f51b 4145:a5fca6fd5e4c
23 #define RTJPEG_H 23 #define RTJPEG_H
24 24
25 typedef struct { 25 typedef struct {
26 int w, h; 26 int w, h;
27 DSPContext *dsp; 27 DSPContext *dsp;
28 DCTELEM block[64];
29 uint8_t scan[64]; 28 uint8_t scan[64];
30 uint32_t lquant[64]; 29 uint32_t lquant[64];
31 uint32_t cquant[64]; 30 uint32_t cquant[64];
32 } RTJpegContext; 31 } RTJpegContext;
33 32