Home
last modified time | relevance | path

Searched refs:ancestory (Results 1 – 6 of 6) sorted by relevance

/external/libwebm/webm_parser/src/
Dancestory.cc14 bool Ancestory::ById(Id id, Ancestory* ancestory) { in ById() argument
124 *ancestory = Ancestory(kEbmlAncestory, 1); in ById()
134 *ancestory = Ancestory(kSeekAncestory, 1); in ById()
138 *ancestory = Ancestory(kSeekAncestory, 2); in ById()
143 *ancestory = Ancestory(kSeekAncestory, 3); in ById()
152 *ancestory = Ancestory(kInfoAncestory, 2); in ById()
159 *ancestory = Ancestory(kBlockMoreAncestory, 2); in ById()
169 *ancestory = Ancestory(kBlockMoreAncestory, 3); in ById()
173 *ancestory = Ancestory(kBlockMoreAncestory, 4); in ById()
178 *ancestory = Ancestory(kBlockMoreAncestory, 5); in ById()
[all …]
Dancestory.h57 static bool ById(Id id, Ancestory* ancestory);
63 Ancestory(const Id (&ancestory)[N], std::size_t count) in Ancestory()
64 : begin_(ancestory), end_(ancestory + count) { in Ancestory()
Dwebm_parser.cc98 Ancestory ancestory; in Feed() local
99 if (did_seek_ && Ancestory::ById(child_metadata_.id, &ancestory)) { in Feed()
100 assert(!ancestory.empty()); in Feed()
101 assert(ancestory.id() == Id::kSegment || in Feed()
102 ancestory.id() == Id::kEbml); in Feed()
104 if (ancestory.id() == Id::kSegment) { in Feed()
110 child_parser_->InitAfterSeek(ancestory.next(), child_metadata_); in Feed()
111 child_metadata_.id = ancestory.id(); in Feed()
/external/libwebm/webm_parser/tests/
Dcluster_parser_test.cc194 Ancestory ancestory; in TEST_F() local
195 ASSERT_TRUE(Ancestory::ById(child_metadata.id, &ancestory)); in TEST_F()
197 ancestory = ancestory.next().next(); in TEST_F()
199 parser_.InitAfterSeek(ancestory, child_metadata); in TEST_F()
Dsegment_parser_test.cc357 Ancestory ancestory; in TEST_F() local
358 ASSERT_TRUE(Ancestory::ById(flag_interlaced_metadata.id, &ancestory)); in TEST_F()
359 ancestory = ancestory.next(); // Skip the Segment ancestor. in TEST_F()
361 parser_.InitAfterSeek(ancestory, flag_interlaced_metadata); in TEST_F()
/external/libwebm/
DCMakeLists.txt137 "${LIBWEBM_SRC_DIR}/webm_parser/src/ancestory.cc"
138 "${LIBWEBM_SRC_DIR}/webm_parser/src/ancestory.h"