#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "internal.h"
#include <x264.h>
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
#define OPT_STR |
( |
|
opt, |
|
|
|
param |
|
) |
| |
Value:do { \
if (param!=NULL && (ret = x264_param_parse(&x4->params, opt, param)) < 0) { \
if(ret == X264_PARAM_BAD_NAME) \
"bad option '%s': '%s'\n", opt, param);
\
"bad value for '%s': '%s'\n", opt, param); \
return -1; \
} \
} while (0)
Definition at line 237 of file libx264.c.
Referenced by X264_init().
#define PARSE_X264_OPT |
( |
|
name, |
|
|
|
var |
|
) |
| |
Value:if (x4->var && x264_param_parse(&x4->params,
name, x4->var) < 0) {\
av_log(avctx,
AV_LOG_ERROR,
"Error parsing option '%s' with value '%s'.\n",
name, x4->var);\
}
Definition at line 274 of file libx264.c.
Referenced by X264_init().
static void X264_log |
( |
void * |
p, |
|
|
int |
level, |
|
|
const char * |
fmt, |
|
|
va_list |
args |
|
) |
| |
|
static |
static int avfmt2_num_planes |
( |
int |
avfmt | ) |
|
|
static |
Initial value:= {
.class_name = "libx264",
}
Definition at line 679 of file libx264.c.
Initial value:= {
.class_name = "libx264rgb",
}
Definition at line 686 of file libx264.c.
Initial value:= {
{ "b", "0" },
{ "bf", "-1" },
{ "flags2", "0" },
{ "g", "-1" },
{ "i_qfactor", "-1" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "qdiff", "-1" },
{ "qblur", "-1" },
{ "qcomp", "-1" },
{ "refs", "-1" },
{ "sc_threshold", "-1" },
{ "trellis", "-1" },
{ "nr", "-1" },
{ "me_range", "-1" },
{ "me_method", "-1" },
{ "subq", "-1" },
{ "b_strategy", "-1" },
{ "keyint_min", "-1" },
{ "coder", "-1" },
{ "cmp", "-1" },
{ "thread_type", "0" },
{ "flags", "+cgop" },
{ "rc_init_occupancy","-1" },
{ NULL },
}
Definition at line 693 of file libx264.c.
Initial value:= {
.name = "libx264rgb",
}
Definition at line 738 of file libx264.c.