Home
last modified time | relevance | path

Searched refs:savedPackets (Results 1 – 7 of 7) sorted by relevance

/hardware/google/aemu/host-common/
DMediaSnapshotHelper.cpp58 mSnapshotState.savedPackets.clear(); in saveVPXPacket()
64 (int)(mSnapshotState.savedPackets.size())); in saveVPXPacket()
67 (int)(mSnapshotState.savedPackets.size())); in saveVPXPacket()
92 mSnapshotState.savedPackets.clear(); in saveH264Packet()
97 mSnapshotState.savedPackets.clear(); in saveH264Packet()
101 (int)(mSnapshotState.savedPackets.size())); in saveH264Packet()
108 (int)(mSnapshotState.savedPackets.size())); in save()
127 for (int i = 0; i < mSnapshotState.savedPackets.size(); ++i) { in replay()
129 mSnapshotState.savedPackets[i]; in replay()
154 (int)(mSnapshotState.savedPackets.size())); in load()
DMediaSnapshotState.cpp35 if (pts > 0 && savedPackets.size() > 0 && pts == savedPackets.back().pts) { in savePacket()
39 savedPackets.push_back(std::move(pkt)); in savePacket()
45 if (pts > 0 && savedPackets.size() > 0 && pts == savedPackets.back().pts) { in savePacket()
51 savedPackets.push_back(std::move(pkt)); in savePacket()
156 stream->putBe32(savedPackets.size()); in save()
157 for (size_t i = 0; i < savedPackets.size(); ++i) { in save()
158 savePacketInfo(stream, savedPackets[i]); in save()
173 savedPackets.resize(count); in load()
175 loadPacketInfo(stream, savedPackets[i]); in load()
DMediaH264DecoderFfmpeg.cpp236 mSnapshotState.savedPackets.clear(); in decodeFrameInternal()
241 mSnapshotState.savedPackets.clear(); in decodeFrameInternal()
246 (int)(mSnapshotState.savedPackets.size())); in decodeFrameInternal()
249 (int)(mSnapshotState.savedPackets.size())); in decodeFrameInternal()
446 (int)(mSnapshotState.savedPackets.size())); in save()
478 (int)(mSnapshotState.savedPackets.size())); in load()
483 if (mSnapshotState.savedPackets.size() > 0) { in load()
484 for (int i = 0; i < mSnapshotState.savedPackets.size(); ++i) { in load()
485 PacketInfo& pkt = mSnapshotState.savedPackets[i]; in load()
DMediaH264DecoderCuvid.cpp228 mSnapshotState.savedPackets.clear(); in decodeFrame()
233 mSnapshotState.savedPackets.clear(); in decodeFrame()
237 (int)(mSnapshotState.savedPackets.size())); in decodeFrame()
737 (int)(mSnapshotState.savedPackets.size())); in save()
762 (int)(mSnapshotState.savedPackets.size())); in load()
767 if (mSnapshotState.savedPackets.size() > 0) { in load()
768 for (int i = 0; i < mSnapshotState.savedPackets.size(); ++i) { in load()
769 PacketInfo& pkt = mSnapshotState.savedPackets[i]; in load()
DMediaH264DecoderVideoToolBox.cpp384 mSnapshotState.savedPackets.clear(); in decodeFrameInternal()
397 … H264_DPRINT("disacarding previously saved frames %d", (int)mSnapshotState.savedPackets.size()); in decodeFrameInternal()
398 mSnapshotState.savedPackets.clear(); in decodeFrameInternal()
710 (int)(mSnapshotState.savedPackets.size())); in save()
732 if (mSnapshotState.savedPackets.size() > 0) { in load()
733 for (int i = 0; i < mSnapshotState.savedPackets.size(); ++i) { in load()
734 PacketInfo& pkt = mSnapshotState.savedPackets[i]; in load()
/hardware/google/aemu/host-common/include/host-common/
DMediaH264DecoderPlugin.h91 std::vector<PacketInfo> savedPackets; member
99 if (pts > 0 && savedPackets.size() > 0 &&
100 pts == savedPackets.back().pts) {
104 savedPackets.push_back(std::move(pkt));
108 if (pts > 0 && savedPackets.size() > 0 &&
109 pts == savedPackets.back().pts) {
115 savedPackets.push_back(std::move(pkt));
180 stream->putBe32(savedPackets.size()); in save()
181 for (size_t i = 0; i < savedPackets.size(); ++i) { in save()
182 savePacketInfo(stream, savedPackets[i]); in save()
[all …]
DMediaSnapshotState.h91 std::vector<PacketInfo> savedPackets; variable