lavfi: add internal functions for parsing format arguments