minor changes
This commit is contained in:
parent
756766ca42
commit
e6b72e5faa
@ -186,7 +186,7 @@ puts("\t-F\toutput:filter:chain");
|
|||||||
// puts("\t-g\tconvert to gray");
|
// puts("\t-g\tconvert to gray");
|
||||||
puts("\t-I\tinput glob pattern");
|
puts("\t-I\tinput glob pattern");
|
||||||
puts("\t-L\tlist available filters");
|
puts("\t-L\tlist available filters");
|
||||||
puts("\t-O\toutput directory");
|
puts("\t-O\toutput directory (default p8/)");
|
||||||
puts("\t-T\tfifo size");
|
puts("\t-T\tfifo size");
|
||||||
puts("\t-v\tincrease verbosity");
|
puts("\t-v\tincrease verbosity");
|
||||||
|
|
||||||
|
@ -14,9 +14,8 @@ int verbosity;
|
|||||||
/* --------------------------------------------------------------- */
|
/* --------------------------------------------------------------- */
|
||||||
|
|
||||||
int triplane_muxer(FloatImg *sr, FloatImg *sg, FloatImg *sb,
|
int triplane_muxer(FloatImg *sr, FloatImg *sg, FloatImg *sb,
|
||||||
FloatImg *dst, int flags)
|
FloatImg *dst)
|
||||||
{
|
{
|
||||||
int foo;
|
|
||||||
int sz;
|
int sz;
|
||||||
|
|
||||||
if (FIMG_TYPE_RGB != dst->type) {
|
if (FIMG_TYPE_RGB != dst->type) {
|
||||||
@ -48,6 +47,10 @@ FloatImg imr, img, imb, dest;
|
|||||||
|
|
||||||
fprintf(stderr, "muxing: %s %s %s -> %s\n", fr, fg, fb, dst);
|
fprintf(stderr, "muxing: %s %s %s -> %s\n", fr, fg, fb, dst);
|
||||||
|
|
||||||
|
if (flags) {
|
||||||
|
fprintf(stderr, "%s: flag non 0 ?\n", __FILE__);
|
||||||
|
}
|
||||||
|
|
||||||
foo = fimg_create_from_dump(fr, &imr);
|
foo = fimg_create_from_dump(fr, &imr);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
fprintf(stderr, "%s: err %d loading %s\n", __func__, foo, fr);
|
fprintf(stderr, "%s: err %d loading %s\n", __func__, foo, fr);
|
||||||
@ -66,7 +69,7 @@ if (foo) {
|
|||||||
|
|
||||||
fimg_clone(&imr, &dest, 0);
|
fimg_clone(&imr, &dest, 0);
|
||||||
|
|
||||||
foo = triplane_muxer(&imr, &img, &imb, &dest, 0);
|
foo = triplane_muxer(&imr, &img, &imb, &dest);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
fprintf(stderr, "%s: err %d\n", __func__, foo);
|
fprintf(stderr, "%s: err %d\n", __func__, foo);
|
||||||
return foo;
|
return foo;
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
* https://git.tetalab.org/tTh/FloatImg
|
* https://git.tetalab.org/tTh/FloatImg
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define FIMG_VERSION (242)
|
#define FIMG_VERSION (243)
|
||||||
#define RELEASE_NAME ("noname")
|
#define RELEASE_NAME ("noname")
|
||||||
#define PATCH_LEVEL ("aaaa")
|
#define PATCH_LEVEL ("aaaa")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user