Home
last modified time | relevance | path

Searched refs:histogram_size (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_histogram.c39 int histogram_size; member
213 s->histogram_size = 1 << s->desc->comp[0].depth; in config_input()
214 s->mult = s->histogram_size / 256; in config_input()
233 s->start[1] = s->start[2] = s->histogram_size / 2; in config_input()
269 outlink->h = s->histogram_size * FFMAX(ncomp * (s->display_mode == 2), 1); in config_output()
271 outlink->w = s->histogram_size * FFMAX(ncomp * (s->display_mode == 1), 1); in config_output()
303 if (s->histogram_size <= 256) { in filter_frame()
322 const int max_value = s->histogram_size - 1 - s->start[p]; in filter_frame()
332 starty = m * s->histogram_size * (s->display_mode == 2); in filter_frame()
335 startx = m * s->histogram_size * (s->display_mode == 1); in filter_frame()
[all …]
Dvf_midequalizer.c35 int histogram_size; member
116 … s->width[0][p] * (1 + (s->histogram_size > 256)), s->height[0][p]); in process_frame()
127 s->cchange, s->histogram_size); in process_frame()
262 s->histogram_size = 1 << desc->comp[0].depth; in config_input0()
264 s->histogram[0] = av_calloc(s->histogram_size, sizeof(float)); in config_input0()
265 s->histogram[1] = av_calloc(s->histogram_size, sizeof(float)); in config_input0()
266 s->cchange = av_calloc(s->histogram_size, sizeof(unsigned)); in config_input0()
270 if (s->histogram_size == 256) { in config_input0()
Dvf_tmidequalizer.c44 int histogram_size; member
199 s->histogram_size); in filter_frame()
211 s->histogram_size * sizeof(float)); in filter_frame()
226 s->histogram_size * sizeof(float)); in filter_frame()
241 s->histogram_size); in filter_frame()
272 … s->nb_frames, s->radius, s->histogram_size, s->change[p], idx); in filter_frame()
346 s->histogram_size = 1 << s->depth; in config_input()
353 s->histogram[p][n] = av_calloc(s->histogram_size, sizeof(float)); in config_input()
358 s->change[p] = av_calloc(s->histogram_size, sizeof(float)); in config_input()
Daf_adeclick.c45 int histogram_size; member
420 av_fast_malloc(&c->histogram, &c->histogram_size, s->nb_hbins * sizeof(*c->histogram)); in detect_clips()
737 c->histogram_size = 0; in uninit()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c166 int histogram_size, in GenerateOptimalTree() argument
174 for (i = 0; i < histogram_size; ++i) { in GenerateOptimalTree()
197 for (j = 0; j < histogram_size; ++j) { in GenerateOptimalTree()
246 for (j = 1; j < histogram_size; ++j) { in GenerateOptimalTree()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_encode_utils.c166 int histogram_size, in GenerateOptimalTree() argument
174 for (i = 0; i < histogram_size; ++i) { in GenerateOptimalTree()
197 for (j = 0; j < histogram_size; ++j) { in GenerateOptimalTree()
246 for (j = 1; j < histogram_size; ++j) { in GenerateOptimalTree()
/third_party/node/deps/brotli/c/enc/
Dbackward_references_hq.c103 static void SetCost(const uint32_t* histogram, size_t histogram_size, in SetCost() argument
110 for (i = 0; i < histogram_size; i++) { in SetCost()
116 for (i = 0; i < histogram_size; i++) { in SetCost()
121 for (i = 0; i < histogram_size; i++) { in SetCost()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbackward_references_hq.c103 static void SetCost(const uint32_t* histogram, size_t histogram_size, in SetCost() argument
110 for (i = 0; i < histogram_size; i++) { in SetCost()
116 for (i = 0; i < histogram_size; i++) { in SetCost()
121 for (i = 0; i < histogram_size; i++) { in SetCost()