comparison utils.c @ 2104:586a6e8f3290 libavcodec

Force alignement for rpza and smc
author rtognimp
date Sun, 27 Jun 2004 11:07:05 +0000
parents 02a4fd7c606c
children b415b42d3c80
comparison
equal deleted inserted replaced
2103:bcc91fa67694 2104:586a6e8f3290
157 case PIX_FMT_YUV410P: 157 case PIX_FMT_YUV410P:
158 if(s->codec_id == CODEC_ID_SVQ1){ 158 if(s->codec_id == CODEC_ID_SVQ1){
159 w_align=64; 159 w_align=64;
160 h_align=64; 160 h_align=64;
161 } 161 }
162 case PIX_FMT_RGB555:
163 if(s->codec_id == CODEC_ID_RPZA){
164 w_align=4;
165 h_align=4;
166 }
167 case PIX_FMT_PAL8:
168 if(s->codec_id == CODEC_ID_SMC){
169 w_align=4;
170 h_align=4;
171 }
162 break; 172 break;
163 default: 173 default:
164 w_align= 1; 174 w_align= 1;
165 h_align= 1; 175 h_align= 1;
166 break; 176 break;