mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
* BitBuffer: add method to implement bit read operation. * Codec: demux hevc sps for profile level resolution. * Statistic: refine hevc profile level resolution. * Kernel: return error code for demux hevc. * Kernel: check bitstream length for hevc sps. * UTest: add BitBuffer read bits utest. * Kernel: refine print log and utest. * Kernel: add comment for hevc sps. Co-authored-by: winlin <winlin@vip.126.com>
This commit is contained in:
parent
e6c395e473
commit
a0803b556b
9 changed files with 729 additions and 19 deletions
|
@ -174,6 +174,14 @@ public:
|
|||
public:
|
||||
bool empty();
|
||||
int8_t read_bit();
|
||||
bool require_bits(int n);
|
||||
int left_bits();
|
||||
void skip_bits(int n);
|
||||
int32_t read_bits(int n);
|
||||
int8_t read_8bits();
|
||||
int16_t read_16bits();
|
||||
int32_t read_32bits();
|
||||
int32_t read_bits_ue();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue