OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AudioChunk
(Results
1 - 16
of
16
) sorted by null
/external/chromium_org/content/browser/speech/
audio_buffer.h
18
class CONTENT_EXPORT
AudioChunk
:
19
public base::RefCountedThreadSafe<
AudioChunk
> {
21
explicit
AudioChunk
(int bytes_per_sample);
22
AudioChunk
(const uint8* data, size_t length, int bytes_per_sample);
33
~
AudioChunk
() {}
34
friend class base::RefCountedThreadSafe<
AudioChunk
>;
39
DISALLOW_COPY_AND_ASSIGN(
AudioChunk
);
43
// allocations of
AudioChunk
(s) (which uses a string as storage).
55
scoped_refptr<
AudioChunk
> DequeueSingleChunk();
58
scoped_refptr<
AudioChunk
> DequeueAll()
[
all
...]
audio_buffer.cc
12
AudioChunk
::
AudioChunk
(int bytes_per_sample)
16
AudioChunk
::
AudioChunk
(const uint8* data, size_t length, int bytes_per_sample)
22
bool
AudioChunk
::IsEmpty() const {
26
size_t
AudioChunk
::NumSamples() const {
30
const std::string&
AudioChunk
::AsString() const {
34
int16
AudioChunk
::GetSample16(size_t index) const {
39
const int16*
AudioChunk
::SamplesData16() const {
56
chunks_.push_back(new
AudioChunk
(data, length, bytes_per_sample_))
[
all
...]
audio_encoder.h
16
class
AudioChunk
;
36
virtual void Encode(const
AudioChunk
& raw_audio) = 0;
42
scoped_refptr<
AudioChunk
> GetEncodedDataAndClear();
speech_recognition_engine.h
17
class
AudioChunk
;
81
virtual void TakeAudioChunk(const
AudioChunk
& data) = 0;
91
// Retrieves the desired duration, in milliseconds, of pushed
AudioChunk
(s).
audio_encoder.cc
28
virtual void Encode(const
AudioChunk
& raw_audio) OVERRIDE;
79
void FLACEncoder::Encode(const
AudioChunk
& raw_audio) {
117
virtual void Encode(const
AudioChunk
& raw_audio) OVERRIDE;
151
void SpeexEncoder::Encode(const
AudioChunk
& raw_audio) {
190
scoped_refptr<
AudioChunk
> AudioEncoder::GetEncodedDataAndClear() {
google_streaming_remote_engine.h
28
class
AudioChunk
;
59
virtual void TakeAudioChunk(const
AudioChunk
& data) OVERRIDE;
107
scoped_refptr<const
AudioChunk
> audio_data;
google_one_shot_remote_engine.h
42
virtual void TakeAudioChunk(const
AudioChunk
& data) OVERRIDE;
google_one_shot_remote_engine.cc
231
void GoogleOneShotRemoteEngine::TakeAudioChunk(const
AudioChunk
& data) {
236
scoped_refptr<
AudioChunk
> encoded_data(encoder_->GetEncodedDataAndClear());
248
scoped_refptr<
AudioChunk
> dummy_chunk(
249
new
AudioChunk
(reinterpret_cast<uint8*>(&samples[0]),
254
scoped_refptr<
AudioChunk
> encoded_dummy_data(
google_one_shot_remote_engine_unittest.cc
56
scoped_refptr<
AudioChunk
> dummy_audio_chunk(
57
new
AudioChunk
(&dummy_audio_buffer_data[0],
speech_recognizer_impl.h
84
scoped_refptr<
AudioChunk
> audio_data;
99
void ProcessAudioPipeline(const
AudioChunk
& raw_audio);
google_streaming_remote_engine.cc
119
void GoogleStreamingRemoteEngine::TakeAudioChunk(const
AudioChunk
& data) {
383
const
AudioChunk
& audio = *(event_args.audio_data.get());
387
scoped_refptr<
AudioChunk
> encoded_data(encoder_->GetEncodedDataAndClear());
491
scoped_refptr<
AudioChunk
> dummy_chunk =
492
new
AudioChunk
(reinterpret_cast<uint8*>(&samples[0]),
497
scoped_refptr<
AudioChunk
> encoded_dummy_data =
speech_recognizer_impl.cc
40
// Converts input |data| buffer into an
AudioChunk
where the input format
43
scoped_refptr<
AudioChunk
> Convert(const uint8* data, size_t size);
83
bool DetectClipping(const
AudioChunk
& chunk) {
134
scoped_refptr<
AudioChunk
> SpeechRecognizerImpl::OnDataConverter::Convert(
148
// TODO(primiano): Refactor
AudioChunk
to avoid the extra-copy here
150
return scoped_refptr<
AudioChunk
>(new
AudioChunk
(
466
void SpeechRecognizerImpl::ProcessAudioPipeline(const
AudioChunk
& raw_audio) {
google_streaming_remote_engine_unittest.cc
378
scoped_refptr<
AudioChunk
> dummy_audio_chunk(
379
new
AudioChunk
(&dummy_audio_buffer_data[0],
/external/chromium_org/content/browser/speech/endpointer/
endpointer.h
16
class
AudioChunk
;
66
EpStatus ProcessAudio(const
AudioChunk
& raw_audio, float* rms_out);
endpointer_unittest.cc
124
scoped_refptr<
AudioChunk
> frame(
125
new
AudioChunk
(reinterpret_cast<uint8*>(samples), kFrameSize * 2, 2));
endpointer.cc
92
EpStatus Endpointer::ProcessAudio(const
AudioChunk
& raw_audio, float* rms_out) {
Completed in 225 milliseconds