annotate parser-mecmd.h @ 15441:bc4bcea4c813

added x264enc options: direct_pred, log, (no)deblock deblock{alpha,beta}, (no)cabac, qp_{min,max} 1.933: misc corrections and clarifications in x264 options. 1.934: remove x264 option "cabacidc", because the default is always best. 1.935: Online audio switching now supports Matroska too
author kraymer
date Fri, 13 May 2005 20:19:01 +0000
parents 487cfc28525d
children 1a14fde7680d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8164
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
1
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
2 /// A simple parser with per-entry settings.
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
3
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
4 typedef struct m_entry_st {
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
5 char* name; // Filename, url or whatever
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
6 char** opts; // NULL terminated list of name,val pairs
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
7 } m_entry_t;
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
8
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
9 // Free a list returned by m_config_parse_command_line
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
10 void
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
11 m_entry_list_free(m_entry_t* lst);
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
12 // Use this when you switch to another entry
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
13 int
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
14 m_entry_set_options(m_config_t *config, m_entry_t* entry);
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
15
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
16 m_entry_t*
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
17 m_config_parse_me_command_line(m_config_t *config, int argc, char **argv);
487cfc28525d New config system + cleanup of header inter dependency
albeu
parents:
diff changeset
18