Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter (10 of 383 files). Show all
Unified · Split
| @@ -280,7 +280,7 @@ struct AVFilterPad · 279 unmodified lines | ||
| 280 | 280 | * AVFilterPad type. Only video supported now, hopefully someone will |
| 281 | 281 | * add audio in the future. |
| 282 | 282 | */ |
| 283 | − enum CodecType type; | |
| 283 | + enum AVMediaType type; | |
| 284 | 284 | |
| 285 | 285 | /** |
| 286 | 286 | * Minimum required permissions on incoming buffers. Any buffer with |
| @@ -86,7 +86,7 @@ AVFilter avfilter_vf_aspect = { · 85 unmodified lines | ||
| 86 | 86 | .priv_size = sizeof(AspectContext), |
| 87 | 87 | |
| 88 | 88 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 89 | − .type = CODEC_TYPE_VIDEO, | |
| 89 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 90 | 90 | .config_props = frameaspect_config_props, |
| 91 | 91 | .get_video_buffer = avfilter_null_get_video_buffer, |
| 92 | 92 | .start_frame = start_frame, |
| @@ -94,7 +94,7 @@ AVFilter avfilter_vf_aspect = { · 1 unmodified line | ||
| 94 | 94 | { .name = NULL}}, |
| 95 | 95 | |
| 96 | 96 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 97 | − .type = CODEC_TYPE_VIDEO, }, | |
| 97 | + .type = AVMEDIA_TYPE_VIDEO, }, | |
| 98 | 98 | { .name = NULL}}, |
| 99 | 99 | }; |
| 100 | 100 | #endif /* CONFIG_ASPECT_FILTER */ |
| @@ -109,14 +109,14 @@ AVFilter avfilter_vf_pixelaspect = { · 8 unmodified lines | ||
| 109 | 109 | .priv_size = sizeof(AspectContext), |
| 110 | 110 | |
| 111 | 111 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 112 | − .type = CODEC_TYPE_VIDEO, | |
| 112 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 113 | 113 | .get_video_buffer = avfilter_null_get_video_buffer, |
| 114 | 114 | .start_frame = start_frame, |
| 115 | 115 | .end_frame = avfilter_null_end_frame }, |
| 116 | 116 | { .name = NULL}}, |
| 117 | 117 | |
| 118 | 118 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 119 | − .type = CODEC_TYPE_VIDEO, }, | |
| 119 | + .type = AVMEDIA_TYPE_VIDEO, }, | |
| 120 | 120 | { .name = NULL}}, |
| 121 | 121 | }; |
| 122 | 122 | #endif /* CONFIG_PIXELASPECT_FILTER */ |
| @@ -214,14 +214,14 @@ AVFilter avfilter_vf_crop = { · 213 unmodified lines | ||
| 214 | 214 | .init = init, |
| 215 | 215 | |
| 216 | 216 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 217 | − .type = CODEC_TYPE_VIDEO, | |
| 217 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 218 | 218 | .start_frame = start_frame, |
| 219 | 219 | .draw_slice = draw_slice, |
| 220 | 220 | .get_video_buffer = avfilter_null_get_video_buffer, |
| 221 | 221 | .config_props = config_input, }, |
| 222 | 222 | { .name = NULL}}, |
| 223 | 223 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 224 | − .type = CODEC_TYPE_VIDEO, | |
| 224 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 225 | 225 | .config_props = config_output, }, |
| 226 | 226 | { .name = NULL}}, |
| 227 | 227 | }; |
| @@ -103,14 +103,14 @@ AVFilter avfilter_vf_format = { · 102 unmodified lines | ||
| 103 | 103 | .priv_size = sizeof(FormatContext), |
| 104 | 104 | |
| 105 | 105 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 106 | − .type = CODEC_TYPE_VIDEO, | |
| 106 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 107 | 107 | .get_video_buffer= avfilter_null_get_video_buffer, |
| 108 | 108 | .start_frame = avfilter_null_start_frame, |
| 109 | 109 | .draw_slice = avfilter_null_draw_slice, |
| 110 | 110 | .end_frame = avfilter_null_end_frame, }, |
| 111 | 111 | { .name = NULL}}, |
| 112 | 112 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 113 | − .type = CODEC_TYPE_VIDEO }, | |
| 113 | + .type = AVMEDIA_TYPE_VIDEO }, | |
| 114 | 114 | { .name = NULL}}, |
| 115 | 115 | }; |
| 116 | 116 | #endif /* CONFIG_FORMAT_FILTER */ |
| @@ -133,14 +133,14 @@ AVFilter avfilter_vf_noformat = { · 16 unmodified lines | ||
| 133 | 133 | .priv_size = sizeof(FormatContext), |
| 134 | 134 | |
| 135 | 135 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 136 | − .type = CODEC_TYPE_VIDEO, | |
| 136 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 137 | 137 | .get_video_buffer= avfilter_null_get_video_buffer, |
| 138 | 138 | .start_frame = avfilter_null_start_frame, |
| 139 | 139 | .draw_slice = avfilter_null_draw_slice, |
| 140 | 140 | .end_frame = avfilter_null_end_frame, }, |
| 141 | 141 | { .name = NULL}}, |
| 142 | 142 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 143 | − .type = CODEC_TYPE_VIDEO }, | |
| 143 | + .type = AVMEDIA_TYPE_VIDEO }, | |
| 144 | 144 | { .name = NULL}}, |
| 145 | 145 | }; |
| 146 | 146 | #endif /* CONFIG_NOFORMAT_FILTER */ |
| @@ -30,13 +30,13 @@ AVFilter avfilter_vf_null = { · 29 unmodified lines | ||
| 30 | 30 | .priv_size = 0, |
| 31 | 31 | |
| 32 | 32 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 33 | − .type = CODEC_TYPE_VIDEO, | |
| 33 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 34 | 34 | .get_video_buffer = avfilter_null_get_video_buffer, |
| 35 | 35 | .start_frame = avfilter_null_start_frame, |
| 36 | 36 | .end_frame = avfilter_null_end_frame }, |
| 37 | 37 | { .name = NULL}}, |
| 38 | 38 | |
| 39 | 39 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 40 | − .type = CODEC_TYPE_VIDEO, }, | |
| 40 | + .type = AVMEDIA_TYPE_VIDEO, }, | |
| 41 | 41 | { .name = NULL}}, |
| 42 | 42 | }; |
| @@ -197,13 +197,13 @@ AVFilter avfilter_vf_scale = { · 196 unmodified lines | ||
| 197 | 197 | .priv_size = sizeof(ScaleContext), |
| 198 | 198 | |
| 199 | 199 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 200 | − .type = CODEC_TYPE_VIDEO, | |
| 200 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 201 | 201 | .start_frame = start_frame, |
| 202 | 202 | .draw_slice = draw_slice, |
| 203 | 203 | .min_perms = AV_PERM_READ, }, |
| 204 | 204 | { .name = NULL}}, |
| 205 | 205 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 206 | − .type = CODEC_TYPE_VIDEO, | |
| 206 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 207 | 207 | .config_props = config_props, }, |
| 208 | 208 | { .name = NULL}}, |
| 209 | 209 | }; |
| @@ -104,7 +104,7 @@ AVFilter avfilter_vf_slicify = { · 103 unmodified lines | ||
| 104 | 104 | .priv_size = sizeof(SliceContext), |
| 105 | 105 | |
| 106 | 106 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 107 | − .type = CODEC_TYPE_VIDEO, | |
| 107 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 108 | 108 | .get_video_buffer = avfilter_null_get_video_buffer, |
| 109 | 109 | .start_frame = start_frame, |
| 110 | 110 | .draw_slice = draw_slice, |
| @@ -112,6 +112,6 @@ AVFilter avfilter_vf_slicify = { · 1 unmodified line | ||
| 112 | 112 | .end_frame = avfilter_null_end_frame, }, |
| 113 | 113 | { .name = NULL}}, |
| 114 | 114 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 115 | − .type = CODEC_TYPE_VIDEO, }, | |
| 115 | + .type = AVMEDIA_TYPE_VIDEO, }, | |
| 116 | 116 | { .name = NULL}}, |
| 117 | 117 | }; |
| @@ -91,7 +91,7 @@ AVFilter avfilter_vf_vflip = { · 90 unmodified lines | ||
| 91 | 91 | .priv_size = sizeof(FlipContext), |
| 92 | 92 | |
| 93 | 93 | .inputs = (AVFilterPad[]) {{ .name = "default", |
| 94 | − .type = CODEC_TYPE_VIDEO, | |
| 94 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 95 | 95 | .get_video_buffer = get_video_buffer, |
| 96 | 96 | .start_frame = start_frame, |
| 97 | 97 | .draw_slice = draw_slice, |
| @@ -99,6 +99,6 @@ AVFilter avfilter_vf_vflip = { · 1 unmodified line | ||
| 99 | 99 | .config_props = config_input, }, |
| 100 | 100 | { .name = NULL}}, |
| 101 | 101 | .outputs = (AVFilterPad[]) {{ .name = "default", |
| 102 | − .type = CODEC_TYPE_VIDEO, }, | |
| 102 | + .type = AVMEDIA_TYPE_VIDEO, }, | |
| 103 | 103 | { .name = NULL}}, |
| 104 | 104 | }; |
| @@ -35,7 +35,7 @@ AVFilter avfilter_vsink_nullsink = { · 34 unmodified lines | ||
| 35 | 35 | .inputs = (AVFilterPad[]) { |
| 36 | 36 | { |
| 37 | 37 | .name = "default", |
| 38 | − .type = CODEC_TYPE_VIDEO, | |
| 38 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 39 | 39 | .start_frame = start_frame, |
| 40 | 40 | .end_frame = end_frame, |
| 41 | 41 | }, |
| @@ -74,7 +74,7 @@ AVFilter avfilter_vsrc_nullsrc = { · 73 unmodified lines | ||
| 74 | 74 | .outputs = (AVFilterPad[]) { |
| 75 | 75 | { |
| 76 | 76 | .name = "default", |
| 77 | − .type = CODEC_TYPE_VIDEO, | |
| 77 | + .type = AVMEDIA_TYPE_VIDEO, | |
| 78 | 78 | .config_props = config_props, |
| 79 | 79 | .request_frame = request_frame, |
| 80 | 80 | }, |