Lines Matching refs:pu
100 static int unpack_parse_unit(DiracParseUnit *pu, DiracParseContext *pc,
114 pu->pu_type = start[4];
116 pu->next_pu_offset = AV_RB32(start + 5);
117 pu->prev_pu_offset = AV_RB32(start + 9);
121 if (valid_pu_types[i] == pu->pu_type)
126 if (pu->pu_type == 0x10 && pu->next_pu_offset == 0x00)
127 pu->next_pu_offset = 13; /* The length of a parse info header */
130 if ((pu->next_pu_offset && pu->next_pu_offset < 13) ||
131 (pu->prev_pu_offset && pu->prev_pu_offset < 13))
170 DiracParseUnit pu1, pu;
186 !unpack_parse_unit(&pu, pc, pc->index - 13 - pu1.prev_pu_offset) ||
187 pu.next_pu_offset != pu1.prev_pu_offset ||
203 pc->dirac_unit_size += pu.next_pu_offset;
205 if ((pu.pu_type & 0x08) != 0x08) {