Home
last modified time | relevance | path

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

/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.h827 c2_cntr64_t c64; ///< c2_cntr64_t value
836 Primitive(c2_cntr64_t value) : c64(value) { } in Primitive()
939 template<> inline const c2_cntr64_t &C2Value::Primitive::ref<c2_cntr64_t>() const { return c64; }
950 template<> constexpr C2Value::type_t C2Value::TypeFor<c2_cntr64_t, false>() { return CNTR64; }
1081 inline static type_t GetType(c2_cntr64_t*) { return CNTR64; } in GetType()
1134 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/
DC2OMXNode.h94 void onInputBufferDone(c2_cntr64_t index);
112 c2_cntr64_t mPrevInputTimestamp; // input timestamp for previous frame
113 c2_cntr64_t mPrevCodecTimestamp; // adjusted (codec) timestamp for previous frame
DInputSurfaceWrapper.h107 virtual void onInputBufferDone(c2_cntr64_t /* index */) {} in onInputBufferDone() argument
DReflectedParamUpdater.cpp78 (void)c2Value.get((c2_cntr64_t*)&uint64Value); in debugString()
426 if ((param->second.find(&c2Value) && c2Value.get((c2_cntr64_t*)&int64Value)) in parseMessageAndDoWork()
564 case C2FieldDescriptor::CNTR64: c2Value = *((c2_cntr64_t *)data); break; in getParams()
DC2OMXNode.cpp449 void C2OMXNode::onInputBufferDone(c2_cntr64_t index) { in onInputBufferDone()
DCCodec.cpp386 void onInputBufferDone(c2_cntr64_t index) override { in onInputBufferDone()
DCCodecBufferChannel.cpp1490 c2_cntr64_t timestamp = in handleWork()
DCCodecConfig.cpp1326 || c2Value.get((c2_cntr64_t*)&int64Value)) { in relaxValues()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.h59 std::optional<c2_cntr64_t> mNextFrameTimestampUs;
60 std::optional<c2_cntr64_t> mLastFrameEndTimestampUs;
DC2SoftAacEnc.cpp367 c2_cntr64_t inputTimestampUs = work->input.ordinal.timestamp; in process()
460 c2_cntr64_t timestampUs; in process()
517 c2_cntr64_t currentFrameTimestampUs = *mNextFrameTimestampUs; in process()
DC2SoftAacDec.cpp499 if (work && work->input.ordinal.frameIndex == c2_cntr64_t(outInfo.frameIndex)) { in drainRingBuffer()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp508 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
540 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
823 ((c2_cntr64_t *)img->user_priv)->peekll()); in outputBuffer()
879 finishWork(((c2_cntr64_t *)img->user_priv)->peekull(), work, std::move(block)); in outputBuffer()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp373 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
383 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp372 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
382 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp384 (c2_cntr64_t(index) == work->input.ordinal.frameIndex)) { in finishWork()
416 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/hidl/1.0/utils/
Dtypes.cpp111 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/hevc/
DC2SoftHevcDec.cpp740 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
DC2SoftHevcEnc.cpp848 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp744 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()
DC2SoftAvcEnc.cpp1394 if (work && c2_cntr64_t(workIndex) == work->input.ordinal.frameIndex) { in finishWork()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp378 if (work && work->input.ordinal.frameIndex == c2_cntr64_t(mCurFrameIndex)) { in finishWork()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp814 if (work && c2_cntr64_t(index) == work->input.ordinal.frameIndex) { in finishWork()