/foundation/multimedia/av_codec/test/fuzztest/hwdecoderapi11_fuzzer/ |
H A D | videodec_api11_sample.h | 106 void VdecError(OH_AVCodec *codec, int32_t errorCode, void *userData); 107 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData); 108 void VdecInputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData); 109 void VdecOutputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData);
|
/foundation/multimedia/av_codec/test/fuzztest/swdecoderconfigure_fuzzer/ |
H A D | videodec_sample.h | 121 void VdecError(OH_AVCodec *codec, int32_t errorCode, void *userData); 122 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData); 123 void VdecInputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData); 124 void VdecOutputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr,
|
/foundation/multimedia/av_codec/test/fuzztest/hwdecoder_fuzzer/ |
H A D | videodec_sample.h | 106 void VdecError(OH_AVCodec *codec, int32_t errorCode, void *userData); 107 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData); 108 void VdecInputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData); 109 void VdecOutputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr,
|
/kernel/linux/linux-5.10/sound/hda/ext/ |
H A D | hdac_ext_bus.c | 25 * @ext_ops: operators used for ASoC HDA codec drivers 69 * snd_hdac_ext_bus_device_init - initialize the HDA extended codec base device 71 * @addr: codec address 73 * @type: codec type (HDAC_DEV_*) to use for this device 107 * snd_hdac_ext_bus_device_exit - clean up a HD-audio extended codec base device 117 * snd_hdac_ext_bus_device_remove - remove HD-audio extended codec base devices 123 struct hdac_device *codec, *__codec; in snd_hdac_ext_bus_device_remove() local 125 * we need to remove all the codec devices objects created in the in snd_hdac_ext_bus_device_remove() 128 list_for_each_entry_safe(codec, __codec, &bus->codec_list, list) { in snd_hdac_ext_bus_device_remove() 129 snd_hdac_device_unregister(codec); in snd_hdac_ext_bus_device_remove() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | sol.c | 88 enum AVCodecID codec; in sol_read_header() local 102 codec = sol_codec_id(magic, type); in sol_read_header() 105 if (codec == AV_CODEC_ID_SOL_DPCM) in sol_read_header() 115 st->codecpar->codec_id = codec; in sol_read_header()
|
H A D | westwood_aud.c | 88 int sample_rate, channels, codec; in wsaud_read_header() local 95 codec = header[11]; in wsaud_read_header() 102 switch (codec) { in wsaud_read_header() 116 avpriv_request_sample(s, "Unknown codec: %d", codec); in wsaud_read_header()
|
H A D | oggdec.h | 76 const struct ogg_codec *codec; member 173 if(os->codec && os->codec->gptopts){ in ogg_gptopts() 174 pts = os->codec->gptopts(s, i, gp, dts); in ogg_gptopts()
|
H A D | ads.c | 37 int align, codec; in ads_read_header() local 47 codec = avio_rl32(s->pb); in ads_read_header() 58 if (codec == 1) in ads_read_header()
|
/third_party/ffmpeg/tools/ |
H A D | decode_simple.c | 121 const AVCodec *codec; in ds_open() local 144 codec = avcodec_find_decoder(dc->stream->codecpar->codec_id); in ds_open() 145 if (!codec) in ds_open() 148 dc->decoder = avcodec_alloc_context3(codec); in ds_open()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/ |
H A D | jpeg_hw_decoder.cpp | 28 #include "src/codec/SkJpegUtility.h" 29 #include "src/codec/SkJpegDecoderMgr.h" 30 #include "src/codec/SkJpegCodec.h" 138 static jpeg_decompress_struct* GetJpegCompressInfo(SkCodec *codec) in GetJpegCompressInfo() argument 140 if (codec == nullptr) { in GetJpegCompressInfo() 141 JPEG_HW_LOGE("invalid input codec!"); in GetJpegCompressInfo() 144 SkJpegCodec* jpegCodec = static_cast<SkJpegCodec*>(codec); in GetJpegCompressInfo() 146 JPEG_HW_LOGE("invalid input jpeg codec!"); in GetJpegCompressInfo() 150 JPEG_HW_LOGE("invalid input jpeg codec mgr!"); in GetJpegCompressInfo() 156 bool JpegHardwareDecoder::CheckInputColorFmt(SkCodec *codec) in CheckInputColorFmt() argument 171 Decode(SkCodec *codec, ImagePlugin::InputDataStream *srcStream, OHOS::Media::Size srcImgSize, uint32_t sampleSize, CodecImageBuffer& outputBuffer) Decode() argument 400 PrepareInputData(SkCodec *codec, ImagePlugin::InputDataStream *srcStream) PrepareInputData() argument [all...] |
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
H A D | dbcs-codec.js | 4 // Multibyte codec. In this scheme, a character is represented by 1 or more bytes. 5 // Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences. 25 throw new Error("DBCS codec is called without the data.") 302 function DBCSEncoder(options, codec) { 308 this.encodeTable = codec.encodeTable; 309 this.encodeTableSeq = codec.encodeTableSeq; 310 this.defaultCharSingleByte = codec.defCharSB; 311 this.gb18030 = codec.gb18030; 476 function DBCSDecoder(options, codec) { 482 this.decodeTables = codec [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/src/ |
H A D | AudioEncoderDemoCommon.cpp | 32 void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData) in OnError() argument 34 (void)codec; in OnError() 40 void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData) in OnOutputFormatChanged() argument 42 (void)codec; in OnOutputFormatChanged() 48 void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData) in OnInputBufferAvailable() argument 50 (void)codec; in OnInputBufferAvailable() 59 void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, in OnOutputBufferAvailable() argument 62 (void)codec; in OnOutputBufferAvailable() 104 OH_AVErrCode AudioEncoderDemo::NativeDestroy(OH_AVCodec *codec) in NativeDestroy() argument 107 return OH_AudioEncoder_Destroy(codec); in NativeDestroy() 110 NativeSetCallback(OH_AVCodec* codec, OH_AVCodecAsyncCallback callback) NativeSetCallback() argument 115 NativeConfigure(OH_AVCodec* codec, OH_AVFormat* format) NativeConfigure() argument 120 NativePrepare(OH_AVCodec* codec) NativePrepare() argument 125 NativeStart(OH_AVCodec* codec) NativeStart() argument 138 NativeStop(OH_AVCodec* codec) NativeStop() argument 144 NativeFlush(OH_AVCodec* codec) NativeFlush() argument 150 NativeReset(OH_AVCodec* codec) NativeReset() argument 156 NativeGetOutputDescription(OH_AVCodec* codec) NativeGetOutputDescription() argument 161 NativeSetParameter(OH_AVCodec* codec, OH_AVFormat* format) NativeSetParameter() argument 166 NativePushInputData(OH_AVCodec* codec, uint32_t index, OH_AVCodecBufferAttr attr) NativePushInputData() argument 172 NativeFreeOutputData(OH_AVCodec* codec, uint32_t index) NativeFreeOutputData() argument 177 NativeIsValid(OH_AVCodec* codec, bool* isVaild) NativeIsValid() argument [all...] |
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | h264cmc_neon.S | 27 .macro h264_chroma_mc8 type, codec=h264 28 function ff_\type\()_\codec\()_chroma_mc8_neon, export=1 34 .ifc \codec,rv40 44 .ifc \codec,vc1 79 .ifc \codec,h264 114 .ifc \codec,h264 147 .ifc \codec,h264 174 .ifc \codec,h264 197 .macro h264_chroma_mc4 type, codec=h264 198 function ff_\type\()_\codec\()_chroma_mc4_neo [all...] |
/kernel/linux/linux-5.10/sound/pci/oxygen/ |
H A D | oxygen.h | 195 u16 oxygen_read_ac97(struct oxygen *chip, unsigned int codec, 197 void oxygen_write_ac97(struct oxygen *chip, unsigned int codec, 199 void oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec, 247 static inline void oxygen_ac97_set_bits(struct oxygen *chip, unsigned int codec, in oxygen_ac97_set_bits() argument 250 oxygen_write_ac97_masked(chip, codec, index, value, value); in oxygen_ac97_set_bits() 254 unsigned int codec, in oxygen_ac97_clear_bits() 257 oxygen_write_ac97_masked(chip, codec, index, 0, value); in oxygen_ac97_clear_bits() 253 oxygen_ac97_clear_bits(struct oxygen *chip, unsigned int codec, unsigned int index, u16 value) oxygen_ac97_clear_bits() argument
|
/kernel/linux/linux-6.6/sound/pci/oxygen/ |
H A D | oxygen.h | 194 u16 oxygen_read_ac97(struct oxygen *chip, unsigned int codec, 196 void oxygen_write_ac97(struct oxygen *chip, unsigned int codec, 198 void oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec, 246 static inline void oxygen_ac97_set_bits(struct oxygen *chip, unsigned int codec, in oxygen_ac97_set_bits() argument 249 oxygen_write_ac97_masked(chip, codec, index, value, value); in oxygen_ac97_set_bits() 253 unsigned int codec, in oxygen_ac97_clear_bits() 256 oxygen_write_ac97_masked(chip, codec, index, 0, value); in oxygen_ac97_clear_bits() 252 oxygen_ac97_clear_bits(struct oxygen *chip, unsigned int codec, unsigned int index, u16 value) oxygen_ac97_clear_bits() argument
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | Makefile | 2 vicodec-objs := vicodec-core.o codec-fwht.o codec-v4l2-fwht.o
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | Makefile | 2 vicodec-objs := vicodec-core.o codec-fwht.o codec-v4l2-fwht.o
|
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | backend-ofono.c | 57 " <arg direction=\"in\" type=\"y\" name=\"codec\" />" \ 199 uint8_t codec; in card_acquire() local 220 DBUS_TYPE_BYTE, &codec, in card_acquire() 224 if (codec == HFP_AUDIO_CODEC_CVSD) { in card_acquire() 226 } else if (codec == HFP_AUDIO_CODEC_MSBC) { in card_acquire() 230 pa_assert_fp(codec != HFP_AUDIO_CODEC_CVSD && codec != HFP_AUDIO_CODEC_MSBC); in card_acquire() 231 pa_log_error("Invalid codec: %u", codec); in card_acquire() 680 uint8_t codec; in hf_audio_agent_new_connection() local [all...] |
/foundation/multimedia/av_codec/services/engine/codec/video/ |
H A D | hevc_decoder_loader.cpp | 38 CHECK_AND_RETURN_RET_LOG(loader.Init() == AVCS_ERR_OK, nullptr, "Create codec by name failed: init error"); in CreateByName() 45 HevcDecoder *codec = reinterpret_cast<HevcDecoder*>(ptr); in CreateByName() 46 codec->DecStrongRef(codec); in CreateByName()
|
H A D | fcodec_loader.cpp | 38 CHECK_AND_RETURN_RET_LOG(loader.Init() == AVCS_ERR_OK, nullptr, "Create codec by name failed: init error"); in CreateByName() 45 FCodec *codec = reinterpret_cast<FCodec*>(ptr); in CreateByName() 46 codec->DecStrongRef(codec); in CreateByName()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | hda_chmap.h | 49 int (*pin_get_slot_channel)(struct hdac_device *codec, 51 int (*pin_set_slot_channel)(struct hdac_device *codec, 53 void (*set_channel_count)(struct hdac_device *codec,
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | hda_chmap.h | 49 int (*pin_get_slot_channel)(struct hdac_device *codec, 51 int (*pin_set_slot_channel)(struct hdac_device *codec, 53 void (*set_channel_count)(struct hdac_device *codec,
|
/third_party/ffmpeg/libavcodec/ |
H A D | codec_internal.h | 25 #include "codec.h" 28 * The codec does not modify any global variables in the init function, 33 * The codec allows calling the close function for deallocation even if 35 * codec does such cleanup internally when returning failures from the 63 * The codec supports frame threading and has inter-frame dependencies, so it 92 /* The codec is a decoder using the decode callback; 95 /* The codec is a decoder using the decode_sub callback; 98 /* The codec is a decoder using the receive_frame callback; 101 /* The codec is an encoder using the encode callback; 104 /* The codec i 273 ffcodec(const AVCodec *codec) ffcodec() argument [all...] |
H A D | pthread.c | 43 * Frame threading requires entire frames to be passed to the codec, 50 int frame_threading_supported = (avctx->codec->capabilities & AV_CODEC_CAP_FRAME_THREADS) in validate_thread_parameters() 60 } else if (avctx->codec->capabilities & AV_CODEC_CAP_SLICE_THREADS && in validate_thread_parameters() 63 } else if (!(ffcodec(avctx->codec)->caps_internal & FF_CODEC_CAP_AUTO_THREADS)) { in validate_thread_parameters()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec_api.cpp | 30 void CreateHCodecByName(const std::string& name, std::shared_ptr<CodecBase>& codec) in CreateHCodecByName() argument 32 codec = HCodec::Create(name); in CreateHCodecByName()
|