Debian Codegraph @

y4mscaler/TODO

raw
1
2 x Xtag for chroma subsampling mode
3 x document Xtag in manpage
4
5 x Error message for "cannot make progressive from interleaved" should
6 suggest using 'ilace=XXX_only' modes.
7
8 x 7-9 tap Lanczos-windowed sinc kernel
9 x independent kernels for X and Y scaling
10
11 - Instead of simple matte-padding of off-frame pixels (for large kernels),
12 do proper tiling --- tile the matte+frame, as bounded by the projection
13 of the target back to the source.
14 (i.e. Source size is the tile size, even though some of the tile may be
15 filled with matte.)
16 [hmm... on second/third thought, this is probably unnecessary and a poorer
17 way to do it anyway.]
18
19 x Fix subsampling for NTSC DV ---- horizontal shift in chroma.
20 [...unless Poynton's book is *wrong*.]
21 [Yes, Poynton's was wrong. See his errata.]
22
23 - Fix the rounding errors in scaler-matto fixed-point calculations:
24
25 x 1) Negative doubles should get "- 0.5" to round properly when
26 being converted to fixed-point.
27 x 2) When unfixing, stuff with ">>(2*FSHIFT)" should have had an
28 offset of "(1<<(2*FSHIFT-1))" pre-applied, *not* "2*(1<<(FSHIFT-1))"
29 (i.e. *not* just "2*FHALF").
30 - 3) Shouldn't negative fixed-point quantities, like <128 chroma samples,
31 get rounded inward (upward), not downward? (When UNFIXing after
32 the convolution)
33 [not right now --- would make UNFIX op much slower?]
34
35 (See if these fixes have any affect on the chirp tests....)
36
37 x Warn about chroma-mangling when casting interlaced input to progressive,
38 when chroma is vertically subsampled. (But TOP_ONLY or BOTTOM_ONLY is ok.)
39
40 x Warn about chroma-mangling when casting progressive input to interlaced,
41 when chroma is vertically subsampled.
42
43 x Warn/Inform when fake progressive mode being used.
44
45 x Both read and write streams in extra chroma ss modes.
46
47 x Add more presets: DVD_WIDE, DV, DV_WIDE
48
49 x let active region geometry strings use framesize as a default region size,
50 so that one can specify "active=+4+0" to just do shifting.
51
52 x recognize other XXX:1001 framerates as NTSC norm (and similar for PAL).
53
54 x add CVD preset
55
56 x (add note to aspect webpage about pedantic square pixel issues.)
57
58 x display more/better info about scaler engine configuration to user.
59
60 ---------------- v 0.6.1 -------------------
61
62 x Update to work with YUV4MPEG2(v1).
63
64 ---------------- v 0.7.0 -------------------
65
66 x Make it clear that cl options are evaluated in order, and that some need
67 to be evaluated before others (-I before -O...).
68 x (Maybe it would be better to evaluate all -I before all -O ??)
69 [Yes, eval -I arguments before -O arguments.]
70
71 x Create a JIT-assembled scaling engine using GNU Lightning.
72 [Tried it --- instruction stream was too long and blows out
73 instruction cache for larger framesizes.]
74
75 x Improve description/explanation of "-I ilace=TOP/BOTTOM_ONLY" in manpage.
76
77 ---------------- v 0.7.1 -------------------
78
79 x Document the CVD preset in manpage.
80
81 x Describe the preset settings in detail (what options do they set?) in
82 the manpage.
83
84 x Change version numbering from a.b.c to b.c.
85
86 x change default scaler options to high-quality sinc.
87 --> sinc:6
88
89 x Finish *proper* update to work with YUV4MPEG2(v2).
90
91 ---------------- v 8.0 -------------------
92
93 x Nicholas Boos wants a gaussian kernel and "fourth-order cubic" (?)
94 --> well, he gets the 4th-order cubic so far.
95
96 x 'cubicK4' is the *new* default kernel, and really make it so.
97
98 ---------------- v 8.1 -------------------
99
100 x Use 64-bit intermediate values in ratio operations (to avoid overflow).
101
102 x Use floats in ratio simplification (to avoid overflow).
103
104 x Remove eXecute bit from manpage (reported by Don Mullis).
105
106 x Add presets for ATSC 720p, 1080i, 1080p.
107
108 ---------------- v 9.0 -------------------
109
110 o non-fake ilace options should undo preceding fake ilace options.
111
112 o fix bug: box kernel coefficients are not correctly normalized.
113
114 o fix bug: coefficients with two maximum should share any norm correction
115
116 o add 'blur' option to scaling engine.
117
118 o Nicholas Boos wants a gaussian kernel and "fourth-order cubic" (?)
119
120 o check the behavior of kernel support calculation in scaler-matto.C
121 ...currently, 'supp' refers to 1/2 of support (one side or other);
122 perhaps calcs should deal with 2.0*supp instead, to alleviate
123 rounding down too much???
124
125 o add presets for (S)VCD stills which accounts for overscan...
126 (perhaps do same for DVD/etc... "full-frame" mode?)
127 -O preset=VCD_STILL,hi,ovscan:10%
128 -O preset=SVCD_STILL,lo
129
130 o add "-O dar=XXX:YYY" option; calculate SAR from framesize + DAR.
131
132 o take out the CPU_OPT flag in Makefile, or at least condition it on the
133 actual processor/compile environment. (powerpc -> uname -m = "ppc")
134
135 o figure out what "3rd order", etc, really means and straighten out comments.
136
137 o Make the norm-from-framerate calculation/heuristic more lenient.
138 (Try guess_mpeg_framerate, and see if any of those match.)
139
140 o Double-check the interlacing/chroma-subsampling constraints (has this
141 been done already?). Vertical subsampling must be either frame-based
142 or field-based.
143
144 o Add a "-X" expert flag; turn certain conditions (chroma-mangling) into
145 fatal errors.
146
147 o Make the "Target frame size defaulting to scaled source size" more
148 lenient --- i.e. if scaled source size is non-integral, round it.
149
150 o Don't create (alpha) scalers if they will never be used.
151
152 o Warn (in messages and manpage) about loss of 1-field duration when
153 swapping-interlacing.
154
155 o Should bg chroma be used in output when input is MONO or -S mode=mono??
156 (Currently, it is in first case, but is not in second case!)
157 ...and should it be the src BG chroma, or the tgt BG chroma?
158
159