Searched refs:std (Results 1 - 25 of 33291) sorted by last modified time

1234567891011>>

/external/zlib/src/contrib/iostream3/
H A Dtest.cc19 << 1.3 << "\nPlan " << 9 << std::endl;
21 std::cout << "Wrote the following message to 'test1.txt.gz' (check with zcat or zless):\n"
23 << 1.3 << "\nPlan " << 9 << std::endl;
25 std::cout << "\nReading 'test1.txt.gz' (buffered) produces:\n";
28 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
36 << 1.3 << "\nPlan " << 9 << std::endl;
38 std::cout << "\nWrote the same message to 'test2.txt.gz' in uncompressed form";
40 std::cout << "\nReading 'test2.txt.gz' (unbuffered) produces:\n";
44 std::cout << buf << "\t(" << inf.rdbuf()->in_avail() << " chars left in buffer)\n";
H A Dzfstream.cc22 : file(NULL), io_mode(std::ios_base::openmode(0)), own_fd(false),
52 std::ios_base::openmode mode)
58 if ((mode & std::ios_base::in) && (mode & std::ios_base::out))
80 std::ios_base::openmode mode)
86 if ((mode & std::ios_base::in) && (mode & std::ios_base::out))
131 gzfilebuf::open_mode(std::ios_base::openmode mode,
134 bool testb = mode & std::ios_base::binary;
135 bool testi = mode & std
[all...]
H A Dzfstream.h27 class gzfilebuf : public std::streambuf
67 std::ios_base::openmode mode);
77 std::ios_base::openmode mode);
92 open_mode(std::ios_base::openmode mode,
102 virtual std::streamsize
135 virtual std::streambuf*
137 std::streamsize n);
155 // std::ios_base::seekdir way,
156 // std::ios_base::openmode mode = std
[all...]
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp120 -LodePNG was originally written in C++. The vectors replace the std::vectors that were used in the C++ version.
499 std::cout << "tree. length: " << tree->numcodes << " maxbitlen: " << tree->maxbitlen << std::endl;
503 std::cout << i << " " << tree->tree1d.data[i] << " " << tree->lengths.data[i] << std::endl;
505 std::cout << std::endl;
2584 /*the same resize technique as C++ std::vectors is used, and here it's made so that for a palette with
3525 std::cout << "sixteenbit: " << (int)p->sixteenbit << std
[all...]
H A Dlodepng.h198 /*Same as lodepng_decode_memory, but decodes to an std::vector.*/
199 unsigned decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h,
202 unsigned decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h,
203 const std::vector<unsigned char>& in,
210 unsigned decode(std::vector<unsigned char>& out, unsigned& w, unsigned& h,
211 const std::string& filename,
217 /*Same as lodepng_encode_memory, but encodes to an std::vector.*/
218 unsigned encode(std::vector<unsigned char>& out,
221 unsigned encode(std::vector<unsigned char>& out,
222 const std
[all...]
H A Dlodepng_util.cpp32 LodePNGInfo getPNGHeaderInfo(const std::vector<unsigned char>& png)
40 unsigned getChunkInfo(std::vector<std::string>& names, std::vector<size_t>& sizes,
41 const std::vector<unsigned char>& png)
52 if(std::string(type).size() != 4) return 1;
62 unsigned getChunks(std::vector<std::string> names[3],
63 std::vector<std
[all...]
H A Dlodepng_util.h45 LodePNGInfo getPNGHeaderInfo(const std::vector<unsigned char>& png);
51 unsigned getChunkInfo(std::vector<std::string>& names, std::vector<size_t>& sizes,
52 const std::vector<unsigned char>& png);
61 unsigned getChunks(std::vector<std::string> names[3],
62 std::vector<std::vector<unsigned char> > chunks[3],
63 const std
[all...]
/external/zopfli/src/zopflipng/
H A Dzopflipng_bin.cc28 void GetFileNameParts(const std::string& filename,
29 std::string* dir, std::string* file, std::string* ext) {
32 std::string nodir;
51 size_t GetFileSize(const std::string& filename) {
149 std::string user_out_filename; // output filename if no prefix is used
151 std::string prefix = "zopfli_"; // prefix for output filenames
153 std::vector<std
[all...]
H A Dzopflipng_lib.cc90 void CountColors(std::set<unsigned>* unique,
114 std::set<unsigned> count; // Color count, up to 257.
156 std::vector<unsigned char> palette_out;
177 const std::vector<unsigned char>& image, unsigned w, unsigned h,
179 const std::vector<unsigned char>& origfile,
182 std::vector<unsigned char>* out) {
204 std::vector<unsigned char> filters;
245 std::vector<unsigned char> temp;
249 std::vector<unsigned char> out2;
277 unsigned AutoChooseFilterStrategy(const std
[all...]
H A Dzopflipng_lib.h50 std::vector<ZopfliPNGFilterStrategy> filter_strategies;
57 std::vector<std::string> keepchunks;
74 int ZopfliPNGOptimize(const std::vector<unsigned char>& origpng,
77 std::vector<unsigned char>* resultpng);
/external/webrtc/src/common_audio/resampler/
H A Dresampler_unittest.cc82 std::ostringstream ss;
100 std::ostringstream ss;
123 std::ostringstream ss;
/external/webrtc/src/common_audio/vad/
H A Dvad_gmm.c26 // s = |std| (Q7)
32 int16_t std,
38 // 131072 = 1 in Q17, and (|std| >> 1) is for rounding instead of truncation.
40 tmp32 = (int32_t) 131072 + (int32_t) (std >> 1);
41 inv_std = (int16_t) WebRtcSpl_DivW32W16(tmp32, std);
30 WebRtcVad_GaussianProbability(int16_t input, int16_t mean, int16_t std, int16_t* delta) argument
H A Dvad_gmm.h19 // normal distribution with mean and standard deviation (|mean|, |std|).
24 // - std : standard deviation, Q7.
29 // |delta| = (|input| - |mean|) / |std|^2.
33 // 1 / |std| * exp(-(|input| - |mean|)^2 / (2 * |std|^2));
36 int16_t std,
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Ddecode_plc.c396 (ISACdec_obj->plcstr_obj).std = tmp16 - 4;
645 (WebRtc_Word16)((noise1)*(ISACdec_obj->plcstr_obj).std),
656 (WebRtc_Word32)(noise1*(ISACdec_obj->plcstr_obj).std) );
H A Dstructs.h184 WebRtc_Word16 std; member in struct:__anon33432
/external/webrtc/src/modules/audio_processing/aec/
H A Decho_cancellation.c802 int WebRtcAec_GetDelayMetrics(void* handle, int* median, int* std) { argument
818 if (std == NULL) {
841 *std = -1;
861 *std = (int) (l1_norm / (float) num_delay_values + 0.5f) * kMsPerBlock;
/external/webrtc/src/modules/audio_processing/aec/interface/
H A Decho_cancellation.h239 * int* std Delay standard deviation.
244 int WebRtcAec_GetDelayMetrics(void* handle, int* median, int* std);
/external/webrtc/src/modules/audio_processing/
H A Daudio_processing_impl.cc165 std::list<ProcessingComponent*>::iterator it;
569 std::list<ProcessingComponent*>::const_iterator it;
H A Daudio_processing_impl.h100 std::list<ProcessingComponent*> component_list_;
111 std::string event_str_; // Memory for protobuf serialization.
H A Decho_cancellation_impl.cc298 int EchoCancellationImpl::GetDelayMetrics(int* median, int* std) { argument
303 if (std == NULL) {
312 if (WebRtcAec_GetDelayMetrics(my_handle, median, std) !=
H A Decho_cancellation_impl.h54 virtual int GetDelayMetrics(int* median, int* std);
H A Dgain_control_impl.h73 std::vector<int> capture_levels_;
H A Dprocessing_component.h47 std::vector<void*> handles_;
/external/webrtc/src/modules/audio_processing/interface/
H A Daudio_processing.h331 // deviation |std|. The values are averaged over the time period since the
333 virtual int GetDelayMetrics(int* median, int* std) = 0;
/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc520 std::ostringstream trace_stream;
681 std::ostringstream trace_stream;
909 int std = 0; local
910 apm->echo_cancellation()->GetDelayMetrics(&median, &std);
913 printf("Standard deviation: %3d\n", std);

Completed in 272 milliseconds

1234567891011>>