Searched refs:mCodecCtx (Results 1 – 3 of 3) sorted by relevance
84 mCodecCtx = avcodec_alloc_context3(mCodec); in init()87 mCodecCtx->thread_count = std::min(mThreadCount, 4); in init()88 mCodecCtx->thread_type = FF_THREAD_FRAME; in init()89 mCodecCtx->active_thread_type = FF_THREAD_FRAME; in init()91 avcodec_open2(mCodecCtx, mCodec, 0); in init()95 mCodecCtx); in init()110 if (mCodecCtx) { in deInit()111 avcodec_flush_buffers(mCodecCtx); in deInit()112 avcodec_close(mCodecCtx); in deInit()113 avcodec_free_context(&mCodecCtx); in deInit()[all …]
113 mCodecCtx = avcodec_alloc_context3(mCodec); in initH264ContextInternal()115 mCodecCtx->thread_count = 4; in initH264ContextInternal()116 mCodecCtx->thread_type = FF_THREAD_FRAME; in initH264ContextInternal()117 avcodec_open2(mCodecCtx, mCodec, 0); in initH264ContextInternal()120 H264_DPRINT("Successfully created software h264 decoder context %p", mCodecCtx); in initH264ContextInternal()137 if (mCodecCtx) { in destroyH264Context()138 avcodec_close(mCodecCtx); in destroyH264Context()139 av_free(mCodecCtx); in destroyH264Context()140 mCodecCtx = NULL; in destroyH264Context()150 avcodec_close(mCodecCtx); in resetDecoder()[all …]
73 AVCodecContext* mCodecCtx = nullptr; variable