Searched refs:task (Results 1 – 13 of 13) sorted by relevance
28 Encode_Status VideoEncoderH263::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument34 ret = renderSequenceParams(task); in sendEncodeCommand()38 ret = renderPictureParams(task); in sendEncodeCommand()41 ret = renderSliceParams(task); in sendEncodeCommand()89 Encode_Status VideoEncoderH263::renderPictureParams(EncodeTask *task) { in renderPictureParams() argument98 h263PictureParams.reference_picture = task->ref_surface; in renderPictureParams()99 h263PictureParams.reconstructed_picture = task->rec_surface; in renderPictureParams()105 h263PictureParams.coded_buf = task->coded_buffer; in renderPictureParams()108 …h263PictureParams.picture_type = (task->type == FTYPE_I) ? VAEncPictureTypeIntra : VAEncPictureTyp… in renderPictureParams()134 Encode_Status VideoEncoderH263::renderSliceParams(EncodeTask *task) { in renderSliceParams() argument[all …]
37 virtual Encode_Status sendEncodeCommand(EncodeTask *task);39 virtual Encode_Status updateFrameInfo(EncodeTask* task);53 Encode_Status renderSequenceParams(EncodeTask *task);54 Encode_Status renderPictureParams(EncodeTask *task);55 Encode_Status renderSliceParams(EncodeTask *task);57 Encode_Status renderPackedSequenceParams(EncodeTask *task);58 Encode_Status renderPackedPictureParams(EncodeTask *task);
31 virtual Encode_Status sendEncodeCommand(EncodeTask *task);51 Encode_Status renderSequenceParams(EncodeTask *task);52 Encode_Status renderPictureParams(EncodeTask *task);53 Encode_Status renderSliceParams(EncodeTask *task);
33 virtual Encode_Status sendEncodeCommand(EncodeTask *task);53 Encode_Status renderSequenceParams(EncodeTask *task);54 Encode_Status renderPictureParams(EncodeTask *task);55 Encode_Status renderSliceParams(EncodeTask *task);
179 Encode_Status VideoEncoderMP4::renderPictureParams(EncodeTask *task) { in renderPictureParams() argument186 mpeg4_pic_param.reference_picture = task->ref_surface; in renderPictureParams()187 mpeg4_pic_param.reconstructed_picture = task->rec_surface; in renderPictureParams()193 mpeg4_pic_param.coded_buf = task->coded_buffer; in renderPictureParams()197 …mpeg4_pic_param.picture_type = (task->type == FTYPE_I) ? VAEncPictureTypeIntra : VAEncPictureTypeP… in renderPictureParams()224 Encode_Status VideoEncoderMP4::renderSliceParams(EncodeTask *task) { in renderSliceParams() argument241 sliceParams.slice_flags.bits.is_intra = (task->type == FTYPE_I)?1:0; in renderSliceParams()264 Encode_Status VideoEncoderMP4::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument269 ret = renderSequenceParams(task); in sendEncodeCommand()273 ret = renderPictureParams(task); in sendEncodeCommand()[all …]
244 Encode_Status VideoEncoderAVC::updateFrameInfo(EncodeTask* task) { in updateFrameInfo() argument286 task->flag |= ENCODE_BUFFERFLAG_SYNCFRAME; in updateFrameInfo()288 if (frametype != task->type) { in updateFrameInfo()290 if ((uint32_t) task->type < 9) in updateFrameInfo()291 … thinks it is %s Frame, the input is %s Frame", FrameTypeStr[frametype], FrameTypeStr[task->type]); in updateFrameInfo()293 LOG_V("Wrong Frame type %d, type may not be initialized ?\n", task->type); in updateFrameInfo()298 task->type = frametype; in updateFrameInfo()733 Encode_Status VideoEncoderAVC::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument746 ret = renderSequenceParams(task); in sendEncodeCommand()751 …updateFrameInfo(task); //recalculate frame info if mNewHeader is set true after PrepareFrameInfo i… in sendEncodeCommand()[all …]
373 EncodeTask* task = new EncodeTask(); in encode() local375 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()[all …]
78 virtual Encode_Status sendEncodeCommand(EncodeTask* task) = 0;84 virtual Encode_Status updateFrameInfo(EncodeTask* task) ;87 Encode_Status renderDynamicBitrate(EncodeTask* task);98 void PrepareFrameInfo(EncodeTask* task);
34 virtual Encode_Status sendEncodeCommand(EncodeTask *task);46 Encode_Status renderPictureParams(EncodeTask *task);
109 Encode_Status VideoEncoderVP8::renderPictureParams(EncodeTask *task) { in renderPictureParams() argument115 vp8PicParam.coded_buf = task->coded_buffer; in renderPictureParams()318 Encode_Status VideoEncoderVP8::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument367 ret = renderPictureParams(task); in sendEncodeCommand()
34 decltype(auto) delay_async(Duration&& delay, Function&& task) in decltype()36 return std::async(std::launch::async, [=]{ std::this_thread::sleep_for(delay); task(); }); in decltype()
396 static int get_my_tt(int task) { in get_my_tt() argument397 tt(task); in get_my_tt()
688 sp<Task> task; in threadLoop() local694 task = *mTasks.begin(); in threadLoop()697 if (task != NULL) { in threadLoop()698 task->run(*this); in threadLoop()699 task = NULL; in threadLoop()