comparison h261.c @ 4206:be94e97ecb6e libavcodec

throw error if unsupported resolution is used with h261
author bcoudurier
date Thu, 16 Nov 2006 09:58:34 +0000
parents c8c591fe26f8
children 1f1a0e67b961
comparison
equal deleted inserted replaced
4205:8c28f03cfdd5 4206:be94e97ecb6e
75 s->dsp.h261_loop_filter(dest_y + 8 * linesize + 8, linesize); 75 s->dsp.h261_loop_filter(dest_y + 8 * linesize + 8, linesize);
76 s->dsp.h261_loop_filter(dest_cb, uvlinesize); 76 s->dsp.h261_loop_filter(dest_cb, uvlinesize);
77 s->dsp.h261_loop_filter(dest_cr, uvlinesize); 77 s->dsp.h261_loop_filter(dest_cr, uvlinesize);
78 } 78 }
79 79
80 static int ff_h261_get_picture_format(int width, int height){ 80 int ff_h261_get_picture_format(int width, int height){
81 // QCIF 81 // QCIF
82 if (width == 176 && height == 144) 82 if (width == 176 && height == 144)
83 return 0; 83 return 0;
84 // CIF 84 // CIF
85 else if (width == 352 && height == 288) 85 else if (width == 352 && height == 288)