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()
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 ui8SBP = (aui32ElementPointers[pMTX_Header->Elements]->Size) & 7; in pnw__H264_writebits_sequence_header()
984 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_getelements_skip_P_slice()
995 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()
1010 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_getelements_sequence_header()
1015 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()
1031 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_getelements_slice_header()
1039 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()
2091 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_AUD_header()
2097 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()
2116 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_SEI_buffering_period_header()
2132 pMTX_Header->Elements++; in pnw__H264_prepare_SEI_buffering_period_header()
2167 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_SEI_picture_timing_header()
2198 pMTX_Header->Elements++; in pnw__H264_prepare_SEI_picture_timing_header()
2212 pMTX_Header->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_SEI_FPA_header()
2220 pMTX_Header->Elements++; in pnw__H264_prepare_SEI_FPA_header()
2336 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H264_prepare_picture_header()
2343 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()
2424 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__MPEG4_prepare_sequence_header()
2438 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()
2458 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__MPEG4_prepare_vop_header()
2472 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()
2491 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H263_prepare_sequence_header()
2497 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()
2518 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H263_prepare_picture_header()
2531 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()
2546 mtx_hdr->Elements = ELEMENTS_EMPTY; in pnw__H263_prepare_GOBslice_header()
2552 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()