( bitstream: Bitstream, CpbCnt: number, sub_pic_hrd_params_present_flag: boolean, )
| 836 | }; |
| 837 | |
| 838 | const skipSubLayerHrdParameters = ( |
| 839 | bitstream: Bitstream, |
| 840 | CpbCnt: number, |
| 841 | sub_pic_hrd_params_present_flag: boolean, |
| 842 | ) => { |
| 843 | for (let i = 0; i < CpbCnt; i++) { |
| 844 | readExpGolomb(bitstream); // bit_rate_value_minus1[i] |
| 845 | readExpGolomb(bitstream); // cpb_size_value_minus1[i] |
| 846 | if (sub_pic_hrd_params_present_flag) { |
| 847 | readExpGolomb(bitstream); // cpb_size_du_value_minus1[i] |
| 848 | readExpGolomb(bitstream); // bit_rate_du_value_minus1[i] |
| 849 | } |
| 850 | bitstream.readBits(1); // cbr_flag[i] |
| 851 | } |
| 852 | }; |
| 853 | |
| 854 | export const generateHevcCodecString = (record: HevcDecoderConfigurationRecord) => { |
| 855 | const generalProfileSpace = record.generalProfileSpace; |
no test coverage detected