Home
last modified time | relevance | path

Searched refs:fmpt_ctx (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Common/src/
H A DAudioDecoderDemoCommon.cpp411 int32_t ret = av_read_frame(fmpt_ctx, &pkt); in NativeInputFunc()
522 for (uint32_t i = 0; i < fmpt_ctx->nb_streams; i++) { in NativeGetVorbisConf()
523 if (fmpt_ctx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) { in NativeGetVorbisConf()
532 AVCodecParameters *codec_params = fmpt_ctx->streams[audio_stream_index]->codecpar; in NativeGetVorbisConf()
566 ret = avformat_open_input(&fmpt_ctx, inputFilePath.c_str(), NULL, NULL); in NativeCreateToStart()
571 if (avformat_find_stream_info(fmpt_ctx, NULL) < 0) { in NativeCreateToStart()
627 avformat_close_input(&fmpt_ctx); in NativeCloseFFmpeg()
632 int ret = avformat_open_input(&fmpt_ctx, inputFilePath.c_str(), NULL, NULL); in NativeFFmpegConf()
637 if (avformat_find_stream_info(fmpt_ctx, NULL) < 0) { in NativeFFmpegConf()
687 int32_t ret = avformat_open_input(&fmpt_ctx, inputFilePat in NativeRunCaseWithoutCreate()
[all...]
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Common/include/
H A DAudioDecoderDemoCommon.h240 AVFormatContext* fmpt_ctx = nullptr; member in OHOS::MediaAVCodec::AudioDecoderDemo

Completed in 4 milliseconds