Replies: 1 comment 2 replies
-
I attempted to split out the CLI parts, and not use internal API. The result is:
If you'd like to see what it looks like, it is up at bradh@801fdb2 It will compile and run OK with use of:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to duplicate the functionality of the command line app (
encmain.c
) using Java (to test a set of bindings using javacpp-presets).However there appears to be a set of internal functions and constants that are called from that. For example, the padding determination requires
CU_MIN_SIZE_PIXELS
which isn't exposed. Similarly, there are places where the code requires values from thekvz_encoder
opaque structure (e.g. to get bit depth, frame rate, format, etc) - some of that might be possible to avoid if we saved off thecfg
but possibly not all.Should it be possible to duplicate the command line encoder without internal API? If so, possibly the command line parts should be moved out of the
src
directory and only call API that is exposed throughkvazaar.h
.Thoughts? Ideas?
Beta Was this translation helpful? Give feedback.
All reactions