comparison libmpcodecs/vf_uspp.c @ 35715:8517826b0dbd

Replace CODEC_IDs their modern AV_-prefixed counterparts.
author diego
date Mon, 21 Jan 2013 19:44:53 +0000
parents d206960484fe
children ed1d856ec43d
comparison
equal deleted inserted replaced
35714:fc36990b6ae5 35715:8517826b0dbd
210 210
211 static int config(struct vf_instance *vf, 211 static int config(struct vf_instance *vf,
212 int width, int height, int d_width, int d_height, 212 int width, int height, int d_width, int d_height,
213 unsigned int flags, unsigned int outfmt){ 213 unsigned int flags, unsigned int outfmt){
214 int i; 214 int i;
215 AVCodec *enc= avcodec_find_encoder(CODEC_ID_SNOW); 215 AVCodec *enc= avcodec_find_encoder(AV_CODEC_ID_SNOW);
216 216
217 for(i=0; i<3; i++){ 217 for(i=0; i<3; i++){
218 int is_chroma= !!i; 218 int is_chroma= !!i;
219 int w= ((width + 4*BLOCK-1) & (~(2*BLOCK-1)))>>is_chroma; 219 int w= ((width + 4*BLOCK-1) & (~(2*BLOCK-1)))>>is_chroma;
220 int h= ((height + 4*BLOCK-1) & (~(2*BLOCK-1)))>>is_chroma; 220 int h= ((height + 4*BLOCK-1) & (~(2*BLOCK-1)))>>is_chroma;