Home
last modified time | relevance | path

Searched refs:mCodec (Results 1 – 3 of 3) sorted by relevance

/hardware/google/aemu/host-common/
DMediaFfmpegVideoHelper.cpp77 mCodec = NULL; in init()
78 mCodec = avcodec_find_decoder(codecType); in init()
79 if (!mCodec) { in init()
84 mCodecCtx = avcodec_alloc_context3(mCodec); in init()
91 avcodec_open2(mCodecCtx, mCodec, 0); in init()
115 mCodec = NULL; in deInit()
DMediaH264DecoderFfmpeg.cpp97 mCodec = NULL; in initH264ContextInternal()
101 mCodec = avcodec_find_decoder_by_name("h264_cuvid"); in initH264ContextInternal()
102 if (mCodec) { in initH264ContextInternal()
109 if (!mCodec) { in initH264ContextInternal()
110 mCodec = avcodec_find_decoder(AV_CODEC_ID_H264); in initH264ContextInternal()
113 mCodecCtx = avcodec_alloc_context3(mCodec); in initH264ContextInternal()
117 avcodec_open2(mCodecCtx, mCodec, 0); in initH264ContextInternal()
152 mCodecCtx = avcodec_alloc_context3(mCodec); in resetDecoder()
153 avcodec_open2(mCodecCtx, mCodec, 0); in resetDecoder()
/hardware/google/aemu/host-common/include/host-common/
DMediaFfmpegVideoHelper.h72 AVCodec* mCodec = nullptr; variable