Lines Matching refs:task

373     EncodeTask* task = new EncodeTask();  in encode()  local
375 task->completed = false; in encode()
376 task->enc_surface = sid; in encode()
377 task->coded_buffer = coded_buf; in encode()
378 task->timestamp = inBuffer->timeStamp; in encode()
379 task->priv = inBuffer->priv; in encode()
382 task->type = inBuffer->type; in encode()
383 task->flag = inBuffer->flag; in encode()
384 PrepareFrameInfo(task); in encode()
401 task->ref_surface = mRefSurface; in encode()
402 task->rec_surface = mRecSurface; in encode()
413 task->ref_surface = VA_INVALID_SURFACE; in encode()
414 task->rec_surface = VA_INVALID_SURFACE; in encode()
417 LOG_V("Start Encoding vaSurface=0x%08x\n", task->enc_surface); in encode()
419 vaStatus = vaBeginPicture(mVADisplay, mVAContext, task->enc_surface); in encode()
422 ret = sendEncodeCommand(task); in encode()
428 LOG_V("Add Task %p into Encode Task list\n", task); in encode()
430 mEncodeTaskList.push_back(task); in encode()
442 delete task; in encode()
1417 void VideoEncoderBase:: PrepareFrameInfo (EncodeTask* task) { in PrepareFrameInfo() argument
1421 updateFrameInfo(task) ; in PrepareFrameInfo()
1424 Encode_Status VideoEncoderBase:: updateFrameInfo (EncodeTask* task) { in updateFrameInfo() argument
1426 task->type = FTYPE_P; in updateFrameInfo()
1430 task->type = FTYPE_I; in updateFrameInfo()
1432 task->type = FTYPE_I; in updateFrameInfo()
1434 if (task->type == FTYPE_I) in updateFrameInfo()
1435 task->flag |= ENCODE_BUFFERFLAG_SYNCFRAME; in updateFrameInfo()
1787 Encode_Status VideoEncoderBase::renderDynamicBitrate(EncodeTask* task) { in renderDynamicBitrate() argument
1813 …if(mComParams.rcParams.enableIntraFrameQPControl && (task->type == FTYPE_IDR || task->type == FTYP… in renderDynamicBitrate()