Home
last modified time | relevance | path

Searched refs:sample_format (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/media/base/
Dsample_format.cc11 int SampleFormatToBytesPerChannel(SampleFormat sample_format) { in SampleFormatToBytesPerChannel() argument
12 switch (sample_format) { in SampleFormatToBytesPerChannel()
26 NOTREACHED() << "Invalid sample format provided: " << sample_format; in SampleFormatToBytesPerChannel()
30 const char* SampleFormatToString(SampleFormat sample_format) { in SampleFormatToString() argument
31 switch(sample_format) { in SampleFormatToString()
47 NOTREACHED() << "Invalid sample format provided: " << sample_format; in SampleFormatToString()
Daudio_decoder_config.cc28 SampleFormat sample_format, in AudioDecoderConfig() argument
34 Initialize(codec, sample_format, channel_layout, samples_per_second, in AudioDecoderConfig()
40 SampleFormat sample_format, in Initialize() argument
53 UMA_HISTOGRAM_ENUMERATION("Media.AudioSampleFormat", sample_format, in Initialize()
70 sample_format_ = sample_format; in Initialize()
71 bytes_per_channel_ = SampleFormatToBytesPerChannel(sample_format); in Initialize()
104 (sample_format() == config.sample_format()) && in Matches()
115 << " sample_format: " << sample_format() in AsHumanReadableString()
Daudio_buffer.cc20 AudioBuffer::AudioBuffer(SampleFormat sample_format, in AudioBuffer() argument
28 : sample_format_(sample_format), in AudioBuffer()
45 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format); in AudioBuffer()
53 if (sample_format == kSampleFormatPlanarF32 || in AudioBuffer()
54 sample_format == kSampleFormatPlanarS16) { in AudioBuffer()
95 SampleFormat sample_format, in CopyFrom() argument
105 return make_scoped_refptr(new AudioBuffer(sample_format, in CopyFrom()
117 SampleFormat sample_format, in CreateBuffer() argument
123 return make_scoped_refptr(new AudioBuffer(sample_format, in CreateBuffer()
Daudio_decoder_config.h59 AudioDecoderConfig(AudioCodec codec, SampleFormat sample_format,
67 void Initialize(AudioCodec codec, SampleFormat sample_format,
91 SampleFormat sample_format() const { return sample_format_; } in sample_format() function
Dsample_format.h31 MEDIA_EXPORT int SampleFormatToBytesPerChannel(SampleFormat sample_format);
34 MEDIA_EXPORT const char* SampleFormatToString(SampleFormat sample_format);
Daudio_buffer.h37 static scoped_refptr<AudioBuffer> CopyFrom(SampleFormat sample_format,
47 static scoped_refptr<AudioBuffer> CreateBuffer(SampleFormat sample_format,
121 AudioBuffer(SampleFormat sample_format,
Daudio_buffer_unittest.cc33 static void TrimRangeTest(SampleFormat sample_format) { in TrimRangeTest() argument
39 scoped_refptr<AudioBuffer> buffer = MakeAudioBuffer<float>(sample_format, in TrimRangeTest()
/external/chromium_org/media/ffmpeg/
Dffmpeg_common.cc102 SampleFormat sample_format) { in AudioCodecToCodecID() argument
109 switch (sample_format) { in AudioCodecToCodecID()
119 DVLOG(1) << "Unsupported sample format: " << sample_format; in AudioCodecToCodecID()
233 SampleFormat AVSampleFormatToSampleFormat(AVSampleFormat sample_format) { in AVSampleFormatToSampleFormat() argument
234 switch (sample_format) { in AVSampleFormatToSampleFormat()
248 DVLOG(1) << "Unknown AVSampleFormat: " << sample_format; in AVSampleFormatToSampleFormat()
253 static AVSampleFormat SampleFormatToAVSampleFormat(SampleFormat sample_format) { in SampleFormatToAVSampleFormat() argument
254 switch (sample_format) { in SampleFormatToAVSampleFormat()
268 DVLOG(1) << "Unknown SampleFormat: " << sample_format; in SampleFormatToAVSampleFormat()
282 SampleFormat sample_format = in AVCodecContextToAudioDecoderConfig() local
[all …]
Dffmpeg_common_unittest.cc86 SampleFormat sample_format = AVSampleFormatToSampleFormat(format); in TEST_F() local
87 if (sample_format == kUnknownSampleFormat) { in TEST_F()
95 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format); in TEST_F()
Dffmpeg_common.h119 AVSampleFormatToSampleFormat(AVSampleFormat sample_format);
/external/chromium_org/media/formats/mp4/
Dmp4_stream_parser.cc252 SampleFormat sample_format; in ParseMoov() local
254 sample_format = kSampleFormatU8; in ParseMoov()
256 sample_format = kSampleFormatS16; in ParseMoov()
258 sample_format = kSampleFormatS32; in ParseMoov()
267 codec, sample_format, channel_layout, sample_per_second, in ParseMoov()
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dffmpeg_cdm_audio_decoder.cc84 AVSampleFormat sample_format) { in AVSampleFormatToCdmAudioFormat() argument
85 switch (sample_format) { in AVSampleFormatToCdmAudioFormat()
99 DVLOG(1) << "Unknown AVSampleFormat: " << sample_format; in AVSampleFormatToCdmAudioFormat()
/external/chromium_org/media/filters/
Dffmpeg_audio_decoder.cc61 SampleFormat sample_format = AVSampleFormatToSampleFormat(format); in GetAudioBuffer() local
69 int bytes_per_channel = SampleFormatToBytesPerChannel(sample_format); in GetAudioBuffer()
93 sample_format, in GetAudioBuffer()
Dopus_audio_decoder.cc444 config_.sample_format(), in Decode()
452 SampleFormatToBytesPerChannel(config_.sample_format()); in Decode()
Daudio_renderer_algorithm_unittest.cc85 SampleFormat sample_format, in Initialize() argument
90 sample_format_ = sample_format; in Initialize()
91 bytes_per_sample_ = SampleFormatToBytesPerChannel(sample_format); in Initialize()
Ddecrypting_demuxer_stream_unittest.cc131 EXPECT_EQ(input_config.sample_format(), output_config.sample_format()); in Initialize()
Dffmpeg_demuxer.cc739 SampleFormat sample_format = audio_config.sample_format(); in OnFindStreamInfoDone() local
740 std::string sample_name = SampleFormatToString(sample_format); in OnFindStreamInfoDone()
Ddecrypting_demuxer_stream.cc365 input_audio_config.sample_format(), in InitializeDecoderConfig()
Dffmpeg_demuxer_unittest.cc267 EXPECT_EQ(kSampleFormatPlanarF32, audio_config.sample_format()); in TEST_F()
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc950 media::SampleFormat sample_format = in DeliverSamples() local
956 sample_format, in DeliverSamples()
1064 media::SampleFormat sample_format, in DeserializeAudioFrames() argument
1083 media::SampleFormatToBytesPerChannel(sample_format) * in DeserializeAudioFrames()
1121 sample_format, in DeserializeAudioFrames()
Dcontent_decryptor_delegate.h185 media::SampleFormat sample_format,
/external/chromium_org/media/
Dmedia.target.linux-mips.mk109 media/base/sample_format.cc \
Dmedia.target.darwin-mips.mk109 media/base/sample_format.cc \
Dmedia.target.linux-x86.mk109 media/base/sample_format.cc \
Dmedia.target.darwin-x86.mk109 media/base/sample_format.cc \

12