Home
last modified time | relevance | path

Searched refs:median (Results 1 – 25 of 72) sorted by relevance

123

/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideomedian.c129 gst_video_median_init (GstVideoMedian * median) in gst_video_median_init() argument
131 median->filtersize = DEFAULT_FILTERSIZE; in gst_video_median_init()
132 median->lum_only = DEFAULT_LUM_ONLY; in gst_video_median_init()
233 GstVideoMedian *median = GST_VIDEO_MEDIAN (filter); in gst_video_median_transform_frame() local
235 if (median->filtersize == 5) { in gst_video_median_transform_frame()
242 if (median->lum_only) { in gst_video_median_transform_frame()
266 if (median->lum_only) { in gst_video_median_transform_frame()
292 GstVideoMedian *median; in gst_video_median_set_property() local
294 median = GST_VIDEO_MEDIAN (object); in gst_video_median_set_property()
298 median->filtersize = g_value_get_enum (value); in gst_video_median_set_property()
[all …]
/third_party/ffmpeg/libavcodec/
Dwavpack.h97 int median[3]; member
103 #define GET_MED(n) ((c->median[n] >> 4) + 1)
104 #define DEC_MED(n) c->median[n] -= ((int)(c->median[n] + (128U >> (n)) - 2) / (128 >> (n))) * 2U
105 #define INC_MED(n) c->median[n] += ((int)(c->median[n] + (128U >> (n)) ) / (128 >> (n))) * 5U
Dwavpack.c182 if ((ctx->ch[0].median[0] < 2U) && (ctx->ch[1].median[0] < 2U) && in wv_get_value()
202 memset(ctx->ch[0].median, 0, sizeof(ctx->ch[0].median)); in wv_get_value()
203 memset(ctx->ch[1].median, 0, sizeof(ctx->ch[1].median)); in wv_get_value()
1265 s->ch[j].median[i] = wp_exp2(bytestream2_get_le16(&gb)); in wavpack_decode_block()
/third_party/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c101 unsigned long median, switches1, num_switches, num_overhead_switches; in main() local
256 median = compute_median(diffs, max_diff); in main()
258 (double)median / 20.0, (double)(median - overhead) / 20.0); in main()
440 unsigned long median = 0; in compute_median() local
457 median = count; in compute_median()
460 return (median); in compute_median()
/third_party/skia/tools/
DStats.h27 min = max = mean = var = median = 0; in Stats()
52 median = sorted[n/2]; in Stats()
76 double median; member
/third_party/vk-gl-cts/framework/common/
DtcuCPUWarmup.cpp58 const float median = floatMedian(v); in floatRelativeMedianAbsoluteDeviation() local
62 absoluteDeviations[i] = deFloatAbs((float)v[i] - median); in floatRelativeMedianAbsoluteDeviation()
64 return floatMedian(absoluteDeviations) / median; in floatRelativeMedianAbsoluteDeviation()
/third_party/ffmpeg/tests/fate/
Dutvideo.mak76 fate-utvideoenc_rgba_median: OPTS = -pix_fmt gbrap -pred median
85 fate-utvideoenc_rgb_median: OPTS = -pix_fmt gbrp -pred median
94 fate-utvideoenc_yuv420_median: OPTS = -pix_fmt yuv420p -pred median
103 fate-utvideoenc_yuv422_median: OPTS = -pix_fmt yuv422p -pred median
112 fate-utvideoenc_yuv444_median: OPTS = -pix_fmt yuv444p -pred median
/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.cpp57 double median; member
91 result.median = (double)sortedValues[n]; in calculateStats()
547 …log << TestLog::Message << "Interleaved median: " << interleaved.median << TestLog::EndMess… in logAndSetTestResult()
553 log << TestLog::Message << "Batched median: " << batched.median << TestLog::EndMessage; in logAndSetTestResult()
559 …::Message << "Batched/Interleaved median ratio: " << (interleaved.median/batched.median) << TestLo… in logAndSetTestResult()
561 …EST_RESULT_PASS, de::floatToString((float)(((double)interleaved.median) / batched.median), 2).c_st… in logAndSetTestResult()
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_shader_trinary_minmax.txt37 or median of three inputs to be found with a single function call. These
101 …| genType mid3(genType x, genType y, genType z) | Returns the per-component median value of x,…
102 …| genIType mid3(genIType x, genIType y, genIType z) | Returns the per-component median value of x,…
103 …| genUType mid3(genUType x, genUType y, genUType z) | Returns the per-component median value of x,…
/third_party/openGLES/extensions/AMD/
DAMD_shader_trinary_minmax.txt37 or median of three inputs to be found with a single function call. These
101 …| genType mid3(genType x, genType y, genType z) | Returns the per-component median value of x,…
102 …| genIType mid3(genIType x, genIType y, genIType z) | Returns the per-component median value of x,…
103 …| genUType mid3(genUType x, genUType y, genUType z) | Returns the per-component median value of x,…
/third_party/python/Doc/library/
Dstatistics.rst49 :func:`median` Median (middle value) of data.
50 :func:`median_low` Low median of data.
51 :func:`median_high` High median of data.
123 <https://en.wikipedia.org/wiki/Central_tendency>`_, see :func:`median`.
215 .. function:: median(data)
217 Return the median (middle value) of numeric data, using the common "mean of
221 The median is a robust measure of central location and is less affected by
227 >>> median([1, 3, 5])
230 When the number of data points is even, the median is interpolated by taking
235 >>> median([1, 3, 5, 7])
[all …]
/third_party/ntfs-3g/libntfs-3g/
Dindex.c942 int i = 0, median; in ntfs_ie_get_median() local
956 median = i / 2 - 1; in ntfs_ie_get_median()
958 ntfs_log_trace("Entries: %d median: %d\n", i, median); in ntfs_ie_get_median()
960 for (i = 0, ie = ie_start; i <= median; i++) in ntfs_ie_get_median()
1143 INDEX_ENTRY *median, VCN new_vcn) in ntfs_ib_copy_tail() argument
1157 ie_head = ntfs_ie_get_next(median); in ntfs_ib_copy_tail()
1435 static int ntfs_ir_insert_median(ntfs_index_context *icx, INDEX_ENTRY *median, in ntfs_ir_insert_median() argument
1448 le16_to_cpu(median->length); in ntfs_ir_insert_median()
1449 if (!(median->ie_flags & INDEX_ENTRY_NODE)) in ntfs_ir_insert_median()
1460 return ntfs_ih_insert(&icx->ir->index, median, new_vcn, in ntfs_ir_insert_median()
[all …]
/third_party/ltp/lib/
Dtst_timer_test.c256 long long trunc_mean, median; in do_timer_test() local
298 median = samples[nsamples/2]; in do_timer_test()
307 samples[nsamples-1], samples[0], median, in do_timer_test()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dmediancut.c84 ALWAYS_INLINE static double color_weight (f_pixel median, hist_item h);
247 const f_pixel median = get_median (b, achv); in prepare_sort() local
252 totalvar += (achv[j].color_weight = color_weight (median, achv[j])); in prepare_sort()
309 color_weight (f_pixel median, hist_item h) in color_weight() argument
311 float diff = colordifference (median, h.acolor); in color_weight()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_median_filter.c86 const unsigned median = num_offsets >> 1; in create_frag_shader() local
141 for (i = 0; i <= median; ++i) { in create_frag_shader()
149 if (i == median) in create_frag_shader()
154 ureg_MOV(shader, o_fragment, ureg_src(t_array[median])); in create_frag_shader()
/third_party/ffmpeg/libavfilter/
Dvf_palettegen.c328 uint64_t median, box_weight = 0; in get_palette_frame() local
365 median = (box_weight + 1) >> 1; in get_palette_frame()
371 if (box_weight > median) in get_palette_frame()
374 … ff_dlog(ctx, "split @ i=%-6d with w=%-6"PRIu64" (target=%6"PRIu64")\n", i, box_weight, median); in get_palette_frame()
Dvf_thumbnail.c83 static double frame_sum_square_err(const int *hist, const double *median) in frame_sum_square_err() argument
89 err = median[i] - (double)hist[i]; in frame_sum_square_err()
Dvf_thumbnail_cuda.c105 static double frame_sum_square_err(const int *hist, const double *median) in frame_sum_square_err() argument
111 err = median[i] - (double)hist[i]; in frame_sum_square_err()
/third_party/skia/tools/calmbench/
Dab.py277 def median(array): function
282 a = median(timesA[bench])
283 b = median(timesB[bench])
/third_party/skia/tools/skpbench/
D_benchresult.py44 self.median = float(match.group('median'))
/third_party/skia/tools/skp/
Dpage_set_template28 """ Pages designed to represent the median, not highly optimized web """
/third_party/libinput/tools/
Dlibinput-measure-touchpad-pressure.py153 def median(self): member in TouchSequence
186 self.median(),
/third_party/ltp/testcases/lib/
Dtst_net.sh777 local median=$(tst_get_median $results)
778 echo "$median" > $rfile
780 tst_res_ TPASS "netstress passed, median time $median ms, data:$results"
/third_party/vk-gl-cts/doc/testspecs/GLES3/
Dperformance.buffer.data_upload.txt78 parameters. The test result of an upload test is the median transfer rate of the test
102 in range 0 - 256KiB. The result is the median transfer rate of the test samples.
108 commands with different buffer sizes. The result is the median transfer rate of the test
/third_party/node/deps/v8/tools/
Dcallstats.py335 median = numpy.median(data)
358 return { 'samples': N, 'average': average, 'median': median,

123