Home
last modified time | relevance | path

Searched full:cdf (Results 1 – 25 of 1242) sorted by relevance

12345678910>>...50

/aosp_15_r20/external/libgav1/src/utils/
H A Dentropy_decoder.cc55 // decreasing as the values of index increases (note that the |cdf| array is
57 uint32_t ScaleCdf(uint32_t values_in_range_shifted, const uint16_t* const cdf, in ScaleCdf() argument
59 return ((values_in_range_shifted * (cdf[index] >> kCdfPrecision)) >> 1) + in ScaleCdf()
63 void UpdateCdf(uint16_t* LIBGAV1_RESTRICT const cdf, const int symbol_count, in UpdateCdf() argument
65 const uint16_t count = cdf[symbol_count]; in UpdateCdf()
67 // 3 + ( cdf[N] > 15 ) + ( cdf[N] > 31 ) + Min(FloorLog2(N), 2) in UpdateCdf()
68 // In this case cdf[N] is |count|. in UpdateCdf()
98 // cdf[i] += static_cast<int16_t>(a - cdf[i]) >> rate; in UpdateCdf()
101 // The subtraction (a - cdf[i]) relies on the overflow semantics of unsigned in UpdateCdf()
110 cdf[i] += (kCdfMaxProbability - cdf[i]) >> rate; in UpdateCdf()
[all …]
H A Dentropy_decoder.h45 int ReadSymbol(uint16_t* cdf, int symbol_count);
48 bool ReadSymbol(uint16_t* cdf);
49 bool ReadSymbolWithoutCdfUpdate(uint16_t cdf);
54 int ReadSymbol(uint16_t* cdf);
60 // Reads a symbol using the |cdf| table which contains the probabilities of
62 // 1) Scale the |cdf| values.
63 // 2) Find the index in the |cdf| array where the scaled CDF value crosses
68 inline int ReadSymbolImpl(const uint16_t* cdf, int symbol_count);
72 inline int ReadSymbolImplBinarySearch(const uint16_t* cdf, int symbol_count);
75 inline int ReadSymbolImpl(uint16_t cdf);
[all …]
H A Dentropy_decoder_test.cc32 // bool EntropyDecoder::ReadSymbol(uint16_t* cdf).
34 // int EntropyDecoder::ReadSymbol(uint16_t* cdf, int symbol_count)
44 // int EntropyDecoder::ReadSymbol<N>(uint16_t* const cdf).
46 // int EntropyDecoder::ReadSymbol(uint16_t* cdf, int symbol_count)
102 uint16_t cdf[4][3] = { in TestReadSymbolBoolean() local
114 symbols[index++] = reader.ReadSymbol(cdf[k]); in TestReadSymbolBoolean()
116 symbols[index++] = reader.ReadSymbol(cdf[k], 2) != 0; in TestReadSymbolBoolean()
154 uint16_t cdf[4][4] = { in TestReadSymbol3() local
170 symbols[index++] = reader.ReadSymbol<3>(cdf[k]); in TestReadSymbol3()
172 symbols[index++] = reader.ReadSymbol(cdf[k], 3); in TestReadSymbol3()
[all …]
/aosp_15_r20/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/format/
H A DCompactDecimalFormatTest.java353 // CompactDecimalFormat cdf = new CompactDecimalFormat(
365 // checkCdf("special cdf ", cdf, testItems);
373 CompactDecimalFormat cdf = in TestDefaultSignificantDigits() local
375 assertEquals("Default significant digits", "123K", cdf.format(123456)); in TestDefaultSignificantDigits()
376 assertEquals("Default significant digits", "12K", cdf.format(12345)); in TestDefaultSignificantDigits()
377 assertEquals("Default significant digits", "1.2K", cdf.format(1234)); in TestDefaultSignificantDigits()
378 assertEquals("Default significant digits", "123", cdf.format(123)); in TestDefaultSignificantDigits()
383 CompactDecimalFormat cdf = in TestCharacterIterator() local
385 AttributedCharacterIterator iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
387 iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
[all …]
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DCompactDecimalFormatTest.java356 // CompactDecimalFormat cdf = new CompactDecimalFormat(
368 // checkCdf("special cdf ", cdf, testItems);
376 CompactDecimalFormat cdf = in TestDefaultSignificantDigits() local
378 assertEquals("Default significant digits", "123K", cdf.format(123456)); in TestDefaultSignificantDigits()
379 assertEquals("Default significant digits", "12K", cdf.format(12345)); in TestDefaultSignificantDigits()
380 assertEquals("Default significant digits", "1.2K", cdf.format(1234)); in TestDefaultSignificantDigits()
381 assertEquals("Default significant digits", "123", cdf.format(123)); in TestDefaultSignificantDigits()
386 CompactDecimalFormat cdf = in TestCharacterIterator() local
388 AttributedCharacterIterator iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
390 iter = cdf.formatToCharacterIterator(1234567); in TestCharacterIterator()
[all …]
/aosp_15_r20/external/libdav1d/tests/checkasm/
H A Dmsac.c39 typedef unsigned (*decode_symbol_adapt_fn)(MsacContext *s, uint16_t *cdf,
41 typedef unsigned (*decode_adapt_fn)(MsacContext *s, uint16_t *cdf);
55 static void randomize_cdf(uint16_t *const cdf, const int n) { in randomize_cdf() argument
58 cdf[i] = 0; // padding in randomize_cdf()
59 cdf[i] = 0; // count in randomize_cdf()
61 cdf[i - 1] = cdf[i] + rnd() % (32768 - cdf[i] - i) + 1; in randomize_cdf()
100 fprintf(stderr, "cdf:\n"); in msac_dump()
121 randomize_cdf(cdf[0], ns); \
122 memcpy(cdf[1], cdf[0], sizeof(*cdf)); \
124 unsigned c_res = call_ref(&s_c, cdf[0], ns); \
[all …]
/aosp_15_r20/external/libaom/tools/
H A Dgen_constrained_tokenset.py15 from a Pareto distribution. The cdf of the distribution is:
16 cdf(x) = 0.5 + 0.5 * sgn(x) * [1 - {alpha/(alpha + |x|)} ^ beta]
37 cdf = cdf_spareto
40 return ((cdf(1.5, x, beta) - cdf(0.5, x, beta)) /
41 (1 - cdf(0.5, x, beta)) - p)**2
45 parray[0] = 2 * (cdf(0.5, alpha, beta) - 0.5)
46 parray[1] = (2 * (cdf(1.5, alpha, beta) - cdf(0.5, alpha, beta)))
47 parray[2] = (2 * (cdf(2.5, alpha, beta) - cdf(1.5, alpha, beta)))
48 parray[3] = (2 * (cdf(3.5, alpha, beta) - cdf(2.5, alpha, beta)))
49 parray[4] = (2 * (cdf(4.5, alpha, beta) - cdf(3.5, alpha, beta)))
[all …]
/aosp_15_r20/external/libgav1/src/tile/bitstream/
H A Dpartition.cc31 // The spec computes the cdf value using the following formula (not writing in PartitionCdfGatherHorizontalAlike()
33 // cdf = None - H + V - S + S - HTS + HTS - HBS + HBS - VLS; in PartitionCdfGatherHorizontalAlike()
35 // cdf += VRS - H4; in PartitionCdfGatherHorizontalAlike()
38 // cdf = None - H + V - VLS; in PartitionCdfGatherHorizontalAlike()
40 // cdf += VRS - H4; in PartitionCdfGatherHorizontalAlike()
42 uint16_t cdf = partition_cdf[kPartitionNone] - in PartitionCdfGatherHorizontalAlike() local
47 cdf += partition_cdf[kPartitionVerticalWithRightSplit] - in PartitionCdfGatherHorizontalAlike()
50 return cdf; in PartitionCdfGatherHorizontalAlike()
55 // The spec computes the cdf value using the following formula (not writing in PartitionCdfGatherVerticalAlike()
57 // cdf = H - V + V - S + HBS - VLS + VLS - VRS + S - HTS; in PartitionCdfGatherVerticalAlike()
[all …]
/aosp_15_r20/external/libdav1d/src/arm/32/
H A Dmsac.S176 // unsigned dav1d_msac_decode_symbol_adapt4_neon(MsacContext *s, uint16_t *cdf,
185 vld1_align_n d0, q0, q1, r1, \n // cdf
194 vand_n d4, q2, q3, d0, q0, q1, d28, q14, q14, \n // cdf & 0xffc0
200 …vqdmulh_n d20, q10, q11, d4, q2, q3, d22, q11, q11, \n // ((cdf >> EC_PROB_SHIFT) * (r - …
203 …vadd_n d16, q8, q9, d4, q2, q3, d16, q8, q9, \n // v = cdf + EC_MIN_PROB * (n_symb…
207 …vadd_n d16, q8, q9, d20, q10, q11, d16, q8, q9, \n // v = ((cdf >> EC_PROB_SHIFT) * r…
238 ldrh r3, [r1, r10] // count = cdf[n_symbols]
254 …sub_n d16, q8, q9, d16, q8, q9, d0, q0, q1, \n // (32768 - cdf[i]) or (-1 - cdf[i])
262 vsub_n d0, q0, q1, d0, q0, q1, d4, q2, q3, \n // cdf + (i >= val ? 1 : 0)
263 … vshl_n d16, q8, q9, d16, q8, q9, d20, q10, q10, \n // ({32768,-1} - cdf[i]) >> rate
[all …]
/aosp_15_r20/external/libdav1d/src/
H A Dmsac.c130 /* Decodes a symbol given an inverse cumulative distribution function (CDF)
133 uint16_t *const cdf, in dav1d_msac_decode_symbol_adapt_c() argument
140 assert(cdf[n_symbols] <= 32); in dav1d_msac_decode_symbol_adapt_c()
145 v = r * (cdf[val] >> EC_PROB_SHIFT); in dav1d_msac_decode_symbol_adapt_c()
155 const unsigned count = cdf[n_symbols]; in dav1d_msac_decode_symbol_adapt_c()
159 cdf[i] += (32768 - cdf[i]) >> rate; in dav1d_msac_decode_symbol_adapt_c()
161 cdf[i] -= cdf[i] >> rate; in dav1d_msac_decode_symbol_adapt_c()
162 cdf[n_symbols] = count + (count < 32); in dav1d_msac_decode_symbol_adapt_c()
169 uint16_t *const cdf) in dav1d_msac_decode_bool_adapt_c() argument
171 const unsigned bit = dav1d_msac_decode_bool(s, *cdf); in dav1d_msac_decode_bool_adapt_c()
[all …]
H A Ddecode.c112 dav1d_msac_decode_symbol_adapt4(msac, ts->cdf.mv.joint, N_MV_JOINTS - 1); in read_mv_residual()
114 ref_mv->y += read_mv_component_diff(msac, &ts->cdf.mv.comp[0], mv_prec); in read_mv_residual()
116 ref_mv->x += read_mv_component_diff(msac, &ts->cdf.mv.comp[1], mv_prec); in read_mv_residual()
136 t->ts->cdf.m.txpart[cat][a + l]); in read_tx_tree()
426 ts->cdf.m.color_map[pl][b->pal_sz[pl] - 2]; in read_pal_indices()
832 ts->cdf.m.seg_pred[t->a->seg_pred[bx4] + in decode_b()
852 ts->cdf.m.seg_id[seg_ctx], in decode_b()
878 ts->cdf.m.skip_mode[smctx]); in decode_b()
890 b->skip = dav1d_msac_decode_bool_adapt(&ts->msac, ts->cdf.m.skip[sctx]); in decode_b()
902 ts->cdf.m.seg_pred[t->a->seg_pred[bx4] + in decode_b()
[all …]
/aosp_15_r20/external/libdav1d/src/arm/64/
H A Dmsac.S120 // unsigned dav1d_msac_decode_symbol_adapt4_neon(MsacContext *s, uint16_t *cdf,
129 ld1_n v0, v1, x1, \sz, \n // cdf
139 and_n v2, v3, v0, v1, v30, v30, \szb, \n // cdf & 0xffc0
142 …sqdmulh_n v6, v7, v2, v3, v7, v7, \sz, \n // ((cdf >> EC_PROB_SHIFT) * (r - 128)) …
145 …add_n v4, v5, v2, v3, v4, v5, \sz, \n // v = cdf + EC_MIN_PROB * (n_symbols - …
146 …add_n v4, v5, v6, v7, v4, v5, \sz, \n // v = ((cdf >> EC_PROB_SHIFT) * r) >> 1…
190 ldrh w3, [x1, x2, lsl #1] // count = cdf[n_symbols]
203 sub_n v16, v17, v0, v1, v2, v3, \sz, \n // cdf + (i >= val ? 1 : 0)
217 … sub_n v2, v3, v2, v3, v0, v1, \sz, \n // (32768 - cdf[i]) or (-1 - cdf[i])
221 sshl_n v2, v3, v2, v3, v6, v6, \sz, \n // ({32768,-1} - cdf[i]) >> rate
[all …]
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/
H A Dcompactdecimalformattest.cpp260 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
334 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() local
341 cdf->format(1234567.0, result, fp); in TestFieldPosition()
371 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() local
379 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
380 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
381 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
382 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
387 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() local
401 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
[all …]
/aosp_15_r20/external/icu/icu4c/source/test/intltest/
H A Dcompactdecimalformattest.cpp261 const CompactDecimalFormat* cdf, const ExpectedResult* expectedResult,
335 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance("sw", UNUM_SHORT, status)); in TestFieldPosition() local
342 cdf->format(1234567.0, result, fp); in TestFieldPosition()
372 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestDefaultSignificantDigits() local
380 assertEquals("Default significant digits", u"123K", cdf->format(123456, actual.remove())); in TestDefaultSignificantDigits()
381 assertEquals("Default significant digits", u"12K", cdf->format(12345, actual.remove())); in TestDefaultSignificantDigits()
382 assertEquals("Default significant digits", u"1.2K", cdf->format(1234, actual.remove())); in TestDefaultSignificantDigits()
383 assertEquals("Default significant digits", u"123", cdf->format(123, actual.remove())); in TestDefaultSignificantDigits()
388 …LocalPointer<CompactDecimalFormat> cdf(CompactDecimalFormat::createInstance("en", UNUM_SHORT, stat… in TestAPIVariants() local
402 cdf->format((double)123456.0, actual, pos); in TestAPIVariants()
[all …]
/aosp_15_r20/external/libaom/aom_dsp/
H A Dbitreader.h48 #define aom_read_cdf(r, cdf, nsymbs, ACCT_STR_NAME) \ argument
49 aom_read_cdf_(r, cdf, nsymbs ACCT_STR_ARG(ACCT_STR_NAME))
50 #define aom_read_symbol(r, cdf, nsymbs, ACCT_STR_NAME) \ argument
51 aom_read_symbol_(r, cdf, nsymbs ACCT_STR_ARG(ACCT_STR_NAME))
126 "\n *** [bit] cdf error, frame_idx_r %d cdf {%d, %d} ref_cdf {%d", in aom_read_()
168 static inline int aom_read_cdf_(aom_reader *r, const aom_cdf_prob *cdf, in aom_read_cdf_() argument
171 assert(cdf != NULL); in aom_read_cdf_()
172 symb = od_ec_decode_cdf_q15(&r->ec, cdf, nsymbs); in aom_read_cdf_()
192 if (cdf[i] != ref_cdf[i]) cdf_error = 1; in aom_read_cdf_()
195 fprintf(stderr, "\n *** cdf error, frame_idx_r %d cdf {%d", frame_idx, in aom_read_cdf_()
[all …]
H A Dprob.h35 probability (an "inverse" CDF).
110 static inline void update_cdf(aom_cdf_prob *cdf, int8_t val, int nsymbs) { in update_cdf() argument
112 const int count = cdf[nsymbs]; in update_cdf()
115 // 3 + ( cdf[N] > 15 ) + ( cdf[N] > 31 ) + Min(FloorLog2(N), 2) in update_cdf()
116 // In this case cdf[N] is |count|. in update_cdf()
132 cdf[i] += (CDF_PROB_TOP - cdf[i]) >> rate; in update_cdf()
134 cdf[i] -= cdf[i] >> rate; in update_cdf()
137 cdf[nsymbs] += (count < 32); in update_cdf()
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DWorkCountTrackerTest.java85 double[] cdf = new double[probs.length]; in buildCdf() local
90 cdf[i] = sum; in buildCdf()
96 cdf[cdf.length - 1] = 1; in buildCdf()
98 return cdf; in buildCdf()
101 static int getRandomIndex(double[] cdf, double rand) { in getRandomIndex() argument
102 for (int i = cdf.length - 1; i >= 0; --i) { in getRandomIndex()
103 if (rand < cdf[i] && (i == 0 || rand > cdf[i - 1])) { in getRandomIndex()
111 static int getRandomWorkType(double[] cdf, double rand) { in getRandomWorkType() argument
112 assertThat(cdf.length).isEqualTo(NUM_WORK_TYPES); in getRandomWorkType()
113 final int index = getRandomIndex(cdf, rand); in getRandomWorkType()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc173 // InitCDF() initializes the CDF for the distribution parameters.
177 struct CDF { struct in __anonaa2fc9190111::PoissonModel
180 double cdf; member
182 CDF InverseCDF(double p) { in InverseCDF()
183 CDF target{0, 0, p}; in InverseCDF()
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
194 absl::StrCat(c.index, ": pmf=", c.pmf, " cdf=", c.cdf)); in LogCDF()
201 std::vector<CDF> cdf_;
206 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/external/abseil-cpp/absl/random/
H A Dpoisson_distribution_test.cc173 // InitCDF() initializes the CDF for the distribution parameters.
177 struct CDF { struct in __anonfb1f69540111::PoissonModel
180 double cdf; member
182 CDF InverseCDF(double p) { in InverseCDF()
183 CDF target{0, 0, p}; in InverseCDF()
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
191 LOG(INFO) << "CDF (mean = " << mean_ << ")"; in LogCDF()
193 LOG(INFO) << c.index << ": pmf=" << c.pmf << " cdf=" << c.cdf; in LogCDF()
200 std::vector<CDF> cdf_;
205 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/random/
H A Dpoisson_distribution_test.cc173 // InitCDF() initializes the CDF for the distribution parameters.
177 struct CDF { struct in __anon8619c4950111::PoissonModel
180 double cdf; member
182 CDF InverseCDF(double p) { in InverseCDF()
183 CDF target{0, 0, p}; in InverseCDF()
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
194 absl::StrCat(c.index, ": pmf=", c.pmf, " cdf=", c.cdf)); in LogCDF()
201 std::vector<CDF> cdf_;
206 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/random/
H A Dpoisson_distribution_test.cc173 // InitCDF() initializes the CDF for the distribution parameters.
177 struct CDF { struct in __anon053641630111::PoissonModel
180 double cdf; member
182 CDF InverseCDF(double p) { in InverseCDF()
183 CDF target{0, 0, p}; in InverseCDF()
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
194 absl::StrCat(c.index, ": pmf=", c.pmf, " cdf=", c.cdf)); in LogCDF()
201 std::vector<CDF> cdf_;
206 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/random/
H A Dpoisson_distribution_test.cc172 // InitCDF() initializes the CDF for the distribution parameters.
176 struct CDF { struct in __anon962fbc630111::PoissonModel
179 double cdf; member
181 CDF InverseCDF(double p) { in InverseCDF()
182 CDF target{0, 0, p}; in InverseCDF()
185 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
190 LOG(INFO) << "CDF (mean = " << mean_ << ")"; in LogCDF()
192 LOG(INFO) << c.index << ": pmf=" << c.pmf << " cdf=" << c.cdf; in LogCDF()
199 std::vector<CDF> cdf_;
204 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/random/
H A Dpoisson_distribution_test.cc173 // InitCDF() initializes the CDF for the distribution parameters.
177 struct CDF { struct in __anon602403fa0111::PoissonModel
180 double cdf; member
182 CDF InverseCDF(double p) { in InverseCDF()
183 CDF target{0, 0, p}; in InverseCDF()
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
191 ABSL_INTERNAL_LOG(INFO, absl::StrCat("CDF (mean = ", mean_, ")")); in LogCDF()
194 absl::StrCat(c.index, ": pmf=", c.pmf, " cdf=", c.cdf)); in LogCDF()
201 std::vector<CDF> cdf_;
206 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/random/
H A Dpoisson_distribution_test.cc173 // InitCDF() initializes the CDF for the distribution parameters.
177 struct CDF { struct in __anon627f81670111::PoissonModel
180 double cdf; member
182 CDF InverseCDF(double p) { in InverseCDF()
183 CDF target{0, 0, p}; in InverseCDF()
186 [](const CDF& a, const CDF& b) { return a.cdf < b.cdf; }); in InverseCDF()
191 LOG(INFO) << "CDF (mean = " << mean_ << ")"; in LogCDF()
193 LOG(INFO) << c.index << ": pmf=" << c.pmf << " cdf=" << c.cdf; in LogCDF()
200 std::vector<CDF> cdf_;
205 // range buckets. However there is no closed form solution for the inverse cdf
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/cov/
Dreadcovdata.go100 BeginCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int)
101 EndCounterDataFile(cdf string, cdr *decodecounter.CounterDataReader, dirIdx int)
207 processCounterDataFile := func(cdf string, k int) error {
208 cf, err := os.Open(cdf)
210 return r.fatal("opening counter data file %s: %s", cdf, err)
216 return r.fatal("creating reader for counter data file %s: %s", cdf, err)
219 cdr, err = decodecounter.NewCounterDataReader(cdf, mr)
221 return r.fatal("reading counter data file %s: %s", cdf, err)
223 r.vis.BeginCounterDataFile(cdf, cdr, p.Origins[k])
228 return r.fatal("reading counter data file %s: %v", cdf, err)
[all …]

12345678910>>...50