/external/chromium_org/media/formats/webm/ |
H A D | cluster_builder.cc | 17 0x88, // timecode(size=8) 18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // timecode value 69 // Write the timecode into the header. 77 void ClusterBuilder::AddSimpleBlock(int track_num, int64 timecode, int flags, argument 90 WriteBlock(buf, track_num, timecode, flags, data, size); 95 void ClusterBuilder::AddBlockGroup(int track_num, int64 timecode, int duration, argument 97 AddBlockGroupInternal(track_num, timecode, true, duration, flags, data, size); 101 int64 timecode, 105 AddBlockGroupInternal(track_num, timecode, false, 0, flags, data, size); 109 void ClusterBuilder::AddBlockGroupInternal(int track_num, int64 timecode, argument 100 AddBlockGroupWithoutBlockDuration(int track_num, int64 timecode, int flags, const uint8* data, int size) argument 153 WriteBlock(uint8* buf, int track_num, int64 timecode, int flags, const uint8* data, int size) argument [all...] |
H A D | webm_cluster_parser.cc | 223 int timecode = buf[1] << 8 | buf[2]; local 232 // Sign extend negative timecode offsets. 233 if (timecode & 0x8000) 234 timecode |= ~0xffff; 238 return OnBlock(is_simple_block, track_num, timecode, duration, flags, 298 int timecode, 306 MEDIA_LOG(log_cb_) << "Got a block before cluster timecode."; 310 // TODO(acolwell): Should relative negative timecode offsets be rejected? Or 311 // only when the absolute timecode is negative? See http://crbug.com/271794 312 if (timecode < 297 OnBlock(bool is_simple_block, int track_num, int timecode, int block_duration, int flags, const uint8* data, int size, const uint8* additional, int additional_size, int64 discard_padding) argument [all...] |
H A D | webm_cluster_parser_unittest.cc | 71 static scoped_ptr<Cluster> CreateCluster(int timecode, argument
|
/external/libvpx/libvpx/third_party/libwebm/ |
H A D | mkvmuxerutil.cpp | 328 int64 timecode, 348 if (timecode < 0 || timecode > kMaxBlockTimecode) 361 if (SerializeInt(writer, timecode, 2)) 398 int64 timecode, 442 if (SerializeInt(writer, timecode, 2)) 497 int64 timecode, 539 if (SerializeInt(writer, timecode, 2)) 579 int64 timecode, 607 if (SerializeInt(writer, timecode, 324 WriteSimpleBlock(IMkvWriter* writer, const uint8* data, uint64 length, uint64 track_number, int64 timecode, uint64 is_key) argument 394 WriteMetadataBlock(IMkvWriter* writer, const uint8* data, uint64 length, uint64 track_number, int64 timecode, uint64 duration) argument 490 WriteBlockWithAdditional(IMkvWriter* writer, const uint8* data, uint64 length, const uint8* additional, uint64 additional_length, uint64 add_id, uint64 track_number, int64 timecode, uint64 is_key) argument 574 WriteBlockWithDiscardPadding(IMkvWriter* writer, const uint8* data, uint64 length, int64 discard_padding, uint64 track_number, int64 timecode, uint64 is_key) argument [all...] |
H A D | mkvmuxer.hpp | 160 // Absolute timecode according to the segment time base. 546 // their corresponding timecode values, and stores them that way. 641 // Start timecode of the chapter. 644 // Stop timecode of the chapter. 709 Cluster(uint64 timecode, int64 cues_pos); 712 // |timecode| is the absolute timecode of the cluster. |cues_pos| is the 724 // timecode: Absolute (not relative to cluster) timestamp of the 725 // frame, expressed in timecode units. 730 uint64 timecode, // timecod 807 uint64 timecode() const { return timecode_; } function in class:mkvmuxer::Cluster [all...] |
H A D | mkvmuxer.cpp | 1468 Cluster::Cluster(uint64 timecode, int64 cues_pos) argument 1475 timecode_(timecode), 1609 const int64 cluster_timecode = this->Cluster::timecode(); 1742 if (!WriteEbmlElement(writer_, kMkvTimecode, timecode())) 1744 AddPayloadSize(EbmlElementSize(kMkvTimecode, timecode())); 2845 const uint64 last_cluster_timecode = last_cluster->timecode(); 2847 // For completeness we test for the case when the frame's timecode 2848 // is less than the cluster's timecode. Although in principle that
|
H A D | mkvparser.cpp | 3021 //os << "CuePoint::Load(begin): timecode=" << m_timecode << endl; 3090 // << " timecode=" << m_timecode 4707 long long timecode) 4727 if (timecode < 0) 4730 const long long result = timecode_scale * timecode; 7093 long long timecode = -1; 7198 timecode = UnserializeUInt(pReader, pos, size); 7200 if (timecode < 0) //error (or underflow) 7201 return static_cast<long>(timecode); 7225 if (timecode < 4705 GetTime( const Chapters* pChapters, long long timecode) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
H A D | mkvmuxerutil.cpp | 359 uint64 track_number, int64 timecode, uint64 is_key) { 378 if (timecode < 0 || timecode > kMaxBlockTimecode) 391 if (SerializeInt(writer, timecode, 2)) 425 uint64 track_number, int64 timecode, 469 if (SerializeInt(writer, timecode, 2)) 520 uint64 track_number, int64 timecode, 556 if (SerializeInt(writer, timecode, 2)) 593 uint64 track_number, int64 timecode, 618 if (SerializeInt(writer, timecode, 358 WriteSimpleBlock(IMkvWriter* writer, const uint8* data, uint64 length, uint64 track_number, int64 timecode, uint64 is_key) argument 424 WriteMetadataBlock(IMkvWriter* writer, const uint8* data, uint64 length, uint64 track_number, int64 timecode, uint64 duration) argument 517 WriteBlockWithAdditional(IMkvWriter* writer, const uint8* data, uint64 length, const uint8* additional, uint64 additional_length, uint64 add_id, uint64 track_number, int64 timecode, uint64 is_key) argument 591 WriteBlockWithDiscardPadding(IMkvWriter* writer, const uint8* data, uint64 length, int64 discard_padding, uint64 track_number, int64 timecode, uint64 is_key) argument [all...] |
H A D | mkvmuxer.cpp | 1427 Cluster::Cluster(uint64 timecode, int64 cues_pos) argument 1434 timecode_(timecode), 1535 const int64 cluster_timecode = this->Cluster::timecode(); 1640 if (!WriteEbmlElement(writer_, kMkvTimecode, timecode())) 1642 AddPayloadSize(EbmlElementSize(kMkvTimecode, timecode())); 2685 const uint64 last_cluster_timecode = last_cluster->timecode(); 2687 // For completeness we test for the case when the frame's timecode 2688 // is less than the cluster's timecode. Although in principle that
|
H A D | mkvmuxer.hpp | 159 // Absolute timecode according to the segment time base. 542 // their corresponding timecode values, and stores them that way. 634 // Start timecode of the chapter. 637 // Stop timecode of the chapter. 702 Cluster(uint64 timecode, int64 cues_pos); 705 // |timecode| is the absolute timecode of the cluster. |cues_pos| is the 717 // timecode: Absolute (not relative to cluster) timestamp of the 718 // frame, expressed in timecode units. 721 uint64 timecode, // timecod 788 uint64 timecode() const { return timecode_; } function in class:mkvmuxer::Cluster [all...] |
H A D | mkvparser.cpp | 2710 // os << "CuePoint::Load(begin): timecode=" << m_timecode << endl; 2778 // << " timecode=" << m_timecode 4162 long long timecode) { 4181 if (timecode < 0) 4184 const long long result = timecode_scale * timecode; 6127 long long timecode = -1; 6228 timecode = UnserializeUInt(pReader, pos, size); 6230 if (timecode < 0) // error (or underflow) 6231 return static_cast<long>(timecode); 6251 if (timecode < 4161 GetTime(const Chapters* pChapters, long long timecode) argument [all...] |
/external/chromium_org/media/filters/ |
H A D | chunk_demuxer_unittest.cc | 377 void AppendCluster(int timecode, int block_count) { argument 378 AppendCluster(GenerateCluster(timecode, block_count)); 382 int timecode, int block_count) { 397 int end_timecode = timecode + block_count * block_duration; 400 timecode, end_timecode, track_number, block_duration)); 633 void AppendEmptyCluster(int timecode) { argument 634 AppendCluster(GenerateEmptyCluster(timecode)); 800 void AddSimpleBlock(ClusterBuilder* cb, int track_num, int64 timecode) { argument 802 cb->AddSimpleBlock(track_num, timecode, 0, data, sizeof(data)); 805 scoped_ptr<Cluster> GenerateCluster(int timecode, in argument 381 AppendSingleStreamCluster(const std::string& source_id, int track_number, int timecode, int block_count) argument 809 AddVideoBlockGroup(ClusterBuilder* cb, int track_num, int64 timecode, int duration, int flags) argument 878 GenerateSingleStreamCluster(int timecode, int end_timecode, int track_number, int block_duration) argument 920 GenerateExpectedReads(int timecode, int block_count) argument 949 GenerateSingleStreamExpectedReads(int timecode, int block_count, DemuxerStream::Type type, int block_duration) argument 962 GenerateAudioStreamExpectedReads(int timecode, int block_count) argument 967 GenerateVideoStreamExpectedReads(int timecode, int block_count) argument 972 GenerateEmptyCluster(int timecode) argument [all...] |
/external/libvpx/libwebm/ |
H A D | mkvparser.cpp | 2712 // os << "CuePoint::Load(begin): timecode=" << m_timecode << endl; 2780 // << " timecode=" << m_timecode 4165 long long timecode) { 4184 if (timecode < 0) 4187 const long long result = timecode_scale * timecode; 6130 long long timecode = -1; 6231 timecode = UnserializeUInt(pReader, pos, size); 6233 if (timecode < 0) // error (or underflow) 6234 return static_cast<long>(timecode); 6254 if (timecode < 4164 GetTime(const Chapters* pChapters, long long timecode) argument [all...] |
/external/libvpx/libvpx/third_party/nestegg/src/ |
H A D | nestegg.c | 204 struct ebml_type timecode; member in struct:cluster 312 uint64_t timecode; member in struct:nestegg_packet 383 E_FIELD(ID_TIMECODE, TYPE_UINT, struct cluster, timecode), 1247 int64_t timecode, abs_timecode; local 1272 r = ne_read_int(ctx->io, &timecode, 2); 1351 if (ne_get_uint(cluster->timecode, &cluster_tc) != 0) 1354 abs_timecode = timecode + cluster_tc; 1360 pkt->timecode = abs_timecode * tc_scale * track_scale; 1363 block_id == ID_BLOCK ? "" : "simple", pkt->track, pkt->timecode / 1e9, flags, frames); 2251 *tstamp = pkt->timecode; [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | videodev2.h | 627 * @timecode: frame timecode 655 struct v4l2_timecode timecode; member in struct:v4l2_buffer 680 #define V4L2_BUF_FLAG_TIMECODE 0x0100 /* timecode field is valid */
|