Home
last modified time | relevance | path

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

12

/external/libwebm/webm_parser/include/webm/
Dcallback.h84 virtual Status OnElementBegin(const ElementMetadata& metadata,
100 virtual Status OnUnknownElement(const ElementMetadata& metadata,
113 virtual Status OnEbml(const ElementMetadata& metadata, const Ebml& ebml);
128 virtual Status OnVoid(const ElementMetadata& metadata, Reader* reader,
140 virtual Status OnSegmentBegin(const ElementMetadata& metadata,
152 virtual Status OnSeek(const ElementMetadata& metadata, const Seek& seek);
163 virtual Status OnInfo(const ElementMetadata& metadata, const Info& info);
180 virtual Status OnClusterBegin(const ElementMetadata& metadata,
193 virtual Status OnSimpleBlockBegin(const ElementMetadata& metadata,
205 virtual Status OnSimpleBlockEnd(const ElementMetadata& metadata,
[all …]
Delement.h136 struct ElementMetadata { struct
175 bool operator==(const ElementMetadata& other) const { argument
/external/libwebm/webm_parser/test_utils/
Dmock_callback.h76 Status(const ElementMetadata& metadata, Action* action));
79 Status(const ElementMetadata& metadata, Reader* reader,
83 Status(const ElementMetadata& metadata, const Ebml& ebml));
85 MOCK_METHOD3(OnVoid, Status(const ElementMetadata& metadata, Reader* reader,
89 Status(const ElementMetadata& metadata, Action* action));
92 Status(const ElementMetadata& metadata, const Seek& seek));
95 Status(const ElementMetadata& metadata, const Info& info));
97 MOCK_METHOD3(OnClusterBegin, Status(const ElementMetadata& metadata,
101 Status(const ElementMetadata& metadata,
104 MOCK_METHOD2(OnSimpleBlockEnd, Status(const ElementMetadata& metadata,
[all …]
/external/libwebm/webm_parser/src/
Dcallback.cc14 Status Callback::OnElementBegin(const ElementMetadata& /* metadata */, in OnElementBegin() argument
21 Status Callback::OnUnknownElement(const ElementMetadata& /* metadata */, in OnUnknownElement() argument
29 Status Callback::OnEbml(const ElementMetadata& /* metadata */, in OnEbml() argument
34 Status Callback::OnVoid(const ElementMetadata& /* metadata */, Reader* reader, in OnVoid() argument
41 Status Callback::OnSegmentBegin(const ElementMetadata& /* metadata */, in OnSegmentBegin() argument
48 Status Callback::OnSeek(const ElementMetadata& /* metadata */, in OnSeek() argument
53 Status Callback::OnInfo(const ElementMetadata& /* metadata */, in OnInfo() argument
58 Status Callback::OnClusterBegin(const ElementMetadata& /* metadata */, in OnClusterBegin() argument
65 Status Callback::OnSimpleBlockBegin(const ElementMetadata& /* metadata */, in OnSimpleBlockBegin() argument
73 Status Callback::OnSimpleBlockEnd(const ElementMetadata& /* metadata */, in OnSimpleBlockEnd() argument
[all …]
Dskip_callback.h23 Status OnElementBegin(const ElementMetadata& /* metadata */, in OnElementBegin() argument
29 Status OnSegmentBegin(const ElementMetadata& /* metadata */, in OnSegmentBegin() argument
35 Status OnClusterBegin(const ElementMetadata& /* metadata */, in OnClusterBegin() argument
41 Status OnSimpleBlockBegin(const ElementMetadata& /* metadata */, in OnSimpleBlockBegin() argument
48 Status OnBlockGroupBegin(const ElementMetadata& /* metadata */, in OnBlockGroupBegin() argument
54 Status OnBlockBegin(const ElementMetadata& /* metadata */, in OnBlockBegin() argument
Delement_parser.h65 virtual Status Init(const ElementMetadata& metadata,
75 const ElementMetadata& /* child_metadata */) { in InitAfterSeek() argument
85 virtual bool GetCachedMetadata(ElementMetadata* metadata) { in GetCachedMetadata()
Dmaster_parser.h84 Status Init(const ElementMetadata& metadata, std::uint64_t max_size) override;
87 const ElementMetadata& child_metadata) override;
92 bool GetCachedMetadata(ElementMetadata* metadata) override;
109 const ElementMetadata& child_metadata() const { in child_metadata()
171 ElementMetadata child_metadata_;
Daudio_parser.h40 Status Init(const ElementMetadata& metadata, in Init()
48 const ElementMetadata& child_metadata) override { in InitAfterSeek()
65 void OnChildParsed(const ElementMetadata& metadata) override { in OnChildParsed()
Dsegment_parser.cc31 Status SegmentParser::Init(const ElementMetadata& metadata, in Init()
41 const ElementMetadata& child_metadata) { in InitAfterSeek()
58 const ElementMetadata metadata{Id::kSegment, header_size(), size(), in Feed()
Dunknown_parser.h23 Status Init(const ElementMetadata& metadata, std::uint64_t max_size) override;
30 ElementMetadata metadata_;
Dvoid_parser.h26 Status Init(const ElementMetadata& metadata, std::uint64_t max_size) override;
33 ElementMetadata metadata_;
Dsegment_parser.h30 Status Init(const ElementMetadata& metadata, std::uint64_t max_size) override;
33 const ElementMetadata& child_metadata) override;
Dvideo_parser.h65 Status Init(const ElementMetadata& metadata, in Init()
74 const ElementMetadata& child_metadata) override { in InitAfterSeek()
92 void OnChildParsed(const ElementMetadata& metadata) override { in OnChildParsed()
Dblock_parser.cc37 Status BasicBlockBegin(const ElementMetadata& metadata, const Block& block, in BasicBlockBegin()
42 Status BasicBlockBegin(const ElementMetadata& metadata, in BasicBlockBegin()
50 Status BasicBlockEnd(const ElementMetadata& metadata, const Block& block, in BasicBlockEnd()
55 Status BasicBlockEnd(const ElementMetadata& metadata, const SimpleBlock& block, in BasicBlockEnd()
63 Status BasicBlockParser<T>::Init(const ElementMetadata& metadata, in Init()
Drecursive_parser.h39 Status Init(const ElementMetadata& metadata, in Init()
55 const ElementMetadata& child_metadata) override { in InitAfterSeek()
Dmaster_value_parser.h65 Status Init(const ElementMetadata& metadata, in Init()
80 const ElementMetadata& child_metadata) override { in InitAfterSeek()
134 bool GetCachedMetadata(ElementMetadata* metadata) override { in GetCachedMetadata()
342 ElementMetadata metadata(Id id) const { in metadata()
392 virtual void OnChildParsed(const ElementMetadata& /* metadata */) {} in OnChildParsed() argument
402 const ElementMetadata& child_metadata() const { in child_metadata()
Dmaster_parser.cc26 Status MasterParser::Init(const ElementMetadata& metadata, in Init()
48 const ElementMetadata& child_metadata) { in InitAfterSeek()
270 bool MasterParser::GetCachedMetadata(ElementMetadata* metadata) { in GetCachedMetadata()
Dskip_parser.h24 Status Init(const ElementMetadata& metadata, std::uint64_t max_size) override;
/external/libwebm/webm_parser/tests/
Dcallback_test.cc21 using webm::ElementMetadata;
27 void TestCompletedOk(Status (Callback::*function)(const ElementMetadata&)) { in TestCompletedOk() argument
29 ElementMetadata metadata{}; in TestCompletedOk()
36 void TestCompletedOk(Status (Callback::*function)(const ElementMetadata&, in TestCompletedOk() argument
39 ElementMetadata metadata{}; in TestCompletedOk()
46 void TestAction(Status (Callback::*function)(const ElementMetadata&, Action*), in TestAction() argument
49 ElementMetadata metadata{}; in TestAction()
58 void TestAction(Status (Callback::*function)(const ElementMetadata&, const T&, in TestAction() argument
62 ElementMetadata metadata{}; in TestAction()
Dmaster_parser_test.cc32 using webm::ElementMetadata;
73 const ElementMetadata metadata = {Id::kVoid, 2, kUnknownElementSize, 0}; in TEST_F()
121 ElementMetadata metadata = {Id::kBlock, 2, kUnknownElementSize, 0}; in TEST_F()
146 ElementMetadata metadata = {Id::kBlock, 2, kUnknownElementSize, 0}; in TEST_F()
175 const ElementMetadata metadata = {Id::kVoid, 2, 0, 0}; in TEST_F()
201 ElementMetadata metadata = {static_cast<Id>(0x4000), 3, 0, 0}; in TEST_F()
233 const ElementMetadata metadata = {Id::kVoid, 2, 1, 0}; in TEST_F()
265 ElementMetadata metadata = {Id::kBlock, 2, kUnknownElementSize, 0}; in TEST_F()
297 const ElementMetadata metadata = {Id::kVoid, 2, 1, 0}; in TEST_F()
313 const ElementMetadata metadata = {Id::kEbml, 9, 6, 0}; in TEST_F()
[all …]
Dmaster_value_parser_test.cc29 using webm::ElementMetadata;
106 ElementMetadata child_metadata = {Id::kTimecode, 2, 0, 0}; in TEST_F()
139 ElementMetadata child_metadata = {Id::kTimecode, 2, 2, 0}; in TEST_F()
176 ElementMetadata child_metadata = {Id::kTimecode, 3, 2, 0}; in TEST_F()
209 const ElementMetadata child_metadata = {Id::kTimecode, 2, 0, 0}; in TEST_F()
236 ElementMetadata child_metadata = {Id::kPrevSize, 2, 0, 0}; in TEST_F()
269 ElementMetadata child_metadata = {Id::kPrevSize, 2, 1, 0}; in TEST_F()
319 const ElementMetadata child_metadata = {Id::kPrevSize, 2, 1, 0}; in TEST_F()
350 const ElementMetadata child_metadata = {Id::kPrevSize, 2, 1, 0}; in TEST_F()
Dwebm_parser_test.cc25 using webm::ElementMetadata;
93 ElementMetadata metadata = {Id::kEbml, 5, 0, 0}; in TEST_F()
119 const ElementMetadata metadata = {Id::kEbml, 5, 0, 0}; in TEST_F()
144 ElementMetadata metadata = {static_cast<Id>(0x80), 2, 0, 0}; in TEST_F()
173 ElementMetadata metadata = {Id::kEbmlVersion, 6, 1, num_to_skip}; in TEST_F()
207 ElementMetadata metadata = {Id::kInfo, 5, 0, num_to_skip}; in TEST_F()
245 ElementMetadata metadata = {Id::kVoid, 2, 1, num_to_skip}; in TEST_F()
278 ElementMetadata metadata = {Id::kVoid, 2, 1, 1}; in TEST_F()
317 ElementMetadata metadata = {Id::kVoid, 2, 1, 0}; in TEST_F()
Dsegment_parser_test.cc28 using webm::ElementMetadata;
108 ElementMetadata metadata = {Id::kInfo, 5, 0, 5}; in TEST_F()
325 const ElementMetadata flag_interlaced_metadata = {Id::kFlagInterlaced, 0, 1, in TEST_F()
335 ElementMetadata metadata = {Id::kStereoMode, 6, 1, 1}; in TEST_F()
Drecursive_parser_test.cc21 using webm::ElementMetadata;
35 Status Init(const ElementMetadata& /* metadata */, in Init() argument
/external/libwebm/webm_parser/demo/
Ddemo.cc619 const ElementMetadata& metadata) { in PrintElementMetadata()
859 Status OnElementBegin(const ElementMetadata& metadata, in OnElementBegin()
892 Status OnUnknownElement(const ElementMetadata& metadata, Reader* reader, in OnUnknownElement()
905 Status OnEbml(const ElementMetadata& metadata, const Ebml& ebml) override { in OnEbml()
919 Status OnVoid(const ElementMetadata& metadata, Reader* reader, in OnVoid()
932 Status OnSegmentBegin(const ElementMetadata& metadata, in OnSegmentBegin()
941 Status OnSeek(const ElementMetadata& metadata, const Seek& seek) override { in OnSeek()
950 Status OnInfo(const ElementMetadata& metadata, const Info& info) override { in OnInfo()
963 Status OnClusterBegin(const ElementMetadata& metadata, const Cluster& cluster, in OnClusterBegin()
982 Status OnSimpleBlockBegin(const ElementMetadata& metadata, in OnSimpleBlockBegin()
[all …]

12