Home
last modified time | relevance | path

Searched refs:mCodecCtx (Results 1 – 2 of 2) sorted by relevance

/external/libavc/fuzzer/
Davc_enc_fuzzer.cpp174 iv_obj_t *mCodecCtx = nullptr; member in Codec
294 mCodecCtx = (iv_obj_t *)mMemRecords[0].pv_base; in initEncoder()
295 mCodecCtx->u4_size = sizeof(iv_obj_t); in initEncoder()
296 mCodecCtx->pv_fxns = (void *)ive_api_function; in initEncoder()
324 if (IV_SUCCESS != ive_api_function(mCodecCtx, &sInitIp, &sInitOp)) { in initEncoder()
370 ive_api_function(mCodecCtx, &sDimensionsIp, &sDimensionsOp); in setDimensions()
388 ive_api_function(mCodecCtx, (void *)&sNumCoresIp, (void *)&sNumCoresOp); in setNumCores()
405 ive_api_function(mCodecCtx, &sDefaultIp, &sDefaultOp); in setDefault()
422 ih264e_api_function(mCodecCtx, &sGetBufInfoIp, &sGetBufInfoOp); in getBufInfo()
441 ive_api_function(mCodecCtx, &sFrameRateIp, &sFrameRateOp); in setFrameRate()
[all …]
/external/libhevc/fuzzer/
Dhevc_enc_fuzzer.cpp90 void *mCodecCtx = nullptr; member in Codec
141 if (IHEVCE_EOK != ihevce_init(&mEncParams, &mCodecCtx)) { in initEncoder()
151 ihevce_encode_header(mCodecCtx, &sHeaderOp); in encodeFrames()
192 ihevce_encode(mCodecCtx, &sEncodeIp, &sEncodeOp); in encodeFrames()
201 if (mCodecCtx) { in deInitEncoder()
202 ihevce_close(mCodecCtx); in deInitEncoder()
203 mCodecCtx = nullptr; in deInitEncoder()