Lines Matching refs:mCodecContext
54 mCodecContext(nullptr), in C2SoftVpxEnc()
85 if (mCodecContext) { in onRelease()
86 vpx_codec_destroy(mCodecContext); in onRelease()
87 delete mCodecContext; in onRelease()
88 mCodecContext = nullptr; in onRelease()
277 mCodecContext = new vpx_codec_ctx_t; in initEncoder()
278 if (!mCodecContext) goto CleanUp; in initEncoder()
279 codec_return = vpx_codec_enc_init(mCodecContext, in initEncoder()
290 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
300 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
305 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
430 if (!mCodecContext && OK != initEncoder()) { in process()
570 vpx_codec_err_t res = vpx_codec_enc_config_set(mCodecContext, in process()
596 vpx_codec_err_t codec_return = vpx_codec_encode(mCodecContext, &raw_frame, in process()
611 mCodecContext, &encoded_packet_iterator))) { in process()