Home
last modified time | relevance | path

Searched refs:ordinal (Results 1 – 25 of 40) sorted by relevance

12

/hardware/google/av/media/sfplugin/
DC2OMXNode.cpp246 work->input.ordinal.timestamp = timestamp; in emptyBuffer()
250 work->input.ordinal.customOrdinal = timestamp; // save input timestamp in emptyBuffer()
257 work->input.ordinal.timestamp = in emptyBuffer()
261 work->input.ordinal.timestamp = mPrevCodecTimestamp - mAdjustTimestampGapUs; in emptyBuffer()
263 mPrevInputTimestamp = work->input.ordinal.customOrdinal; in emptyBuffer()
264 mPrevCodecTimestamp = work->input.ordinal.timestamp; in emptyBuffer()
266 work->input.ordinal.customOrdinal.peekll(), in emptyBuffer()
267 work->input.ordinal.timestamp.peekll(), in emptyBuffer()
271 work->input.ordinal.frameIndex = mFrameIndex++; in emptyBuffer()
DCCodecBufferChannel.h341 inline Entry() : buffer(nullptr), timestamp(0), flags(0), ordinal({0, 0, 0}) {} in Entry()
347 : buffer(b), timestamp(t), flags(f), ordinal(o) {} in Entry()
351 C2WorkOrdinalStruct ordinal; member
364 const C2WorkOrdinalStruct &ordinal);
DCCodecBufferChannel.cpp1528 entry->ordinal = mPending.front().ordinal; in pop()
1537 const C2WorkOrdinalStruct &ordinal) { in emplace() argument
1539 if (less(ordinal, it->ordinal)) { in emplace()
1540 mStash.emplace(it, buffer, timestamp, flags, ordinal); in emplace()
1544 mStash.emplace_back(buffer, timestamp, flags, ordinal); in emplace()
1636 work->input.ordinal.timestamp = timeUs; in queueInputBufferInternal()
1637 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
1641 work->input.ordinal.customOrdinal = timeUs; in queueInputBufferInternal()
1671 work->input.ordinal.timestamp = timeUs; in queueInputBufferInternal()
1672 work->input.ordinal.frameIndex = mFrameIndex++; in queueInputBufferInternal()
[all …]
/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.cpp42 work->input.ordinal.timestamp = 0; in testInputBuffer()
43 work->input.ordinal.frameIndex = 0; in testInputBuffer()
114 work->input.ordinal.frameIndex.peeku()); in workDone()
116 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp169 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
174 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
209 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp204 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
212 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
243 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrNbEnc.cpp184 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
216 inSize, (int)work->input.ordinal.timestamp.peeku(), in process()
217 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
276 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
282 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
DC2SoftAmrWbEnc.cpp267 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
299 inSize, (int)work->input.ordinal.timestamp.peeku(), in process()
300 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
352 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
358 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
DC2SoftAmrDec.cpp275 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
284 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
372 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/codec2/include/
DC2Work.h159 C2WorkOrdinalStruct ordinal; member
229 C2WorkOrdinalStruct ordinal; member
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp158 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
162 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.cpp366 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
370 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
478 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
504 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
505 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.cpp164 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
199 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
302 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
DC2SoftFlacEnc.cpp173 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
204 inSize, (int)work->input.ordinal.timestamp.peeku(), in process()
205 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
207 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
285 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp187 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
337 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
435 if (work->input.ordinal.timestamp.peeku() == 0) mSamplesToDiscard = mCodecDelay; in process()
487 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp375 if (currentWork->input.ordinal.frameIndex == frameIndex) { in cloneAndSend()
377 work->input.ordinal = currentWork->input.ordinal; in cloneAndSend()
385 work->input.ordinal = pending->at(frameIndex)->input.ordinal; in cloneAndSend()
491 ALOGV("start processing frame #%" PRIu64, work->input.ordinal.frameIndex.peeku()); in processQueue()
500 ALOGV("processed frame #%" PRIu64, work->input.ordinal.frameIndex.peeku()); in processQueue()
530 uint64_t frameIndex = work->input.ordinal.frameIndex.peeku(); in processQueue()
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp473 output.ordinal = work->input.ordinal; in drainRingBuffer()
507 output.ordinal = work->input.ordinal; in drainRingBuffer()
512 if (work && work->input.ordinal.frameIndex == c2_cntr64_t(outInfo.frameIndex)) { in drainRingBuffer()
576 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
582 inInfo.frameIndex = work->input.ordinal.frameIndex.peeku(); in process()
583 inInfo.timestamp = work->input.ordinal.timestamp.peeku(); in process()
826 work->worklets.front()->output.ordinal = work->input.ordinal; in drainInternal()
DC2SoftAacEnc.cpp340 mInputTimeUs = work->input.ordinal.timestamp; in process()
365 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process()
401 FillWork(uint32_t flags, C2WorkOrdinalStruct ordinal, in process() argument
403 : mFlags(flags), mOrdinal(ordinal), mBuffer(buffer) { in process()
410 work->worklets.front()->output.ordinal = mOrdinal; in process()
428 C2WorkOrdinalStruct outOrdinal = work->input.ordinal; in process()
473 mInputTimeUs = work->input.ordinal.timestamp in process()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp358 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
369 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
376 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
379 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
511 uint32_t workIndex = work->input.ordinal.frameIndex.peeku() & 0xFFFFFFFF; in process()
523 inSize, (int)work->input.ordinal.timestamp.peeku(), in process()
524 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp399 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
411 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
418 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
443 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
481 inSize, (int)work->input.ordinal.timestamp.peeku(), in process()
482 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
499 int64_t frameIndex = work->input.ordinal.frameIndex.peekll(); in process()
DC2SoftVpxEnc.cpp451 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
577 uint64_t inputTimeStamp = work->input.ordinal.timestamp.peekull(); 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/vorbis/
DC2SoftVorbisDec.cpp207 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
269 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
436 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoDecTest.cpp154 (work->worklets.front()->output.ordinal.timestamp.peeku()), in handleWorkDone()
157 work->worklets.front()->output.ordinal.timestamp.peeku(); in handleWorkDone()
366 work->input.ordinal.timestamp = timestamp; in decodeNFrames()
367 work->input.ordinal.frameIndex = frameID; in decodeNFrames()
560 work->input.ordinal.timestamp = 0; in TEST_F()
561 work->input.ordinal.frameIndex = 0; in TEST_F()
658 work->input.ordinal.timestamp = 0; in TEST_F()
659 work->input.ordinal.frameIndex = 0; in TEST_F()
732 work->input.ordinal.frameIndex.peeku()); in TEST_F()
774 uint64_t frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
DMtsHidlC2V1_0TargetVideoEncTest.cpp286 work->input.ordinal.timestamp = timestamp; in encodeNFrames()
287 work->input.ordinal.frameIndex = frameID; in encodeNFrames()
418 work->input.ordinal.timestamp = 0; in TEST_F()
419 work->input.ordinal.frameIndex = 0; in TEST_F()
477 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
506 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp305 work->input.ordinal.timestamp = timestamp; in encodeNFrames()
306 work->input.ordinal.frameIndex = frameID; in encodeNFrames()
448 work->input.ordinal.timestamp = 0; in TEST_F()
449 work->input.ordinal.frameIndex = 0; in TEST_F()
537 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()
568 frameIndex = work->input.ordinal.frameIndex.peeku(); in TEST_F()

12