Home
last modified time | relevance | path

Searched refs:mCodecContext (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp54 mCodecContext(nullptr), in C2SoftVpxEnc()
84 if (mCodecContext) { in onRelease()
85 vpx_codec_destroy(mCodecContext); in onRelease()
86 delete mCodecContext; in onRelease()
87 mCodecContext = nullptr; in onRelease()
272 mCodecContext = new vpx_codec_ctx_t; in initEncoder()
273 if (!mCodecContext) goto CleanUp; in initEncoder()
274 codec_return = vpx_codec_enc_init(mCodecContext, in initEncoder()
285 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
295 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
[all …]
DC2SoftVp9Enc.cpp64 mCodecContext, VP9E_SET_TILE_COLUMNS, mTileColumns); in setCodecSpecificControls()
71 mCodecContext, VP9E_SET_FRAME_PARALLEL_DECODING, in setCodecSpecificControls()
79 codecReturn = vpx_codec_control(mCodecContext, VP9E_SET_ROW_MT, 1); in setCodecSpecificControls()
88 codecReturn = vpx_codec_control(mCodecContext, VP8E_SET_CPUUSED, 8); in setCodecSpecificControls()
DC2SoftVp8Enc.cpp58 vpx_codec_err_t codec_return = vpx_codec_control(mCodecContext, in setCodecSpecificControls()
DC2SoftVpxEnc.h150 vpx_codec_ctx_t* mCodecContext; member
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp75 mCodecContext(NULL), in SoftVPXEncoder()
251 mCodecContext = new vpx_codec_ctx_t; in initEncoder()
252 codec_return = vpx_codec_enc_init(mCodecContext, in initEncoder()
264 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
274 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
279 codec_return = vpx_codec_control(mCodecContext, in initEncoder()
317 if (mCodecContext != NULL) { in releaseEncoder()
318 vpx_codec_destroy(mCodecContext); in releaseEncoder()
319 delete mCodecContext; in releaseEncoder()
320 mCodecContext = NULL; in releaseEncoder()
[all …]
DSoftVP9Encoder.cpp57 mCodecContext, VP9E_SET_TILE_COLUMNS, mTileColumns); in setCodecSpecificControls()
64 mCodecContext, VP9E_SET_FRAME_PARALLEL_DECODING, in setCodecSpecificControls()
72 codecReturn = vpx_codec_control(mCodecContext, VP9E_SET_ROW_MT, 1); in setCodecSpecificControls()
81 codecReturn = vpx_codec_control(mCodecContext, VP8E_SET_CPUUSED, 8); in setCodecSpecificControls()
DSoftVPXEncoder.h188 vpx_codec_ctx_t* mCodecContext; member
DSoftVP8Encoder.cpp82 vpx_codec_err_t codec_return = vpx_codec_control(mCodecContext, in setCodecSpecificControls()