| OLD | NEW |
| 1 /* | 1 /* |
| 2 * filter registration | 2 * filter registration |
| 3 * copyright (c) 2008 Vitor Sessak | 3 * copyright (c) 2008 Vitor Sessak |
| 4 * | 4 * |
| 5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
| 6 * | 6 * |
| 7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 if(CONFIG_##X##_FILTER ) avfilter_register(&avfilter_##y##_##x ); } | 27 if(CONFIG_##X##_FILTER ) avfilter_register(&avfilter_##y##_##x ); } |
| 28 | 28 |
| 29 void avfilter_register_all(void) | 29 void avfilter_register_all(void) |
| 30 { | 30 { |
| 31 static int initialized; | 31 static int initialized; |
| 32 | 32 |
| 33 if (initialized) | 33 if (initialized) |
| 34 return; | 34 return; |
| 35 initialized = 1; | 35 initialized = 1; |
| 36 | 36 |
| 37 REGISTER_FILTER (ANULL, anull, af); |
| 38 |
| 37 REGISTER_FILTER (ASPECT, aspect, vf); | 39 REGISTER_FILTER (ASPECT, aspect, vf); |
| 38 REGISTER_FILTER (CROP, crop, vf); | 40 REGISTER_FILTER (CROP, crop, vf); |
| 41 REGISTER_FILTER (FIFO, fifo, vf); |
| 39 REGISTER_FILTER (FORMAT, format, vf); | 42 REGISTER_FILTER (FORMAT, format, vf); |
| 43 REGISTER_FILTER (HFLIP, hflip, vf); |
| 40 REGISTER_FILTER (NOFORMAT, noformat, vf); | 44 REGISTER_FILTER (NOFORMAT, noformat, vf); |
| 41 REGISTER_FILTER (NULL, null, vf); | 45 REGISTER_FILTER (NULL, null, vf); |
| 42 REGISTER_FILTER (PAD, pad, vf); | 46 REGISTER_FILTER (PAD, pad, vf); |
| 43 REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf); | 47 REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf); |
| 44 REGISTER_FILTER (PIXELASPECT, pixelaspect, vf); | 48 REGISTER_FILTER (PIXELASPECT, pixelaspect, vf); |
| 45 REGISTER_FILTER (SCALE, scale, vf); | 49 REGISTER_FILTER (SCALE, scale, vf); |
| 46 REGISTER_FILTER (SLICIFY, slicify, vf); | 50 REGISTER_FILTER (SLICIFY, slicify, vf); |
| 47 REGISTER_FILTER (UNSHARP, unsharp, vf); | 51 REGISTER_FILTER (UNSHARP, unsharp, vf); |
| 48 REGISTER_FILTER (VFLIP, vflip, vf); | 52 REGISTER_FILTER (VFLIP, vflip, vf); |
| 49 | 53 |
| 50 REGISTER_FILTER (BUFFER, buffer, vsrc); | 54 REGISTER_FILTER (BUFFER, buffer, vsrc); |
| 51 REGISTER_FILTER (COLOR, color, vsrc); | 55 REGISTER_FILTER (COLOR, color, vsrc); |
| 52 REGISTER_FILTER (NULLSRC, nullsrc, vsrc); | 56 REGISTER_FILTER (NULLSRC, nullsrc, vsrc); |
| 53 | 57 |
| 54 REGISTER_FILTER (NULLSINK, nullsink, vsink); | 58 REGISTER_FILTER (NULLSINK, nullsink, vsink); |
| 55 } | 59 } |
| OLD | NEW |