/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_polyphase_filter_window.h | 93 __inline int16 saturate16(int32 sample) 99 mov a, sample, asr#15 local 100 teq a, sample, asr b local 101 eorne sample, MAX_16BITS_INT, sample, asr#31 local 103 return sample ; 108 inline int16 saturate16(int32 sample) 111 if ((sample >> 15) ^(sample >> 31)) 113 sample = MAX_16BITS_INT ^(sample >> 31) [all...] |
/device/sample/products/ |
backup_overlay.mk | 22 PRODUCT_PACKAGE_OVERLAYS := device/sample/overlays/backup
|
location_overlay.mk | 22 PRODUCT_PACKAGE_OVERLAYS := device/sample/overlays/location
|
/external/chromium_org/third_party/libyuv/source/ |
mjpeg_validate.cc | 20 LIBYUV_BOOL ValidateJpeg(const uint8* sample, size_t sample_size) { 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
|
convert_to_argb.cc | 27 // Convert camera sample to I420 with cropping, rotation and vertical flip. 33 int ConvertToARGB(const uint8* sample, size_t sample_size, 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 + (src_width * crop_y + crop_x) * 4 [all...] |
/external/ceres-solver/internal/ceres/ |
polynomial_test.cc | 315 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.gradient = 2.0 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...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
G711Codec.cpp | 51 int sample = samples[i]; local 52 int sign = (sample >> 8) & 0x80; 53 if (sample < 0) { 54 sample = -sample; 56 sample += 132; 57 if (sample > 32767) { 58 sample = 32767; 60 int exponent = gExponents[sample >> 8]; 61 int mantissa = (sample >> (exponent + 3)) & 0x0F 77 int sample = (((mantissa << 3) + 132) << exponent) - 132; local 102 int sample = samples[i]; local 127 int sample = (exponent == 0 ? (mantissa << 4) + 8 : local [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
histogram_macros.h | 21 #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...] |
histogram_macros_v3.h | 20 #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...] |
/developers/build/templates/create/_MODULE_/src/androidTest/java/_PACKAGE_/test/ |
SampleTests.java.ftl | 16 package ${sample.package}.test; 18 import ${sample.package}.*; 23 * Tests for ${sample.name} sample. 28 private ${sample.name?cap_first}Fragment mTestFragment; 43 mTestFragment = (${sample.name?cap_first}Fragment)
|
/external/chromium_org/net/quic/ |
quic_address_mismatch.cc | 26 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/ |
statistics.cc | 19 void Statistics::AddSample(double sample) { 20 sum_ += sample; 21 sum_squared_ += sample * sample;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
ILearning_MulticlassPA.aidl | 27 void TrainOneSample(in List<IntFloat> sample, int target); 28 int Classify(in List<IntFloat> sample);
|
/external/chromium_org/chrome/browser/chromeos/power/ |
power_data_collector.cc | 53 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/modules/video_coding/utility/ |
exp_filter.cc | 25 VCMExpFilter::Apply(float exp, float sample) 30 _filtered = sample; 34 _filtered = _alpha * _filtered + (1 - _alpha) * sample; 39 _filtered = alpha * _filtered + (1 - alpha) * sample;
|
/external/javassist/sample/evolve/ |
CannotCreateException.java | 1 package sample.evolve;
|
CannotUpdateException.java | 1 package sample.evolve;
|
Sample.java | 1 package sample.evolve;
4 * This is a sample class used by Transformer.
6 public class Sample {
|
/external/oprofile/libpp/ |
symbol_functors.cpp | 3 * Functors for symbol/sample comparison 26 if (lhs.sample.vma != rhs.sample.vma) 27 return lhs.sample.vma < rhs.sample.vma;
|
symbol_functors.h | 3 * Functors for symbol/sample comparison 26 return lhs->sample.file_loc < rhs->sample.file_loc;
|
/external/chromium_org/chrome/browser/chromeos/ |
external_metrics.cc | 162 void ExternalMetrics::RecordHistogram(const metrics::MetricSample& sample) { 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.max() 211 const metrics::MetricSample& sample = **it; local [all...] |
/external/chromium_org/components/metrics/chromeos/ |
serialization_utils.h | 21 // 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/chromium_org/base/metrics/ |
histogram.h | 100 // 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 HISTOGRAM_TIMES(name, sample) HISTOGRAM_CUSTOM_TIMES( \ 169 name, sample, base::TimeDelta::FromMilliseconds(1), \ 174 #define HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 175 STATIC_HISTOGRAM_POINTER_BLOCK(name, AddTime(sample), \ 179 #define HISTOGRAM_COUNTS(name, sample) HISTOGRAM_CUSTOM_COUNTS( \ 180 name, sample, 1, 1000000, 50 573 Sample sample; member in struct:base::LinearHistogram::DescriptionPair [all...] |
sparse_histogram.h | 23 #define HISTOGRAM_SPARSE_COMMON(name, sample, flag) \ 28 histogram->Add(sample); \ 31 #define HISTOGRAM_SPARSE_SLOWLY(name, sample) \ 32 HISTOGRAM_SPARSE_COMMON(name, sample, base::HistogramBase::kNoFlags) 34 #define UMA_HISTOGRAM_SPARSE_SLOWLY(name, sample) \ 35 HISTOGRAM_SPARSE_COMMON(name, sample, \ 42 #define DHISTOGRAM_SPARSE_SLOWLY(name, sample) \ 43 HISTOGRAM_SPARSE_SLOWLY(name, sample) 47 #define DHISTOGRAM_SPARSE_SLOWLY(name, sample) \ 50 static_cast<void>(sample); \ [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/sun/ |
SDL_sunaudio.c | 57 static Uint8 snd2au(int sample); 400 static Uint8 snd2au(int sample) 405 if (sample < 0) { 406 sample = -sample; 412 if (sample < 32) { 413 sample = 0xF0 | (15 - sample / 2); 414 } else if (sample < 96) { 415 sample = 0xE0 | (15 - (sample - 32) / 4) [all...] |