Searched refs:sample (Results 1 - 25 of 528) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dmjpeg_validate.cc20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { argument
26 if (sample[0] != 0xff || sample[1] != 0xd8) { // Start Of Image
31 if (sample[i] != 0xd9) {
32 if (sample[i] == 0xff && sample[i + 1] == 0xd9) { // End Of Image
H A Dconvert_to_argb.cc27 // Convert camera sample to I420 with cropping, rotation and vertical flip.
33 int ConvertToARGB(const uint8* sample, size_t sample_size, argument
51 // For in-place conversion, if destination crop_argb is same as source sample,
54 crop_argb == sample;
60 if (crop_argb == NULL || sample == NULL ||
82 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
88 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
94 src = sample + (src_width * crop_y + crop_x) * 3;
100 src = sample + (src_width * crop_y + crop_x) * 3;
106 src = sample
[all...]
H A Dconvert_to_i420.cc23 // Convert camera sample to I420 with cropping, rotation and vertical flip.
29 int ConvertToI420(const uint8* sample, argument
48 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample;
58 if (!y || !u || !v || !sample ||
70 // For in-place conversion, if destination y is same as source sample,
89 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
97 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
105 src = sample + (src_width * crop_y + crop_x) * 2;
113 src = sample + (src_width * crop_y + crop_x) * 2;
121 src = sample
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Dmjpeg_validate.cc20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { argument
26 if (sample[0] != 0xff || sample[1] != 0xd8) { // Start Of Image
31 if (sample[i] != 0xd9) {
32 if (sample[i] == 0xff && sample[i + 1] == 0xd9) { // End Of Image
H A Dconvert_to_argb.cc27 // Convert camera sample to I420 with cropping, rotation and vertical flip.
33 int ConvertToARGB(const uint8* sample, size_t sample_size, argument
51 // For in-place conversion, if destination crop_argb is same as source sample,
54 crop_argb == sample;
60 if (crop_argb == NULL || sample == NULL ||
82 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
88 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
94 src = sample + (src_width * crop_y + crop_x) * 3;
100 src = sample + (src_width * crop_y + crop_x) * 3;
106 src = sample
[all...]
H A Dconvert_to_i420.cc23 // Convert camera sample to I420 with cropping, rotation and vertical flip.
29 int ConvertToI420(const uint8* sample, argument
48 format != FOURCC_YU12 && format != FOURCC_YV12) || y == sample;
58 if (!y || !u || !v || !sample ||
70 // For in-place conversion, if destination y is same as source sample,
89 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
97 src = sample + (aligned_src_width * crop_y + crop_x) * 2;
105 src = sample + (src_width * crop_y + crop_x) * 2;
113 src = sample + (src_width * crop_y + crop_x) * 2;
121 src = sample
[all...]
/external/ceres-solver/internal/ceres/
H A Dpolynomial_test.cc315 FunctionSample sample; local
316 sample.x = 1.0;
317 sample.value = 1.0;
318 sample.value_is_valid = true;
319 samples.push_back(sample);
331 FunctionSample sample; local
332 sample.x = 1.0;
333 sample.value = 1.0;
334 sample.value_is_valid = true;
335 sample
350 FunctionSample sample; local
360 FunctionSample sample; local
378 FunctionSample sample; local
388 FunctionSample sample; local
409 FunctionSample sample; local
417 FunctionSample sample; local
425 FunctionSample sample; local
433 FunctionSample sample; local
452 FunctionSample sample; local
460 FunctionSample sample; local
468 FunctionSample sample; local
489 FunctionSample sample; local
499 FunctionSample sample; local
[all...]
/external/chromium_org/net/disk_cache/blockfile/
H A Dhistogram_macros.h21 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \
26 counter->Add(sample); \
29 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \
30 name, sample, 1, 1000000, 50)
32 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \
33 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
35 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \
36 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50)
38 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
43 counter->AddTime(sample); \
[all...]
H A Dhistogram_macros_v3.h20 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \
27 counter->Add(sample); \
30 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \
31 name, sample, 1, 1000000, 50)
33 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \
34 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50)
36 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \
37 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50)
39 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
46 counter->AddTime(sample); \
[all...]
/external/chromium_org/net/quic/
H A Dquic_address_mismatch.cc26 int sample; local
28 sample = QUIC_ADDRESS_MISMATCH_BASE;
30 sample = QUIC_PORT_MISMATCH_BASE;
32 sample = QUIC_ADDRESS_AND_PORT_MATCH_BASE;
35 // Add an offset to |sample|:
43 CHECK_EQ(sample, QUIC_ADDRESS_MISMATCH_BASE);
44 sample += 2;
47 sample += 1;
49 return sample;
/external/chromium_org/third_party/webrtc/test/
H A Dstatistics.cc19 void Statistics::AddSample(double sample) { argument
20 sum_ += sample;
21 sum_squared_ += sample * sample;
/external/chromium_org/chrome/browser/chromeos/power/
H A Dpower_data_collector.cc53 PowerSupplySample sample; local
54 sample.time = base::Time::Now();
55 sample.external_power = (prop.external_power() !=
57 sample.battery_percent = prop.battery_percent();
58 sample.battery_discharge_rate = prop.battery_discharge_rate();
59 AddSample(&power_supply_data_, sample);
63 SystemResumedSample sample; local
64 sample.time = base::Time::Now();
65 sample.sleep_duration = sleep_duration;
66 AddSample(&system_resumed_data_, sample);
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dexp_filter.cc24 float ExpFilter::Apply(float exp, float sample) { argument
27 filtered_ = sample;
29 filtered_ = alpha_ * filtered_ + (1 - alpha_) * sample;
32 filtered_ = alpha * filtered_ + (1 - alpha) * sample;
/external/javassist/sample/evolve/
H A DCannotCreateException.java1 package sample.evolve;
H A DCannotUpdateException.java1 package sample.evolve;
H A DSample.java1 package sample.evolve;
4 * This is a sample class used by Transformer.
/external/oprofile/libpp/
H A Dsymbol_functors.cpp3 * Functors for symbol/sample comparison
26 if (lhs.sample.vma != rhs.sample.vma)
27 return lhs.sample.vma < rhs.sample.vma;
H A Dsymbol_functors.h3 * Functors for symbol/sample comparison
26 return lhs->sample.file_loc < rhs->sample.file_loc;
/external/chromium_org/chrome/browser/chromeos/
H A Dexternal_metrics.cc162 void ExternalMetrics::RecordHistogram(const metrics::MetricSample& sample) { argument
163 CHECK_EQ(metrics::MetricSample::HISTOGRAM, sample.type());
165 sample.name(), sample.min(), sample.max(), sample.bucket_count())) {
166 DLOG(ERROR) << "Invalid histogram: " << sample.name();
171 base::Histogram::FactoryGet(sample.name(),
172 sample.min(),
173 sample
179 RecordLinearHistogram( const metrics::MetricSample& sample) argument
195 RecordSparseHistogram( const metrics::MetricSample& sample) argument
211 const metrics::MetricSample& sample = **it; local
[all...]
/external/chromium_org/components/metrics/serialization/
H A Dserialization_utils.h21 // Deserializes a sample passed as a string and return a sample.
22 // The return value will either be a scoped_ptr to a Metric sample (if the
24 scoped_ptr<MetricSample> ParseSample(const std::string& sample);
30 // Serializes a sample and write it to filename.
36 // * serialized_message is the serialized version of sample (using ToString)
40 bool WriteMetricToFile(const MetricSample& sample, const std::string& filename);
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/
H A DSDL_sunaudio.c57 static Uint8 snd2au(int sample);
400 static Uint8 snd2au(int sample) argument
405 if (sample < 0) {
406 sample = -sample;
412 if (sample < 32) {
413 sample = 0xF0 | (15 - sample / 2);
414 } else if (sample < 96) {
415 sample
[all...]
/external/chromium_org/base/metrics/
H A Dhistogram.h100 // sample is an expansion (with comments) of the code for
134 histogram_pointer->Add(sample);
139 // vary are the invocation of the Add(sample) vs AddTime(sample), and the choice
168 #define LOCAL_HISTOGRAM_TIMES(name, sample) LOCAL_HISTOGRAM_CUSTOM_TIMES( \
169 name, sample, base::TimeDelta::FromMilliseconds(1), \
174 #define LOCAL_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \
175 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \
179 #define LOCAL_HISTOGRAM_COUNTS(name, sample) LOCAL_HISTOGRAM_CUSTOM_COUNTS( \
180 name, sample,
502 Sample sample; member in struct:base::LinearHistogram::DescriptionPair
[all...]
/external/guava/guava-tests/test/com/google/common/base/
H A DThrowablesTest.java39 Sample sample = new Sample() {
51 sample.noneDeclared();
55 Sample sample = new Sample() {
68 sample.noneDeclared();
75 Sample sample = new Sample() {
88 sample.noneDeclared();
96 Sample sample = new Sample() {
110 sample.oneDeclared();
115 Sample sample = new Sample() {
128 sample
[all...]
/external/chromium_org/ppapi/c/private/
H A Dppb_uma_private.h37 * sample given in milliseconds in the histogram given by |name|, possibly
42 int64_t sample,
47 * HistogramCustomCounts is a pointer to a function which records a sample
53 int32_t sample,
58 * HistogramEnumeration is a pointer to a function which records a sample
60 * does not exist. The sample represents a value in an enumeration bounded
61 * by |boundary_value|, that is, sample < boundary_value always.
65 int32_t sample,
/external/chromium_org/ppapi/cpp/private/
H A Duma_private.h26 int64_t sample,
32 int32_t sample,
38 int32_t sample,

Completed in 633 milliseconds

1234567891011>>