Lines Matching refs:Elements

93     for (f = 0; f < mtx_hdr->Elements; f++) {
188 if (mtx_hdr->Elements >= MAXNUMBERELEMENTS) { in pnw__write_upto8bits_elements()
199 size_bits_p = &(elt_p[mtx_hdr->Elements]->Size); in pnw__write_upto8bits_elements()
202 wrt_bytes_p = &(elt_p[mtx_hdr->Elements]->Bits); in pnw__write_upto8bits_elements()
207 if (size_bits_p[0] >= 120 && ((mtx_hdr->Elements + 1) < MAXNUMBERELEMENTS)) { in pnw__write_upto8bits_elements()
209 mtx_hdr->Elements++; /* Increment element index */ in pnw__write_upto8bits_elements()
211 elt_p[mtx_hdr->Elements] = (MTX_HEADER_ELEMENT *) & wrt_bytes_p[15]; in pnw__write_upto8bits_elements()
214 elt_p[mtx_hdr->Elements]->Element_Type = ELEMENT_RAWDATA; in pnw__write_upto8bits_elements()
217 elt_p[mtx_hdr->Elements]->Size = 0; in pnw__write_upto8bits_elements()
334 if (mtx_hdr->Elements != ELEMENTS_EMPTY && in pnw__insert_element_token()
335 mtx_hdr->Elements > (MAXNUMBERELEMENTS - 1)) in pnw__insert_element_token()
338 if (mtx_hdr->Elements != ELEMENTS_EMPTY) { in pnw__insert_element_token()
339 if (elt_p[mtx_hdr->Elements]->Element_Type == ELEMENT_STARTCODE_RAWDATA in pnw__insert_element_token()
340 || elt_p[mtx_hdr->Elements]->Element_Type == ELEMENT_RAWDATA) { in pnw__insert_element_token()
346 Offset = elt_p[mtx_hdr->Elements]->Size + 8 + 31; in pnw__insert_element_token()
354 mtx_hdr->Elements++; in pnw__insert_element_token()
356 if (mtx_hdr->Elements > (MAXNUMBERELEMENTS - 1)) in pnw__insert_element_token()
358 P = (IMG_UINT8 *) elt_p[mtx_hdr->Elements-1]; in pnw__insert_element_token()
360 elt_p[mtx_hdr->Elements] = (MTX_HEADER_ELEMENT *) P; in pnw__insert_element_token()
362 mtx_hdr->Elements = 0; in pnw__insert_element_token()
364 elt_p[mtx_hdr->Elements]->Element_Type = Token; in pnw__insert_element_token()
365 elt_p[mtx_hdr->Elements]->Size = 0; in pnw__insert_element_token()
920 if (pMTX_Header->Elements < MAXNUMBERELEMENTS) { in pnw__H264_writebits_sequence_header()
921 ui8SBP = (aui32ElementPointers[pMTX_Header->Elements]->Size) & 7; in pnw__H264_writebits_sequence_header()
988 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_getelements_skip_P_slice()
999 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__H264_getelements_skip_P_slice()
1014 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_getelements_sequence_header()
1019 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__H264_getelements_sequence_header()
1035 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_getelements_slice_header()
1043 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__H264_getelements_slice_header()
2095 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_AUD_header()
2101 pMTX_Header->Elements++; //Has been used as an index, so need to add 1 for a valid element count in pnw__H264_prepare_AUD_header()
2120 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_SEI_buffering_period_header()
2136 pMTX_Header->Elements++; in pnw__H264_prepare_SEI_buffering_period_header()
2171 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_SEI_picture_timing_header()
2202 pMTX_Header->Elements++; in pnw__H264_prepare_SEI_picture_timing_header()
2216 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_SEI_FPA_header()
2224 pMTX_Header->Elements++; in pnw__H264_prepare_SEI_FPA_header()
2340 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_picture_header()
2347 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__H264_prepare_picture_header()
2428 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__MPEG4_prepare_sequence_header()
2442 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__MPEG4_prepare_sequence_header()
2462 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__MPEG4_prepare_vop_header()
2476 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__MPEG4_prepare_vop_header()
2495 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H263_prepare_sequence_header()
2501 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__H263_prepare_sequence_header()
2522 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H263_prepare_picture_header()
2535 mtx_hdr->Elements++; /* Has been used as an index, so need to add 1 for a valid element count */ in pnw__H263_prepare_picture_header()
2550 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H263_prepare_GOBslice_header()
2556 mtx_hdr->Elements++; //Has been used as an index, so need to add 1 for a valid element count in pnw__H263_prepare_GOBslice_header()