Lines Matching refs:header_idx
307 nut->frame_code[i].header_idx = tmp_head_idx; in decode_main_header()
1001 uint8_t *header_idx, int frame_code) in decode_frame_header() argument
1023 *header_idx = nut->frame_code[frame_code].header_idx; in decode_frame_header()
1047 *header_idx = ffio_read_varlen(bc); in decode_frame_header()
1058 if (*header_idx >= (unsigned)nut->header_count) { in decode_frame_header()
1063 *header_idx = 0; in decode_frame_header()
1064 size -= nut->header_len[*header_idx]; in decode_frame_header()
1090 uint8_t header_idx; in decode_frame() local
1092 size = decode_frame_header(nut, &pts, &stream_id, &header_idx, frame_code); in decode_frame()
1112 ret = av_new_packet(pkt, size + nut->header_len[header_idx]); in decode_frame()
1115 if (nut->header[header_idx]) in decode_frame()
1116 memcpy(pkt->data, nut->header[header_idx], nut->header_len[header_idx]); in decode_frame()
1133 ret = avio_read(bc, pkt->data + nut->header_len[header_idx], size); in decode_frame()
1138 av_shrink_packet(pkt, nut->header_len[header_idx] + ret); in decode_frame()