Home
last modified time | relevance | path

Searched refs:c2_cntr64_t (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/media/codec2/tests/
DC2_test.cpp81 constexpr c2_cntr64_t c64_a(-456); in c2_cntr_static_test()
93 static_assert(456 + c64_a == c2_cntr64_t(0), "456 + -456 = 0"); in c2_cntr_static_test()
100 static_assert(456 - c64_a == c2_cntr64_t(912), "456 - -456 = 912"); in c2_cntr_static_test()
107 static_assert(456 * c64_a == c2_cntr64_t(-207936), "456 * -456 = -207936"); in c2_cntr_static_test()
142 static_assert(c2_cntr32_t(1) == c2_cntr32_t(c2_cntr64_t(0x100000001ul)), "1 == 1"); in c2_cntr_static_test()
150 c2_cntr64_t c64_a(-456); in TEST_F()
154 EXPECT_EQ(c64_a *= 3, c2_cntr64_t(-1368)); in TEST_F()
/frameworks/av/media/codec2/core/include/
DC2Work.h99 c2_cntr64_t timestamp; /** frame timestamp in microseconds */
100 c2_cntr64_t frameIndex; /** submission ordinal on the initial component */
101 c2_cntr64_t customOrdinal; /** can be given by the component, e.g. decode order */
DC2Param.h838 c2_cntr64_t c64; ///< c2_cntr64_t value
847 Primitive(c2_cntr64_t value) : c64(value) { } in Primitive()
950 template<> inline const c2_cntr64_t &C2Value::Primitive::ref<c2_cntr64_t>() const { return c64; }
961 template<> constexpr C2Value::type_t C2Value::TypeFor<c2_cntr64_t, false>() { return CNTR64; }
1092 inline static type_t GetType(c2_cntr64_t*) { return CNTR64; } in GetType()
1145 DEFINE_NO_NAMED_VALUES_FOR(c2_cntr64_t)
DC2.h400 typedef c2_cntr_t<uint64_t> c2_cntr64_t; /** 64-bit counter type */ typedef
/frameworks/av/media/codec2/sfplugin/
DC2NodeImpl.h81 void onInputBufferDone(c2_cntr64_t index);
124 c2_cntr64_t mPrevInputTimestamp; // input timestamp for previous frame
125 c2_cntr64_t mPrevCodecTimestamp; // adjusted (codec) timestamp for previous frame
DInputSurfaceWrapper.h110 virtual void onInputBufferDone(c2_cntr64_t /* index */) {} in onInputBufferDone() argument
DC2AidlNode.h76 void onInputBufferDone(c2_cntr64_t index);
DC2OMXNode.h94 void onInputBufferDone(c2_cntr64_t index);
DC2AidlNode.cpp109 void C2AidlNode::onInputBufferDone(c2_cntr64_t index) { in onInputBufferDone()
DReflectedParamUpdater.cpp78 (void)c2Value.get((c2_cntr64_t*)&uint64Value); in debugString()
442 if ((param->second.find(&c2Value) && c2Value.get((c2_cntr64_t*)&int64Value)) in parseMessageAndDoWork()
580 case C2FieldDescriptor::CNTR64: c2Value = *((c2_cntr64_t *)data); break; in getParams()
DFrameReassembler.cpp100 c2_cntr64_t endTimestampUs = mCurrentOrdinal.timestamp; in process()
DC2OMXNode.cpp290 void C2OMXNode::onInputBufferDone(c2_cntr64_t index) { in onInputBufferDone()
DCCodecBufferChannel.h349 c2_cntr64_t lastFlushIndex;
DC2NodeImpl.cpp411 void C2NodeImpl::onInputBufferDone(c2_cntr64_t index) { in onInputBufferDone()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.h62 std::optional<c2_cntr64_t> mNextFrameTimestampUs;
63 std::optional<c2_cntr64_t> mLastFrameEndTimestampUs;
DC2SoftAacEnc.cpp399 c2_cntr64_t inputTimestampUs = work->input.ordinal.timestamp; in process()
490 c2_cntr64_t timestampUs; in process()
547 c2_cntr64_t currentFrameTimestampUs = *mNextFrameTimestampUs; in process()
DC2SoftAacDec.cpp566 if (work && work->input.ordinal.frameIndex == c2_cntr64_t(outInfo.frameIndex)) { in drainRingBuffer()
/frameworks/av/media/codec2/sfplugin/tests/
DFrameReassembler_test.cpp34 static uint64_t Diff(c2_cntr64_t a, c2_cntr64_t b) { in Diff()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacEnc.h85 c2_cntr64_t timestampUs;
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp542 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
574 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
794 ((c2_cntr64_t *)img->user_priv)->peekll()); in outputBuffer()
858 finishWork(((c2_cntr64_t *)img->user_priv)->peekull(), work, std::move(block)); in outputBuffer()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DParamTypes.h111 d->frameIndex = c2_cntr64_t(s.frameIndex); in objcpy()
112 d->timestamp = c2_cntr64_t(s.timestampUs); in objcpy()
113 d->customOrdinal = c2_cntr64_t(s.customOrdinal); in objcpy()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp333 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
343 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp385 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
417 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp601 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
614 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp554 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
564 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()

12