/hardware/intel/common/libmix/videoencoder/ |
H A D | VideoEncoderH263.cpp | 28 Encode_Status VideoEncoderH263::sendEncodeCommand(EncodeTask *task) { argument 34 ret = renderSequenceParams(task); 38 ret = renderPictureParams(task); 41 ret = renderSliceParams(task); 89 Encode_Status VideoEncoderH263::renderPictureParams(EncodeTask *task) { argument 98 h263PictureParams.reference_picture = task->ref_surface; 99 h263PictureParams.reconstructed_picture = task->rec_surface; 105 h263PictureParams.coded_buf = task->coded_buffer; 108 h263PictureParams.picture_type = (task->type == FTYPE_I) ? VAEncPictureTypeIntra : VAEncPictureTypePredictive; 134 Encode_Status VideoEncoderH263::renderSliceParams(EncodeTask *task) { argument [all...] |
H A D | VideoEncoderMP4.cpp | 179 Encode_Status VideoEncoderMP4::renderPictureParams(EncodeTask *task) { argument 186 mpeg4_pic_param.reference_picture = task->ref_surface; 187 mpeg4_pic_param.reconstructed_picture = task->rec_surface; 193 mpeg4_pic_param.coded_buf = task->coded_buffer; 197 mpeg4_pic_param.picture_type = (task->type == FTYPE_I) ? VAEncPictureTypeIntra : VAEncPictureTypePredictive; 224 Encode_Status VideoEncoderMP4::renderSliceParams(EncodeTask *task) { argument 241 sliceParams.slice_flags.bits.is_intra = (task->type == FTYPE_I)?1:0; 264 Encode_Status VideoEncoderMP4::sendEncodeCommand(EncodeTask *task) { argument 269 ret = renderSequenceParams(task); 273 ret = renderPictureParams(task); [all...] |
H A D | VideoEncoderVP8.cpp | 109 Encode_Status VideoEncoderVP8::renderPictureParams(EncodeTask *task) { argument 115 vp8PicParam.coded_buf = task->coded_buffer; 318 Encode_Status VideoEncoderVP8::sendEncodeCommand(EncodeTask *task) { argument 367 ret = renderPictureParams(task);
|
H A D | VideoEncoderAVC.cpp | 244 Encode_Status VideoEncoderAVC::updateFrameInfo(EncodeTask* task) { argument 286 task->flag |= ENCODE_BUFFERFLAG_SYNCFRAME; 288 if (frametype != task->type) { 290 if ((uint32_t) task->type < 9) 291 LOG_V("libMIX thinks it is %s Frame, the input is %s Frame", FrameTypeStr[frametype], FrameTypeStr[task->type]); 293 LOG_V("Wrong Frame type %d, type may not be initialized ?\n", task->type); 297 // if (task->type == FTYPE_UNKNOWN || (uint32_t) task->type > 9) 298 task->type = frametype; 733 Encode_Status VideoEncoderAVC::sendEncodeCommand(EncodeTask *task) { argument 1138 renderPictureParams(EncodeTask *task) argument 1257 renderSliceParams(EncodeTask *task) argument [all...] |
H A D | VideoEncoderBase.cpp | 373 EncodeTask* task = new EncodeTask(); local 375 task->completed = false; 376 task->enc_surface = sid; 377 task->coded_buffer = coded_buf; 378 task->timestamp = inBuffer->timeStamp; 379 task->priv = inBuffer->priv; 382 task->type = inBuffer->type; 383 task->flag = inBuffer->flag; 384 PrepareFrameInfo(task); 401 task 1417 PrepareFrameInfo(EncodeTask* task) argument 1424 updateFrameInfo(EncodeTask* task) argument 1787 renderDynamicBitrate(EncodeTask* task) argument [all...] |
/hardware/interfaces/broadcastradio/common/utils/ |
H A D | WorkerThread.cpp | 51 void WorkerThread::schedule(function<void()> task, milliseconds delay) { argument 57 mTasks.push(Task({when, task})); 77 auto task = mTasks.top(); local 78 if (task.when > steady_clock::now()) { 79 mCond.wait_until(lk, task.when); 84 lk.unlock(); // what() might need to schedule another task 85 task.what();
|
/hardware/libhardware/tests/input/evdev/ |
H A D | TestHelpers.h | 28 * will block until the task completes. This is almost certainly NOT what you 34 decltype(auto) delay_async(Duration&& delay, Function&& task) argument 36 return std::async(std::launch::async, [=]{ std::this_thread::sleep_for(delay); task(); });
|
/hardware/interfaces/broadcastradio/1.1/default/ |
H A D | Tuner.cpp | 115 auto task = [this, config]() { 120 mThread.schedule(task, gDefaultDelay.config); 185 auto task = [this, direction]() { local 194 mThread.schedule(task, gDefaultDelay.scan); 220 auto task = [this, tuneTo, direction]() { local 226 mThread.schedule(task, gDefaultDelay.scan); 249 auto task = [this, direction]() { local 267 mThread.schedule(task, gDefaultDelay.step); 310 auto task = [this, sel]() { local 314 mThread.schedule(task, gDefaultDela [all...] |
/hardware/interfaces/broadcastradio/2.0/default/ |
H A D | TunerSession.cpp | 113 auto task = [this, sel]() { local 117 mThread.schedule(task, delay::tune); 133 auto task = [this, directionUp]() { local 138 mThread.schedule(task, delay::seek); 164 auto task = [this, tuneTo, directionUp]() { local 170 mThread.schedule(task, delay::seek); 203 auto task = [this, stepTo]() { local 210 mThread.schedule(task, delay::step); 246 auto task = [this, list]() { local 256 mThread.schedule(task, dela [all...] |
/hardware/interfaces/bluetooth/1.0/vts/functional/ |
H A D | VtsHalBluetoothV1_0TargetTest.cpp | 110 ThroughputLogger(std::string task) argument 111 : task_(task), start_time_(std::chrono::steady_clock::now()) {}
|
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
H A D | VirtualDevice.cpp | 329 // but aborts before enqueuing the task, or if the task runs 454 // but aborts before enqueuing the task, or if the task runs 689 sp<Task> task; local 695 task = *mTasks.begin(); 698 if (task != NULL) { 699 task->run(*this); 700 task = NULL; 1791 // to map a buffer from this thread, we need this task t [all...] |