Lines Matching refs:obu_size
797 uint64_t obu_size; in cbs_av1_split_fragment() local
812 err = cbs_av1_read_leb128(ctx, &gbc, "obu_size", &obu_size); in cbs_av1_split_fragment()
816 obu_size = size - 1 - header.obu_extension_flag; in cbs_av1_split_fragment()
821 obu_length = pos / 8 + obu_size; in cbs_av1_split_fragment()
896 uint64_t obu_size; in cbs_av1_read_unit() local
897 err = cbs_av1_read_leb128(ctx, &gbc, "obu_size", &obu_size); in cbs_av1_read_unit()
900 obu->obu_size = obu_size; in cbs_av1_read_unit()
907 obu->obu_size = unit->data_size - 1 - obu->header.obu_extension_flag; in cbs_av1_read_unit()
1034 if (obu->obu_size > 0 && in cbs_av1_read_unit()
1038 int nb_bits = obu->obu_size * 8 + start_pos - end_pos; in cbs_av1_read_unit()
1170 obu->obu_size = header_size + td->data_size; in cbs_av1_write_obu()
1177 obu->obu_size = header_size = (end_pos - start_pos + 7) / 8; in cbs_av1_write_obu()
1180 obu->obu_size = 0; in cbs_av1_write_obu()
1191 err = cbs_av1_write_leb128(ctx, pbc, "obu_size", obu->obu_size); in cbs_av1_write_obu()
1199 if (8 * obu->obu_size > put_bits_left(pbc)) in cbs_av1_write_obu()
1202 if (obu->obu_size > 0) { in cbs_av1_write_obu()