• Home
  • Raw
  • Download

Lines Matching refs:uint64_t

33 const uint64_t kMaxTrackNumber = 126;
70 bool WriteEbmlHeader(IMkvWriter* writer, uint64_t doc_type_version,
75 bool WriteEbmlHeader(IMkvWriter* writer, uint64_t doc_type_version);
97 bool Init(const uint8_t* frame, uint64_t length);
100 bool AddAdditionalData(const uint8_t* additional, uint64_t length,
101 uint64_t add_id);
110 uint64_t add_id() const { return add_id_; } in add_id()
112 uint64_t additional_length() const { return additional_length_; } in additional_length()
113 void set_duration(uint64_t duration);
114 uint64_t duration() const { return duration_; } in duration()
119 uint64_t length() const { return length_; } in length()
120 void set_track_number(uint64_t track_number) { track_number_ = track_number; } in set_track_number()
121 uint64_t track_number() const { return track_number_; } in track_number()
122 void set_timestamp(uint64_t timestamp) { timestamp_ = timestamp; } in set_timestamp()
123 uint64_t timestamp() const { return timestamp_; } in timestamp()
138 uint64_t add_id_;
144 uint64_t additional_length_;
147 uint64_t duration_;
161 uint64_t length_;
164 uint64_t track_number_;
167 uint64_t timestamp_;
189 uint64_t Size() const;
194 void set_time(uint64_t time) { time_ = time; } in set_time()
195 uint64_t time() const { return time_; } in time()
196 void set_track(uint64_t track) { track_ = track; } in set_track()
197 uint64_t track() const { return track_; } in track()
198 void set_cluster_pos(uint64_t cluster_pos) { cluster_pos_ = cluster_pos; } in set_cluster_pos()
199 uint64_t cluster_pos() const { return cluster_pos_; } in cluster_pos()
200 void set_block_number(uint64_t block_number) { block_number_ = block_number; } in set_block_number()
201 uint64_t block_number() const { return block_number_; } in block_number()
209 uint64_t PayloadSize() const;
212 uint64_t time_;
215 uint64_t track_;
218 uint64_t cluster_pos_;
221 uint64_t block_number_;
245 uint64_t Size();
283 uint64_t Size() const;
289 uint64_t cipher_mode() const { return cipher_mode_; } in cipher_mode()
294 uint64_t PayloadSize() const;
297 uint64_t cipher_mode_;
316 bool SetEncryptionID(const uint8_t* id, uint64_t length);
319 uint64_t Size() const;
325 uint64_t enc_algo() const { return enc_algo_; } in enc_algo()
326 uint64_t encoding_order() const { return encoding_order_; } in encoding_order()
327 uint64_t encoding_scope() const { return encoding_scope_; } in encoding_scope()
328 uint64_t encoding_type() const { return encoding_type_; } in encoding_type()
333 uint64_t EncodingSize(uint64_t compresion_size,
334 uint64_t encryption_size) const;
337 uint64_t EncryptionSize() const;
340 uint64_t enc_algo_;
342 uint64_t encoding_order_;
343 uint64_t encoding_scope_;
344 uint64_t encoding_type_;
350 uint64_t enc_key_id_length_;
367 uint64_t PrimaryChromaticitySize(libwebm::MkvId x_id,
405 uint64_t MasteringMetadataSize() const;
430 uint64_t PayloadSize() const;
505 static const uint64_t kValueNotPresent;
524 uint64_t ColourSize() const;
535 uint64_t matrix_coefficients() const { return matrix_coefficients_; } in matrix_coefficients()
536 void set_matrix_coefficients(uint64_t matrix_coefficients) { in set_matrix_coefficients()
539 uint64_t bits_per_channel() const { return bits_per_channel_; } in bits_per_channel()
540 void set_bits_per_channel(uint64_t bits_per_channel) { in set_bits_per_channel()
543 uint64_t chroma_subsampling_horz() const { return chroma_subsampling_horz_; } in chroma_subsampling_horz()
544 void set_chroma_subsampling_horz(uint64_t chroma_subsampling_horz) { in set_chroma_subsampling_horz()
547 uint64_t chroma_subsampling_vert() const { return chroma_subsampling_vert_; } in chroma_subsampling_vert()
548 void set_chroma_subsampling_vert(uint64_t chroma_subsampling_vert) { in set_chroma_subsampling_vert()
551 uint64_t cb_subsampling_horz() const { return cb_subsampling_horz_; } in cb_subsampling_horz()
552 void set_cb_subsampling_horz(uint64_t cb_subsampling_horz) { in set_cb_subsampling_horz()
555 uint64_t cb_subsampling_vert() const { return cb_subsampling_vert_; } in cb_subsampling_vert()
556 void set_cb_subsampling_vert(uint64_t cb_subsampling_vert) { in set_cb_subsampling_vert()
559 uint64_t chroma_siting_horz() const { return chroma_siting_horz_; } in chroma_siting_horz()
560 void set_chroma_siting_horz(uint64_t chroma_siting_horz) { in set_chroma_siting_horz()
563 uint64_t chroma_siting_vert() const { return chroma_siting_vert_; } in chroma_siting_vert()
564 void set_chroma_siting_vert(uint64_t chroma_siting_vert) { in set_chroma_siting_vert()
567 uint64_t range() const { return range_; } in range()
568 void set_range(uint64_t range) { range_ = range; } in set_range()
569 uint64_t transfer_characteristics() const { in transfer_characteristics()
572 void set_transfer_characteristics(uint64_t transfer_characteristics) { in set_transfer_characteristics()
575 uint64_t primaries() const { return primaries_; } in primaries()
576 void set_primaries(uint64_t primaries) { primaries_ = primaries; } in set_primaries()
577 uint64_t max_cll() const { return max_cll_; } in max_cll()
578 void set_max_cll(uint64_t max_cll) { max_cll_ = max_cll; } in set_max_cll()
579 uint64_t max_fall() const { return max_fall_; } in max_fall()
580 void set_max_fall(uint64_t max_fall) { max_fall_ = max_fall; } in set_max_fall()
584 uint64_t PayloadSize() const;
586 uint64_t matrix_coefficients_;
587 uint64_t bits_per_channel_;
588 uint64_t chroma_subsampling_horz_;
589 uint64_t chroma_subsampling_vert_;
590 uint64_t cb_subsampling_horz_;
591 uint64_t cb_subsampling_vert_;
592 uint64_t chroma_siting_horz_;
593 uint64_t chroma_siting_vert_;
594 uint64_t range_;
595 uint64_t transfer_characteristics_;
596 uint64_t primaries_;
597 uint64_t max_cll_;
598 uint64_t max_fall_;
614 static const uint64_t kValueNotPresent;
624 uint64_t ProjectionSize() const;
628 uint64_t private_data_length);
639 uint64_t private_data_length() const { return private_data_length_; } in private_data_length()
643 uint64_t PayloadSize() const;
650 uint64_t private_data_length_;
669 virtual uint64_t PayloadSize() const;
672 virtual uint64_t Size() const;
679 bool SetCodecPrivate(const uint8_t* codec_private, uint64_t length);
686 void set_max_block_additional_id(uint64_t max_block_additional_id) { in set_max_block_additional_id()
689 uint64_t max_block_additional_id() const { return max_block_additional_id_; } in max_block_additional_id()
692 void set_number(uint64_t number) { number_ = number; } in set_number()
693 uint64_t number() const { return number_; } in number()
694 void set_type(uint64_t type) { type_ = type; } in set_type()
695 uint64_t type() const { return type_; } in type()
696 void set_uid(uint64_t uid) { uid_ = uid; } in set_uid()
697 uint64_t uid() const { return uid_; } in uid()
698 void set_codec_delay(uint64_t codec_delay) { codec_delay_ = codec_delay; } in set_codec_delay()
699 uint64_t codec_delay() const { return codec_delay_; } in codec_delay()
700 void set_seek_pre_roll(uint64_t seek_pre_roll) { in set_seek_pre_roll()
703 uint64_t seek_pre_roll() const { return seek_pre_roll_; } in seek_pre_roll()
704 void set_default_duration(uint64_t default_duration) { in set_default_duration()
707 uint64_t default_duration() const { return default_duration_; } in default_duration()
709 uint64_t codec_private_length() const { return codec_private_length_; } in codec_private_length()
719 uint64_t max_block_additional_id_;
721 uint64_t number_;
722 uint64_t type_;
723 uint64_t uid_;
724 uint64_t codec_delay_;
725 uint64_t seek_pre_roll_;
726 uint64_t default_duration_;
729 uint64_t codec_private_length_;
761 virtual uint64_t PayloadSize() const;
767 bool SetStereoMode(uint64_t stereo_mode);
770 bool SetAlphaMode(uint64_t alpha_mode);
772 void set_display_height(uint64_t height) { display_height_ = height; } in set_display_height()
773 uint64_t display_height() const { return display_height_; } in display_height()
774 void set_display_width(uint64_t width) { display_width_ = width; } in set_display_width()
775 uint64_t display_width() const { return display_width_; } in display_width()
776 void set_pixel_height(uint64_t height) { pixel_height_ = height; } in set_pixel_height()
777 uint64_t pixel_height() const { return pixel_height_; } in pixel_height()
778 void set_pixel_width(uint64_t width) { pixel_width_ = width; } in set_pixel_width()
779 uint64_t pixel_width() const { return pixel_width_; } in pixel_width()
781 void set_crop_left(uint64_t crop_left) { crop_left_ = crop_left; } in set_crop_left()
782 uint64_t crop_left() const { return crop_left_; } in crop_left()
783 void set_crop_right(uint64_t crop_right) { crop_right_ = crop_right; } in set_crop_right()
784 uint64_t crop_right() const { return crop_right_; } in crop_right()
785 void set_crop_top(uint64_t crop_top) { crop_top_ = crop_top; } in set_crop_top()
786 uint64_t crop_top() const { return crop_top_; } in crop_top()
787 void set_crop_bottom(uint64_t crop_bottom) { crop_bottom_ = crop_bottom; } in set_crop_bottom()
788 uint64_t crop_bottom() const { return crop_bottom_; } in crop_bottom()
792 void set_height(uint64_t height) { height_ = height; } in set_height()
793 uint64_t height() const { return height_; } in height()
794 uint64_t stereo_mode() { return stereo_mode_; } in stereo_mode()
795 uint64_t alpha_mode() { return alpha_mode_; } in alpha_mode()
796 void set_width(uint64_t width) { width_ = width; } in set_width()
797 uint64_t width() const { return width_; } in width()
813 uint64_t VideoPayloadSize() const;
816 uint64_t display_height_;
817 uint64_t display_width_;
818 uint64_t pixel_height_;
819 uint64_t pixel_width_;
820 uint64_t crop_left_;
821 uint64_t crop_right_;
822 uint64_t crop_top_;
823 uint64_t crop_bottom_;
825 uint64_t height_;
826 uint64_t stereo_mode_;
827 uint64_t alpha_mode_;
828 uint64_t width_;
847 virtual uint64_t PayloadSize() const;
852 void set_bit_depth(uint64_t bit_depth) { bit_depth_ = bit_depth; } in set_bit_depth()
853 uint64_t bit_depth() const { return bit_depth_; } in bit_depth()
854 void set_channels(uint64_t channels) { channels_ = channels; } in set_channels()
855 uint64_t channels() const { return channels_; } in channels()
861 uint64_t bit_depth_;
862 uint64_t channels_;
899 Track* GetTrackByNumber(uint64_t track_number) const;
902 bool TrackIsAudio(uint64_t track_number) const;
905 bool TrackIsVideo(uint64_t track_number) const;
938 void set_time(const Segment& segment, uint64_t start_time_ns,
939 uint64_t end_time_ns);
943 void set_uid(const uint64_t uid) { uid_ = uid; } in set_uid()
990 uint64_t WriteDisplay(IMkvWriter* writer) const;
1023 uint64_t WriteAtom(IMkvWriter* writer) const;
1030 uint64_t start_timecode_;
1033 uint64_t end_timecode_;
1036 uint64_t uid_;
1076 uint64_t WriteEdition(IMkvWriter* writer) const;
1121 uint64_t Write(IMkvWriter* writer) const;
1148 uint64_t Write(IMkvWriter* writer) const;
1206 Cluster(uint64_t timecode, int64_t cues_pos, uint64_t timecode_scale,
1227 bool AddFrame(const uint8_t* data, uint64_t length, uint64_t track_number,
1228 uint64_t timecode, // timecode units (absolute)
1244 bool AddFrameWithAdditional(const uint8_t* data, uint64_t length,
1246 uint64_t additional_length, uint64_t add_id,
1247 uint64_t track_number, uint64_t abs_timecode,
1261 bool AddFrameWithDiscardPadding(const uint8_t* data, uint64_t length,
1263 uint64_t track_number, uint64_t abs_timecode,
1280 bool AddMetadata(const uint8_t* data, uint64_t length, uint64_t track_number,
1281 uint64_t timecode, uint64_t duration);
1284 void AddPayloadSize(uint64_t size);
1301 bool Finalize(bool set_last_frame_duration, uint64_t duration);
1304 uint64_t Size() const;
1312 uint64_t payload_size() const { return payload_size_; } in payload_size()
1314 uint64_t timecode() const { return timecode_; } in timecode()
1315 uint64_t timecode_scale() const { return timecode_scale_; } in timecode_scale()
1325 typedef std::map<uint64_t, std::list<Frame*> >::iterator FrameMapIterator;
1334 void PostWriteBlock(uint64_t element_size);
1360 uint64_t payload_size_;
1369 const uint64_t timecode_;
1372 const uint64_t timecode_scale_;
1381 std::map<uint64_t, std::list<Frame*> > stored_frames_;
1385 std::map<uint64_t, uint64_t> last_block_timestamp_;
1406 bool AddSeekEntry(uint32_t id, uint64_t pos);
1417 uint64_t GetPosition(int index) const;
1421 bool SetSeekEntry(int index, uint32_t id, uint64_t position);
1432 uint64_t MaxEntrySize() const;
1438 uint64_t seek_entry_pos_[kSeekEntryCount];
1467 void set_timecode_scale(uint64_t scale) { timecode_scale_ = scale; } in set_timecode_scale()
1468 uint64_t timecode_scale() const { return timecode_scale_; } in timecode_scale()
1481 uint64_t timecode_scale_;
1509 static const uint64_t kDefaultMaxClusterDuration = 30000000000ULL;
1529 uint64_t AddAudioTrack(int32_t sample_rate, int32_t channels, int32_t number);
1545 bool AddCuePoint(uint64_t timestamp, uint64_t track);
1555 bool AddFrame(const uint8_t* data, uint64_t length, uint64_t track_number,
1556 uint64_t timestamp_ns, bool is_key);
1572 bool AddMetadata(const uint8_t* data, uint64_t length, uint64_t track_number,
1573 uint64_t timestamp_ns, uint64_t duration_ns);
1588 bool AddFrameWithAdditional(const uint8_t* data, uint64_t length,
1590 uint64_t additional_length, uint64_t add_id,
1591 uint64_t track_number, uint64_t timestamp,
1605 bool AddFrameWithDiscardPadding(const uint8_t* data, uint64_t length,
1607 uint64_t track_number, uint64_t timestamp,
1620 uint64_t AddVideoTrack(int32_t width, int32_t height, int32_t number);
1639 bool CuesTrack(uint64_t track_number);
1659 Track* GetTrackByNumber(uint64_t track_number) const;
1682 uint64_t cues_track() const { return cues_track_; } in cues_track()
1683 void set_max_cluster_duration(uint64_t max_cluster_duration) { in set_max_cluster_duration()
1686 uint64_t max_cluster_duration() const { return max_cluster_duration_; } in max_cluster_duration()
1687 void set_max_cluster_size(uint64_t max_cluster_size) { in set_max_cluster_size()
1690 uint64_t max_cluster_size() const { return max_cluster_size_; } in max_cluster_size()
1735 bool WriteFramesLessThan(uint64_t timestamp);
1749 int TestFrame(uint64_t track_num, uint64_t timestamp_ns, bool key) const;
1753 bool MakeNewCluster(uint64_t timestamp_ns);
1758 bool DoNewClusterProcessing(uint64_t track_num, uint64_t timestamp_ns,
1773 void MoveCuesBeforeClustersHelper(uint64_t diff, int index,
1774 uint64_t* cue_size);
1828 uint64_t cues_track_;
1852 uint64_t last_block_duration_;
1855 uint64_t last_timestamp_;
1858 uint64_t last_track_timestamp_[kMaxTrackNumber];
1861 uint64_t track_frames_written_[kMaxTrackNumber];
1866 uint64_t max_cluster_duration_;
1871 uint64_t max_cluster_size_;