Home
last modified time | relevance | path

Searched refs:task (Results 1 – 22 of 22) 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 …]
DVideoEncoderVP8.h34 virtual Encode_Status sendEncodeCommand(EncodeTask *task);
46 Encode_Status renderPictureParams(EncodeTask *task);
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.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/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp51 void WorkerThread::schedule(function<void()> task, milliseconds delay) { in schedule() argument
57 mTasks.push(Task({when, task})); in schedule()
77 auto task = mTasks.top(); in threadLoop() local
78 if (task.when > steady_clock::now()) { in threadLoop()
79 mCond.wait_until(lk, task.when); in threadLoop()
85 task.what(); in threadLoop()
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp113 auto task = [this, sel]() { in tune() local
117 mThread.schedule(task, delay::tune); in tune()
133 auto task = [this, directionUp]() { in scan() local
138 mThread.schedule(task, delay::seek); in scan()
164 auto task = [this, tuneTo, directionUp]() { in scan() local
170 mThread.schedule(task, delay::seek); in scan()
203 auto task = [this, stepTo]() { in step() local
210 mThread.schedule(task, delay::step); in step()
246 auto task = [this, list]() { in startProgramListUpdates() local
256 mThread.schedule(task, delay::list); in startProgramListUpdates()
/hardware/interfaces/neuralnetworks/1.0/
DIPreparedModelCallback.hal23 * asynchronous task launched from IDevice::prepareModel.
28 * notify must be invoked immediately after the asynchronous task holding
33 * nullptr as the IPreparedModel. If the asynchronous task holding this
39 * preparation task; must be:
40 * - NONE if the asynchronous task successfully prepared the
43 * - GENERAL_FAILURE if the asynchronous task resulted in an
DIExecutionCallback.hal26 * notify must be invoked immediately after the asynchronous task has
28 * ErrorStatus resulting from the execution. If the asynchronous task
31 * @param status Error status returned from launching the asynchronous task
32 * (if the launch fails) or from the asynchronous task itself
36 * - GENERAL_FAILURE if the asynchronous task resulted in an
DIPreparedModel.hal34 * launch an asynchronous task to perform the execution in the background,
35 * and immediately return with ErrorStatus::NONE. If the asynchronous task
40 * When the asynchronous task has finished its execution, it must
55 * - NONE if task is successfully launched
DIDevice.hal75 * must launch an asynchronous task to prepare the model in the background,
77 * asynchronous task fails to launch, prepareModel must immediately invoke
81 * When the asynchronous task has finished preparing the model, it must
105 * @return status Error status of launching a task which prepares the model
107 * - NONE if preparation task is successfully launched
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.cpp115 auto task = [this, config]() { in setConfiguration() local
120 mThread.schedule(task, gDefaultDelay.config); in setConfiguration()
185 auto task = [this, direction]() { in scan() local
194 mThread.schedule(task, gDefaultDelay.scan); in scan()
220 auto task = [this, tuneTo, direction]() { in scan() local
226 mThread.schedule(task, gDefaultDelay.scan); in scan()
249 auto task = [this, direction]() { in step() local
267 mThread.schedule(task, gDefaultDelay.step); in step()
310 auto task = [this, sel]() { in tuneByProgramSelector() local
314 mThread.schedule(task, gDefaultDelay.tune); in tuneByProgramSelector()
/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/interfaces/neuralnetworks/1.1/
DIDevice.hal80 * must launch an asynchronous task to prepare the model in the background,
82 * asynchronous task fails to launch, prepareModel must immediately invoke
86 * When the asynchronous task has finished preparing the model, it must
112 * @return status Error status of launching a task which prepares the model
114 * - NONE if preparation task is successfully launched
/hardware/interfaces/broadcastradio/common/utils/include/broadcastradio-utils/
DWorkerThread.h30 void schedule(std::function<void()> task, std::chrono::milliseconds delay);
/hardware/interfaces/bluetooth/1.0/vts/functional/
DVtsHalBluetoothV1_0TargetTest.cpp110 ThroughputLogger(std::string task) in ThroughputLogger() argument
111 : task_(task), start_time_(std::chrono::steady_clock::now()) {} in ThroughputLogger()
/hardware/libhardware/modules/camera/3_4/
DREADME.md98 metadata components and perform the requested task.