Searched refs:HasBytes (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/media/formats/mp4/
H A Dcenc.cc27 if (!reader->HasBytes(1)) return true;
31 reader->HasBytes(subsample_count * kEntrySize));
H A Dbox_reader.cc23 RCHECK(HasBytes(1));
30 RCHECK(HasBytes(sizeof(T)));
53 RCHECK(HasBytes(count));
61 RCHECK(HasBytes(bytes));
221 if (!HasBytes(8)) return false;
229 if (!HasBytes(8)) return false;
H A Dbox_definitions.cc34 reader->HasBytes(size));
53 reader->HasBytes(count * (reader->version() == 1 ? 8 : 4)));
308 RCHECK(reader->HasBytes(count * 20));
310 RCHECK(reader->HasBytes(count * 12));
770 RCHECK(reader->HasBytes(fields * sample_count));
H A Dbox_reader.h37 bool HasBytes(int count) { return (pos() + count <= size()); } function in class:media::mp4::BufferReader

Completed in 643 milliseconds