Home
last modified time | relevance | path

Searched refs:channels (Results 1 - 25 of 320) sorted by relevance

12345678910>>...13

/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/src/
H A Dsbc_encoder.cpp100 uint8_t channels = (codecParam.channelMode == SBC_CHANNEL_MODE_MONO) ? CHANNEL_1 : CHANNEL_2; in CalculateFrameLength() local
102 size_t size = VALUE_4 + (VALUE_4 * subbands * channels) / VALUE_8; in CalculateFrameLength()
104 if (channels == CHANNEL_1 || codecParam.channelMode == SBC_CHANNEL_MODE_DUAL_CHANNEL) { in CalculateFrameLength()
105 size += ((blocks * channels * bitpool) + VALUE_7) / VALUE_8; in CalculateFrameLength()
115 uint16_t channels = (codecParam.channelMode == SBC_CHANNEL_MODE_MONO) ? CHANNEL_1 : CHANNEL_2; in CalculateCodecSize() local
118 return subbands * blocks * channels * VALUE_2; in CalculateCodecSize()
406 int samples, int channels, int bigEndian) in Get4SubbandSamplingPoint()
409 if (channels > VALUE_0) { in Get4SubbandSamplingPoint()
413 if (channels > VALUE_1) { in Get4SubbandSamplingPoint()
422 if (channels > VALUE_ in Get4SubbandSamplingPoint()
405 Get4SubbandSamplingPoint(const uint8_t *pcm, int16_t x[CHANNEL_NUM][BUFFER_SIZE], int samples, int channels, int bigEndian) Get4SubbandSamplingPoint() argument
449 Get8SubbandSamplingPointInternal(const uint8_t *pcm, int16_t (*x)[BUFFER_SIZE], int *samples, int channels, int bigEndian) Get8SubbandSamplingPointInternal() argument
485 Get8SubbandSamplingPoint16(const uint8_t *pcm, int16_t (*x)[BUFFER_SIZE], int *samples, int channels, int bigEndian) Get8SubbandSamplingPoint16() argument
536 Get8SubbandSamplingPoint8(const uint8_t *pcm, int16_t (*x)[BUFFER_SIZE], int *samples, int channels, int bigEndian) Get8SubbandSamplingPoint8() argument
569 Get8SubbandSamplingPoint(const uint8_t *pcm, int16_t (*x)[BUFFER_SIZE], int *samples, int channels, int bigEndian) Get8SubbandSamplingPoint() argument
607 CalculateScalefactors(int32_t samples[BLOCK_NUM][CHANNEL_NUM][SUBBAND_NUM], uint32_t scaleFactor[CHANNEL_NUM][SUBBAND_NUM], int blocks, int channels, int subbands) const CalculateScalefactors() argument
[all...]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_config_use.cpp76 std::vector<int> channels = GetChannelFromDrvOrXmlByBand(BandType::BAND_2GHZ); in GetBestChannelFor2G() local
77 if (channels.empty()) { in GetBestChannelFor2G()
83 return channels[GetRandomInt(0, channels.size() - 1)]; in GetBestChannelFor2G()
88 std::vector<int> channels = GetChannelFromDrvOrXmlByBand(BandType::BAND_5GHZ); in GetBestChannelFor5G() local
89 FilterIndoorChannel(channels); in GetBestChannelFor5G()
90 Filter165Channel(channels); in GetBestChannelFor5G()
97 if (channels.empty()) { in GetBestChannelFor5G()
101 for (auto item : channels) { in GetBestChannelFor5G()
108 return channels[GetRandomIn in GetBestChannelFor5G()
130 std::vector<int> channels; GetChannelFromDrvOrXmlByBand() local
299 std::set<int> channels; ParseCountryPolicyList() local
374 std::vector<int> channels; ParsePreferredChannelsList() local
[all...]
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_pipeline.c68 SoftBusList *channels; member
86 LIST_FOR_EACH_ENTRY(it, &g_manager.channels->list, struct PipelineChannelItem, node) { in SearchChannelItemUnsafe()
122 TRANS_CHECK_AND_RETURN_RET_LOGW(SoftBusMutexLock(&g_manager.channels->lock) == SOFTBUS_OK, in TransProxyReuseByChannelId()
127 SoftBusMutexUnlock(&g_manager.channels->lock); in TransProxyReuseByChannelId()
131 SoftBusMutexUnlock(&g_manager.channels->lock); in TransProxyReuseByChannelId()
138 TRANS_CHECK_AND_RETURN_RET_LOGW(SoftBusMutexLock(&g_manager.channels->lock) == SOFTBUS_OK, in TransProxyPipelineGenRequestId()
141 SoftBusMutexUnlock(&g_manager.channels->lock); in TransProxyPipelineGenRequestId()
214 if (SoftBusMutexLock(&g_manager.channels->lock) != SOFTBUS_OK) { in TransProxyPipelineOpenChannel()
215 TRANS_LOGE(TRANS_CTRL, "lock channels failed, reqId=%{public}d", requestId); in TransProxyPipelineOpenChannel()
221 ListAdd(&g_manager.channels in TransProxyPipelineOpenChannel()
636 SoftBusList *channels = NULL; TransProxyPipelineInit() local
[all...]
/foundation/multimedia/media_foundation/test/unittest/
H A DTestMeta.cpp39 uint32_t channels = 64; in HWTEST() local
40 meta.Set<Tag::AUDIO_CHANNELS>(channels); in HWTEST()
43 ASSERT_EQ(channels, outChannels); in HWTEST()
76 int32_t channels = 64; in HWTEST() local
77 meta.Set<Tag::AUDIO_CHANNELS>(channels); in HWTEST()
85 uint32_t channels = 64; in HWTEST() local
86 meta.Set<Tag::AUDIO_CHANNELS>(channels); in HWTEST()
89 ASSERT_EQ(channels, out); in HWTEST()
99 uint32_t channels = 64; in HWTEST() local
102 meta.Set<Tag::AUDIO_CHANNELS>(channels); in HWTEST()
119 int32_t channels = 64; HWTEST() local
169 auto channels = Plugin::AnyCast<uint32_t>(cap->keys[CapabilityID::AUDIO_CHANNELS]); HWTEST() local
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/
H A Dap_config_use_test.cpp83 std::vector<int> channels = m_apConfigUse->GetChannelFromDrvOrXmlByBand(BandType::BAND_2GHZ); in HWTEST_F() local
84 for (int c : channels) { in HWTEST_F()
91 channels = m_apConfigUse->GetChannelFromDrvOrXmlByBand(BandType::BAND_5GHZ); in HWTEST_F()
92 for (int c : channels) { in HWTEST_F()
133 std::vector<int> channels = {36, 40, 44, 48, 52, 56}; in HWTEST_F() local
135 m_apConfigUse->FilterIndoorChannel(channels); in HWTEST_F()
143 std::vector<int> channels = {36, 165}; in HWTEST_F() local
144 m_apConfigUse->Filter165Channel(channels); in HWTEST_F()
147 EXPECT_TRUE(channels.size() == 1); in HWTEST_F()
148 EXPECT_TRUE(channels[ in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/services/engine/codec/audio/
H A Daudio_resample.cpp33 auto destFrameSize = av_samples_get_buffer_size(nullptr, resamplePara_.channels, in Init()
36 resampleChannelAddr_.reserve(resamplePara_.channels); in Init()
38 av_samples_fill_arrays(tmp, nullptr, resampleCache_.data(), resamplePara_.channels, in Init()
73 size_t lineSize = srcLength / resamplePara_.channels; in Convert()
74 std::vector<const uint8_t*> tmpInput(resamplePara_.channels); in Convert()
89 destLength = static_cast<size_t>(res * av_get_bytes_per_sample(resamplePara_.destFmt) * resamplePara_.channels); in Convert()
102 for (auto i = 0; i < inputFrame->channels; i++) { in ConvertFrame()
104 AVCODEC_LOGE("this is a planar audio, inputFrame->channels: %{public}d, " in ConvertFrame()
105 "but inputFrame->extended_data[%{public}d] is nullptr", inputFrame->channels, i); in ConvertFrame()
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo_common.c24 .channels = 2,
32 .channels = 2,
40 .channels = 1,
48 .channels = 1,
56 .channels = 2,
64 .channels = 2,
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dbitmap_helpers.cpp34 srcPos = ((imageInfo.height - 1 - i) * rowSize) + j * imageInfo.channels; in DecodeBmp()
36 srcPos = i * rowSize + j * imageInfo.channels; in DecodeBmp()
39 dstPos = (i * imageInfo.width + j) * imageInfo.channels; in DecodeBmp()
41 switch (imageInfo.channels) { in DecodeBmp()
59 LOG(FATAL) << "Unexpected number of channels: " << imageInfo.channels; in DecodeBmp()
95 imageInfo.channels = bpp / BIT_TO_BYTE; in ReadBmp()
96 inputImage.resize(imageInfo.height * imageInfo.width * imageInfo.channels); in ReadBmp()
99 LOG(INFO) << "width, height, channels: " << imageInfo.width << ", " << imageInfo.height << ", " in ReadBmp()
100 << imageInfo.channels; in ReadBmp()
[all...]
H A Dbitmap_helpers.h62 int32_t channels = 0; member
86 { 1, inputImageInfo.height, inputImageInfo.width, inputImageInfo.channels }, quant); in Resize()
89 { 1, wantedImageInfo.height, wantedImageInfo.width, wantedImageInfo.channels }, quant); in Resize()
107 for (int32_t i = 0; i < inputImageInfo.height * inputImageInfo.width * inputImageInfo.channels; ++i) { in Resize()
116 for (int32_t i = 0; i < wantedImageInfo.height * wantedImageInfo.width * wantedImageInfo.channels; ++i) { in Resize()
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_effect_chain.cpp53 ioBufferConfig_.inputCfg.channels = DEFAULT_NUM_CHANNEL; in AudioEffectChain()
57 ioBufferConfig_.outputCfg.channels = DEFAULT_NUM_CHANNEL; in AudioEffectChain()
63 + std::to_string(ioBufferConfig_.inputCfg.channels) + "_4.pcm"; in AudioEffectChain()
66 + std::to_string(ioBufferConfig_.outputCfg.channels) + "_4.pcm"; in AudioEffectChain()
78 ioBufferConfig_.inputCfg.channels = DEFAULT_NUM_CHANNEL; in AudioEffectChain()
82 ioBufferConfig_.outputCfg.channels = DEFAULT_NUM_CHANNEL; in AudioEffectChain()
87 + std::to_string(ioBufferConfig_.inputCfg.channels) + "_4.pcm"; in AudioEffectChain()
90 + std::to_string(ioBufferConfig_.outputCfg.channels) + "_4.pcm"; in AudioEffectChain()
287 size_t inTotlen = frameLen * ioBufferConfig_.inputCfg.channels * sizeof(float); in ApplyEffectChain()
288 size_t outTotlen = frameLen * ioBufferConfig_.outputCfg.channels * sizeo in ApplyEffectChain()
342 UpdateMultichannelIoBufferConfig(const uint32_t &channels, const uint64_t &channelLayout) UpdateMultichannelIoBufferConfig() argument
455 uint32_t channels = ioBufferConfig_.inputCfg.channels; UpdateMultichannelIoBufferConfigInner() local
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/mp3/
H A Dffmpeg_mp3_decoder_plugin.cpp44 : CodecPlugin(name), channels(0), sampleRate(0), basePlugin(std::make_unique<FfmpegBaseDecoder>()) in FFmpegMp3DecoderPlugin()
140 format->GetData(Tag::AUDIO_CHANNEL_COUNT, channels); in CheckInit()
142 if (channels < MIN_CHANNELS || channels > MAX_CHANNELS) { in CheckInit()
143 AVCODEC_LOGE("check init failed, because channel:%{public}d not support", channels); in CheckInit()
155 CHECK_AND_RETURN_RET_LOG(basePlugin->CheckSampleFormat(format, channels), Status::ERROR_INVALID_PARAMETER, in CheckInit()
171 int32_t maxSize = (sampleRate / SAMPLE_RATE_RATIO + BUFFER_DIFF) * channels * sizeof(short); in GetOutputBufferSize()
172 int32_t minSize = MIN_OUTBUF_SIZE * channels * sizeof(short); in GetOutputBufferSize()
/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/
H A Daudio_opus_decoder_plugin.cpp44 : PluginCodecPtr(nullptr), fbytes(nullptr), len(-1), codeData(nullptr), channels(-1), sampleRate(-1) in AudioOpusDecoderPlugin()
81 if (channels < MIN_CHANNELS || channels > MAX_CHANNELS) { in CheckSampleFormat()
82 AVCODEC_LOGE("AudioOpusDecoderPlugin channels not supported"); in CheckSampleFormat()
96 channels = INITVAL; in Init()
99 format.GetIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in Init()
103 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in Init()
107 AVCODEC_LOGD("AudioOpusDecoderPlugin parameter channels:%{public}d samplerate:%{public}d", channels, sampleRate); in Init()
113 ret = PluginCodecPtr->SetPluginParameter(CHANNEL, channels); in Init()
[all...]
H A Daudio_ffmpeg_mp3_decoder_plugin.cpp38 channels = 0; in AudioFFMpegMp3DecoderPlugin()
104 int32_t maxSize = (sampleRate / SAMPLE_RATE_RATIO + BUFFER_DIFF) * channels * sizeof(short); in GetOutputBufferSize()
105 int32_t minSize = MIN_OUTBUF_SIZE * channels * sizeof(short); in GetOutputBufferSize()
122 format.GetIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in Checkinit()
124 if (channels < MIN_CHANNELS || channels > MAX_CHANNELS) { in Checkinit()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_common.h99 RowPointers(uint32_t width, uint32_t height, uint32_t channels, uint32_t channelSize) in RowPointers() argument
105 size_t rowbytes = static_cast<size_t>(width * channels) * channelSize; in RowPointers()
172 void VerticalFlipRowPointers(T **rowPointers, uint32_t height, uint32_t width, uint32_t channels) in VerticalFlipRowPointers() argument
177 for (uint32_t k = 0; k < channels; k++) { in VerticalFlipRowPointers()
178 uint32_t idx = x * channels + k; in VerticalFlipRowPointers()
179 uint32_t ridx = (width - x - 1) * channels + k; in VerticalFlipRowPointers()
189 void VerticalFlipRow(T *rowPointer, uint32_t width, uint32_t channels) in VerticalFlipRow() argument
193 for (uint32_t k = 0; k < channels; k++) { in VerticalFlipRow()
194 uint32_t idx = x * channels + k; in VerticalFlipRow()
195 uint32_t ridx = (width - x - 1) * channels in VerticalFlipRow()
[all...]
/foundation/multimedia/av_codec/services/engine/codeclist/
H A Daudio_codeclist_info.cpp78 audioMp3Capability.channels = Range(1, MAX_CHANNEL_COUNT_MP3); in GetMP3DecoderCapability()
92 audioMp3Capability.channels = Range(1, MAX_CHANNEL_COUNT_MP3); in GetMP3EncoderCapability()
106 audioAacCapability.channels = Range(1, MAX_AUDIO_CHANNEL_COUNT); in GetAacDecoderCapability()
120 audioOpusCapability.channels = Range(1, MAX_AUDIO_CHANNEL_COUNT); in GetOpusDecoderCapability()
134 audioFlacCapability.channels = Range(1, MAX_AUDIO_CHANNEL_COUNT); in GetFlacDecoderCapability()
148 audioVorbisCapability.channels = Range(1, MAX_AUDIO_CHANNEL_COUNT); in GetVorbisDecoderCapability()
162 audioAmrnbCapability.channels = Range(1, 1); in GetAmrnbDecoderCapability()
176 audioAmrwbCapability.channels = Range(1, 1); in GetAmrwbDecoderCapability()
190 audioApeCapability.channels = Range(1, MAX_CHANNEL_COUNT_APE); in GetAPEDecoderCapability()
205 audioVividCapability.channels in GetVividDecoderCapability()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/sbclib/include/
H A Dsbc_encoder.h53 int *samples, int channels, int bigEndian);
55 int *samples, int channels, int bigEndian);
57 int *samples, int channels, int bigEndian);
59 int *samples, int channels, int bigEndian);
61 int samples, int channels, int bigEndian);
63 int blocks, int channels, int subbands) const;
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_common.cpp38 opions.streamInfo.channels = static_cast<AudioChannel>(cOptions.audioStreamInfo.channels); in Convert2AudioCapturerOptions()
57 cInfo.channels = static_cast<int32_t>(streamInfo.channels); in Convert2CAudioStreamInfo()
110 size_t channelSize = deviceInfo.audioStreamInfo.channels.size(); in InitializeDeviceRatesAndChannels()
115 auto channels = static_cast<int32_t *>(malloc(sizeof(int32_t) * channelSize)); in InitializeDeviceRatesAndChannels() local
116 if (channels == nullptr) { in InitializeDeviceRatesAndChannels()
120 for (auto channel : deviceInfo.audioStreamInfo.channels) { in InitializeDeviceRatesAndChannels()
126 device->channelCounts.head = channels; in InitializeDeviceRatesAndChannels()
199 deviceInfo.audioStreamInfo.channels in ConvertAudioDeviceDescriptor2DeviceInfo()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/mediaplayer/src/
H A Daudio_sink.cpp48 int32_t AudioSink::Prepare(int32_t channels, int32_t sampleRate) in Prepare() argument
50 SHARING_LOGD("channels(%{public}d) sampleRate(%{public}d) playerId: %{public}u.", channels, sampleRate, playerId_); in Prepare()
57 int32_t res = SetParameters(16, channels, sampleRate); in Prepare()
154 int32_t AudioSink::SetParameters(int32_t bitsPerSample, int32_t channels, int32_t sampleRate) in SetParameters() argument
158 SHARING_LOGD("enter, channels:%{public}d, sampleRate:%{public}d.", channels, sampleRate); in SetParameters()
196 if (channels == supportedChannelsList[i] && supportedChannelsList[i] > 0) { in SetParameters()
210 SHARING_LOGD("channels:%{public}d, sampleRate:%{public}d.", params.channelCount, params.sampleRate); in SetParameters()
220 int32_t AudioSink::GetParameters(int32_t &bitsPerSample, int32_t &channels, int32_ argument
[all...]
/foundation/multimedia/av_codec/services/engine/codec/audio/encoder/
H A Daudio_ffmpeg_aac_encoder_plugin.cpp75 uint8_t chanCfg = static_cast<uint8_t>(ctx->channels); in GetAdtsHeader()
108 bool AudioFFMpegAacEncoderPlugin::CheckChannelLayout(const Format &format, int channels) in CheckChannelLayout() argument
114 if (av_get_channel_layout_nb_channels(srcLayout_) != channels) { in CheckChannelLayout()
115 AVCODEC_LOGE("channel layout channels mismatch"); in CheckChannelLayout()
121 srcLayout_ = static_cast<AudioChannelLayout>(channelLayoutMap.at(channels)); in CheckChannelLayout()
167 int channels; in CheckFormat() local
168 format.GetIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in CheckFormat()
169 if (channels < MIN_CHANNELS || channels > MAX_CHANNELS || channels in CheckFormat()
[all...]
H A Daudio_opus_encoder_plugin.cpp49 channels(-1), sampleRate(-1), bitRate(-1), complexity(-1) in AudioOpusEncoderPlugin()
86 if (channels < MIN_CHANNELS || channels > MAX_CHANNELS) { in CheckSampleFormat()
87 AVCODEC_LOGE("AudioOpusEncoderPlugin channels not supported"); in CheckSampleFormat()
113 channels = INITVAL; in Init()
118 format.GetIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in Init()
125 format_.PutIntValue(MediaDescriptionKey::MD_KEY_CHANNEL_COUNT, channels); in Init()
137 ret = PluginCodecPtr->SetPluginParameter(CHANNEL, channels); in Init()
157 if (attr.size != ((int32_t) (sampleRate*TIME_S))*channels*sizeof(short) && !isEos) { in ProcessSendData()
159 ((int32_t) sampleRate*TIME_S*sizeof(short)*channels)); in ProcessSendData()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/mediaplayer/include/
H A Daudio_sink.h61 int32_t Prepare(int32_t channels, int32_t sampleRate);
71 int32_t SetParameters(int32_t bitsPerSample, int32_t channels, int32_t sampleRate);
75 int32_t GetParameters(int32_t &bitsPerSample, int32_t &channels, int32_t &sampleRate);
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/
H A Daudio_effect_chain_adapter.h40 const uint32_t channels; member
57 int32_t EffectChainManagerReturnEffectChannelInfo(const char *sceneType, uint32_t *channels, uint64_t *channelLayout);
58 int32_t EffectChainManagerReturnMultiChannelInfo(uint32_t *channels, uint64_t *channelLayout);
/foundation/multimedia/audio_framework/services/audio_service/common/src/
H A Daudio_resample.cpp32 AudioResample::AudioResample(uint32_t channels, uint32_t inRate, uint32_t outRate, int32_t quantity) : speex_(nullptr) in AudioResample() argument
37 speex_->channelCount_ = channels; in AudioResample()
38 speex_->resampler = speex_resampler_init(channels, inRate, outRate, quantity, &error); in AudioResample()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_spatial_channel_converter.cpp50 size_t AudioSpatialChannelConverter::GetPcmLength(int32_t channels, int8_t bps) in GetPcmLength() argument
53 return channels * AUDIO_VIVID_SAMPLES * bps; in GetPcmLength()
70 inChannel_ = info.channels; in Init()
71 outChannel_ = info.channels; in Init()
92 outChannel_ = info.channels; in Init()
98 void AudioSpatialChannelConverter::ConverterChannels(uint8_t &channels, uint64_t &channelLayout) in ConverterChannels() argument
100 channels = outChannel_; in ConverterChannels()
223 void LibLoader::SetIOBufferConfig(bool isInput, uint32_t sampleRate, uint8_t format, uint32_t channels, in SetIOBufferConfig() argument
227 target = {sampleRate, channels, format, channelLayout, ENCODING_AUDIOVIVID}; in SetIOBufferConfig()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_decoder/
H A Dffmpeg_base_decoder.cpp191 avCodecContext_->channels); in ReceiveFrameSucc()
192 if (avCodecContext_->channel_layout == 0 && avCodecContext_->channels == 1) { // 1 channel: mono in ReceiveFrameSucc()
195 } else if (avCodecContext_->channel_layout == 0 && avCodecContext_->channels == 2) { // 2 channel: stereo in ReceiveFrameSucc()
199 AVCODEC_LOGI("recode output description,layout:%{public}s channels:%{public}d nb_channels:%{public}d", in ReceiveFrameSucc()
201 avCodecContext_->channels, avCodecContext_->ch_layout.nb_channels); in ReceiveFrameSucc()
219 int32_t outputSize = outFrame->nb_samples * bytePerSample * outFrame->channels; in ReceiveFrameSucc()
289 format->GetData(Tag::AUDIO_CHANNEL_COUNT, avCodecContext_->channels); in InitContext()
302 } else if (avCodecContext_->channels == 1) { // 1 channel: mono in InitContext()
305 } else if (avCodecContext_->channels == 2) { // 2 channel: stereo in InitContext()
343 AVCODEC_LOGI("channels in InitResample()
412 CheckSampleFormat(const std::shared_ptr<Meta> &format, int32_t channels) CheckSampleFormat() argument
[all...]

Completed in 12 milliseconds

12345678910>>...13