Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DFrameInfo.java43 public long[] frameInfo = new long[9]; field in FrameInfo
86 frameInfo[INTENDED_VSYNC] = intendedVsync; in setVsync()
87 frameInfo[VSYNC] = usedVsync; in setVsync()
88 frameInfo[OLDEST_INPUT_EVENT] = Long.MAX_VALUE; in setVsync()
89 frameInfo[NEWEST_INPUT_EVENT] = 0; in setVsync()
90 frameInfo[FLAGS] = 0; in setVsync()
95 if (inputEventOldestTime < frameInfo[OLDEST_INPUT_EVENT]) { in updateInputEventTime()
96 frameInfo[OLDEST_INPUT_EVENT] = inputEventOldestTime; in updateInputEventTime()
98 if (inputEventTime > frameInfo[NEWEST_INPUT_EVENT]) { in updateInputEventTime()
99 frameInfo[NEWEST_INPUT_EVENT] = inputEventTime; in updateInputEventTime()
[all …]
DHardwareRenderer.java316 System.arraycopy(info.frameInfo, 0, mFrameInfo.frameInfo, 0, info.frameInfo.length); in setFrameInfo()
421 public int syncAndDrawFrame(@NonNull FrameInfo frameInfo) { in syncAndDrawFrame() argument
422 return nSyncAndDrawFrame(mNativeProxy, frameInfo.frameInfo, frameInfo.frameInfo.length); in syncAndDrawFrame()
1103 private static native int nSyncAndDrawFrame(long nativeProxy, long[] frameInfo, int size); in nSyncAndDrawFrame() argument
/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp44 void *Extractor::getCSDSample(AMediaCodecBufferInfo &frameInfo, int32_t csdIndex) { in getCSDSample() argument
47 frameInfo.presentationTimeUs = 0; in getCSDSample()
48 frameInfo.flags = AMEDIACODEC_BUFFER_FLAG_CODEC_CONFIG; in getCSDSample()
54 frameInfo.size = (int32_t)size; in getCSDSample()
55 mStats->addFrameSize(frameInfo.size); in getCSDSample()
60 int32_t Extractor::getFrameSample(AMediaCodecBufferInfo &frameInfo) { in getFrameSample() argument
64 frameInfo.flags = AMediaExtractor_getSampleFlags(mExtractor); in getFrameSample()
65 frameInfo.size = size; in getFrameSample()
66 mStats->addFrameSize(frameInfo.size); in getFrameSample()
67 frameInfo.presentationTimeUs = AMediaExtractor_getSampleTime(mExtractor); in getFrameSample()
[all …]
DExtractor.h42 void *getCSDSample(AMediaCodecBufferInfo &frameInfo, int32_t csdIndex);
44 int32_t getFrameSample(AMediaCodecBufferInfo &frameInfo);
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp73 int32_t C2Decoder::decodeFrames(uint8_t *inputBuffer, vector<AMediaCodecBufferInfo> &frameInfo) { in decodeFrames() argument
79 if (mNumInputFrame == frameInfo.size()) break; in decodeFrames()
95 uint32_t flags = frameInfo[mNumInputFrame].flags; in decodeFrames()
99 if (mNumInputFrame == (frameInfo.size() - 1)) { in decodeFrames()
103 work->input.ordinal.timestamp = frameInfo[mNumInputFrame].presentationTimeUs; in decodeFrames()
106 int size = frameInfo[mNumInputFrame].size; in decodeFrames()
DDecoder.cpp25 vector<AMediaCodecBufferInfo> &frameInfo, in readSampleData() argument
28 if (frameID == (int32_t)frameInfo.size()) { in readSampleData()
31 uint32_t flags = frameInfo[frameID].flags; in readSampleData()
32 int64_t timestamp = frameInfo[frameID].presentationTimeUs; in readSampleData()
33 ssize_t bytesCount = frameInfo[frameID].size; in readSampleData()
152 int32_t Decoder::decode(uint8_t *inputBuffer, vector<AMediaCodecBufferInfo> &frameInfo, in decode() argument
156 mFrameMetaData = frameInfo; in decode()
DC2Decoder.h34 int32_t decodeFrames(uint8_t *inputBuffer, vector<AMediaCodecBufferInfo> &frameInfo);
DDecoder.h73 int32_t decode(uint8_t *inputBuffer, vector<AMediaCodecBufferInfo> &frameInfo,
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp310 bool HeifDecoderImpl::init(HeifStream* stream, HeifFrameInfo* frameInfo) { in init() argument
362 if (frameInfo != nullptr) { in init()
363 frameInfo->set( in init()
441 bool HeifDecoderImpl::decode(HeifFrameInfo* frameInfo) { in decode() argument
464 if (frameInfo != nullptr) { in decode()
465 frameInfo->set( in decode()
519 if (frameInfo != nullptr) { in decode()
520 frameInfo->set( in decode()
DHeifDecoderImpl.h41 bool init(HeifStream* stream, HeifFrameInfo* frameInfo) override;
47 bool decode(HeifFrameInfo* frameInfo) override;
/frameworks/av/media/tests/benchmark/tests/
DC2DecoderTest.cpp91 vector<AMediaCodecBufferInfo> frameInfo; in TEST_P() local
104 frameInfo.push_back(info); in TEST_P()
117 frameInfo.push_back(info); in TEST_P()
130 status = mDecoder->decodeFrames(inputBuffer, frameInfo); in TEST_P()
DDecoderTest.cpp61 vector<AMediaCodecBufferInfo> frameInfo; in TEST_P() local
74 frameInfo.push_back(info); in TEST_P()
81 status = decoder->decode(inputBuffer, frameInfo, codecName, asyncMode); in TEST_P()
DC2EncoderTest.cpp94 vector<AMediaCodecBufferInfo> frameInfo; in TEST_P() local
106 frameInfo.push_back(info); in TEST_P()
117 status = decoder->decode(inputBuffer, frameInfo, decName, false /*asyncMode */, outFp); in TEST_P()
DEncoderTest.cpp67 vector<AMediaCodecBufferInfo> frameInfo; in TEST_P() local
80 frameInfo.push_back(info); in TEST_P()
91 status = decoder->decode(inputBuffer, frameInfo, decName, false /*asyncMode */, outFp); in TEST_P()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeDecoder.cpp79 vector<AMediaCodecBufferInfo> frameInfo; in Java_com_android_media_benchmark_library_Native_Decode() local
94 frameInfo.push_back(info); in Java_com_android_media_benchmark_library_Native_Decode()
101 status = decoder->decode(inputBuffer, frameInfo, sCodecName, asyncMode); in Java_com_android_media_benchmark_library_Native_Decode()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DDecoderTest.java131 ArrayList<MediaCodec.BufferInfo> frameInfo = new ArrayList<>(); in testDecoder() local
150 frameInfo.add(bufInfo); in testDecoder()
173 int status = decoder.decode(inputBuffer, frameInfo, mAsyncMode, format, codecName); in testDecoder()
188 frameInfo.clear(); in testDecoder()
DEncoderTest.java180 ArrayList<MediaCodec.BufferInfo> frameInfo = new ArrayList<>(); in decodeFile() local
194 frameInfo.add(bufInfo); in decodeFile()
202 status = decoder.decode(inputBuffer, frameInfo, false, format, ""); in decodeFile()
210 frameInfo.clear(); in decodeFile()
/frameworks/av/media/libheif/include/
DHeifDecoderAPI.h146 virtual bool init(HeifStream* stream, HeifFrameInfo* frameInfo) = 0;
156 virtual bool decode(HeifFrameInfo* frameInfo) = 0;
/frameworks/base/core/jni/android/graphics/
DAnimatedImageDrawable.cpp57 SkCodec::FrameInfo frameInfo; in AnimatedImageDrawable_nCreate() local
58 if (!imageDecoder->mCodec->codec()->getFrameInfo(i, &frameInfo)) { in AnimatedImageDrawable_nCreate()
62 if (frameInfo.fDisposalMethod == SkCodecAnimation::DisposalMethod::kRestorePrevious) { in AnimatedImageDrawable_nCreate()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp150 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); in run()
170 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); in run()
/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.h73 int64_t* frameInfo() { return mFrameInfo; } in frameInfo() function
DCanvasContext.cpp551 int64_t frameInfo[UI_THREAD_FRAME_INFO_SIZE]; in prepareAndDraw() local
552 UiFrameInfoBuilder(frameInfo).addFlag(FrameInfoFlags::RTAnimation).setVsync(vsync, vsync); in prepareAndDraw()
555 prepareTree(info, frameInfo, systemTime(CLOCK_MONOTONIC), node); in prepareAndDraw()
DRenderProxy.h80 ANDROID_API int64_t* frameInfo();
DRenderProxy.cpp120 int64_t* RenderProxy::frameInfo() { in frameInfo() function in android::uirenderer::renderthread::RenderProxy
121 return mDrawFrameTask.frameInfo(); in frameInfo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1514 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFates()
1515 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetTxPktFates()
1516 fateReport.frameInfo.frameContent.addAll( in testGetTxPktFates()
1538 assertEquals(fateReport.frameInfo.driverTimestampUsec, in testGetTxPktFates()
1556 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetTxPktFatesExceedsInputArrayLength()
1557 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetTxPktFatesExceedsInputArrayLength()
1558 fateReport.frameInfo.frameContent.addAll( in testGetTxPktFatesExceedsInputArrayLength()
1581 assertEquals(fateReport.frameInfo.driverTimestampUsec, in testGetTxPktFatesExceedsInputArrayLength()
1598 fateReport.frameInfo.driverTimestampUsec = new Random().nextLong(); in testGetRxPktFates()
1599 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetRxPktFates()
[all …]

12