Lines Matching refs:metadata_map
134 bool WriteChaptersFile(const metadata_map_t& metadata_map,
160 void BuildMap(const mkvparser::Segment* segment, metadata_map_t* metadata_map);
165 bool OpenFiles(metadata_map_t* metadata_map, const char* filename);
168 void CloseFiles(metadata_map_t* metadata_map);
178 bool InitializeFiles(const metadata_map_t& metadata_map);
183 bool ProcessCluster(const metadata_map_t& metadata_map,
189 bool ProcessBlockEntry(const metadata_map_t& metadata_map,
392 bool vttdemux::OpenFiles(metadata_map_t* metadata_map, const char* filename) { in OpenFiles() argument
393 if (metadata_map == NULL || metadata_map->empty()) in OpenFiles()
417 metadata_map_t& m = *metadata_map; in OpenFiles()
508 void vttdemux::CloseFiles(metadata_map_t* metadata_map) { in CloseFiles() argument
509 if (metadata_map == NULL) in CloseFiles()
512 metadata_map_t& m = *metadata_map; in CloseFiles()
982 libwebm::vttdemux::metadata_map_t metadata_map; in main() local
984 BuildMap(segment_ptr.get(), &metadata_map); in main()
986 if (metadata_map.empty()) { in main()
991 if (!OpenFiles(&metadata_map, filename)) { in main()
992 CloseFiles(&metadata_map); // nothing to flush, so not strictly necessary in main()
996 if (!WriteFiles(metadata_map, segment_ptr.get())) { in main()
997 CloseFiles(&metadata_map); // might as well flush what we do have in main()
1001 CloseFiles(&metadata_map); in main()