Lines Matching refs:header_idx
197 ft->header_idx = find_header_idx(s, par, -1, key_frame); in build_frame_code()
223 ft->header_idx = find_header_idx(s, par, frame_bytes + pred, key_frame); in build_frame_code()
270 ft->header_idx = find_header_idx(s, par, -1, key_frame); in build_frame_code()
381 if (tmp_head_idx != nut->frame_code[i].header_idx) tmp_fields = 8; in write_mainheader()
389 tmp_head_idx = nut->frame_code[i].header_idx; in write_mainheader()
402 nut->frame_code[i].header_idx != tmp_head_idx) in write_mainheader()
801 if (fc->header_idx) in get_needed_flags()
802 if (pkt->size < nut->header_len[fc->header_idx] || in get_needed_flags()
804 memcmp(pkt->data, nut->header [fc->header_idx], in get_needed_flags()
805 nut->header_len[fc->header_idx])) in get_needed_flags()
960 int best_length, frame_code, flags, needed_flags, i, header_idx; in nut_write_packet() local
1103 && nut->header_len[best_header_idx] > nut->header_len[fc->header_idx] + 1) { in nut_write_packet()
1110 length -= nut->header_len[fc->header_idx]; in nut_write_packet()
1127 header_idx = fc->header_idx; in nut_write_packet()
1138 if (flags & FLAG_HEADER_IDX) put_v(bc, header_idx = best_header_idx); in nut_write_packet()
1146 … avio_write(bc, pkt->data + nut->header_len[header_idx], pkt->size - nut->header_len[header_idx]); in nut_write_packet()