Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/codec2/components/vpx/
H A DC2SoftVpxEnc.cpp54 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()
[all …]
H A 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()
H A DC2SoftVp8Enc.cpp58 vpx_codec_err_t codec_return = vpx_codec_control(mCodecContext, in setCodecSpecificControls()
H A DC2SoftVpxEnc.h150 vpx_codec_ctx_t* mCodecContext; member
/aosp12/frameworks/av/media/libstagefright/codecs/on2/enc/
H A 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()
317 if (mCodecContext != NULL) { in releaseEncoder()
318 vpx_codec_destroy(mCodecContext); in releaseEncoder()
319 delete mCodecContext; in releaseEncoder()
320 mCodecContext = NULL; in releaseEncoder()
620 if (mCodecContext == NULL) { in onQueueFilled()
[all …]
H A 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()
H A DSoftVPXEncoder.h188 vpx_codec_ctx_t* mCodecContext; member
H A DSoftVP8Encoder.cpp82 vpx_codec_err_t codec_return = vpx_codec_control(mCodecContext, in setCodecSpecificControls()