aunit.hpp
来自「Motion JPEG编解码器源代码」· HPP 代码 · 共 37 行
HPP
37 行
#ifndef __AUNIT_H__#define __AUNIT_H__#include "mjpeg_types.h"#include "bits.hpp"typedef int64_t clockticks; // This value *must* be signed // because we frequently compute *offsets*class AUnit{public: AUnit() : length(0), PTS(0), DTS(0) {} // // How many payload bytes muxing AU will require. Eventually will be more // complex for input streams where AU are no contiguous // inline unsigned int PayloadSize() const { return length; } void markempty() { length = 0; } bitcount_t start; unsigned int length; clockticks PTS; int dorder; // // Remainder Used only for video AU's... // clockticks DTS; int porder; unsigned int type; bool seq_header; bool end_seq;};#endif // __AUNIT_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?