Revision 37079906 postproc/swscale_template.c

View differences:

postproc/swscale_template.c
2192 2192
	uint8_t *src[3];
2193 2193
	uint8_t *dst[3];
2194 2194
	
2195
	if((c->srcFormat == IMGFMT_IYUV) || (c->srcFormat == IMGFMT_I420)){
2195
	if(c->srcFormat == IMGFMT_I420){
2196 2196
		src[0]= srcParam[0];
2197 2197
		src[1]= srcParam[2];
2198 2198
		src[2]= srcParam[1];
......
2225 2225
		srcStride[2]= 0;
2226 2226
	}
2227 2227

  
2228
	if((c->dstFormat == IMGFMT_IYUV) || (c->dstFormat == IMGFMT_I420)){
2228
	if(c->dstFormat == IMGFMT_I420){
2229 2229
		dst[0]= dstParam[0];
2230 2230
		dst[1]= dstParam[2];
2231 2231
		dst[2]= dstParam[1];
......
2235 2235
		dst[1]= dstParam[1];
2236 2236
		dst[2]= dstParam[2];
2237 2237
	}
2238
	
2238

  
2239
//printf("sws Strides:%d %d %d -> %d %d %d\n", srcStride[0],srcStride[1],srcStride[2],
2240
//dstStride[0],dstStride[1],dstStride[2]);
2239 2241

  
2240 2242
	if(dstStride[0]%8 !=0 || dstStride[1]%8 !=0 || dstStride[2]%8 !=0)
2241 2243
	{

Also available in: Unified diff