- changed status to closed
version safe way to set the source picture dimensions in x265_param
Issue #63
closed
Hi,
In the x265.h interface, it is mentioned that:
/* For version safety you may use x265_param_alloc/free() to manage the
* allocation of x265_param instances, and x265_param_parse() to assign values
* by name. By never dereferencing param fields in your own code you can treat
* x265_param as an opaque data structure */
so by using x265_param_parse() function in param.cpp to assign all the parameter values is version-safe and indeed a better way.
However, the following switch is currently not supported yet in x265_param_parse()
--input-res
(which sets the sourceWidth and sourceHeight of source picture)
It would be much appreciated if the "--input-res" could be supported in x265_param_parse(), and so the sourceWidth and sourceHeight could also be set in a version-safe way.
Thanks!
regards,
Albert.
Comments (1)
-
- Log in to comment
param: move --input-res parsing to x265_param_parse (closes
#63)→ <<cset 67c7bfda7c28>>