/hardware/google/av/codec2/hidl/1.0/mts/common/ |
D | media_c2_hidl_test_common.cpp | 48 work->worklets.clear(); in testInputBuffer() 49 work->worklets.emplace_back(new C2Worklet); in testInputBuffer() 88 if (work->worklets.front()->output.configUpdate.size() != 0) { in workDone() 91 std::move(work->worklets.front()->output.configUpdate); in workDone() 111 eos = (work->worklets.front()->output.flags & in workDone() 116 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone() 118 work->worklets.clear(); in workDone()
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacDec.cpp | 162 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 163 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 164 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 175 work->worklets.front()->output.configUpdate.clear(); in process() 176 work->worklets.front()->output.flags = work->input.flags; in process() 248 work->worklets.front()->output.configUpdate.push_back( in process() 250 work->worklets.front()->output.configUpdate.push_back( in process() 299 work->worklets.front()->output.flags = work->input.flags; in process() 300 work->worklets.front()->output.buffers.clear(); in process() 301 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() [all …]
|
D | C2SoftFlacEnc.cpp | 171 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 172 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 173 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 182 work->worklets.front()->output.flags = work->input.flags; in process() 223 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process() 284 work->worklets.front()->output.buffers.push_back(buffer); in process() 285 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
|
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.cpp | 180 work->worklets.front()->output.flags = work->input.flags; in process() 202 work->worklets.front()->output.flags = work->input.flags; in process() 203 work->worklets.front()->output.buffers.clear(); in process() 204 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 240 work->worklets.front()->output.flags = work->input.flags; in process() 241 work->worklets.front()->output.buffers.clear(); in process() 242 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() 243 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 146 work->worklets.front()->output.flags = work->input.flags; in process() 172 work->worklets.front()->output.flags = work->input.flags; in process() 173 work->worklets.front()->output.buffers.clear(); in process() 174 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 206 work->worklets.front()->output.flags = work->input.flags; in process() 207 work->worklets.front()->output.buffers.clear(); in process() 208 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block)); in process() 209 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
/hardware/google/av/media/codecs/mp3/ |
D | C2SoftMp3Dec.cpp | 342 work->worklets.front()->output.configUpdate.clear(); in process() 343 work->worklets.front()->output.flags = work->input.flags; in process() 364 work->worklets.front()->output.flags = work->input.flags; in process() 365 work->worklets.front()->output.buffers.clear(); in process() 366 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 452 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 453 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process() 500 work->worklets.front()->output.flags = work->input.flags; in process() 501 work->worklets.front()->output.buffers.clear(); in process() 502 work->worklets.front()->output.buffers.push_back( in process() [all …]
|
/hardware/google/av/media/codecs/vorbis/ |
D | C2SoftVorbisDec.cpp | 205 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 206 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 207 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 237 work->worklets.front()->output.configUpdate.clear(); in process() 238 work->worklets.front()->output.flags = work->input.flags; in process() 309 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 310 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process() 433 work->worklets.front()->output.flags = work->input.flags; in process() 434 work->worklets.front()->output.buffers.clear(); in process() 435 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() [all …]
|
/hardware/google/av/media/codecs/opus/ |
D | C2SoftOpusDec.cpp | 185 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 186 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 187 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 306 work->worklets.front()->output.configUpdate.clear(); in process() 307 work->worklets.front()->output.flags = work->input.flags; in process() 406 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 407 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process() 484 work->worklets.front()->output.flags = work->input.flags; in process() 485 work->worklets.front()->output.buffers.clear(); in process() 486 … work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize)); in process() [all …]
|
/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrDec.cpp | 251 work->worklets.front()->output.flags = work->input.flags; in process() 273 work->worklets.front()->output.flags = work->input.flags; in process() 274 work->worklets.front()->output.buffers.clear(); in process() 275 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 369 work->worklets.front()->output.flags = work->input.flags; in process() 370 work->worklets.front()->output.buffers.clear(); in process() 371 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block)); in process() 372 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
D | C2SoftAmrNbEnc.cpp | 182 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 183 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 184 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 194 work->worklets.front()->output.flags = work->input.flags; in process() 280 work->worklets.front()->output.buffers.push_back( in process() 282 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
|
D | C2SoftAmrWbEnc.cpp | 265 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork() 266 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 267 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 277 work->worklets.front()->output.flags = work->input.flags; in process() 356 work->worklets.front()->output.buffers.push_back( in process() 358 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
|
/hardware/google/av/media/codecs/raw/ |
D | C2SoftRawDec.cpp | 160 work->worklets.front()->output.flags = work->input.flags; in process() 161 work->worklets.front()->output.buffers.clear(); in process() 162 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 164 work->worklets.front()->output.buffers.push_back(work->input.buffers[0]); in process()
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxDec.cpp | 397 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 398 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 399 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 415 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 416 work->worklets.front()->output.buffers.clear(); in finishWork() 417 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() 418 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork() 433 work->worklets.front()->output.configUpdate.push_back( in finishWork() 456 work->worklets.front()->output.configUpdate.clear(); in process() 457 work->worklets.front()->output.flags = work->input.flags; in process() [all …]
|
D | C2SoftVpxEnc.cpp | 418 work->worklets.front()->output.flags = work->input.flags; in process() 449 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process() 450 work->worklets.front()->output.buffers.clear(); in process() 451 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 631 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process() 632 work->worklets.front()->output.buffers.clear(); in process() 638 work->worklets.front()->output.buffers.push_back(buffer); in process() 639 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 640 work->worklets.front()->output.ordinal.timestamp = encoded_packet->data.frame.pts; in process()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 356 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 357 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 358 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 373 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 374 work->worklets.front()->output.buffers.clear(); in finishWork() 375 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() 376 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork() 501 work->worklets.front()->output.configUpdate.clear(); in process() 502 work->worklets.front()->output.flags = work->input.flags; in process() 577 work->worklets.front()->output.configUpdate.push_back( in process() [all …]
|
D | C2SoftMpeg4Enc.cpp | 309 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 310 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 311 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 405 work->worklets.front()->output.flags = work->input.flags; in process() 458 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process() 595 work->worklets.front()->output.ordinal.timestamp = inputTimeStamp; in process() 600 work->worklets.front()->output.buffers.push_back(buffer); in process()
|
/hardware/google/av/codec2/hidl/1.0/mts/video/ |
D | MtsHidlC2V1_0TargetVideoDecTest.cpp | 145 if (!work->worklets.empty()) { in handleWorkDone() 149 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone() 152 !work->worklets.front()->output.buffers.empty()) { in handleWorkDone() 154 (work->worklets.front()->output.ordinal.timestamp.peeku()), in handleWorkDone() 157 work->worklets.front()->output.ordinal.timestamp.peeku(); in handleWorkDone() 404 work->worklets.clear(); in decodeNFrames() 405 work->worklets.emplace_back(new C2Worklet); in decodeNFrames() 563 work->worklets.clear(); in TEST_F() 564 work->worklets.emplace_back(new C2Worklet); in TEST_F() 661 work->worklets.clear(); in TEST_F() [all …]
|
D | MtsHidlC2V1_0TargetVideoEncTest.cpp | 142 if (!work->worklets.empty()) { in handleWorkDone() 323 work->worklets.clear(); in encodeNFrames() 324 work->worklets.emplace_back(new C2Worklet); in encodeNFrames() 421 work->worklets.clear(); in TEST_F() 422 work->worklets.emplace_back(new C2Worklet); in TEST_F() 484 work->worklets.clear(); in TEST_F() 513 work->worklets.clear(); in TEST_F()
|
/hardware/google/av/codec2/hidl/1.0/mts/audio/ |
D | MtsHidlC2V1_0TargetAudioDecTest.cpp | 159 if (!work->worklets.empty()) { in handleWorkDone() 162 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone() 165 !work->worklets.front()->output.buffers.empty()) { in handleWorkDone() 166 EXPECT_GE(work->worklets.front()->output.ordinal.timestamp.peeku(), in handleWorkDone() 169 work->worklets.front()->output.ordinal.timestamp.peeku(); in handleWorkDone() 171 work->worklets.front()->output.buffers[0]->data() in handleWorkDone() 462 work->worklets.clear(); in decodeNFrames() 463 work->worklets.emplace_back(new C2Worklet); in decodeNFrames() 661 work->worklets.clear(); in TEST_F() 662 work->worklets.emplace_back(new C2Worklet); in TEST_F() [all …]
|
D | MtsHidlC2V1_0TargetAudioEncTest.cpp | 139 if (!work->worklets.empty()) { in handleWorkDone() 334 work->worklets.clear(); in encodeNFrames() 335 work->worklets.emplace_back(new C2Worklet); in encodeNFrames() 451 work->worklets.clear(); in TEST_F() 452 work->worklets.emplace_back(new C2Worklet); in TEST_F() 545 work->worklets.clear(); in TEST_F() 576 work->worklets.clear(); in TEST_F()
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacDec.cpp | 470 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer() 503 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer() 529 work->worklets.front()->output.configUpdate.clear(); in process() 530 work->worklets.front()->output.flags = work->input.flags; in process() 575 work->worklets.front()->output.flags = work->input.flags; in process() 576 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 577 work->worklets.front()->output.buffers.clear(); in process() 767 C2FrameData &output = work->worklets.front()->output; in process() 824 work->worklets.front()->output.flags = work->input.flags; in drainInternal() 825 work->worklets.front()->output.buffers.clear(); in drainInternal() [all …]
|
D | C2SoftAacEnc.cpp | 288 work->worklets.front()->output.flags = work->input.flags; in process() 336 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process() 408 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process() 409 work->worklets.front()->output.buffers.clear(); in process() 410 work->worklets.front()->output.ordinal = mOrdinal; in process() 414 work->worklets.front()->output.buffers.push_back(mBuffer); in process()
|
/hardware/google/av/media/codecs/cmds/ |
D | codec2.cpp | 247 … ALOGV("Render: Frame #%lld", work->worklets.front()->output.ordinal.frameIndex.peekll()); in play() 248 const std::shared_ptr<C2Buffer> &output = work->worklets.front()->output.buffers[0]; in play() 266 (work->worklets.front()->output.ordinal.timestamp * 1000ll).peekll(), in play() 279 work->worklets.clear(); in play() 356 work->worklets.clear(); in play() 357 work->worklets.emplace_back(new C2Worklet); in play()
|
/hardware/google/av/media/codecs/xaac/ |
D | C2SoftXaacDec.cpp | 348 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 349 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 350 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 380 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 381 work->worklets.front()->output.buffers.clear(); in finishWork() 382 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() 383 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork() 400 work->worklets.front()->output.configUpdate.clear(); in process() 401 work->worklets.front()->output.flags = work->input.flags; in process() 444 work->worklets.front()->output.flags = work->input.flags; in process() [all …]
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 202 work->worklets.clear(); in submitBuffer() 203 work->worklets.emplace_back(new C2Worklet); in submitBuffer() 219 work->worklets.clear(); in submitEos() 220 work->worklets.emplace_back(new C2Worklet); in submitEos()
|