fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Shun SakaiAdd completions for the JPEG XL Reference Software060e79657

master
3.9 KiB101 linesraw
1# Completions for the JPEG XL Reference Software (https://gitlab.com/wg1/jpeg-xl)
2
3complete -c cjxl -s V -l version -d "Print version number"
4complete -c cjxl -l quiet -d "Be more silent"
5complete -c cjxl -l container -d "Encode using container format"
6complete -x -c cjxl -l print_profile -a "0 1" -d "Print timing information"
7complete -x -c cjxl -s d -l distance -a "
8    0.0\t'Mathematically lossless'
9    1.0\t'Visually lossless'
10    " -d "Butteraugli distance"
11complete -x -c cjxl -l target_size -d "Target file size (based on bytes)"
12complete -x -c cjxl -l target_bpp -d "Target file size (based on BPP)"
13complete -x -c cjxl -s q -l quality -a "
14    (seq 0 99)
15    100\t'Mathematically lossless'
16    " -d "Quality setting"
17complete -x -c cjxl -s s -l speed -a "
18    3\tFastest falcon\tFastest
19    4 cheetah
20    5 hare
21    6 wombat
22    7\tDefault squirrel\tDefault
23    8 kitten
24    9\tSlowest tortoise\tSlowest
25    " -d "Encoder speed setting"
26complete -c cjxl -s p -l progressive -d "Enable progressive decoding"
27complete -c cjxl -l middleout -d "Put center groups first in the file"
28complete -c cjxl -l progressive_ac -d "Use the progressive mode for AC"
29complete -c cjxl -l qprogressive_ac -d "Use the progressive mode for AC"
30complete -x -c cjxl -l progressive_dc -d "Use progressive mode for DC"
31complete -c cjxl -s m -l modular -d "Use the modular mode"
32complete -c cjxl -l use_new_heuristics -d "Use new encoder heuristics"
33complete -c cjxl -s j -l jpeg_transcode -d "Do lossy transcode of input JPEG file"
34complete -x -c cjxl -l num_threads -d "Number of worker threads"
35complete -x -c cjxl -l num_reps -d "How many times to compress"
36complete -x -c cjxl -l noise -a "
37    0\tEnable
38    1\tDisable
39    " -d "Force noise generation"
40complete -x -c cjxl -l dots -a "
41    0\tEnable
42    1\tDisable
43    " -d "Force dots generation"
44complete -x -c cjxl -l patches -a "
45    0\tEnable
46    1\tDisable
47    " -d "Force patches generation"
48complete -x -c cjxl -l resampling -a "1 2 4 8" -d "Subsample all color channels"
49complete -x -c cjxl -l epf -d "Edge preserving filter level"
50complete -x -c cjxl -l gaborish -a "0 1" -d "Force disable gaborish"
51complete -x -c cjxl -l intensity_target -d "Intensity target of monitor in nits"
52complete -x -c cjxl -l saliency_num_progressive_steps
53complete -x -c cjxl -l saliency_map_filename
54complete -x -c cjxl -l saliency_threshold
55complete -x -c cjxl -s x -l dec-hints
56complete -x -c cjxl -l override_bitdepth -a "
57    0\t'Use from image'
58    (seq 1 32)\tOverride
59    " -d "Store the given bit depth in the metadata"
60complete -x -c cjxl -s c -l colortransform -a "
61    0\tXYB
62    1\tNone
63    2\tYCbCr"
64complete -x -c cjxl -s Q -l mquality -d "Lossy quality"
65complete -x -c cjxl -s I -l iterations -d "Fraction of pixels used to learn MA trees"
66complete -x -c cjxl -s C -l colorspace -a "
67    0\tRGB
68    1\tYCoCg
69    (seq 2 37)\tRCT
70    " -d "Color transform"
71complete -x -c cjxl -s g -l group-size -d "Set group size"
72complete -x -c cjxl -s P -l predictor -a "
73    0\tZero
74    1\tLeft
75    2\tTop
76    3\tAverage0
77    4\tSelect
78    5\tGradient
79    6\tWeighted
80    7\tTopRight
81    8\tTopLeft
82    9\tLeftLeft
83    10\tAverage1
84    11\tAverage2
85    12\tAverage3
86    13\t'TopTop predictive average'
87    14\t'Mix Gradient and Weighted'
88    15\t'Mix everything'
89    " -d "Predictor to use"
90complete -x -c cjxl -s E -l extra-properties -d "Number of extra MA tree properties"
91complete -x -c cjxl -s N -l near-lossless -d "Apply near-lossless preprocessing"
92complete -x -c cjxl -l palette -d "Use a palette"
93complete -c cjxl -l lossy-palette -d "Quantize to a lossy palette"
94complete -x -c cjxl -s X -l pre-compact -d "Compact channels (globally)"
95complete -x -c cjxl -s Y -l post-compact -d "Compact channels (per-group)"
96complete -x -c cjxl -s R -l responsive -a "
97    0\tFalse
98    1\tTrue
99    " -d "Do squeeze transform"
100complete -c cjxl -s v -l verbose -d "Verbose output"
101complete -c cjxl -s h -l help -d "Print help message"