Searched refs:bytes_per_channel (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/media/base/
H A Daudio_buffer.cc45 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format); local
46 DCHECK_LE(bytes_per_channel, kChannelAlignment);
47 int data_size = frame_count * bytes_per_channel;
239 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format_); local
240 int frame_size = channel_count_ * bytes_per_channel;
243 source_data, dest_frame_offset, frames_to_copy, bytes_per_channel);
277 const int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format_); local
285 memmove(channel_data_[ch] + (trim_start_ + start) * bytes_per_channel,
286 channel_data_[ch] + (trim_start_ + end) * bytes_per_channel,
287 bytes_per_channel * frames_to_cop
[all...]
H A Daudio_decoder_config.cc97 (bytes_per_channel() == config.bytes_per_channel()) &&
112 << " bytes_per_channel: " << bytes_per_channel()
H A Daudio_decoder_config.h48 // TODO(dalecurtis): FFmpeg API uses |bytes_per_channel| instead of
88 int bytes_per_channel() const { return bytes_per_channel_; } function in class:media::AudioDecoderConfig
/external/chromium_org/media/ffmpeg/
H A Dffmpeg_common_unittest.cc69 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format); local
70 EXPECT_EQ(bytes_per_channel, single_buffer_size);
/external/chromium_org/media/filters/
H A Dffmpeg_audio_decoder.cc69 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format); local
90 int frames_required = buffer_size_in_bytes / bytes_per_channel / channels;

Completed in 111 milliseconds