Home
last modified time | relevance | path

Searched defs:codec (Results 1 – 25 of 62) sorted by relevance

123

/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/
Dnative_video_decoder.cpp58 NativeVideoDecoderCallback(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeVideoDecoderCallback()
148 …OH_AVMemory *GetTransData(struct OH_AVCodec **codec, uint32_t *index, std::shared_ptr<AVSharedMemo… in GetTransData()
179 …OH_AVMemory *GetInputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory… in GetInputData()
184 …OH_AVMemory *GetOutputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemor… in GetOutputData()
221 OH_AVErrCode OH_VideoDecoder_Destroy(struct OH_AVCodec *codec) in OH_VideoDecoder_Destroy()
252 OH_AVErrCode OH_VideoDecoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) in OH_VideoDecoder_Configure()
271 OH_AVErrCode OH_VideoDecoder_Prepare(struct OH_AVCodec *codec) in OH_VideoDecoder_Prepare()
287 OH_AVErrCode OH_VideoDecoder_Start(struct OH_AVCodec *codec) in OH_VideoDecoder_Start()
306 OH_AVErrCode OH_VideoDecoder_Stop(struct OH_AVCodec *codec) in OH_VideoDecoder_Stop()
328 OH_AVErrCode OH_VideoDecoder_Flush(struct OH_AVCodec *codec) in OH_VideoDecoder_Flush()
[all …]
Dnative_video_encoder.cpp57 NativeVideoEncoderCallback(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeVideoEncoderCallback()
147 …OH_AVMemory *GetInputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory… in GetInputData()
173 …OH_AVMemory *GetOutputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemor… in GetOutputData()
231 OH_AVErrCode OH_VideoEncoder_Destroy(struct OH_AVCodec *codec) in OH_VideoEncoder_Destroy()
262 OH_AVErrCode OH_VideoEncoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) in OH_VideoEncoder_Configure()
281 OH_AVErrCode OH_VideoEncoder_Prepare(struct OH_AVCodec *codec) in OH_VideoEncoder_Prepare()
297 OH_AVErrCode OH_VideoEncoder_Start(struct OH_AVCodec *codec) in OH_VideoEncoder_Start()
316 OH_AVErrCode OH_VideoEncoder_Stop(struct OH_AVCodec *codec) in OH_VideoEncoder_Stop()
338 OH_AVErrCode OH_VideoEncoder_Flush(struct OH_AVCodec *codec) in OH_VideoEncoder_Flush()
359 OH_AVErrCode OH_VideoEncoder_Reset(struct OH_AVCodec *codec) in OH_VideoEncoder_Reset()
[all …]
Dnative_audio_encoder.cpp53 NativeAudioEncoderCallback(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeAudioEncoderCallback()
122 …OH_AVMemory *GetInputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory… in GetInputData()
148 …OH_AVMemory *GetOutputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemor… in GetOutputData()
212 OH_AVErrCode OH_AudioEncoder_Destroy(struct OH_AVCodec *codec) in OH_AudioEncoder_Destroy()
242 OH_AVErrCode OH_AudioEncoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) in OH_AudioEncoder_Configure()
260 OH_AVErrCode OH_AudioEncoder_Prepare(struct OH_AVCodec *codec) in OH_AudioEncoder_Prepare()
276 OH_AVErrCode OH_AudioEncoder_Start(struct OH_AVCodec *codec) in OH_AudioEncoder_Start()
295 OH_AVErrCode OH_AudioEncoder_Stop(struct OH_AVCodec *codec) in OH_AudioEncoder_Stop()
318 OH_AVErrCode OH_AudioEncoder_Flush(struct OH_AVCodec *codec) in OH_AudioEncoder_Flush()
345 OH_AVErrCode OH_AudioEncoder_Reset(struct OH_AVCodec *codec) in OH_AudioEncoder_Reset()
[all …]
Dnative_audio_decoder.cpp51 NativeAudioDecoder(OH_AVCodec *codec, struct OH_AVCodecAsyncCallback cb, void *userData) in NativeAudioDecoder()
122 …OH_AVMemory *GetInputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemory… in GetInputData()
148 …OH_AVMemory *GetOutputData(struct OH_AVCodec *codec, uint32_t index, std::shared_ptr<AVSharedMemor… in GetOutputData()
212 OH_AVErrCode OH_AudioDecoder_Destroy(struct OH_AVCodec *codec) in OH_AudioDecoder_Destroy()
243 OH_AVErrCode OH_AudioDecoder_Configure(struct OH_AVCodec *codec, struct OH_AVFormat *format) in OH_AudioDecoder_Configure()
261 OH_AVErrCode OH_AudioDecoder_Prepare(struct OH_AVCodec *codec) in OH_AudioDecoder_Prepare()
276 OH_AVErrCode OH_AudioDecoder_Start(struct OH_AVCodec *codec) in OH_AudioDecoder_Start()
294 OH_AVErrCode OH_AudioDecoder_Stop(struct OH_AVCodec *codec) in OH_AudioDecoder_Stop()
318 OH_AVErrCode OH_AudioDecoder_Flush(struct OH_AVCodec *codec) in OH_AudioDecoder_Flush()
344 OH_AVErrCode OH_AudioDecoder_Reset(struct OH_AVCodec *codec) in OH_AudioDecoder_Reset()
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/test/unittest/jsfrontend/codec/
Dgroup_message_codec_test.cpp85 StandardFunctionCodec codec; variable
121 StandardFunctionCodec codec; variable
158 StandardFunctionCodec codec; variable
194 StandardFunctionCodec codec; variable
230 StandardFunctionCodec codec; variable
266 StandardFunctionCodec codec; variable
310 StandardFunctionCodec codec; variable
354 StandardFunctionCodec codec; variable
396 StandardFunctionCodec codec; variable
445 StandardFunctionCodec codec; variable
/foundation/multimedia/av_codec/test/unittest/vcodec_test/capi/
Dvideodec_capi_mock.cpp25 void VideoDecCapiMock::OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
34 void VideoDecCapiMock::OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged()
44 void VideoDecCapiMock::OnNeedInputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *… in OnNeedInputData()
54 void VideoDecCapiMock::OnNewOutputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVC… in OnNewOutputData()
65 std::shared_ptr<AVCodecCallbackMock> VideoDecCapiMock::GetCallback(OH_AVCodec *codec) in GetCallback()
74 void VideoDecCapiMock::SetCallback(OH_AVCodec *codec, std::shared_ptr<AVCodecCallbackMock> cb) in SetCallback()
80 void VideoDecCapiMock::DelCallback(OH_AVCodec *codec) in DelCallback()
Dvideoenc_capi_mock.cpp28 void VideoEncCapiMock::OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
37 void VideoEncCapiMock::OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged()
47 void VideoEncCapiMock::OnNeedInputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *… in OnNeedInputData()
57 void VideoEncCapiMock::OnNewOutputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVC… in OnNewOutputData()
68 std::shared_ptr<AVCodecCallbackMock> VideoEncCapiMock::GetCallback(OH_AVCodec *codec) in GetCallback()
77 void VideoEncCapiMock::SetCallback(OH_AVCodec *codec, std::shared_ptr<AVCodecCallbackMock> cb) in SetCallback()
83 void VideoEncCapiMock::DelCallback(OH_AVCodec *codec) in DelCallback()
Dvideoenc_capi_mock.h29 explicit VideoEncCapiMock(OH_AVCodec *codec) : codec_(codec) {} in VideoEncCapiMock()
Dvideodec_capi_mock.h30 explicit VideoDecCapiMock(OH_AVCodec *codec) : codec_(codec) {} in VideoDecCapiMock()
/foundation/arkui/ace_engine/frameworks/core/image/test/unittest/
Dimage_provider_test.cpp73 auto codec = SkCodec::MakeFromData(data); variable
102 auto codec = SkCodec::MakeFromData(data); variable
133 auto codec = SkCodec::MakeFromData(data); variable
224 auto codec = SkCodec::MakeFromData(data); variable
/foundation/multimedia/av_codec/services/services/codec/server/
Dcodec_factory.cpp58 std::shared_ptr<CodecBase> codec = CreateCodecByName(codecname); in CreateCodecByMime() local
67 std::shared_ptr<CodecBase> codec = nullptr; in CreateCodecByName() local
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Common/src/
DAudioDecoderDemoCommon.cpp32 void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
40 void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged()
48 void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) in OnInputBufferAvailable()
59 void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBuffer… in OnOutputBufferAvailable()
108 OH_AVErrCode AudioDecoderDemo::NativeDestroy(OH_AVCodec *codec) in NativeDestroy()
114 OH_AVErrCode AudioDecoderDemo::NativeSetCallback(OH_AVCodec *codec, OH_AVCodecAsyncCallback callbac… in NativeSetCallback()
119 OH_AVErrCode AudioDecoderDemo::NativeConfigure(OH_AVCodec *codec, OH_AVFormat *format) in NativeConfigure()
124 OH_AVErrCode AudioDecoderDemo::NativePrepare(OH_AVCodec *codec) in NativePrepare()
129 OH_AVErrCode AudioDecoderDemo::NativeStart(OH_AVCodec *codec) in NativeStart()
142 OH_AVErrCode AudioDecoderDemo::NativeStop(OH_AVCodec *codec) in NativeStop()
[all …]
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/src/
DAudioEncoderDemoCommon.cpp32 void OnError(OH_AVCodec* codec, int32_t errorCode, void* userData) in OnError()
40 void OnOutputFormatChanged(OH_AVCodec* codec, OH_AVFormat* format, void* userData) in OnOutputFormatChanged()
48 … void OnInputBufferAvailable(OH_AVCodec* codec, uint32_t index, OH_AVMemory* data, void* userData) in OnInputBufferAvailable()
59 void OnOutputBufferAvailable(OH_AVCodec* codec, uint32_t index, in OnOutputBufferAvailable()
104 OH_AVErrCode AudioEncoderDemo::NativeDestroy(OH_AVCodec *codec) in NativeDestroy()
110 OH_AVErrCode AudioEncoderDemo::NativeSetCallback(OH_AVCodec* codec, OH_AVCodecAsyncCallback callbac… in NativeSetCallback()
115 OH_AVErrCode AudioEncoderDemo::NativeConfigure(OH_AVCodec* codec, OH_AVFormat* format) in NativeConfigure()
120 OH_AVErrCode AudioEncoderDemo::NativePrepare(OH_AVCodec* codec) in NativePrepare()
125 OH_AVErrCode AudioEncoderDemo::NativeStart(OH_AVCodec* codec) in NativeStart()
138 OH_AVErrCode AudioEncoderDemo::NativeStop(OH_AVCodec* codec) in NativeStop()
[all …]
/foundation/arkui/ace_engine/frameworks/core/common/
Dplatform_bridge.cpp40 StandardFunctionCodec codec; in SendMessage() local
53 StandardFunctionCodec codec; in HandleCallback() local
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/codec/hdi_plugins/
Dhdi_init.h35 std::weak_ptr<IGstCodec> codec; member
49 std::weak_ptr<IGstCodec> codec; member
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/btm/
Dbtm_sco_def.c154 const BtmEscoParameters *BtmGetEscoParameters(uint8_t codec) in BtmGetEscoParameters()
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/
Davcodec_audio_aac_encoder_demo.cpp44 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
52 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged()
60 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *user… in OnInputBufferAvailable()
70 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCode… in OnOutputBufferAvailable()
Davcodec_audio_flac_encoder_demo.cpp50 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
58 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged()
66 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *user… in OnInputBufferAvailable()
76 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCode… in OnOutputBufferAvailable()
Davcodec_audio_decoder_demo.cpp48 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
56 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged()
64 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *user… in OnInputBufferAvailable()
74 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCode… in OnOutputBufferAvailable()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
Dhcodec_api.cpp30 void CreateHCodecByName(const std::string& name, std::shared_ptr<CodecBase>& codec) in CreateHCodecByName()
/foundation/multimedia/av_codec/test/nativedemo/video_demo/
Davcodec_video_decoder_demo.cpp52 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
60 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged()
68 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *user… in OnInputBufferAvailable()
79 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCode… in OnOutputBufferAvailable()
/foundation/distributedhardware/distributed_audio/audiohandler/src/
Ddaudio_handler.cpp139 for (auto codec : avCodecList->GetAudioEncoderCaps()) { in QueryCodecInfo() local
150 for (auto codec : avCodecList->GetAudioDecoderCaps()) { in QueryCodecInfo() local
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
Danimated_image.cpp49 auto codec = SkCodec::MakeFromData(skData); in Create() local
66 auto codec = SkCodec::MakeFromData(skData); in Create() local
77 AnimatedImage::AnimatedImage(const std::unique_ptr<SkCodec>& codec, std::string url) : cacheKey_(st… in AnimatedImage()
299const std::unique_ptr<SkCodec>& codec, const RefPtr<ImageSource>& src, const ResizeParam& size, st… in AnimatedPixmap()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
Dtester_capi.cpp26 void TesterCapi::OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
31 void TesterCapi::OnStreamChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnStreamChanged()
36 void TesterCapi::OnNeedInputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userDa… in OnNeedInputData()
48OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr, void *userData) in OnNewOutputData()
/foundation/multimedia/av_codec/test/unittest/audio_test/
Daudio_encoder_capi_unit_test.cpp86 static void OnError(OH_AVCodec *codec, int32_t errorCode, void *userData) in OnError()
94 static void OnOutputFormatChanged(OH_AVCodec *codec, OH_AVFormat *format, void *userData) in OnOutputFormatChanged()
102 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *user… in OnInputBufferAvailable()
112 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCode… in OnOutputBufferAvailable()

123