Home
last modified time | relevance | path

Searched refs:task (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderH263.cpp28 Encode_Status VideoEncoderH263::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument
34 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() argument
98 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 …]
DVideoEncoderAVC.h37 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);
DVideoEncoderH263.h31 virtual Encode_Status sendEncodeCommand(EncodeTask *task);
51 Encode_Status renderSequenceParams(EncodeTask *task);
52 Encode_Status renderPictureParams(EncodeTask *task);
53 Encode_Status renderSliceParams(EncodeTask *task);
DVideoEncoderMP4.h33 virtual Encode_Status sendEncodeCommand(EncodeTask *task);
53 Encode_Status renderSequenceParams(EncodeTask *task);
54 Encode_Status renderPictureParams(EncodeTask *task);
55 Encode_Status renderSliceParams(EncodeTask *task);
DVideoEncoderMP4.cpp179 Encode_Status VideoEncoderMP4::renderPictureParams(EncodeTask *task) { in renderPictureParams() argument
186 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() argument
241 sliceParams.slice_flags.bits.is_intra = (task->type == FTYPE_I)?1:0; in renderSliceParams()
264 Encode_Status VideoEncoderMP4::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument
269 ret = renderSequenceParams(task); in sendEncodeCommand()
273 ret = renderPictureParams(task); in sendEncodeCommand()
[all …]
DVideoEncoderAVC.cpp244 Encode_Status VideoEncoderAVC::updateFrameInfo(EncodeTask* task) { in updateFrameInfo() argument
286 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() argument
746 ret = renderSequenceParams(task); in sendEncodeCommand()
751 …updateFrameInfo(task); //recalculate frame info if mNewHeader is set true after PrepareFrameInfo i… in sendEncodeCommand()
[all …]
DVideoEncoderBase.cpp373 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()
[all …]
DVideoEncoderBase.h78 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);
DVideoEncoderVP8.h34 virtual Encode_Status sendEncodeCommand(EncodeTask *task);
46 Encode_Status renderPictureParams(EncodeTask *task);
DVideoEncoderVP8.cpp109 Encode_Status VideoEncoderVP8::renderPictureParams(EncodeTask *task) { in renderPictureParams() argument
115 vp8PicParam.coded_buf = task->coded_buffer; in renderPictureParams()
318 Encode_Status VideoEncoderVP8::sendEncodeCommand(EncodeTask *task) { in sendEncodeCommand() argument
367 ret = renderPictureParams(task); in sendEncodeCommand()
/hardware/libhardware/tests/input/evdev/
DTestHelpers.h34 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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem.c396 static int get_my_tt(int task) { in get_my_tt() argument
397 tt(task); in get_my_tt()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DVirtualDevice.cpp688 sp<Task> task; in threadLoop() local
694 task = *mTasks.begin(); in threadLoop()
697 if (task != NULL) { in threadLoop()
698 task->run(*this); in threadLoop()
699 task = NULL; in threadLoop()