Searched refs:task (Results 1 – 12 of 12) 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);
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 …]
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);
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 …]
370 EncodeTask* task = new EncodeTask(); in encode() local372 task->completed = false; in encode()373 task->enc_surface = sid; in encode()374 task->coded_buffer = coded_buf; in encode()375 task->timestamp = inBuffer->timeStamp; in encode()376 task->priv = inBuffer->priv; in encode()379 task->type = inBuffer->type; in encode()380 task->flag = inBuffer->flag; in encode()381 PrepareFrameInfo(task); in encode()398 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()
396 static int get_my_tt(int task) { in get_my_tt() argument397 tt(task); in get_my_tt()
8300 const task_t task = mach_task_self(); in GetThreadCount() local8303 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()8307 vm_deallocate(task, in GetThreadCount()