Home
last modified time | relevance | path

Searched refs:elbg (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Delbg.c84 static int eval_error_cell(elbg_data *elbg, int *centroid, cell *cells) in eval_error_cell() argument
88 … error += distance_limited(centroid, elbg->points + cells->index*elbg->dim, elbg->dim, INT_MAX); in eval_error_cell()
93 static int get_closest_codebook(elbg_data *elbg, int index) in get_closest_codebook() argument
96 for (i=0; i<elbg->numCB; i++) in get_closest_codebook()
98 …diff = distance_limited(elbg->codebook + i*elbg->dim, elbg->codebook + index*elbg->dim, elbg->dim,… in get_closest_codebook()
107 static int get_high_utility_cell(elbg_data *elbg) in get_high_utility_cell() argument
113 if (elbg->utility_inc[elbg->numCB-1] < INT_MAX) { in get_high_utility_cell()
114 r = av_lfg_get(elbg->rand_state) % (unsigned int)elbg->utility_inc[elbg->numCB-1] + 1; in get_high_utility_cell()
116 r = av_lfg_get(elbg->rand_state); in get_high_utility_cell()
117 r = (av_lfg_get(elbg->rand_state) + (r<<32)) % elbg->utility_inc[elbg->numCB-1] + 1; in get_high_utility_cell()
[all …]
DMakefile163 OBJS-$(CONFIG_A64MULTI_ENCODER) += a64multienc.o elbg.o
164 OBJS-$(CONFIG_A64MULTI5_ENCODER) += a64multienc.o elbg.o
265 OBJS-$(CONFIG_CINEPAK_ENCODER) += cinepakenc.o elbg.o
521 OBJS-$(CONFIG_MSVIDEO1_ENCODER) += msvideo1enc.o elbg.o
595 OBJS-$(CONFIG_ROQ_ENCODER) += roqvideoenc.o roqvideo.o elbg.o
1001 OBJS-$(CONFIG_ELBG_FILTER) += elbg.o
/third_party/ffmpeg/libavfilter/
Dvf_elbg.c65 AVFILTER_DEFINE_CLASS(elbg);
69 ELBGContext *elbg = ctx->priv; in init() local
71 if (elbg->pal8 && elbg->codebook_length > 256) { in init()
76 if (elbg->lfg_seed == -1) in init()
77 elbg->lfg_seed = av_get_random_seed(); in init()
79 av_lfg_init(&elbg->lfg, elbg->lfg_seed); in init()
85 ELBGContext *elbg = ctx->priv; in query_formats() local
93 if (!elbg->pal8) { in query_formats()
115 ELBGContext *elbg = ctx->priv; in config_input() local
117 elbg->pix_desc = av_pix_fmt_desc_get(inlink->format); in config_input()
[all …]
/third_party/ffmpeg/
DBUILD.gn308 # "//third_party/ffmpeg/libavcodec/elbg.c",
DChangelog919 - elbg filter
/third_party/ffmpeg/doc/
Dfilters.texi11098 @section elbg