/test/xts/acts/multimedia/av_codec/vcodec/hwdecoder/include/ |
H A D | videodec_ndk_sample.h | 70 bool AFTER_EOS_DESTORY_CODEC = true; // 1000 测试用例 结束不销毁codec 156 void VdecError(OH_AVCodec *codec, int32_t errorCode, void *userData); 157 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData); 158 void VdecInputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData); 159 void VdecOutputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr,
|
/test/xts/acts/multimedia/av_codec/vcodec/swdecoder/include/ |
H A D | videodec_ndk_sample.h | 68 bool AFTER_EOS_DESTORY_CODEC = true; // 1000 测试用例 结束不销毁codec 133 void VdecError(OH_AVCodec *codec, int32_t errorCode, void *userData); 134 void VdecFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData); 135 void VdecInputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData); 136 void VdecOutputDataReady(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr,
|
/third_party/ffmpeg/libavformat/ |
H A D | 3dostr.c | 76 unsigned chunk, codec = 0, size, ctrl_size = -1, found_shdr = 0; in threedostr_read_header() local 108 codec = avio_rl32(s->pb); in threedostr_read_header() 135 switch (codec) { in threedostr_read_header() 141 avpriv_request_sample(s, "codec %X", codec); in threedostr_read_header()
|
H A D | au.c | 154 enum AVCodecID codec; in au_read_header() local 180 codec = ff_codec_get_id(codec_au_tags, id); in au_read_header() 182 if (codec == AV_CODEC_ID_NONE) { in au_read_header() 183 avpriv_request_sample(s, "unknown or unsupported codec tag: %u", id); in au_read_header() 187 bps = av_get_bits_per_sample(codec); in au_read_header() 188 if (codec == AV_CODEC_ID_ADPCM_G726LE) { in au_read_header() 217 st->codecpar->codec_id = codec; in au_read_header() 294 av_log(s, AV_LOG_ERROR, "unsupported codec\n"); in au_write_header() 307 avio_wb32(pb, par->codec_tag); /* codec ID */ in au_write_header()
|
/third_party/node/deps/npm/node_modules/iconv-lite/encodings/ |
H A D | utf16.js | 4 // Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js 6 // == UTF16-BE codec. ========================================================== 68 // == UTF-16 codec ============================================================= 87 function Utf16Encoder(options, codec) { 91 this.encoder = codec.iconv.getEncoder('utf-16le', options); 105 function Utf16Decoder(options, codec) { 111 this.iconv = codec.iconv;
|
/base/telephony/sms_mms/test/fuzztest/unittesttwo_fuzzer/ |
H A D | unittesttwo_fuzzer.cpp | 266 GsmCbCodec codec; in TestISSomething() local 268 codec.IsEtwsPrimary(result); in TestISSomething() 269 codec.IsCmasMessage(result); in TestISSomething() 270 codec.IsEtwsEmergencyUserAlert(result); in TestISSomething() 271 codec.IsEtwsPopupAlert(result); in TestISSomething() 273 codec.ParamsCheck(GetPduVect()); in TestISSomething() 275 codec.IsEtwsPrimary(result); in TestISSomething() 276 codec.IsCmasMessage(result); in TestISSomething() 277 codec.IsEtwsEmergencyUserAlert(result); in TestISSomething() 278 codec in TestISSomething() 282 GsmCbCodec codec; TestToString() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 26 * - codec GPIO 27 * - codec event notification 115 * @adcsel: codec ADC to be read 127 /* get codec */ in wm97xx_read_aux_adc() 139 /* Prepare the codec for AUX reading */ in wm97xx_read_aux_adc() 140 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc() 146 rc = wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc() 151 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc() 159 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc() 168 * wm97xx_get_gpio - Get the status of a codec GPI [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
H A D | zoran_device.c | 7 * This part handles device access (PCI/I2C/codec/...) 162 for (i = 1; i < 8; i++) /* Don't read jpeg codec here */ in dump_guests() 180 for (i = 1; i < 8; i++) /* Don't read jpeg codec here */ in detect_guest_activity() 233 /* Take the codec out of sleep */ in jpeg_codec_reset() 643 /* set the JPEG codec guest ID */ in jpeg_start() 697 /* Take the JPEG codec and the VFE out of sleep */ in zr36057_enable_jpg() 704 zr->codec->control(zr->codec, CODEC_S_JPEG_APP_DATA, in zr36057_enable_jpg() 709 zr->codec->control(zr->codec, CODEC_S_JPEG_COM_DAT in zr36057_enable_jpg() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
H A D | hantro_drv.c | 3 * Hantro VPU codec driver 291 .codec = HANTRO_JPEG_ENCODER, 301 .codec = HANTRO_MPEG2_DECODER, 306 .codec = HANTRO_MPEG2_DECODER, 311 .codec = HANTRO_VP8_DECODER, 316 .codec = HANTRO_H264_DECODER, 321 .codec = HANTRO_H264_DECODER, 327 .codec = HANTRO_H264_DECODER, 332 .codec = HANTRO_H264_DECODER, 337 .codec [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 7 * This part handles device access (PCI/I2C/codec/...) 168 /* Take the codec out of sleep */ in jpeg_codec_reset() 581 /* set the JPEG codec guest ID */ in jpeg_start() 633 /* Take the JPEG codec and the VFE out of sleep */ in zr36057_enable_jpg() 640 zr->codec->control(zr->codec, CODEC_S_JPEG_APP_DATA, in zr36057_enable_jpg() 645 zr->codec->control(zr->codec, CODEC_S_JPEG_COM_DATA, in zr36057_enable_jpg() 648 /* Setup the JPEG codec */ in zr36057_enable_jpg() 649 zr->codec in zr36057_enable_jpg() [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wm97xx-core.c | 26 * - codec GPIO 27 * - codec event notification 115 * @adcsel: codec ADC to be read 127 /* get codec */ in wm97xx_read_aux_adc() 139 /* Prepare the codec for AUX reading */ in wm97xx_read_aux_adc() 140 wm->codec->aux_prepare(wm); in wm97xx_read_aux_adc() 146 rc = wm->codec->poll_sample(wm, adcsel, &auxval); in wm97xx_read_aux_adc() 151 wm->codec->dig_restore(wm); in wm97xx_read_aux_adc() 159 wm->codec->dig_enable(wm, false); in wm97xx_read_aux_adc() 168 * wm97xx_get_gpio - Get the status of a codec GPI [all...] |
/drivers/hdf_core/framework/model/audio/sapm/src/ |
H A D | audio_sapm.c | 363 sapmComponent->codec = audioCard->rtd->codec; in AudioSapmNewComponent() 415 if (sapmComponent == NULL || sapmComponent->codec == NULL) { in MuxSetPathStatus() 429 ret = AudioCodecReadReg(sapmComponent->codec, enumKtl->reg, &val); in MuxSetPathStatus() 431 ADM_LOG_ERR("codec read reg fail!"); in MuxSetPathStatus() 465 if (sapmComponent == NULL || sapmComponent->codec == NULL) { in MuxValueSetPathStatus() 478 ret = AudioCodecReadReg(sapmComponent->codec, enumKtl->reg, &val); in MuxValueSetPathStatus() 539 if (sapmComponent->codec != NULL) { in MixerSetPathStatus() 540 ret = AudioCodecReadReg(sapmComponent->codec, reg, &curValue); in MixerSetPathStatus() 546 ADM_LOG_ERR("codec i in MixerSetPathStatus() 1349 struct CodecDevice *codec = NULL; AudioCodecSapmSetCtrlOps() local 1434 struct CodecDevice *codec = NULL; AudioCodecSapmSetEnumCtrlOps() local [all...] |
/kernel/linux/linux-5.10/sound/hda/ |
H A D | hdac_component.c | 23 * snd_hdac_set_codec_wakeup - Enable / disable HDMI/DP codec wakeup 45 dev_dbg(bus->dev, "%s codec wakeup\n", in snd_hdac_set_codec_wakeup() 57 * @idx: HDA codec address, pass HDA_CODEC_IDX_CONTROLLER for controller 60 * This function is used by either HD-audio controller or codec driver that 64 * put_power() ops accordingly, toggling the codec wakeup, too. 110 * @codec: HDA codec 121 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_sync_audio_rate() argument 124 struct hdac_bus *bus = codec->bus; in snd_hdac_sync_audio_rate() 132 port = acomp->audio_ops->pin2port(codec, ni in snd_hdac_sync_audio_rate() 162 snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, bool *audio_enabled, char *buffer, int max_bytes) snd_hdac_acomp_get_eld() argument [all...] |
/kernel/linux/linux-6.6/sound/hda/ |
H A D | hdac_component.c | 23 * snd_hdac_set_codec_wakeup - Enable / disable HDMI/DP codec wakeup 45 dev_dbg(bus->dev, "%s codec wakeup\n", in snd_hdac_set_codec_wakeup() 57 * @idx: HDA codec address, pass HDA_CODEC_IDX_CONTROLLER for controller 60 * This function is used by either HD-audio controller or codec driver that 64 * put_power() ops accordingly, toggling the codec wakeup, too. 110 * @codec: HDA codec 121 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_sync_audio_rate() argument 124 struct hdac_bus *bus = codec->bus; in snd_hdac_sync_audio_rate() 132 port = acomp->audio_ops->pin2port(codec, ni in snd_hdac_sync_audio_rate() 162 snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, bool *audio_enabled, char *buffer, int max_bytes) snd_hdac_acomp_get_eld() argument [all...] |
/third_party/skia/gm/ |
H A D | animated_gif.cpp | 9 #include "include/codec/SkCodec.h" 125 errorMsg->printf("Could not create codec from %s", FLAGS_animatedGif[0]); 197 auto codec = load_codec(completepath.c_str()); in AnimCodecPlayerGM() local 198 if (codec) { in AnimCodecPlayerGM() 199 fPlayers.push_back(std::make_unique<SkAnimCodecPlayer>(std::move(codec))); in AnimCodecPlayerGM() 244 auto codec = SkCodec::MakeFromData(std::move(data)); in init() 245 fFrameInfos = codec->getFrameInfo(); in init() 246 fPlayer = std::make_unique<SkAnimCodecPlayer>(std::move(codec)); in init()
|
/third_party/libsnd/src/G72x/ |
H A D | g72x.h | 68 struct g72x_state * g72x_reader_init (int codec, int *blocksize, int *samplesperblock) ; 69 struct g72x_state * g72x_writer_init (int codec, int *blocksize, int *samplesperblock) ; 71 ** Initialize the ADPCM state table for the given codec.
|
/third_party/node/deps/base64/base64/lib/ |
H A D | codecs.h | 59 struct codec struct 65 extern void codec_choose (struct codec *, int flags);
|
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/ |
H A D | h264eprc.c | 264 priv->codec->begin_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask() 265 priv->codec->encode_bitstream(priv->codec, vbuf, task->bitstream, &task->feedback); in enc_HandleTask() 266 priv->codec->end_frame(priv->codec, vbuf, &picture.base); in enc_HandleTask() 322 priv->codec->flush(priv->codec); in encode_frame() 347 } else if (priv->codec->profile == PIPE_VIDEO_PROFILE_MPEG4_AVC_BASELINE || in encode_frame() 552 priv->codec in h264e_prc_prepare_to_transfer() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cbs.c | 98 ctx->codec = type; /* Must be before any error */ in ff_cbs_init() 101 ctx->priv_data = av_mallocz(ctx->codec->priv_data_size); in ff_cbs_init() 123 if (ctx->codec->flush) in ff_cbs_flush() 124 ctx->codec->flush(ctx); in ff_cbs_flush() 134 if (ctx->codec->close) in ff_cbs_close() 135 ctx->codec->close(ctx); in ff_cbs_close() 139 if (ctx->codec->priv_class && ctx->priv_data) in ff_cbs_close() 201 err = ctx->codec->read_unit(ctx, unit); in cbs_read_fragment_content() 264 err = ctx->codec->split_fragment(ctx, frag, header); in cbs_read_data() 362 ret = ctx->codec in cbs_write_unit_data() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_avbuffer_g711mu_encoder_demo.cpp | 47 static void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData) in OnError() argument 49 (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 *buffer, void *userData) in OnInputBufferAvailable() argument 65 (void)codec; in OnInputBufferAvailable() 73 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnOutputBufferAvailable() argument 75 (void)codec; in OnOutputBufferAvailable()
|
H A D | avcodec_audio_avbuffer_flac_encoder_demo.cpp | 53 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData)
in OnError() argument 55 (void)codec;
in OnError() 61 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData)
in OnOutputFormatChanged() argument 63 (void)codec;
in OnOutputFormatChanged() 69 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData)
in OnInputBufferAvailable() argument 71 (void)codec;
in OnInputBufferAvailable() 79 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData)
in OnOutputBufferAvailable() argument 81 (void)codec;
in OnOutputBufferAvailable()
|
H A D | avcodec_audio_avbuffer_aac_encoder_demo.cpp | 46 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 48 (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 *buffer, void *userData) in OnInputBufferAvailable() argument 64 (void)codec; in OnInputBufferAvailable() 72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnOutputBufferAvailable() argument 74 (void)codec; in OnOutputBufferAvailable()
|
H A D | avcodec_audio_avbuffer_amrwb_encoder_demo.cpp | 47 static void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData) in OnError() argument 49 (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 *buffer, void *userData) in OnInputBufferAvailable() argument 65 (void)codec; in OnInputBufferAvailable() 73 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnOutputBufferAvailable() argument 75 (void)codec; in OnOutputBufferAvailable()
|
H A D | avcodec_audio_avbuffer_amrnb_encoder_demo.cpp | 47 static void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData) in OnError() argument 49 (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 *buffer, void *userData) in OnInputBufferAvailable() argument 65 (void)codec; in OnInputBufferAvailable() 73 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnOutputBufferAvailable() argument 75 (void)codec; in OnOutputBufferAvailable()
|
/foundation/multimedia/av_codec/test/unittest/audio_vivid_test/ |
H A D | audio_decoder_avbuffer_vivid_unit_test.cpp | 82 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError() argument 84 (void)codec; in OnError() 90 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged() argument 92 (void)codec; in OnOutputFormatChanged() 98 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument 100 (void)codec; in OnInputBufferAvailable() 108 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument 110 (void)codec; in OnOutputBufferAvailable()
|