comparison bitstream_filter.c @ 4994:3fa689636240 libavcodec

allow to enable or disable every bitstream filters individually Original patch by Jason Millard jsm174 _at_ gmail Date: On Fri, 11 May 2007 11:14:01 -0400 Subject: [FFmpeg-devel] enable/disable bitstream filters?
author aurel
date Sat, 12 May 2007 23:33:53 +0000
parents 05e932ddaaa9
children 70f194a2ee53
comparison
equal deleted inserted replaced
4993:a1bbd3c01264 4994:3fa689636240
251 (*poutbuf)[3]= header ; 251 (*poutbuf)[3]= header ;
252 252
253 return 1; 253 return 1;
254 } 254 }
255 255
256 #ifdef CONFIG_DUMP_EXTRADATA_BSF
256 AVBitStreamFilter dump_extradata_bsf={ 257 AVBitStreamFilter dump_extradata_bsf={
257 "dump_extra", 258 "dump_extra",
258 0, 259 0,
259 dump_extradata, 260 dump_extradata,
260 }; 261 };
261 262 #endif
263
264 #ifdef CONFIG_REMOVE_EXTRADATA_BSF
262 AVBitStreamFilter remove_extradata_bsf={ 265 AVBitStreamFilter remove_extradata_bsf={
263 "remove_extra", 266 "remove_extra",
264 0, 267 0,
265 remove_extradata, 268 remove_extradata,
266 }; 269 };
267 270 #endif
271
272 #ifdef CONFIG_NOISE_BSF
268 AVBitStreamFilter noise_bsf={ 273 AVBitStreamFilter noise_bsf={
269 "noise", 274 "noise",
270 sizeof(int), 275 sizeof(int),
271 noise, 276 noise,
272 }; 277 };
273 278 #endif
279
280 #ifdef CONFIG_MP3_HEADER_COMPRESS_BSF
274 AVBitStreamFilter mp3_header_compress_bsf={ 281 AVBitStreamFilter mp3_header_compress_bsf={
275 "mp3comp", 282 "mp3comp",
276 0, 283 0,
277 mp3_header_compress, 284 mp3_header_compress,
278 }; 285 };
279 286 #endif
287
288 #ifdef CONFIG_MP3_HEADER_DECOMPRESS_BSF
280 AVBitStreamFilter mp3_header_decompress_bsf={ 289 AVBitStreamFilter mp3_header_decompress_bsf={
281 "mp3decomp", 290 "mp3decomp",
282 0, 291 0,
283 mp3_header_decompress, 292 mp3_header_decompress,
284 }; 293 };
294 #endif