annotate libmpcodecs/vf_il.c @ 28093:a15dadb6305a

sync w/r28126
author gpoirier
date Wed, 10 Dec 2008 21:15:55 +0000
parents 82601a38e2a7
children df67d03dde3b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
1 /*
26727
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
2 * Copyright (C) 2002 Michael Niedermayer <michaelni@gmx.at>
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
3 *
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
4 * This file is part of MPlayer.
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
5 *
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
7 * it under the terms of the GNU General Public License as published by
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
9 * (at your option) any later version.
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
10 *
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
14 * GNU General Public License for more details.
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
15 *
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
16 * You should have received a copy of the GNU General Public License along
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
82601a38e2a7 Use standard license headers.
diego
parents: 25221
diff changeset
19 */
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
20
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
21 #include <stdio.h>
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
22 #include <stdlib.h>
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
23 #include <string.h>
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
24 #include <inttypes.h>
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
25 #include <assert.h>
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
26
17012
6ff3379a0862 Unify include path handling, -I.. is in CFLAGS.
diego
parents: 9593
diff changeset
27 #include "config.h"
6ff3379a0862 Unify include path handling, -I.. is in CFLAGS.
diego
parents: 9593
diff changeset
28 #include "mp_msg.h"
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
29
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
30 #ifdef HAVE_MALLOC_H
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
31 #include <malloc.h>
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
32 #endif
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
33
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
34 #include "img_format.h"
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
35 #include "mp_image.h"
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
36 #include "vf.h"
17012
6ff3379a0862 Unify include path handling, -I.. is in CFLAGS.
diego
parents: 9593
diff changeset
37 #include "libvo/fastmemcpy.h"
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
38
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
39
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
40 //===========================================================================//
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
41
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
42 typedef struct FilterParam{
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
43 int interleave;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
44 int swap;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
45 }FilterParam;
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
46
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
47 struct vf_priv_s {
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
48 FilterParam lumaParam;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
49 FilterParam chromaParam;
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
50 };
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
51
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
52 /***************************************************************************/
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
53
8123
9fc45fe0d444 *HUGE* set of compiler warning fixes, unused variables removal
arpi
parents: 8051
diff changeset
54 static void interleave(uint8_t *dst, uint8_t *src, int w, int h, int dstStride, int srcStride, int interleave, int swap){
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
55 const int a= swap;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
56 const int b= 1-a;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
57 const int m= h>>1;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
58 int y;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
59
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
60 switch(interleave){
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
61 case -1:
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
62 for(y=0; y < m; y++){
23457
a124f3abc1ec Replace implicit use of fast_memcpy via macro by explicit use to allow
reimar
parents: 17906
diff changeset
63 fast_memcpy(dst + dstStride* y , src + srcStride*(y*2 + a), w);
a124f3abc1ec Replace implicit use of fast_memcpy via macro by explicit use to allow
reimar
parents: 17906
diff changeset
64 fast_memcpy(dst + dstStride*(y + m), src + srcStride*(y*2 + b), w);
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
65 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
66 break;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
67 case 0:
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
68 for(y=0; y < m; y++){
23457
a124f3abc1ec Replace implicit use of fast_memcpy via macro by explicit use to allow
reimar
parents: 17906
diff changeset
69 fast_memcpy(dst + dstStride* y*2 , src + srcStride*(y*2 + a), w);
a124f3abc1ec Replace implicit use of fast_memcpy via macro by explicit use to allow
reimar
parents: 17906
diff changeset
70 fast_memcpy(dst + dstStride*(y*2+1), src + srcStride*(y*2 + b), w);
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
71 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
72 break;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
73 case 1:
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
74 for(y=0; y < m; y++){
23457
a124f3abc1ec Replace implicit use of fast_memcpy via macro by explicit use to allow
reimar
parents: 17906
diff changeset
75 fast_memcpy(dst + dstStride*(y*2+a), src + srcStride* y , w);
a124f3abc1ec Replace implicit use of fast_memcpy via macro by explicit use to allow
reimar
parents: 17906
diff changeset
76 fast_memcpy(dst + dstStride*(y*2+b), src + srcStride*(y + m), w);
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
77 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
78 break;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
79 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
80 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
81
17906
20aca9baf5d8 passing pts through the filter layer (lets see if pts or cola comes out at the end)
michael
parents: 17367
diff changeset
82 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
83 int w;
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
84 FilterParam *luma = &vf->priv->lumaParam;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
85 FilterParam *chroma= &vf->priv->chromaParam;
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
86
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
87 mp_image_t *dmpi=vf_get_image(vf->next,mpi->imgfmt,
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
88 MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
89 mpi->w,mpi->h);
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
90
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
91 if(mpi->flags&MP_IMGFLAG_PLANAR)
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
92 w= mpi->w;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
93 else
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
94 w= mpi->w * mpi->bpp/8;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
95
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
96 interleave(dmpi->planes[0], mpi->planes[0],
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
97 w, mpi->h, dmpi->stride[0], mpi->stride[0], luma->interleave, luma->swap);
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
98
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
99 if(mpi->flags&MP_IMGFLAG_PLANAR){
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
100 int cw= mpi->w >> mpi->chroma_x_shift;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
101 int ch= mpi->h >> mpi->chroma_y_shift;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
102
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
103 interleave(dmpi->planes[1], mpi->planes[1], cw,ch,
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
104 dmpi->stride[1], mpi->stride[1], chroma->interleave, luma->swap);
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
105 interleave(dmpi->planes[2], mpi->planes[2], cw,ch,
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
106 dmpi->stride[2], mpi->stride[2], chroma->interleave, luma->swap);
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
107 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
108
17906
20aca9baf5d8 passing pts through the filter layer (lets see if pts or cola comes out at the end)
michael
parents: 17367
diff changeset
109 return vf_next_put_image(vf,dmpi, pts);
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
110 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
111
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
112 //===========================================================================//
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
113
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
114 static void parse(FilterParam *fp, char* args){
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
115 char *pos;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
116 char *max= strchr(args, ':');
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
117
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
118 if(!max) max= args + strlen(args);
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
119
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
120 pos= strchr(args, 's');
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
121 if(pos && pos<max) fp->swap=1;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
122 pos= strchr(args, 'i');
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
123 if(pos && pos<max) fp->interleave=1;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
124 pos= strchr(args, 'd');
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
125 if(pos && pos<max) fp->interleave=-1;
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
126 }
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
127
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
128 static int open(vf_instance_t *vf, char* args){
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
129
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
130 vf->put_image=put_image;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
131 // vf->get_image=get_image;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
132 vf->priv=malloc(sizeof(struct vf_priv_s));
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
133 memset(vf->priv, 0, sizeof(struct vf_priv_s));
8006
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
134
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
135 if(args)
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
136 {
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
137 char *arg2= strchr(args,':');
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
138 if(arg2) parse(&vf->priv->chromaParam, arg2+1);
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
139 parse(&vf->priv->lumaParam, args);
694502344370 (de)intrleave luma & chroma idependantly
michael
parents: 8004
diff changeset
140 }
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
141
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
142 return 1;
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
143 }
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
144
25221
00fff9a3b735 Make all vf_info_t structs const
reimar
parents: 23457
diff changeset
145 const vf_info_t vf_info_il = {
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
146 "(de)interleave",
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
147 "il",
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
148 "Michael Niedermayer",
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
149 "",
9593
e9a2af584986 Add the new -vf option wich is the same as vop in reverse order.
albeu
parents: 8123
diff changeset
150 open,
e9a2af584986 Add the new -vf option wich is the same as vop in reverse order.
albeu
parents: 8123
diff changeset
151 NULL
8004
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
152 };
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
153
30789258ca66 (de)interleave filter (can be used to split/merge an interlaced image so other non interlaced filters an be used with idividual fields)
michael
parents:
diff changeset
154 //===========================================================================//