a toy codec of H.264
only support python3
- u: unsigned int with n bits
- ue: unsgined Exp-Golomb-coded
- se: signed Exp-Golomb-coded
- b: bytes
- ae
- ce: CAVLC
- me
- te TODO:
- copy cavlc table from ffmpeg, and add build table process
- [X] NALU
- [X] AU
- [X] SPS
- [ ] high profile support
- [X] VUI
- [ ] hrd_param
- [ ] vcl_hrd_param
- [X] PPS
- [X] SEI
- [X] user data
- [.] Slice Head
- [ ] pic_order_cnt_type == 1 case
- [ ] RefPicListReordering
- [ ] PicSizeInMbs
- [X] macro block
- [ ] mb_pred Intra case
- [ ] residual_block_cavlc
- picture
- GOB
- MB