/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 25 /* The format allows up to 120 ms frames. Since we don't control the other 644 int frames, samples; local 645 frames = opus_packet_get_nb_frames(payload, payload_length_bytes); 646 if (frames < 0) { 650 samples = frames * opus_packet_get_samples_per_frame(payload, 48000); 683 int frames, channels, payload_length_ms; local 704 frames = 1; 708 frames = 2; 712 frames = 3; 731 if (frame_data[0][0] & (0x80 >> ((n + 1) * (frames + 1) - 1)) [all...] |
/external/chromium_org/media/audio/ |
audio_output_controller.cc | 305 const int frames = dest->frames(); local 307 buffers_state.total_bytes() + frames * params_.GetBytesPerFrame()); 310 power_monitor_.Scan(*dest, frames); 313 return frames;
|
/external/chromium_org/media/audio/cras/ |
cras_input.cc | 183 size_t frames, 187 me->ReadAudio(frames, samples, sample_ts); 188 return frames; 201 void CrasInputStream::ReadAudio(size_t frames, 227 buffer, audio_bus_->frames(), params_.bits_per_sample() / 8);
|
/external/chromium_org/media/base/ |
audio_buffer_converter.cc | 94 DCHECK(is_flushing_ || input_frames_ >= audio_bus->frames()); 96 int requested_frames_left = audio_bus->frames(); 110 // We've consumed all the frames in |input_buffer|. 122 audio_bus->ZeroFramesPartial(audio_bus->frames() - requested_frames_left, 128 input_frames_ -= audio_bus->frames() - requested_frames_left; 131 buffered_input_frames_ += audio_bus->frames() - requested_frames_left; 149 // always request SincResampler::kDefaultRequestSize frames. Otherwise it 183 // How many output frames that corresponds to:
|
audio_converter_unittest.cc | 90 // |index|..|frames| after |scale| is applied to the expected audio data. 91 bool ValidateAudioData(int index, int frames, float scale) { 93 for (int j = index; j < frames; ++j) { 121 audio_bus_->frames() * sizeof(*audio_bus_->channel(i))); 124 return ValidateAudioData(0, audio_bus_->frames(), scale); 131 audio_bus_->channel(i) + audio_bus_->frames(), value);
|
test_helpers.cc | 158 size_t frames, 166 static_cast<int>(frames)); 177 // start + frames * increment 178 // start + (frames + 1) * increment 179 // start + (frames + 2) * increment, ... 183 const T v = static_cast<T>(start + ch * frames * increment); 184 for (size_t i = 0; i < frames; ++i) { 202 size_t frames, \
|
/external/chromium_org/media/filters/ |
frame_processor.cc | 47 StreamParser::BufferQueue frames; local 48 if (!MergeBufferQueues(audio_buffers, video_buffers, text_map, &frames)) { 53 DCHECK(!frames.empty()); 62 for (StreamParser::BufferQueue::const_iterator frames_itr = frames.begin(); 63 frames_itr != frames.end(); ++frames_itr) { 218 // This triggers a discontinuity so we need to treat the next frames 260 // frames appended as if they were the beginning of a new media segment. 282 // frames appended within the append window as if they were the 291 // processing to first filter coded frames shifted by |timestamp_offset_| in 298 // B-frames may still result in negative DTS here after being shifted b [all...] |
/external/chromium_org/remoting/host/ |
audio_capturer_win.cc | 239 UINT32 frames; local 241 hr = audio_capture_client_->GetBuffer(&data, &frames, &flags, NULL, NULL); 247 reinterpret_cast<const int16*>(data), frames * kChannels)) { 250 packet->add_data(data, frames * wave_format_ex_->nBlockAlign); 259 hr = audio_capture_client_->ReleaseBuffer(frames);
|
/external/chromium_org/third_party/opus/src/src/ |
opus.c | 171 const unsigned char *frames[48], opus_int16 size[48], 198 /* Two CBR frames */ 211 /* Two VBR frames */ 221 /* Multiple CBR/VBR frames (from 0 to 120 ms) */ 225 /* Number of frames encoded in bits 0 to 5 */ 284 /* For CBR packets, apply the size to all the frames. */ 308 if (frames) 309 frames[i] = data; 323 unsigned char *out_toc, const unsigned char *frames[48], 327 frames, size, payload_offset, NULL) [all...] |
opus_private.h | 39 const unsigned char *frames[48]; member in struct:OpusRepacketizer 121 const unsigned char *frames[48], opus_int16 size[48],
|
/external/javassist/src/main/javassist/convert/ |
TransformAccessArrayField.java | 40 private Frame[] frames; field in class:TransformAccessArrayField 88 frames = null; 99 return frames[pos - offset]; // Adjust pos 103 if (frames == null) { 104 frames = ((new Analyzer())).analyze(clazz, minfo);
|
/external/libopus/src/ |
opus.c | 171 const unsigned char *frames[48], opus_int16 size[48], 198 /* Two CBR frames */ 211 /* Two VBR frames */ 221 /* Multiple CBR/VBR frames (from 0 to 120 ms) */ 225 /* Number of frames encoded in bits 0 to 5 */ 284 /* For CBR packets, apply the size to all the frames. */ 308 if (frames) 309 frames[i] = data; 323 unsigned char *out_toc, const unsigned char *frames[48], 327 frames, size, payload_offset, NULL) [all...] |
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofWriter.java | 193 int frames = stackTrace.stackFrames.length; local 194 int[] stackFrameIds = new int[frames]; 195 for (int i = 0; i < frames; i++) { 200 4 + 4 + 4 + (frames * BinaryHprof.ID_SIZE)); 203 out.writeInt(frames);
|
/external/chromium_org/media/audio/pulse/ |
pulse_output.cc | 139 if (frames_filled < audio_bus_->frames()) { 141 frames_filled, audio_bus_->frames() - frames_filled); 148 audio_bus_->frames(), params_.bits_per_sample() / 8, buffer);
|
/external/chromium_org/net/quic/ |
quic_session.h | 62 const std::vector<QuicStreamFrame>& frames) OVERRIDE; 66 const std::vector<QuicWindowUpdateFrame>& frames) OVERRIDE; 68 const std::vector<QuicBlockedFrame>& frames) OVERRIDE;
|
quic_framer_test.cc | 498 const QuicFrames& frames) { 499 return BuildUnsizedDataPacket(&framer_, header, frames).packet; 2154 QuicFrames frames; local 2215 QuicFrames frames; local 2289 QuicFrames frames; local 2370 QuicFrames frames; local 3224 QuicFrames frames; local 3271 QuicFrames frames; local 3317 QuicFrames frames; local 3363 QuicFrames frames; local 3412 QuicFrames frames; local 3465 QuicFrames frames; local 3519 QuicFrames frames; local 3604 QuicFrames frames; local 3669 QuicFrames frames; local 3743 QuicFrames frames; local 3859 QuicFrames frames; local 3918 QuicFrames frames; local 3973 QuicFrames frames; local 4035 QuicFrames frames; local 4082 QuicFrames frames; local 4127 QuicFrames frames; local 4183 QuicFrames frames; local 4208 QuicFrames frames; local 4259 QuicFrames frames; local 4311 QuicFrames frames; local 4356 QuicFrames frames; local 4397 QuicFrames frames; local 4660 QuicFrames frames; local 4703 QuicFrames frames; local 4752 QuicFrames frames; local 4800 QuicFrames frames; local [all...] |
quic_packet_creator.h | 5 // Accumulates frames for the next packet until more frames no longer fit or 102 // Serializes all frames into a single packet. All frames must fit into a 106 SerializedPacket SerializeAllFrames(const QuicFrames& frames); 108 // Re-serializes frames with the original packet's sequence number length. 113 const QuicFrames& frames, 116 // Returns true if there are frames pending to be serialized. 119 // Returns true if there are retransmittable frames pending to be serialized. 133 // frames in the packet. Since stream frames are slightly smaller when the [all...] |
/external/chromium_org/third_party/webrtc/tools/barcode_tools/ |
barcode_decoder.py | 26 """Converts a YUV video file into PNG frames. 35 output_directory(string): The output directory where the PNG frames will be 68 to decode the barcode in every PNG frame from the input directory. The frames 76 input_directory(string): The input directory from where the PNG frames are 124 (effectively the frame number) and barcode is the decoded barcode. The frames 204 """Calculates the number of frames in the input directory. 206 The function calculates the number of frames in the input directory. The 207 frames should be named frame_xxxx.png, where xxxx is the number of the frame. 213 (int): The number of frames. 242 help='Width of the YUV file\'s frames. Default: %default' [all...] |
/external/tinyalsa/include/tinyalsa/ |
asoundlib.h | 108 /* Minimum number of frames available before pcm_mmap_write() will actually 201 /* Returns the buffer size (int frames) that should be used for pcm_write. */ 203 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames); 209 /* Returns available frames in pcm buffer and corresponding time stamp. 212 * For an input stream, frames available are frames ready for the 214 * For an output stream, frames available are the number of empty frames available 233 unsigned int *frames); 234 int pcm_mmap_commit(struct pcm *pcm, unsigned int offset, unsigned int frames); [all...] |
/frameworks/av/media/libstagefright/ |
XINGSeeker.cpp | 135 if (flags & 0x0001) { // Frames field is present 139 int32_t frames = U32_AT(buffer); local 144 if (frames) { 145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate;
|
/external/chromium_org/ui/aura/bench/ |
bench_main.cc | 128 int frames() const { return frames_; } function in class:__anon20457::BenchCompositorObserver 232 gl->ClearColor((frames() % kFrames)*1.0/kFrames, 1.f, 0.f, 1.f); 275 SkColorSetARGBInline(255*(frames() % kFrames)/kFrames, 255, 0, 255)); 346 int frames = atoi(command_line->GetSwitchValueASCII("frames").c_str()); local 352 frames)); 357 frames));
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
VSyncMonitorTest.java | 29 VSyncDataCollector(int frames, boolean activelyRequestUpdate) { 30 mFramePeriods = new long[frames]; 111 + (activeFrames ? "requested" : "automatically sent") + " frames");
|
/external/chromium_org/content/renderer/media/ |
media_stream_audio_processor.cc | 104 // fifo_->frames() / source_params_.sample_rate() is less than 106 if (fifo_->frames() * sink_params_.sample_rate() < 113 DCHECK_EQ(audio_wrapper_->frames(), sink_params_.frames_per_buffer()); 125 audio_wrapper_->ToInterleaved(audio_wrapper_->frames(), 152 if (fifo_->frames() < audio_bus->frames()) 155 fifo_->Consume(audio_bus, 0, audio_bus->frames()); 222 DCHECK_EQ(audio_source->frames(), 312 audio_bus->frames());
|
/external/chromium_org/media/audio/android/ |
audio_record_input.cc | 56 audio_bus_->frames() * audio_bus_->channels() * bytes_per_sample_); 60 direct_buffer_address_, audio_bus_->frames(), bytes_per_sample_);
|
/external/chromium_org/media/cast/congestion_control/ |
congestion_control_unittest.cc | 35 void Run(uint32 frames, 40 for (frame_id_ = 0; frame_id_ < frames; frame_id_++) {
|