| 824 | } |
| 825 | |
| 826 | static void nal_unit_parse_header(GetBitContext *gb, uint8_t *nal_type, |
| 827 | uint8_t *nuh_layer_id) |
| 828 | { |
| 829 | skip_bits1(gb); // forbidden_zero_bit |
| 830 | |
| 831 | *nal_type = get_bits(gb, 6); |
| 832 | *nuh_layer_id = get_bits(gb, 6); |
| 833 | |
| 834 | /* |
| 835 | * nuh_temporal_id_plus1 u(3) |
| 836 | */ |
| 837 | skip_bits(gb, 3); |
| 838 | } |
| 839 | |
| 840 | static int hvcc_array_add_nal_unit(const uint8_t *nal_buf, uint32_t nal_size, |
| 841 | HVCCNALUnitArray *array) |
no test coverage detected