Home
last modified time | relevance | path

Searched refs:codec (Results 126 - 150 of 939) sorted by relevance

12345678910>>...38

/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_bus.c145 * @res_ex: codec addr and flags (upper 32bit or RIRB entry)
175 struct hdac_device *codec; in snd_hdac_bus_process_unsol_events() local
188 codec = bus->caddr_tbl[caddr & 0x0f]; in snd_hdac_bus_process_unsol_events()
189 if (!codec || !codec->dev.driver) in snd_hdac_bus_process_unsol_events()
192 drv = drv_to_hdac_driver(codec->dev.driver); in snd_hdac_bus_process_unsol_events()
194 drv->unsol_event(codec, res); in snd_hdac_bus_process_unsol_events()
201 * snd_hdac_bus_add_device - Add a codec to bus
203 * @codec: HDA core device to add
205 * Adds the given codec t
209 snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec) snd_hdac_bus_add_device() argument
229 snd_hdac_bus_remove_device(struct hdac_bus *bus, struct hdac_device *codec) snd_hdac_bus_remove_device() argument
[all...]
H A Dlocal.h9 #define get_wcaps(codec, nid) \
10 snd_hdac_read_parm(codec, nid, AC_PAR_AUDIO_WIDGET_CAP)
31 int hda_widget_sysfs_init(struct hdac_device *codec);
32 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
34 void hda_widget_sysfs_exit(struct hdac_device *codec);
36 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
38 struct hdac_device *codec);
43 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd,
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Daudio_codec.c3 * APBridge ALSA SoC dummy codec driver
34 find_dai_stream_params(struct gbaudio_codec_info *codec, int id, int stream) in find_dai_stream_params() argument
38 list_for_each_entry(dai, &codec->dai_list, list) { in find_dai_stream_params()
45 static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec, in gbaudio_module_enable_tx() argument
63 params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_PLAYBACK); in gbaudio_module_enable_tx()
65 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n"); in gbaudio_module_enable_tx()
180 static int gbaudio_module_enable_rx(struct gbaudio_codec_info *codec, in gbaudio_module_enable_rx() argument
198 params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_CAPTURE); in gbaudio_module_enable_rx()
200 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n"); in gbaudio_module_enable_rx()
315 int gbaudio_module_update(struct gbaudio_codec_info *codec, in gbaudio_module_update() argument
363 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_startup() local
391 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_shutdown() local
420 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_hw_params() local
522 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_prepare() local
590 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_mute_stream() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Daudio_codec.c3 * APBridge ALSA SoC dummy codec driver
34 find_dai_stream_params(struct gbaudio_codec_info *codec, int id, int stream) in find_dai_stream_params() argument
38 list_for_each_entry(dai, &codec->dai_list, list) { in find_dai_stream_params()
45 static int gbaudio_module_enable_tx(struct gbaudio_codec_info *codec, in gbaudio_module_enable_tx() argument
63 params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_PLAYBACK); in gbaudio_module_enable_tx()
65 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n"); in gbaudio_module_enable_tx()
171 static int gbaudio_module_enable_rx(struct gbaudio_codec_info *codec, in gbaudio_module_enable_rx() argument
189 params = find_dai_stream_params(codec, id, SNDRV_PCM_STREAM_CAPTURE); in gbaudio_module_enable_rx()
191 dev_err(codec->dev, "Failed to fetch dai_stream pointer\n"); in gbaudio_module_enable_rx()
298 int gbaudio_module_update(struct gbaudio_codec_info *codec, in gbaudio_module_update() argument
345 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_startup() local
373 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_shutdown() local
402 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_hw_params() local
503 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_prepare() local
570 struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); gbcodec_mute_stream() local
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dpatch_ca0110.c27 static int ca0110_parse_auto_config(struct hda_codec *codec) in ca0110_parse_auto_config() argument
29 struct hda_gen_spec *spec = codec->spec; in ca0110_parse_auto_config()
32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
43 static int patch_ca0110(struct hda_codec *codec) in patch_ca0110() argument
52 codec->spec = spec; in patch_ca0110()
53 codec->patch_ops = ca0110_patch_ops; in patch_ca0110()
56 codec->bus->core.needs_damn_long_delay = 1; in patch_ca0110()
58 err = ca0110_parse_auto_config(codec); in patch_ca0110()
65 snd_hda_gen_free(codec); in patch_ca0110()
[all...]
H A Dpatch_cmedia.c35 static int patch_cmi9880(struct hda_codec *codec) in patch_cmi9880() argument
45 codec->spec = spec; in patch_cmi9880()
46 codec->patch_ops = cmi_auto_patch_ops; in patch_cmi9880()
50 err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0); in patch_cmi9880()
53 err = snd_hda_gen_parse_auto_config(codec, cfg); in patch_cmi9880()
60 snd_hda_gen_free(codec); in patch_cmi9880()
64 static int patch_cmi8888(struct hda_codec *codec) in patch_cmi8888() argument
74 codec->spec = spec; in patch_cmi8888()
75 codec->patch_ops = cmi_auto_patch_ops; in patch_cmi8888()
84 err = snd_hda_parse_pin_defcfg(codec, cf in patch_cmi8888()
[all...]
H A Dthinkpad_helper.c3 * to be included from codec driver
11 static bool is_thinkpad(struct hda_codec *codec) in is_thinkpad() argument
13 return (codec->core.subsystem_id >> 16 == 0x17aa) && in is_thinkpad()
18 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi() argument
22 if (!is_thinkpad(codec)) in hda_fixup_thinkpad_acpi()
24 snd_hda_gen_add_mute_led_cdev(codec, NULL); in hda_fixup_thinkpad_acpi()
25 snd_hda_gen_add_micmute_led_cdev(codec, NULL); in hda_fixup_thinkpad_acpi()
31 static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, in hda_fixup_thinkpad_acpi() argument
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dpatch_ca0110.c27 static int ca0110_parse_auto_config(struct hda_codec *codec) in ca0110_parse_auto_config() argument
29 struct hda_gen_spec *spec = codec->spec; in ca0110_parse_auto_config()
32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
43 static int patch_ca0110(struct hda_codec *codec) in patch_ca0110() argument
52 codec->spec = spec; in patch_ca0110()
53 codec->patch_ops = ca0110_patch_ops; in patch_ca0110()
56 codec->bus->core.needs_damn_long_delay = 1; in patch_ca0110()
58 err = ca0110_parse_auto_config(codec); in patch_ca0110()
65 snd_hda_gen_free(codec); in patch_ca0110()
[all...]
H A Dpatch_cmedia.c35 static int patch_cmi9880(struct hda_codec *codec) in patch_cmi9880() argument
45 codec->spec = spec; in patch_cmi9880()
46 codec->patch_ops = cmi_auto_patch_ops; in patch_cmi9880()
50 err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0); in patch_cmi9880()
53 err = snd_hda_gen_parse_auto_config(codec, cfg); in patch_cmi9880()
60 snd_hda_gen_free(codec); in patch_cmi9880()
64 static int patch_cmi8888(struct hda_codec *codec) in patch_cmi8888() argument
74 codec->spec = spec; in patch_cmi8888()
75 codec->patch_ops = cmi_auto_patch_ops; in patch_cmi8888()
84 err = snd_hda_parse_pin_defcfg(codec, cf in patch_cmi8888()
[all...]
/third_party/mesa3d/src/gallium/include/pipe/
H A Dp_video_codec.h44 * Gallium video codec for a specific format/profile
62 void (*destroy)(struct pipe_video_codec *codec);
67 void (*begin_frame)(struct pipe_video_codec *codec,
74 void (*decode_macroblock)(struct pipe_video_codec *codec,
83 void (*decode_bitstream)(struct pipe_video_codec *codec,
93 void (*encode_bitstream)(struct pipe_video_codec *codec,
101 void (*process_frame)(struct pipe_video_codec *codec,
108 void (*end_frame)(struct pipe_video_codec *codec,
116 void (*flush)(struct pipe_video_codec *codec);
121 void (*get_feedback)(struct pipe_video_codec *codec, voi
165 struct pipe_video_codec *codec; global() member
[all...]
/third_party/skia/tests/
H A DEncodedInfoTest.cpp12 #include "include/codec/SkCodec.h"
20 auto codec = SkCodec::MakeFromStream(GetResourceAsStream("images/grayscale.jpg")); in DEF_TEST() local
21 REPORTER_ASSERT(r, codec->getInfo().colorType() == kGray_8_SkColorType); in DEF_TEST()
24 bm.allocPixels(codec->getInfo().makeColorType(kAlpha_8_SkColorType).makeColorSpace(nullptr)); in DEF_TEST()
25 auto result = codec->getPixels(codec->getInfo(), bm.getPixels(), bm.rowBytes()); in DEF_TEST()
31 codec = SkCodec::MakeFromData(std::move(data)); in DEF_TEST()
32 REPORTER_ASSERT(r, codec); in DEF_TEST()
34 REPORTER_ASSERT(r, codec->getInfo().colorType() == kAlpha_8_SkColorType); in DEF_TEST()
37 bm2.allocPixels(codec in DEF_TEST()
[all...]
H A DCodecPartialTest.cpp8 #include "include/codec/SkCodec.h"
27 static SkImageInfo standardize_info(SkCodec* codec) { in standardize_info() argument
28 SkImageInfo defaultInfo = codec->getInfo(); in standardize_info()
35 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(std::move(data))); in create_truth()
36 if (!codec) { in create_truth()
40 const SkImageInfo info = standardize_info(codec.get()); in create_truth()
42 return SkCodec::kSuccess == codec->getPixels(info, dst->getPixels(), dst->rowBytes()); in create_truth()
77 ERRORF(r, "Failed to create codec for %s with %zu bytes", name, minBytes); in test_partial()
181 std::unique_ptr<SkCodec> codec(SkCodec::MakeFromData(file)); in DEF_TEST()
182 if (!codec) { in DEF_TEST()
[all...]
/kernel/linux/linux-5.10/sound/aoa/codecs/
H A Donyx.c3 * Apple Onboard Audio driver for Onyx codec
7 * This is a driver for the pcm3052 codec chip (codenamed Onyx)
10 * The Onyx codec has the following connections (listed by the bit
36 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa");
43 #define PFX "snd-aoa-codec-onyx: "
49 struct aoa_codec codec; member
62 #define codec_to_onyx(c) container_of(c, struct onyx, codec)
778 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock()
781 onyx->codec in onyx_switch_clock()
860 onyx_init_codec(struct aoa_codec *codec) onyx_init_codec() argument
982 onyx_exit_codec(struct aoa_codec *codec) onyx_exit_codec() argument
[all...]
/kernel/linux/linux-6.6/sound/aoa/codecs/
H A Donyx.c3 * Apple Onboard Audio driver for Onyx codec
7 * This is a driver for the pcm3052 codec chip (codenamed Onyx)
10 * The Onyx codec has the following connections (listed by the bit
36 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa");
43 #define PFX "snd-aoa-codec-onyx: "
49 struct aoa_codec codec; member
62 #define codec_to_onyx(c) container_of(c, struct onyx, codec)
778 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock()
781 onyx->codec in onyx_switch_clock()
860 onyx_init_codec(struct aoa_codec *codec) onyx_init_codec() argument
982 onyx_exit_codec(struct aoa_codec *codec) onyx_exit_codec() argument
[all...]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
H A DNDKExtractor.cpp89 AMediaCodec *codec = nullptr; in decode() local
91 codec = AMediaCodec_createDecoderByType(mimeType); in decode()
92 AMediaCodec_configure(codec, format, nullptr, nullptr, 0); in decode()
93 AMediaCodec_start(codec); in decode()
106 ssize_t inputIndex = AMediaCodec_dequeueInputBuffer(codec, 2000); in decode()
120 uint8_t *inputBuffer = AMediaCodec_getInputBuffer(codec, inputIndex, &inputSize); in decode()
129 AMediaCodec_queueInputBuffer(codec, inputIndex, 0, sampleSize, in decode()
138 // We need to tell the codec that we've reached the end of the stream in decode()
139 AMediaCodec_queueInputBuffer(codec, inputIndex, 0, 0, in decode()
149 ssize_t outputIndex = AMediaCodec_dequeueOutputBuffer(codec, in decode()
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dhdaudio.h23 /* codec node id */
50 * HD-audio codec base device
56 unsigned int addr; /* codec address */
73 const char *vendor_name; /* codec vendor name */
74 const char *chip_name; /* codec chip name */
98 unsigned int registered:1; /* codec was registered */
124 int snd_hdac_device_register(struct hdac_device *codec);
125 void snd_hdac_device_unregister(struct hdac_device *codec);
126 int snd_hdac_device_set_chip_name(struct hdac_device *codec, const char *name);
129 int snd_hdac_refresh_widgets(struct hdac_device *codec);
170 snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm) snd_hdac_read_parm() argument
186 snd_hdac_enter_pm(struct hdac_device *codec) snd_hdac_enter_pm() argument
192 snd_hdac_leave_pm(struct hdac_device *codec) snd_hdac_leave_pm() argument
197 snd_hdac_is_in_pm(struct hdac_device *codec) snd_hdac_is_in_pm() argument
202 snd_hdac_is_power_on(struct hdac_device *codec) snd_hdac_is_power_on() argument
207 snd_hdac_power_up(struct hdac_device *codec) snd_hdac_power_up() argument
208 snd_hdac_power_down(struct hdac_device *codec) snd_hdac_power_down() argument
209 snd_hdac_power_up_pm(struct hdac_device *codec) snd_hdac_power_up_pm() argument
210 snd_hdac_power_down_pm(struct hdac_device *codec) snd_hdac_power_down_pm() argument
211 snd_hdac_keep_power_up(struct hdac_device *codec) snd_hdac_keep_power_up() argument
212 snd_hdac_enter_pm(struct hdac_device *codec) snd_hdac_enter_pm() argument
213 snd_hdac_leave_pm(struct hdac_device *codec) snd_hdac_leave_pm() argument
214 snd_hdac_is_in_pm(struct hdac_device *codec) snd_hdac_is_in_pm() argument
215 snd_hdac_is_power_on(struct hdac_device *codec) snd_hdac_is_power_on() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/
H A Dazt3328.c44 * - builtin AC97 conformant codec (SNR over 80dB)
57 * modem card which might reveal the Aztech-specific codec ID which
253 spinlock_t *lock; /* TODO: convert to our own per-codec lock member */
338 snd_azf3328_codec_outb(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outb() argument
343 outb(value, codec->io_base + reg); in snd_azf3328_codec_outb()
347 snd_azf3328_codec_inb(const struct snd_azf3328_codec_data *codec, unsigned reg) in snd_azf3328_codec_inb() argument
349 return inb(codec->io_base + reg); in snd_azf3328_codec_inb()
353 snd_azf3328_codec_outw(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outw() argument
358 outw(value, codec->io_base + reg); in snd_azf3328_codec_outw()
362 snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigne argument
368 snd_azf3328_codec_outl(const struct snd_azf3328_codec_data *codec, unsigned reg, u32 value ) snd_azf3328_codec_outl() argument
377 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, unsigned reg, const void *buffer, int count ) snd_azf3328_codec_outl_multi() argument
392 snd_azf3328_codec_inl(const struct snd_azf3328_codec_data *codec, unsigned reg) snd_azf3328_codec_inl() argument
1209 snd_azf3328_codec_setfmt(struct snd_azf3328_codec_data *codec, enum azf_freq_t bitrate, unsigned int format_width, unsigned int channels ) snd_azf3328_codec_setfmt() argument
1329 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; snd_azf3328_ctrl_codec_activity() local
1373 snd_azf3328_codec_setdmaa(struct snd_azf3328 *chip, struct snd_azf3328_codec_data *codec, unsigned long addr, unsigned int period_bytes, unsigned int buffer_bytes ) snd_azf3328_codec_setdmaa() argument
1431 struct snd_azf3328_codec_data *codec = runtime->private_data; snd_azf3328_pcm_prepare() local
1455 struct snd_azf3328_codec_data *codec = runtime->private_data; snd_azf3328_pcm_trigger() local
1610 const struct snd_azf3328_codec_data *codec = snd_azf3328_pcm_pointer() local
1867 const struct snd_azf3328_codec_data *codec = first_codec; snd_azf3328_pcm_interrupt() local
2021 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; snd_azf3328_pcm_open() local
2056 struct snd_azf3328_codec_data *codec = snd_azf3328_pcm_close() local
2446 struct snd_azf3328_codec_data *codec = snd_azf3328_create() local
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtas2781-i2c.c62 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_getvol() local
63 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tas2781_digital_getvol()
73 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_digital_putvol() local
74 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tas2781_digital_putvol()
84 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_getvol() local
85 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tas2781_amp_getvol()
95 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tas2781_amp_putvol() local
97 snd_soc_component_get_drvdata(codec); in tas2781_amp_putvol()
154 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); in tasdevice_set_profile_id() local
155 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tasdevice_set_profile_id()
171 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_info_programs() local
186 struct snd_soc_component *codec = tasdevice_info_configurations() local
202 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_info_profile() local
216 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_get_profile_id() local
264 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_program_get() local
275 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_program_put() local
292 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_configuration_get() local
304 struct snd_soc_component *codec = snd_soc_kcontrol_component(kcontrol); tasdevice_configuration_put() local
431 struct snd_soc_component *codec = snd_soc_dapm_to_component(w->dapm); tasdevice_dapm_event() local
465 struct snd_soc_component *codec = dai->component; tasdevice_startup() local
563 tasdevice_codec_probe(struct snd_soc_component *codec) tasdevice_codec_probe() argument
580 tasdevice_codec_remove( struct snd_soc_component *codec) tasdevice_codec_remove() argument
[all...]
/third_party/node/deps/npm/node_modules/iconv-lite/lib/
H A Dindex.js59 // Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache.
68 // Traverse iconv.encodings to find actual codec.
71 var codec = iconv._codecDataCache[enc];
72 if (codec)
73 return codec;
96 // The codec function must load all tables and return object with .encoder and .decoder methods.
98 codec = new codecDef(codecOptions, iconv);
100 iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later.
101 return codec;
[all...]
/kernel/linux/linux-6.6/sound/pci/
H A Dazt3328.c44 * - builtin AC97 conformant codec (SNR over 80dB)
57 * modem card which might reveal the Aztech-specific codec ID which
252 spinlock_t *lock; /* TODO: convert to our own per-codec lock member */
337 snd_azf3328_codec_outb(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outb() argument
342 outb(value, codec->io_base + reg); in snd_azf3328_codec_outb()
346 snd_azf3328_codec_inb(const struct snd_azf3328_codec_data *codec, unsigned reg) in snd_azf3328_codec_inb() argument
348 return inb(codec->io_base + reg); in snd_azf3328_codec_inb()
352 snd_azf3328_codec_outw(const struct snd_azf3328_codec_data *codec, in snd_azf3328_codec_outw() argument
357 outw(value, codec->io_base + reg); in snd_azf3328_codec_outw()
361 snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigne argument
367 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, unsigned reg, const void *buffer, int count ) snd_azf3328_codec_outl_multi() argument
382 snd_azf3328_codec_inl(const struct snd_azf3328_codec_data *codec, unsigned reg) snd_azf3328_codec_inl() argument
1200 snd_azf3328_codec_setfmt(struct snd_azf3328_codec_data *codec, enum azf_freq_t bitrate, unsigned int format_width, unsigned int channels ) snd_azf3328_codec_setfmt() argument
1320 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; snd_azf3328_ctrl_codec_activity() local
1364 snd_azf3328_codec_setdmaa(struct snd_azf3328 *chip, struct snd_azf3328_codec_data *codec, unsigned long addr, unsigned int period_bytes, unsigned int buffer_bytes ) snd_azf3328_codec_setdmaa() argument
1422 struct snd_azf3328_codec_data *codec = runtime->private_data; snd_azf3328_pcm_prepare() local
1446 struct snd_azf3328_codec_data *codec = runtime->private_data; snd_azf3328_pcm_trigger() local
1601 const struct snd_azf3328_codec_data *codec = snd_azf3328_pcm_pointer() local
1858 const struct snd_azf3328_codec_data *codec = first_codec; snd_azf3328_pcm_interrupt() local
2012 struct snd_azf3328_codec_data *codec = &chip->codecs[codec_type]; snd_azf3328_pcm_open() local
2047 struct snd_azf3328_codec_data *codec = snd_azf3328_pcm_close() local
2403 struct snd_azf3328_codec_data *codec = snd_azf3328_create() local
[all...]
/third_party/skia/src/codec/
H A DSkCodecImageGenerator.cpp8 #include "src/codec/SkCodecImageGenerator.h"
13 auto codec = SkCodec::MakeFromData(data); in MakeFromEncodedCodec() local
14 if (nullptr == codec) { in MakeFromEncodedCodec()
18 return std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(std::move(codec), data)); in MakeFromEncodedCodec()
22 SkCodecImageGenerator::MakeFromCodec(std::unique_ptr<SkCodec> codec) { in MakeFromCodec() argument
23 return codec in MakeFromCodec()
24 ? std::unique_ptr<SkImageGenerator>(new SkCodecImageGenerator(std::move(codec), nullptr)) in MakeFromCodec()
28 static SkImageInfo adjust_info(SkCodec* codec) { in adjust_info() argument
29 SkImageInfo info = codec->getInfo(); in adjust_info()
33 if (SkEncodedOriginSwapsWidthHeight(codec in adjust_info()
39 SkCodecImageGenerator(std::unique_ptr<SkCodec> codec, sk_sp<SkData> data) SkCodecImageGenerator() argument
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
H A DMapField.cs419 /// It is assumed that the stream is initially positioned after the tag specified by the codec.
424 /// <param name="codec">Codec describing how the key/value pairs are encoded</param>
425 public void AddEntriesFrom(CodedInputStream input, Codec codec) in AddEntriesFrom() argument
430 AddEntriesFrom(ref ctx, codec); in AddEntriesFrom()
442 /// It is assumed that the input is initially positioned after the tag specified by the codec.
447 /// <param name="codec">Codec describing how the key/value pairs are encoded</param>
449 public void AddEntriesFrom(ref ParseContext ctx, Codec codec) in AddEntriesFrom() argument
451 var adapter = new Codec.MessageAdapter(codec); in AddEntriesFrom()
457 } while (ParsingPrimitives.MaybeConsumeTag(ref ctx.buffer, ref ctx.state, codec.MapTag)); in AddEntriesFrom()
461 /// Writes the contents of this map to the given coded output stream, using the specified codec
466 WriteTo(CodedOutputStream output, Codec codec) WriteTo() argument
486 WriteTo(ref WriteContext ctx, Codec codec) WriteTo() argument
503 CalculateSize(Codec codec) CalculateSize() argument
673 private readonly Codec codec; global() field in Google.Protobuf.Collections.MapField.Codec.MessageAdapter
677 MessageAdapter(Codec codec) MessageAdapter() argument
[all...]
/third_party/python/Modules/cjkcodecs/
H A Dmultibytecodec.c180 /* This getset handlers list is used by all the stateful codec objects */
224 multibytecodec_encerror(MultibyteCodec *codec, in multibytecodec_encerror() argument
249 "internal codec error"); in multibytecodec_encerror()
275 r = codec->encode(state, codec->config, in multibytecodec_encerror()
305 codec->encoding, buf->inobj, in multibytecodec_encerror()
337 retstr = multibytecodec_encode(codec, state, tobj, in multibytecodec_encerror()
379 multibytecodec_decerror(MultibyteCodec *codec, in multibytecodec_decerror() argument
403 "internal codec error"); in multibytecodec_decerror()
429 buf->excobj = PyUnicodeDecodeError_Create(codec in multibytecodec_decerror()
483 multibytecodec_encode(MultibyteCodec *codec, MultibyteCodec_State *state, PyObject *text, Py_ssize_t *inpos_t, PyObject *errors, int flags) multibytecodec_encode() argument
1034 PyObject *codec = NULL; mbiencoder_new() local
1309 PyObject *codec = NULL; mbidecoder_new() local
1626 PyObject *stream, *codec = NULL; mbstreamreader_new() local
1850 PyObject *stream, *codec = NULL; mbstreamwriter_new() local
1965 MultibyteCodec *codec; _multibytecodec___create_codec() local
[all...]
/kernel/linux/linux-6.6/sound/hda/
H A Dlocal.h9 #define get_wcaps(codec, nid) \
10 snd_hdac_read_parm(codec, nid, AC_PAR_AUDIO_WIDGET_CAP)
31 int hda_widget_sysfs_init(struct hdac_device *codec);
32 int hda_widget_sysfs_reinit(struct hdac_device *codec, hda_nid_t start_nid,
34 void hda_widget_sysfs_exit(struct hdac_device *codec);
36 int snd_hdac_bus_add_device(struct hdac_bus *bus, struct hdac_device *codec);
38 struct hdac_device *codec);
43 int snd_hdac_exec_verb(struct hdac_device *codec, unsigned int cmd,
/third_party/ffmpeg/tests/checkasm/
H A Dh264pred.c124 (mode_name && ((codec_ids[codec] == AV_CODEC_ID_H264) ? \
143 int codec, int chroma_format, int bit_depth) in check_pred4x4()
151 if (check_pred_func(h->pred4x4[pred_mode], "4x4", pred4x4_modes[codec][pred_mode])) { in check_pred4x4()
164 int codec, int chroma_format, int bit_depth) in check_pred8x8()
171 pred8x8_modes[codec][pred_mode])) { in check_pred8x8()
183 int codec, int chroma_format, int bit_depth) in check_pred16x16()
190 if (check_pred_func(h->pred16x16[pred_mode], "16x16", pred16x16_modes[codec][pred_mode])) { in check_pred16x16()
203 int codec, int chroma_format, int bit_depth) in check_pred8x8l()
205 if (chroma_format == 1 && codec_ids[codec] == AV_CODEC_ID_H264) { in check_pred8x8l()
210 if (check_pred_func(h->pred8x8l[pred_mode], "8x8l", pred4x4_modes[codec][pred_mod in check_pred8x8l()
142 check_pred4x4(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred4x4() argument
163 check_pred8x8(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred8x8() argument
182 check_pred16x16(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred16x16() argument
202 check_pred8x8l(H264PredContext *h, uint8_t *buf0, uint8_t *buf1, int codec, int chroma_format, int bit_depth) check_pred8x8l() argument
248 int test, codec, chroma_format, bit_depth; checkasm_check_h264pred() local
[all...]

Completed in 16 milliseconds

12345678910>>...38