/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_encoder_demo.cpp | 148 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 150 (void)codec; in OnError() 156 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 158 (void)codec; in OnOutputFormatChanged() 164 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnInputBufferAvailable() argument 166 (void)codec; in OnInputBufferAvailable() 174 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnOutputBufferAvailable() argument 176 (void)codec; in OnOutputBufferAvailable() 561 OH_AVErrCode AudioBufferAacEncDemo::Destroy(OH_AVCodec *codec) in Destroy() argument 563 OH_AVErrCode ret = OH_AudioCodec_Destroy(codec); in Destroy() 568 SetCallback(OH_AVCodec *codec) SetCallback() argument 580 Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate, int64_t bitRate, int32_t sampleFormat, int32_t sampleBit, int32_t complexity) Configure() argument 616 Prepare(OH_AVCodec *codec) Prepare() argument 621 Start(OH_AVCodec *codec) Start() argument 626 Stop(OH_AVCodec *codec) Stop() argument 633 Flush(OH_AVCodec *codec) Flush() argument 641 Reset(OH_AVCodec *codec) Reset() argument 646 GetOutputDescription(OH_AVCodec *codec) GetOutputDescription() argument 651 PushInputData(OH_AVCodec *codec, uint32_t index) PushInputData() argument 668 PushInputDataEOS(OH_AVCodec *codec, uint32_t index) PushInputDataEOS() argument 685 FreeOutputData(OH_AVCodec *codec, uint32_t index) FreeOutputData() argument 690 IsValid(OH_AVCodec *codec, bool *isValid) IsValid() argument 744 SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate, int64_t bitRate, int32_t sampleFormat, int32_t sampleBit, int32_t complexity) SetParameter() argument [all...] |
/kernel/linux/linux-5.10/sound/aoa/codecs/ |
H A D | tas.c | 3 * Apple Onboard Audio driver for tas codec 11 * - This codec driver doesn't honour the 'connected' 17 * the input. This should also be a codec-dependent 18 * flag, maybe the codec should have 3 different 49 * codec to refine the transfer_info items in the 54 * a 'clock group id' value so the codec can 72 MODULE_DESCRIPTION("tas codec driver for snd-aoa"); 80 #define PFX "snd-aoa-codec-tas: " 84 struct aoa_codec codec; member 97 * codec ini 103 codec_to_tas(struct aoa_codec *codec) codec_to_tas() argument 796 tas_init_codec(struct aoa_codec *codec) tas_init_codec() argument 869 tas_exit_codec(struct aoa_codec *codec) tas_exit_codec() argument [all...] |
/kernel/linux/linux-6.6/sound/aoa/codecs/ |
H A D | tas.c | 3 * Apple Onboard Audio driver for tas codec 11 * - This codec driver doesn't honour the 'connected' 17 * the input. This should also be a codec-dependent 18 * flag, maybe the codec should have 3 different 49 * codec to refine the transfer_info items in the 54 * a 'clock group id' value so the codec can 71 MODULE_DESCRIPTION("tas codec driver for snd-aoa"); 79 #define PFX "snd-aoa-codec-tas: " 83 struct aoa_codec codec; member 96 * codec ini 102 codec_to_tas(struct aoa_codec *codec) codec_to_tas() argument 795 tas_init_codec(struct aoa_codec *codec) tas_init_codec() argument 868 tas_exit_codec(struct aoa_codec *codec) tas_exit_codec() argument [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 48 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 50 (void)codec; in OnError() 56 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 58 (void)codec; in OnOutputFormatChanged() 64 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument 66 (void)codec; in OnInputBufferAvailable() 74 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument 76 (void)codec; in OnOutputBufferAvailable() 698 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec *codec) in SetCallback() argument 701 return OH_AudioCodec_RegisterCallback(codec, cb in SetCallback() 723 Destroy(OH_AVCodec *codec) Destroy() argument 729 IsValid(OH_AVCodec *codec, bool *isValid) IsValid() argument 734 Prepare(OH_AVCodec *codec) Prepare() argument 739 Start(OH_AVCodec *codec) Start() argument 744 Stop(OH_AVCodec *codec) Stop() argument 750 Flush(OH_AVCodec *codec) Flush() argument 756 Reset(OH_AVCodec *codec) Reset() argument 761 GetOutputDescription(OH_AVCodec *codec) GetOutputDescription() argument 766 FreeOutputData(OH_AVCodec *codec, uint32_t index) FreeOutputData() argument 771 PushInputData(OH_AVCodec *codec, uint32_t index) PushInputData() argument 826 PushInputDataEOS(OH_AVCodec *codec, uint32_t index) PushInputDataEOS() argument 843 Configure(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) Configure() argument 858 SetParameter(OH_AVCodec *codec, OH_AVFormat *format, int32_t channel, int32_t sampleRate) SetParameter() argument [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/ |
H A D | audio_decoder_reset_demo.cpp | 47 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 49 (void)codec; in OnError() 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 56 (void)codec; in OnOutputFormatChanged() 62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument 64 (void)codec; in OnInputBufferAvailable() 72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument 74 (void)codec; in OnOutputBufferAvailable() 459 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec) 462 return OH_AudioCodec_RegisterCallback(codec, cb [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/ |
H A D | audio_decoder_description_demo.cpp | 47 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 49 (void)codec; in OnError() 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 56 (void)codec; in OnOutputFormatChanged() 62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument 64 (void)codec; in OnInputBufferAvailable() 72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument 74 (void)codec; in OnOutputBufferAvailable() 459 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec) 462 return OH_AudioCodec_RegisterCallback(codec, cb [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/ |
H A D | audio_decoder_flush_demo.cpp | 47 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 49 (void)codec; in OnError() 54 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 56 (void)codec; in OnOutputFormatChanged() 62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument 64 (void)codec; in OnInputBufferAvailable() 72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument 74 (void)codec; in OnOutputBufferAvailable() 459 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec) 462 return OH_AudioCodec_RegisterCallback(codec, cb [all...] |
/foundation/multimedia/av_codec/test/fuzztest/audiodecoder_fuzzer/ |
H A D | audio_decoder_demo.cpp | 48 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 50 (void)codec; in OnError() 55 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 57 (void)codec; in OnOutputFormatChanged() 63 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument 65 (void)codec; in OnInputBufferAvailable() 73 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument 75 (void)codec; in OnOutputBufferAvailable() 500 OH_AVErrCode ADecBufferDemo::SetCallback(OH_AVCodec* codec) 503 return OH_AudioCodec_RegisterCallback(codec, cb [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | hfi_platform.h | 29 u32 codec; member 50 unsigned long (*codec_vpp_freq)(u32 session_type, u32 codec); 51 unsigned long (*codec_vsp_freq)(u32 session_type, u32 codec); 52 unsigned long (*codec_lp_freq)(u32 session_type, u32 codec); 63 unsigned long hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec, 65 unsigned long hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec, 67 unsigned long hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec,
|
H A D | hfi_platform.c | 24 hfi_platform_get_codec_vpp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vpp_freq() argument 34 freq = plat->codec_vpp_freq(session_type, codec); in hfi_platform_get_codec_vpp_freq() 40 hfi_platform_get_codec_vsp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_vsp_freq() argument 50 freq = plat->codec_vsp_freq(session_type, codec); in hfi_platform_get_codec_vsp_freq() 56 hfi_platform_get_codec_lp_freq(enum hfi_version version, u32 codec, u32 session_type) in hfi_platform_get_codec_lp_freq() argument 66 freq = plat->codec_lp_freq(session_type, codec); in hfi_platform_get_codec_lp_freq()
|
H A D | hfi_platform_v6.c | 9 .codec = HFI_VIDEO_CODEC_H264, 35 .codec = HFI_VIDEO_CODEC_HEVC, 61 .codec = HFI_VIDEO_CODEC_VP8, 86 .codec = HFI_VIDEO_CODEC_VP9, 112 .codec = HFI_VIDEO_CODEC_MPEG2, 135 .codec = HFI_VIDEO_CODEC_H264, 172 .codec = HFI_VIDEO_CODEC_HEVC, 209 .codec = HFI_VIDEO_CODEC_VP8, 292 static unsigned long codec_vpp_freq(u32 session_type, u32 codec) in codec_vpp_freq() argument 296 data = get_codec_freq_data(session_type, codec); in codec_vpp_freq() 303 codec_vsp_freq(u32 session_type, u32 codec) codec_vsp_freq() argument 314 codec_lp_freq(u32 session_type, u32 codec) codec_lp_freq() argument [all...] |
H A D | hfi_platform_v4.c | 9 .codec = HFI_VIDEO_CODEC_H264, 35 .codec = HFI_VIDEO_CODEC_HEVC, 61 .codec = HFI_VIDEO_CODEC_VP8, 86 .codec = HFI_VIDEO_CODEC_VP9, 112 .codec = HFI_VIDEO_CODEC_MPEG2, 135 .codec = HFI_VIDEO_CODEC_H264, 172 .codec = HFI_VIDEO_CODEC_HEVC, 209 .codec = HFI_VIDEO_CODEC_VP8, 292 static unsigned long codec_vpp_freq(u32 session_type, u32 codec) in codec_vpp_freq() argument 296 data = get_codec_freq_data(session_type, codec); in codec_vpp_freq() 303 codec_vsp_freq(u32 session_type, u32 codec) codec_vsp_freq() argument 314 codec_lp_freq(u32 session_type, u32 codec) codec_lp_freq() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_enc.c | 1465 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt() 1860 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl() 1878 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1882 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1886 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1891 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1901 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl() 1902 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl() 1903 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl() 1905 ret = p->codec in s5p_mfc_enc_s_ctrl() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_enc.c | 1463 mfc_debug(2, "codec number: %d\n", ctx->src_fmt->codec_mode); in vidioc_s_fmt() 1858 p->codec.h264.cpb_size = ctrl->val; in s5p_mfc_enc_s_ctrl() 1876 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1880 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1884 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1889 p->codec.h264.profile = in s5p_mfc_enc_s_ctrl() 1899 p->codec.h264.level_v4l2 = ctrl->val; in s5p_mfc_enc_s_ctrl() 1900 p->codec.h264.level = h264_level(ctrl->val); in s5p_mfc_enc_s_ctrl() 1901 if (p->codec.h264.level < 0) { in s5p_mfc_enc_s_ctrl() 1903 ret = p->codec in s5p_mfc_enc_s_ctrl() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/e2e_demo/ |
H A D | avcodec_e2e_demo_api10.cpp | 63 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 65 (void)codec; in OnError() 70 static void OnDecStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnDecStreamChanged() argument 72 (void)codec; in OnDecStreamChanged() 77 static void OnDecInputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) in OnDecInputDataAvailable() argument 82 OH_VideoDecoder_PushInputData(codec, index, info); in OnDecInputDataAvailable() 85 static void sortFrame(OH_AVCodec *codec, uint32_t index, int32_t pts, uint32_t duration) in sortFrame() argument 95 OH_VideoDecoder_RenderOutputData(codec, first.index); in sortFrame() 101 static void OnDecOutputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, in OnDecOutputDataAvailable() argument 109 OH_VideoDecoder_RenderOutputData(codec, firs in OnDecOutputDataAvailable() 118 OnEncStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) OnEncStreamChanged() argument 123 OnEncInputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) OnEncInputDataAvailable() argument 131 OnEncOutputDataAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr, void *userData) OnEncOutputDataAvailable() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/meson/ |
H A D | meson-card-utils.c | 146 struct snd_soc_dai_link_component *codec; in meson_card_set_be_link() local 152 dev_err(card->dev, "be link %s has no codec\n", in meson_card_set_be_link() 157 codec = devm_kcalloc(card->dev, num_codecs, sizeof(*codec), GFP_KERNEL); in meson_card_set_be_link() 158 if (!codec) in meson_card_set_be_link() 161 link->codecs = codec; in meson_card_set_be_link() 165 ret = meson_card_parse_dai(card, np, &codec->of_node, in meson_card_set_be_link() 166 &codec->dai_name); in meson_card_set_be_link() 172 codec++; in meson_card_set_be_link() 188 struct snd_soc_dai_link_component *codec; in meson_card_set_fe_link() local 261 struct snd_soc_dai_link_component *codec; meson_card_clean_references() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/ |
H A D | hdaudio.c | 17 static int avs_create_dai_links(struct device *dev, struct hda_codec *codec, int pcm_count, in avs_create_dai_links() argument 23 const char *cname = dev_name(&codec->core.dev); in avs_create_dai_links() 32 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in avs_create_dai_links() 100 struct hda_codec *codec = mach->pdata; in avs_card_late_probe() local 105 list_for_each_entry(hpcm, &codec->pcm_list_head, list) { in avs_card_late_probe() 123 return hda_codec_probe_complete(codec); in avs_card_late_probe() 131 struct hda_codec *codec; in avs_probing_link_init() local 136 codec = mach->pdata; in avs_probing_link_init() 138 if (list_empty(&codec->pcm_list_head)) in avs_probing_link_init() 140 list_for_each_entry(pcm, &codec in avs_probing_link_init() 178 struct hda_codec *codec; avs_hdaudio_probe() local [all...] |
/kernel/linux/linux-5.10/sound/soc/generic/ |
H A D | simple-card.c | 97 struct device_node *codec, in simple_parse_mclk_fs() 110 of_property_read_u32(codec, prop, &props->mclk_fs); in simple_parse_mclk_fs() 117 struct device_node *codec, in simple_dai_link_of_dpcm() 138 if (li->cpu == (np == codec)) in simple_dai_link_of_dpcm() 221 simple_parse_mclk_fs(top, np, codec, dai_props, prefix); in simple_dai_link_of_dpcm() 229 ret = asoc_simple_parse_daifmt(dev, node, codec, in simple_dai_link_of_dpcm() 246 struct device_node *codec, in simple_dai_link_of() 269 if (!li->cpu || np == codec) in simple_dai_link_of() 290 ret = asoc_simple_parse_daifmt(dev, node, codec, in simple_dai_link_of() 295 simple_parse_mclk_fs(top, cpu, codec, dai_prop in simple_dai_link_of() 95 simple_parse_mclk_fs(struct device_node *top, struct device_node *cpu, struct device_node *codec, struct simple_dai_props *props, char *prefix) simple_parse_mclk_fs() argument 115 simple_dai_link_of_dpcm(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_dai_link_of_dpcm() argument 244 simple_dai_link_of(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_dai_link_of() argument 345 simple_for_each_link(struct asoc_simple_priv *priv, struct link_info *li, int (*func_noml)(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top), int (*func_dpcm)(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top)) simple_for_each_link() argument 373 struct device_node *codec; simple_for_each_link() local 482 simple_count_noml(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_count_noml() argument 494 simple_count_dpcm(struct asoc_simple_priv *priv, struct device_node *np, struct device_node *codec, struct link_info *li, bool is_top) simple_count_dpcm() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | skia_image_data.cpp | 18 #include "include/codec/SkCodec.h" 99 auto codec = SkCodec::MakeFromData(GetSkData()); in Parse() local 100 CHECK_NULL_RETURN(codec, {}); in Parse() 101 switch (codec->getOrigin()) { in Parse() 106 imageSize.SetSizeT(SizeF(codec->dimensions().fHeight, codec->dimensions().fWidth)); in Parse() 109 imageSize.SetSizeT(SizeF(codec->dimensions().fWidth, codec->dimensions().fHeight)); in Parse() 111 return { imageSize, codec->getFrameCount() }; in Parse()
|
/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/ |
H A D | image_provider_test.cpp | 73 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local 74 ASSERT_TRUE(codec); in HWTEST_F() 102 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local 103 ASSERT_TRUE(!codec); in HWTEST_F() 133 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local 134 ASSERT_TRUE(codec); in HWTEST_F() 224 auto codec = SkCodec::MakeFromData(data); in HWTEST_F() local 225 ASSERT_TRUE(!codec); in HWTEST_F()
|
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zr36050.c | 22 /* codec io API */ 37 * read/write via codec layer (registers are located in the master device) 43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read() 47 if (ptr->codec->master_data->readreg) in zr36050_read() 48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read() 59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write() 64 if (ptr->codec->master_data->writereg) in zr36050_write() 65 ptr->codec->master_data->writereg(ptr->codec, re in zr36050_write() 526 zr36050_set_mode(struct videocodec *codec, int mode) zr36050_set_mode() argument 543 zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm, struct vfe_settings *cap, struct vfe_polarity *pol) zr36050_set_video() argument 586 zr36050_control(struct videocodec *codec, int type, int size, void *data) zr36050_control() argument 700 zr36050_unset(struct videocodec *codec) zr36050_unset() argument 729 zr36050_setup(struct videocodec *codec) zr36050_setup() argument [all...] |
/base/telephony/sms_mms/test/gtest/ |
H A D | sms_gsm_gtest.cpp | 65 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local 72 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F() 82 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local 89 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F() 99 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local 107 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F() 117 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local 125 EXPECT_FALSE(codec->CheckVoicemail(smsReadBuff, &setType, &indType)); in HWTEST_F() 136 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); in HWTEST_F() local 144 EXPECT_FALSE(codec in HWTEST_F() 154 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); HWTEST_F() local 173 std::shared_ptr<GsmSmsParamCodec> codec = std::make_shared<GsmSmsParamCodec>(); HWTEST_F() local [all...] |
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_codec.c | 65 * then just add codec to the list without caps in hci_read_codec_capabilities() 78 bt_dev_err(hdev, "Failed to read codec capabilities (%ld)", in hci_read_codec_capabilities() 93 /* this codec doesn't have capabilities */ in hci_read_codec_capabilities() 151 if (skb->len < flex_array_size(std_codecs, codec, std_codecs->num) in hci_read_supported_codecs() 155 /* enumerate codec capabilities of standard codecs */ in hci_read_supported_codecs() 158 caps.id = std_codecs->codec[i]; in hci_read_supported_codecs() 164 skb_pull(skb, flex_array_size(std_codecs, codec, std_codecs->num) in hci_read_supported_codecs() 171 flex_array_size(vnd_codecs, codec, vnd_codecs->num) in hci_read_supported_codecs() 175 /* enumerate vendor codec capabilities */ in hci_read_supported_codecs() 178 caps.cid = vnd_codecs->codec[ in hci_read_supported_codecs() [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-bus.c | 34 static void sof_hda_bus_link_power(struct hdac_device *codec, bool enable) in sof_hda_bus_link_power() argument 36 struct hdac_bus *bus = codec->bus; in sof_hda_bus_link_power() 37 bool oldstate = test_bit(codec->addr, &bus->codec_powered); in sof_hda_bus_link_power() 39 snd_hdac_ext_bus_link_power(codec, enable); in sof_hda_bus_link_power() 45 * Both codec driver and controller can hold references to in sof_hda_bus_link_power() 49 * If the codec driver powers down the link, release in sof_hda_bus_link_power() 52 if (codec->addr == HDA_IDISP_ADDR && !enable) in sof_hda_bus_link_power() 56 update_codec_wake_enable(bus, codec->addr, enable); in sof_hda_bus_link_power()
|
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_h265.c | 96 return ctx->codec.h265.mv_col_buf_addr + index * in cedrus_h265_frame_info_mv_col_buf_addr() 97 ctx->codec.h265.mv_col_buf_unit_size + in cedrus_h265_frame_info_mv_col_buf_addr() 98 field * ctx->codec.h265.mv_col_buf_unit_size / 2; in cedrus_h265_frame_info_mv_col_buf_addr() 265 if (!ctx->codec.h265.mv_col_buf_size) { in cedrus_h265_setup() 279 ctx->codec.h265.mv_col_buf_unit_size = in cedrus_h265_setup() 284 ctx->codec.h265.mv_col_buf_size = num_buffers * in cedrus_h265_setup() 285 ctx->codec.h265.mv_col_buf_unit_size; in cedrus_h265_setup() 287 ctx->codec.h265.mv_col_buf = in cedrus_h265_setup() 289 ctx->codec.h265.mv_col_buf_size, in cedrus_h265_setup() 290 &ctx->codec in cedrus_h265_setup() [all...] |