summaryrefslogtreecommitdiffstats
path: root/libhb/encx264.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-09-09 01:17:10 +0000
committerRodeo <[email protected]>2012-09-09 01:17:10 +0000
commit9a4cc6f98065d5887faa3e202dc42b71a41a4c4e (patch)
treea2035c8d5082207161e417f1e57aab8c07d97bb7 /libhb/encx264.h
parentac59f6afae162450e7d3a4af8106dba75bc5b88f (diff)
encx264: make hb_x264_encopt_synonyms two-dimensional instead of faking it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4946 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/encx264.h')
-rw-r--r--libhb/encx264.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/libhb/encx264.h b/libhb/encx264.h
index e7c4b08f6..427ea2861 100644
--- a/libhb/encx264.h
+++ b/libhb/encx264.h
@@ -15,29 +15,29 @@ static const int const hb_h264_level_values[] = { 10, 9, 11, 12,
/* x264 preferred option names (left) and synonyms (right).
* The "preferred" names match names used in x264's param2string function more
* closely than their corresponding synonyms, or are just shorter. */
-static const char * const hb_x264_encopt_synonyms[] =
+static const char * const hb_x264_encopt_synonyms[][2] =
{
- "deterministic", "n-deterministic",
- "level", "level-idc",
- "ref", "frameref",
- "keyint-min", "min-keyint",
- "deblock", "filter",
- "analyse", "partitions",
- "weightb", "weight-b",
- "direct", "direct-pred",
- "merange", "me-range",
- "mvrange", "mv-range",
- "mvrange-thread", "mv-range-thread",
- "subme", "subq",
- "qp", "qp_constant",
- "qpmin", "qp-min",
- "qpmax", "qp-max",
- "qpstep", "qp-step",
- "ipratio", "ip-factor",
- "pbratio", "pb-factor",
- "cplxblur", "cplx-blur",
- "cqm", "cqmfile",
- 0
+ { "deterministic", "n-deterministic", },
+ { "level", "level-idc", },
+ { "ref", "frameref", },
+ { "keyint-min", "min-keyint", },
+ { "deblock", "filter", },
+ { "analyse", "partitions", },
+ { "weightb", "weight-b", },
+ { "direct", "direct-pred", },
+ { "merange", "me-range", },
+ { "mvrange", "mv-range", },
+ { "mvrange-thread", "mv-range-thread", },
+ { "subme", "subq", },
+ { "qp", "qp_constant", },
+ { "qpmin", "qp-min", },
+ { "qpmax", "qp-max", },
+ { "qpstep", "qp-step", },
+ { "ipratio", "ip-factor", },
+ { "pbratio", "pb-factor", },
+ { "cplxblur", "cplx-blur", },
+ { "cqm", "cqmfile", },
+ { NULL, NULL, },
};
int hb_apply_h264_level(x264_param_t *param,