| 1 | Index: configure |
| 2 | =================================================================== |
| 3 | --- configure (revision 24573) |
| 4 | +++ configure (working copy) |
| 5 | @@ -167,6 +167,7 @@ |
| 6 | and libraw1394 [no] |
| 7 | --enable-libdirac enable Dirac support via libdirac [no] |
| 8 | --enable-libfaac enable FAAC support via libfaac [no] |
| 9 | + --enable-libfreetype enable libfreetype [no] |
| 10 | --enable-libgsm enable GSM support via libgsm [no] |
| 11 | --enable-libmp3lame enable MP3 encoding via libmp3lame [no] |
| 12 | --enable-libnut enable NUT (de)muxing via libnut, |
| 13 | @@ -870,6 +871,7 @@ |
| 14 | libdc1394 |
| 15 | libdirac |
| 16 | libfaac |
| 17 | + libfreetype |
| 18 | libgsm |
| 19 | libmp3lame |
| 20 | libnut |
| 21 | @@ -1012,6 +1014,7 @@ |
| 22 | llrintf |
| 23 | local_aligned_16 |
| 24 | local_aligned_8 |
| 25 | + localtime_r |
| 26 | log2 |
| 27 | log2f |
| 28 | loongson |
| 29 | @@ -1379,6 +1382,7 @@ |
| 30 | udp_protocol_deps="network" |
| 31 | |
| 32 | # libraries |
| 33 | +drawtext_filter_deps="libfreetype" |
| 34 | avdevice_deps="avcodec avformat" |
| 35 | avformat_deps="avcodec" |
| 36 | |
| 37 | @@ -2581,6 +2585,7 @@ |
| 38 | check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss |
| 39 | check_func inet_aton $network_extralibs |
| 40 | check_func isatty |
| 41 | +check_func localtime_r |
| 42 | check_func ${malloc_prefix}memalign && enable memalign |
| 43 | check_func mkstemp |
| 44 | check_func ${malloc_prefix}posix_memalign && enable posix_memalign |
| 45 | @@ -2663,6 +2668,7 @@ |
| 46 | require libdirac libdirac_decoder/dirac_parser.h dirac_decoder_init $(pkg-config --libs dirac) && |
| 47 | require libdirac libdirac_encoder/dirac_encoder.h dirac_encoder_init $(pkg-config --libs dirac) |
| 48 | enabled libfaac && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac |
| 49 | +enabled libfreetype && add_cflags $(pkg-config --cflags freetype2) && require libfreetype ft2build.h FT_Init_FreeType -lfreetype -lz |
| 50 | enabled libgsm && require libgsm gsm/gsm.h gsm_create -lgsm |
| 51 | enabled libmp3lame && require libmp3lame lame/lame.h lame_init -lmp3lame |
| 52 | enabled libnut && require libnut libnut.h nut_demuxer_init -lnut |
| 53 | Index: libavfilter/allfilters.c |
| 54 | =================================================================== |
| 55 | --- libavfilter/allfilters.c (revision 24573) |
| 56 | +++ libavfilter/allfilters.c (working copy) |
| 57 | @@ -36,19 +36,31 @@ |
| 58 | |
| 59 | REGISTER_FILTER (ASPECT, aspect, vf); |
| 60 | REGISTER_FILTER (CROP, crop, vf); |
| 61 | + REGISTER_FILTER (DRAWBOX, drawbox, vf); |
| 62 | + REGISTER_FILTER (DRAWTEXT, drawtext, vf); |
| 63 | + REGISTER_FILTER (FADE, fade, vf); |
| 64 | + REGISTER_FILTER (FIFO, fifo, vf); |
| 65 | REGISTER_FILTER (FORMAT, format, vf); |
| 66 | - REGISTER_FILTER (NOFORMAT, noformat, vf); |
| 67 | + REGISTER_FILTER (FPS, fps, vf); |
| 68 | + REGISTER_FILTER (HFLIP, hflip, vf); |
| 69 | + REGISTER_FILTER (NEGATE, negate, vf); |
| 70 | REGISTER_FILTER (NULL, null, vf); |
| 71 | + REGISTER_FILTER (OVERLAY, overlay, vf); |
| 72 | REGISTER_FILTER (PAD, pad, vf); |
| 73 | REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf); |
| 74 | REGISTER_FILTER (PIXELASPECT, pixelaspect, vf); |
| 75 | + REGISTER_FILTER (ROTATE, rotate, vf); |
| 76 | REGISTER_FILTER (SCALE, scale, vf); |
| 77 | + REGISTER_FILTER (SETPTS, setpts, vf); |
| 78 | REGISTER_FILTER (SLICIFY, slicify, vf); |
| 79 | + REGISTER_FILTER (SPLIT, split, vf); |
| 80 | + REGISTER_FILTER (TRANSPOSE, transpose, vf); |
| 81 | REGISTER_FILTER (UNSHARP, unsharp, vf); |
| 82 | REGISTER_FILTER (VFLIP, vflip, vf); |
| 83 | |
| 84 | REGISTER_FILTER (BUFFER, buffer, vsrc); |
| 85 | REGISTER_FILTER (COLOR, color, vsrc); |
| 86 | + REGISTER_FILTER (MOVIE, movie, vsrc); |
| 87 | REGISTER_FILTER (NULLSRC, nullsrc, vsrc); |
| 88 | |
| 89 | REGISTER_FILTER (NULLSINK, nullsink, vsink); |
| 90 | Index: libavfilter/Makefile |
| 91 | =================================================================== |
| 92 | --- libavfilter/Makefile (revision 24573) |
| 93 | +++ libavfilter/Makefile (working copy) |
| 94 | @@ -3,6 +3,7 @@ |
| 95 | NAME = avfilter |
| 96 | FFLIBS = avcodec avcore avutil |
| 97 | FFLIBS-$(CONFIG_SCALE_FILTER) += swscale |
| 98 | +FFLIBS-$(CONFIG_MOVIE_FILTER) += avformat |
| 99 | |
| 100 | HEADERS = avfilter.h |
| 101 | |
| 102 | @@ -16,19 +17,32 @@ |
| 103 | |
| 104 | OBJS-$(CONFIG_ASPECT_FILTER) += vf_aspect.o |
| 105 | OBJS-$(CONFIG_CROP_FILTER) += vf_crop.o |
| 106 | +OBJS-$(CONFIG_DRAWBOX_FILTER) += vf_drawbox.o |
| 107 | +OBJS-$(CONFIG_DRAWTEXT_FILTER) += vf_drawtext.o |
| 108 | +OBJS-$(CONFIG_FADE_FILTER) += vf_fade.o |
| 109 | +OBJS-$(CONFIG_FIFO_FILTER) += vf_fifo.o |
| 110 | OBJS-$(CONFIG_FORMAT_FILTER) += vf_format.o |
| 111 | +OBJS-$(CONFIG_FPS_FILTER) += vf_fps.o |
| 112 | +OBJS-$(CONFIG_HFLIP_FILTER) += vf_hflip.o |
| 113 | +OBJS-$(CONFIG_NEGATE_FILTER) += vf_negate.o |
| 114 | OBJS-$(CONFIG_NOFORMAT_FILTER) += vf_format.o |
| 115 | OBJS-$(CONFIG_NULL_FILTER) += vf_null.o |
| 116 | +OBJS-$(CONFIG_OVERLAY_FILTER) += vf_overlay.o |
| 117 | OBJS-$(CONFIG_PAD_FILTER) += vf_pad.o |
| 118 | OBJS-$(CONFIG_PIXDESCTEST_FILTER) += vf_pixdesctest.o |
| 119 | OBJS-$(CONFIG_PIXELASPECT_FILTER) += vf_aspect.o |
| 120 | +OBJS-$(CONFIG_ROTATE_FILTER) += vf_rotate.o |
| 121 | OBJS-$(CONFIG_SCALE_FILTER) += vf_scale.o |
| 122 | +OBJS-$(CONFIG_SETPTS_FILTER) += vf_setpts.o |
| 123 | OBJS-$(CONFIG_SLICIFY_FILTER) += vf_slicify.o |
| 124 | +OBJS-$(CONFIG_SPLIT_FILTER) += vf_split.o |
| 125 | +OBJS-$(CONFIG_TRANSPOSE_FILTER) += vf_transpose.o |
| 126 | OBJS-$(CONFIG_UNSHARP_FILTER) += vf_unsharp.o |
| 127 | OBJS-$(CONFIG_VFLIP_FILTER) += vf_vflip.o |
| 128 | |
| 129 | OBJS-$(CONFIG_BUFFER_FILTER) += vsrc_buffer.o |
| 130 | OBJS-$(CONFIG_COLOR_FILTER) += vf_pad.o |
| 131 | +OBJS-$(CONFIG_MOVIE_FILTER) += vsrc_movie.o |
| 132 | OBJS-$(CONFIG_NULLSRC_FILTER) += vsrc_nullsrc.o |
| 133 | |
| 134 | OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o |