Mercurial > libavcodec.hg
comparison rv10.c @ 7782:6efb15a24e91 libavcodec
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
CONFIG_FOO_ENCODER conditionals where appropriate.
author | diego |
---|---|
date | Wed, 03 Sep 2008 12:33:21 +0000 |
parents | 3ec34b551aae |
children | 3b5964de95cd |
comparison
equal
deleted
inserted
replaced
7781:0d62fafc69ae | 7782:6efb15a24e91 |
---|---|
227 } | 227 } |
228 } | 228 } |
229 return -code; | 229 return -code; |
230 } | 230 } |
231 | 231 |
232 #ifdef CONFIG_ENCODERS | 232 |
233 | 233 #if defined(CONFIG_RV10_ENCODER) || defined(CONFIG_RV20_ENCODER) |
234 /* write RV 1.0 compatible frame header */ | 234 /* write RV 1.0 compatible frame header */ |
235 void rv10_encode_picture_header(MpegEncContext *s, int picture_number) | 235 void rv10_encode_picture_header(MpegEncContext *s, int picture_number) |
236 { | 236 { |
237 int full_frame= 0; | 237 int full_frame= 0; |
238 | 238 |
302 return (n << 16) | n1; | 302 return (n << 16) | n1; |
303 } | 303 } |
304 } | 304 } |
305 #endif | 305 #endif |
306 | 306 |
307 #endif //CONFIG_ENCODERS | 307 #endif /* defined(CONFIG_RV10_ENCODER) || defined(CONFIG_RV20_ENCODER) */ |
308 | 308 |
309 /* read RV 1.0 compatible frame header */ | 309 /* read RV 1.0 compatible frame header */ |
310 static int rv10_decode_picture_header(MpegEncContext *s) | 310 static int rv10_decode_picture_header(MpegEncContext *s) |
311 { | 311 { |
312 int mb_count, pb_frame, marker, unk, mb_xy; | 312 int mb_count, pb_frame, marker, unk, mb_xy; |