Lines Matching refs:aui32ElementPointers

88     MTX_HEADER_ELEMENT __maybe_unused ** aui32ElementPointers)  in Show_Elements()  argument
99 …_msg(VIDEO_DEBUG_GENERAL, "Encoding Element [%i] - Type:%i\n", f, aui32ElementPointers[f]->Element… in Show_Elements()
101 if (aui32ElementPointers[f]->Element_Type == ELEMENT_STARTCODE_RAWDATA || in Show_Elements()
102 aui32ElementPointers[f]->Element_Type == ELEMENT_RAWDATA) { in Show_Elements()
103 TotalByteSize = aui32ElementPointers[f]->ui8Size; in Show_Elements()
105 …bug_msg(VIDEO_DEBUG_GENERAL, "Writing %i RAW bits to element.\n", aui32ElementPointers[f]->ui8Size… in Show_Elements()
106 Show_Bits((IMG_UINT8 *)(&aui32ElementPointers[f]->ui8Size) + 1, 0, TotalByteSize); in Show_Elements()
114 switch (aui32ElementPointers[f]->Element_Type) { in Show_Elements()
186 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__write_upto8bits_elements() argument
212 …pui8SizeBits=&(aui32ElementPointers[pMTX_Header->ui32Elements]->ui8Size); //Pointer to the bit cou… in tng__write_upto8bits_elements()
213 …pui8WriteBytes=&(aui32ElementPointers[pMTX_Header->ui32Elements]->aui8Bits); //Pointer to the spac… in tng__write_upto8bits_elements()
219aui32ElementPointers[pMTX_Header->ui32Elements]=(MTX_HEADER_ELEMENT *) &pui8WriteBytes[15]; //Elem… in tng__write_upto8bits_elements()
220aui32ElementPointers[pMTX_Header->ui32Elements]->Element_Type=ELEMENT_RAWDATA; //Write ELEMENT_TYPE in tng__write_upto8bits_elements()
221aui32ElementPointers[pMTX_Header->ui32Elements]->ui8Size=0; // Set new element size (bits) to zero in tng__write_upto8bits_elements()
222 …tng__write_upto8bits_elements(pMTX_Header,aui32ElementPointers, ui8WriteBits, ui16BitCnt); // Begi… in tng__write_upto8bits_elements()
240 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, InputVal.UI8Input[0],(IMG_UINT16)… in tng__write_upto8bits_elements()
247 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__write_upto32bits_elements() argument
262 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, ui8Bytes[ui32EndByte-1], (IMG_UIN… in tng__write_upto32bits_elements()
264 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, ui8Bytes[ui32EndByte-1], 8); in tng__write_upto32bits_elements()
267 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, ui8Bytes[ui32BitLp-1], 8); in tng__write_upto32bits_elements()
274 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__generate_ue() argument
287 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__generate_ue()
289 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (IMG_UINT8) 1, (IMG_UINT8) (uiLp+… in tng__generate_ue()
294 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (IMG_UINT8) uiChunk, 8); in tng__generate_ue()
297 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (IMG_UINT8) uiVal, ucZeros); in tng__generate_ue()
304 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__generate_se() argument
313 tng__generate_ue(pMTX_Header, aui32ElementPointers, uiCodeNum); in tng__generate_se()
320 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__insert_element_token() argument
335 … if (aui32ElementPointers[pMTX_Header->ui32Elements]->Element_Type==ELEMENT_STARTCODE_RAWDATA || in tng__insert_element_token()
336 aui32ElementPointers[pMTX_Header->ui32Elements]->Element_Type==ELEMENT_RAWDATA || in tng__insert_element_token()
337aui32ElementPointers[pMTX_Header->ui32Elements]->Element_Type==ELEMENT_STARTCODE_MIDHDR) { in tng__insert_element_token()
340 …ui8Offset=aui32ElementPointers[pMTX_Header->ui32Elements]->ui8Size+8+31; // NumberofRawbits (exclu… in tng__insert_element_token()
348 ui8P=(IMG_UINT8 *) aui32ElementPointers[pMTX_Header->ui32Elements-1]; in tng__insert_element_token()
350 aui32ElementPointers[pMTX_Header->ui32Elements]=(MTX_HEADER_ELEMENT *) ui8P; in tng__insert_element_token()
355 aui32ElementPointers[pMTX_Header->ui32Elements]->Element_Type=ui32Token; in tng__insert_element_token()
356 aui32ElementPointers[pMTX_Header->ui32Elements]->ui8Size=0; in tng__insert_element_token()
364 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264_writebits_startcode_prefix_element() argument
373 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__H264_writebits_startcode_prefix_element()
374 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 8); in tng__H264_writebits_startcode_prefix_element()
381 …CheckStartRawDataElement(MTX_HEADER_PARAMS *pMTX_Header, MTX_HEADER_ELEMENT **aui32ElementPointers) in CheckStartRawDataElement() argument
385 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in CheckStartRawDataElement()
391 …insert_prefix_nal_header(MTX_HEADER_PARAMS *pMTX_Header, MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__insert_prefix_nal_header() argument
394 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__insert_prefix_nal_header()
396 …tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, pSlHParams->ui8Sta… in tng__insert_prefix_nal_header()
397 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__insert_prefix_nal_header()
399 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // forbidden_zero… in tng__insert_prefix_nal_header()
401 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_REFERENCE); //MTX fills this … in tng__insert_prefix_nal_header()
402 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__insert_prefix_nal_header()
404 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 14, 5); // nal unit type in tng__insert_prefix_nal_header()
406 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // SVC extension flag in tng__insert_prefix_nal_header()
411 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // non_idr_flag flag in tng__insert_prefix_nal_header()
413 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // non_idr_flag flag in tng__insert_prefix_nal_header()
416 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 6); // priority_id flag in tng__insert_prefix_nal_header()
417 … tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 0, 10); // view_id flag in tng__insert_prefix_nal_header()
420 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_TEMPORAL_ID); // temporal_id … in tng__insert_prefix_nal_header()
422 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_ANCHOR_PIC_FLAG); // anchor_p… in tng__insert_prefix_nal_header()
424 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__insert_prefix_nal_header()
427 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // interview flag in tng__insert_prefix_nal_header()
429 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // interview flag in tng__insert_prefix_nal_header()
432 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // reserved one bit in tng__insert_prefix_nal_header()
439 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264_writebits_VUI_params() argument
443 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264_writebits_VUI_params()
451 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->num_units_in_tick, 32… in tng__H264_writebits_VUI_params()
454 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->Time_Scale, 32); in tng__H264_writebits_VUI_params()
455 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // fixed_frame_rate_flag (… in tng__H264_writebits_VUI_params()
456 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // nal_hrd_parameters_pres… in tng__H264_writebits_VUI_params()
458 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // cpb_cnt_minus1 ue(v) = … in tng__H264_writebits_VUI_params()
459 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 4); // bit_rate_scale (4 bits)… in tng__H264_writebits_VUI_params()
460 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 2, 4); // cpb_size_scale (4 bits)… in tng__H264_writebits_VUI_params()
462 …tng__generate_ue(pMTX_Header, aui32ElementPointers, VUIParams->bit_rate_value_minus1); // bit_rate… in tng__H264_writebits_VUI_params()
463 …tng__generate_ue(pMTX_Header, aui32ElementPointers, VUIParams->cbp_size_value_minus1); // cpb_size… in tng__H264_writebits_VUI_params()
464 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->CBR,1);// cbr_flag[0] … in tng__H264_writebits_VUI_params()
465 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->initial_cpb_removal_de… in tng__H264_writebits_VUI_params()
466 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->cpb_removal_delay_leng… in tng__H264_writebits_VUI_params()
467 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->dpb_output_delay_lengt… in tng__H264_writebits_VUI_params()
468 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, VUIParams->time_offset_length, 5)… in tng__H264_writebits_VUI_params()
470 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // vcl_hrd_parameters_pres… in tng__H264_writebits_VUI_params()
474 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // low_delay_hrd_flag in tng__H264_writebits_VUI_params()
476 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // pic_struct_present_flag… in tng__H264_writebits_VUI_params()
477 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // bitstream_restriction_f… in tng__H264_writebits_VUI_params()
483 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_picture_header() argument
501 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_writebits_picture_header()
502 tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, 4); in tng__H264ES_writebits_picture_header()
510 aui32ElementPointers, in tng__H264ES_writebits_picture_header()
516 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pPHParams->pic_parameter_set_id); // pic_para… in tng__H264ES_writebits_picture_header()
517 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pPHParams->seq_parameter_set_id); // seq_para… in tng__H264ES_writebits_picture_header()
519 aui32ElementPointers, in tng__H264ES_writebits_picture_header()
528 aui32ElementPointers, in tng__H264ES_writebits_picture_header()
534 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_QP); in tng__H264ES_writebits_picture_header()
535 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_writebits_picture_header()
542 tng__generate_se(pMTX_Header, aui32ElementPointers, 0); in tng__H264ES_writebits_picture_header()
545 tng__generate_se(pMTX_Header, aui32ElementPointers, pPHParams->chroma_qp_index_offset); in tng__H264ES_writebits_picture_header()
550 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (1 << 2) | in tng__H264ES_writebits_picture_header()
559 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pPHParams->transform_8x8_mode_fla… in tng__H264ES_writebits_picture_header()
560 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__H264ES_writebits_picture_header()
562 … tng__generate_se(pMTX_Header, aui32ElementPointers, pPHParams->second_chroma_qp_index_offset); in tng__H264ES_writebits_picture_header()
565 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_H264); // Tel… in tng__H264ES_writebits_picture_header()
573 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_scalinglists() argument
583 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_CUSTOM_QUANT); in tng__H264ES_writebits_scalinglists()
591 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // seq_scaling_list_prese… in tng__H264ES_writebits_scalinglists()
598 tng__generate_se(pMTX_Header, aui32ElementPointers, i32DeltaScale); // delta_scale in tng__H264ES_writebits_scalinglists()
603 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // seq_scaling_list_prese… in tng__H264ES_writebits_scalinglists()
613 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // seq_scaling_list_prese… in tng__H264ES_writebits_scalinglists()
620 tng__generate_se(pMTX_Header, aui32ElementPointers, i32DeltaScale); // delta_scale in tng__H264ES_writebits_scalinglists()
625 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // seq_scaling_list_prese… in tng__H264ES_writebits_scalinglists()
633 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_sequence_header() argument
639 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_writebits_sequence_header()
640 tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, 4); in tng__H264ES_writebits_sequence_header()
647 aui32ElementPointers,(0 << 7) | // forbidden_zero_bit=0 in tng__H264ES_writebits_sequence_header()
655 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 66, 8); in tng__H264ES_writebits_sequence_header()
658 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_sequence_header()
668 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 77, 8); in tng__H264ES_writebits_sequence_header()
671 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_sequence_header()
681 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 100, 8); in tng__H264ES_writebits_sequence_header()
683 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_sequence_header()
693 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 244, 8); in tng__H264ES_writebits_sequence_header()
696 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_sequence_header()
709 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (pSHParams->ucLevel == SH_LEVEL_1… in tng__H264ES_writebits_sequence_header()
710 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // seq_parameter_set_id = 0 in tng__H264ES_writebits_sequence_header()
713 tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // chroma_format_idc = 1 in tng__H264ES_writebits_sequence_header()
714 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // bit_depth_luma_minus8 = 0 in tng__H264ES_writebits_sequence_header()
715 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // bit_depth_chroma_minus8 = 0 in tng__H264ES_writebits_sequence_header()
717 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSHParams->bIsLossless?1:0, 1); in tng__H264ES_writebits_sequence_header()
719 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // seq_scaling_matrix_pre… in tng__H264ES_writebits_sequence_header()
721 … tng__H264ES_writebits_scalinglists(pMTX_Header, aui32ElementPointers, psScalingMatrix, IMG_TRUE); in tng__H264ES_writebits_sequence_header()
722 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_writebits_sequence_header()
725 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__H264ES_writebits_sequence_header()
728 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // seq_scaling_matrix_pre… in tng__H264ES_writebits_sequence_header()
732 tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // log2_max_frame_num_minus4 = 1 in tng__H264ES_writebits_sequence_header()
733 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // pic_order_cnt_type = 0 in tng__H264ES_writebits_sequence_header()
735 tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->log2_max_pic_order_cnt - 4); in tng__H264ES_writebits_sequence_header()
736 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->max_num_ref_frames); //num_ref_fram… in tng__H264ES_writebits_sequence_header()
738 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_sequence_header()
744 tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->ucWidth_in_mbs_minus1); in tng__H264ES_writebits_sequence_header()
746 tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->ucHeight_in_maps_units_minus1); in tng__H264ES_writebits_sequence_header()
749 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers,pSHParams->ucFrame_mbs_only_flag,1… in tng__H264ES_writebits_sequence_header()
751 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers,0,1); // mb_adaptive_frame_field_f… in tng__H264ES_writebits_sequence_header()
753 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers,1,1); // direct_8x8_inference_flag… in tng__H264ES_writebits_sequence_header()
755 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers,1,1); in tng__H264ES_writebits_sequence_header()
756 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16LeftCropOffset); in tng__H264ES_writebits_sequence_header()
757 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16RightCropOffset); in tng__H264ES_writebits_sequence_header()
758 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16TopCropOffset); in tng__H264ES_writebits_sequence_header()
759 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16BottomCropOffset); in tng__H264ES_writebits_sequence_header()
761 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers,0,1); in tng__H264ES_writebits_sequence_header()
766 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_sequence_header()
771 tng__H264_writebits_VUI_params(pMTX_Header, aui32ElementPointers, &(pSHParams->VUI_Params)); in tng__H264ES_writebits_sequence_header()
775 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_H264); in tng__H264ES_writebits_sequence_header()
785 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_slice_header() argument
790 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_writebits_slice_header()
792 …tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, pSlHParams->ui8Sta… in tng__H264ES_writebits_slice_header()
802aui32ElementPointers, (0 << 7) | // forbidden_zero_bit in tng__H264ES_writebits_slice_header()
808 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_CURRMBNR); in tng__H264ES_writebits_slice_header()
809 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_writebits_slice_header()
814 …tng__generate_ue(pMTX_Header, aui32ElementPointers, (IMG_UINT32)((pSlHParams->SliceFrame_Type == S… in tng__H264ES_writebits_slice_header()
816 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_slice_header()
823 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); … in tng__H264ES_writebits_slice_header()
824 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSlHParams->bFieldType, 1); // bo… in tng__H264ES_writebits_slice_header()
828 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->Idr_Pic_Id); // idr_pic_id ue(v) in tng__H264ES_writebits_slice_header()
831 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (pSlHParams->Picture_Num_DO + pSl… in tng__H264ES_writebits_slice_header()
833 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSlHParams->Picture_Num_DO, pSlHP… in tng__H264ES_writebits_slice_header()
837 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSlHParams->direct_spatial_mv_pre… in tng__H264ES_writebits_slice_header()
841 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__H264ES_writebits_slice_header()
842 … tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->num_ref_idx_l0_active_minus1); in tng__H264ES_writebits_slice_header()
845 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__H264ES_writebits_slice_header()
851 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); //ref_pic_list_modificatio… in tng__H264ES_writebits_slice_header()
854 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 2); // mod_of_pic_num = 2 (long term ref) in tng__H264ES_writebits_slice_header()
855 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->uRefLongTermRefNum[0]); // long_te… in tng__H264ES_writebits_slice_header()
858 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // mod_of_pic_num = 1 (add to) in tng__H264ES_writebits_slice_header()
859 tng__generate_ue(pMTX_Header, aui32ElementPointers, 31); // abs_diff_minus_1 in tng__H264ES_writebits_slice_header()
861 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // mod_of_pic_num = 0 (subtract from) in tng__H264ES_writebits_slice_header()
862 …tng__generate_ue(pMTX_Header, aui32ElementPointers, -pSlHParams->diff_ref_pic_num[0] - 1); // abs_… in tng__H264ES_writebits_slice_header()
864 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // mod_of_pic_num = 1 (add too) in tng__H264ES_writebits_slice_header()
865 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->diff_ref_pic_num[0] - 1); // abs_d… in tng__H264ES_writebits_slice_header()
870 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 2); // mod_of_pic_num = 2 (long term ref) in tng__H264ES_writebits_slice_header()
871 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->uRefLongTermRefNum[1]); // long_te… in tng__H264ES_writebits_slice_header()
873 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // mod_of_pic_num = 0 (subtract from) in tng__H264ES_writebits_slice_header()
874 …tng__generate_ue(pMTX_Header, aui32ElementPointers, -pSlHParams->diff_ref_pic_num[1] - 1); // abs_… in tng__H264ES_writebits_slice_header()
876 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // mod_of_pic_num = 1 (add too) in tng__H264ES_writebits_slice_header()
877 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->diff_ref_pic_num[1] - 1); // abs_d… in tng__H264ES_writebits_slice_header()
881 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 3); // mod_of_pic_num = 3 (no more changes) in tng__H264ES_writebits_slice_header()
883 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // ref_pic_list_ordering_f… in tng__H264ES_writebits_slice_header()
888 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); //ref_pic_list_modificatio… in tng__H264ES_writebits_slice_header()
891 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 2); // mod_of_pic_num = 2 (long term ref) in tng__H264ES_writebits_slice_header()
892 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->uRefLongTermRefNum[1]); // long_te… in tng__H264ES_writebits_slice_header()
894 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // mod_of_pic_num = 0 (subtract from) in tng__H264ES_writebits_slice_header()
895 …tng__generate_ue(pMTX_Header, aui32ElementPointers, -pSlHParams->diff_ref_pic_num[1] - 1); // abs_… in tng__H264ES_writebits_slice_header()
897 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // mod_of_pic_num = 1 (add too) in tng__H264ES_writebits_slice_header()
898 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->diff_ref_pic_num[1] - 1); // abs_d… in tng__H264ES_writebits_slice_header()
901 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 3); // mod_of_pic_num = 3 (no more changes) in tng__H264ES_writebits_slice_header()
903 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // ref_pic_list_ordering_f… in tng__H264ES_writebits_slice_header()
909 tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->luma_log2_weight_denom); in tng__H264ES_writebits_slice_header()
910 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->chroma_log2_weight_denom); // Alwa… in tng__H264ES_writebits_slice_header()
912 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSlHParams->luma_weight_l0_flag[i… in tng__H264ES_writebits_slice_header()
914 tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->luma_weight_l0[i]); in tng__H264ES_writebits_slice_header()
915 tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->luma_offset_l0[i]); in tng__H264ES_writebits_slice_header()
917 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSlHParams->chroma_weight_l0_flag… in tng__H264ES_writebits_slice_header()
919 … tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->chromaB_weight_l0[i]); in tng__H264ES_writebits_slice_header()
920 … tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->chromaB_offset_l0[i]); in tng__H264ES_writebits_slice_header()
921 … tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->chromaR_weight_l0[i]); in tng__H264ES_writebits_slice_header()
922 … tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->chromaR_offset_l0[i]); in tng__H264ES_writebits_slice_header()
928 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); … in tng__H264ES_writebits_slice_header()
929 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSlHParams->bIsLongTermRef ? 1 : … in tng__H264ES_writebits_slice_header()
932 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // adaptive_ref_pic_markin… in tng__H264ES_writebits_slice_header()
935 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 4); // memory_… in tng__H264ES_writebits_slice_header()
936 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 2); // max_lon… in tng__H264ES_writebits_slice_header()
939 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 6); // memory_… in tng__H264ES_writebits_slice_header()
940 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->uLongTermRefNum); … in tng__H264ES_writebits_slice_header()
943 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // memory_… in tng__H264ES_writebits_slice_header()
945 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // adaptive_ref_pi… in tng__H264ES_writebits_slice_header()
950 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // hard code cabac_init_idc value of 0 in tng__H264ES_writebits_slice_header()
952 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_SQP); //MTX fills this value … in tng__H264ES_writebits_slice_header()
953 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_writebits_slice_header()
959 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->Disable_Deblocking_Filter_Idc); //… in tng__H264ES_writebits_slice_header()
961 …tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->iDebAlphaOffsetDiv2); //slice_alph… in tng__H264ES_writebits_slice_header()
962 …tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->iDebBetaOffsetDiv2); //slice_beta_… in tng__H264ES_writebits_slice_header()
981 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264_getelements_skip_P_slice() local
984 aui32ElementPointers[0] = This_Element; in tng__H264_getelements_skip_P_slice()
988 tng__H264ES_writebits_slice_header(mtx_hdr, aui32ElementPointers, pSlHParams, bCabacEnabled); in tng__H264_getelements_skip_P_slice()
989 …tng__generate_ue(mtx_hdr, aui32ElementPointers, MB_No_In_Slice); /* mb_skip_run = mb_no_in_slice */ in tng__H264_getelements_skip_P_slice()
992 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_H264); in tng__H264_getelements_skip_P_slice()
1007 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS];
1010 aui32ElementPointers[0] = This_Element;
1012 …tng__H264ES_writebits_sequence_header(mtx_hdr, aui32ElementPointers, pSHParams, psCropParams, NULL…
1043 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264_getelements_slice_header() local
1046 aui32ElementPointers[0] = This_Element; in tng__H264_getelements_slice_header()
1050 … tng__H264ES_writebits_slice_header(pMTX_Header, aui32ElementPointers, pSlHParams, bCabacEnabled); in tng__H264_getelements_slice_header()
1055 …eBits_VideoPictureHeader(MTX_HEADER_PARAMS *pMTX_Header, MTX_HEADER_ELEMENT **aui32ElementPointers, in H263_NOTFORSIMS_WriteBits_VideoPictureHeader() argument
1067 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1070 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 32, 22); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1073 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_TEMPORAL_REFERENCE); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1074 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1077 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1080 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1083 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1086 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1089 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1092 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, SourceFormatType, 3); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1097 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, PictureCodingType, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1099 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 4); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1117 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, UFEP, 3); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1123 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 6, 3); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1124 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1138 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 0, 10); // 10 reserve bits in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1146 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 8, 4); // 4 reserve bits in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1152 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, PictureCodingType, 3 ); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1158 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0 , 2); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1161 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, RTYPE, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1167 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 2); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1170 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1 , 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1174 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0 ,1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1184 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 2, 4); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1191 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers,ui16PWI, 9); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1194 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1200 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers,ui16PHI, 9); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1206 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_FRAMEQSCALE); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1208 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1214 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0 ,1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1217 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in H263_NOTFORSIMS_WriteBits_VideoPictureHeader()
1222 …SIMS_WriteBits_VOPHeader(MTX_HEADER_PARAMS *pMTX_Header, MTX_HEADER_ELEMENT **aui32ElementPointers, in MPEG4_NOTFORSIMS_WriteBits_VOPHeader() argument
1228 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1230 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 438, 32); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1232 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, sVopCodingType, 2); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1235 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_MODULO_TIME_BASE); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1236 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1239 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1242 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_VOP_TIME_INCREMENT); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1243 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1246 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1251 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1253 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_MPG4); // Tel… in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1257 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1261 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1264 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 3); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1267 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_FRAMEQSCALE); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1271 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1272 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, sSearch_range, 3); in MPEG4_NOTFORSIMS_WriteBits_VOPHeader()
1291 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H263_notforsims_prepare_video_pictureheader() local
1294 aui32ElementPointers[0]=This_Element; in tng__H263_notforsims_prepare_video_pictureheader()
1298 aui32ElementPointers, in tng__H263_notforsims_prepare_video_pictureheader()
1322 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__MPEG4_notforsims_prepare_vop_header() local
1325 aui32ElementPointers[0]=This_Element; in tng__MPEG4_notforsims_prepare_vop_header()
1330 aui32ElementPointers, in tng__MPEG4_notforsims_prepare_vop_header()
1338 …WriteBits_GOBSliceHeader(MTX_HEADER_PARAMS *pMTX_Header, MTX_HEADER_ELEMENT **aui32ElementPointers) in H263_NOTFORSIMS_WriteBits_GOBSliceHeader() argument
1341 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in H263_NOTFORSIMS_WriteBits_GOBSliceHeader()
1343 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 1, 17); in H263_NOTFORSIMS_WriteBits_GOBSliceHeader()
1346 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_SLICE_NUM); // Insert token t… in H263_NOTFORSIMS_WriteBits_GOBSliceHeader()
1349 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_GOB_FRAME_ID); // Insert toke… in H263_NOTFORSIMS_WriteBits_GOBSliceHeader()
1351 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in H263_NOTFORSIMS_WriteBits_GOBSliceHeader()
1355 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_SLICEQSCALE); // Insert token… in H263_NOTFORSIMS_WriteBits_GOBSliceHeader()
1380 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__MPEG4_writebits_sequence_header() argument
1390 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__MPEG4_writebits_sequence_header()
1392 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 432, 32); in tng__MPEG4_writebits_sequence_header()
1394 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, ui8Profile_and_level_indication, … in tng__MPEG4_writebits_sequence_header()
1396 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__MPEG4_writebits_sequence_header()
1398 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1399 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1400 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 8); in tng__MPEG4_writebits_sequence_header()
1401 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 181, 8); in tng__MPEG4_writebits_sequence_header()
1403 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1405 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 4); in tng__MPEG4_writebits_sequence_header()
1407 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1409 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 2); in tng__MPEG4_writebits_sequence_header()
1411 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__MPEG4_writebits_sequence_header()
1413 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1414 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1415 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 8); in tng__MPEG4_writebits_sequence_header()
1416 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1418 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__MPEG4_writebits_sequence_header()
1420 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1421 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); in tng__MPEG4_writebits_sequence_header()
1422 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 8); in tng__MPEG4_writebits_sequence_header()
1423 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 32, 8); in tng__MPEG4_writebits_sequence_header()
1425 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1429 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 8); in tng__MPEG4_writebits_sequence_header()
1432 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1436 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1438 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 4); in tng__MPEG4_writebits_sequence_header()
1440 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 3); // 0 is reserved... in tng__MPEG4_writebits_sequence_header()
1446 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 3, 8); in tng__MPEG4_writebits_sequence_header()
1448 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1450 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 5, 4); in tng__MPEG4_writebits_sequence_header()
1452 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 3); in tng__MPEG4_writebits_sequence_header()
1455 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 4); in tng__MPEG4_writebits_sequence_header()
1458 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1461 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 2); in tng__MPEG4_writebits_sequence_header()
1464 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1466 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1470 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1472 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, sVBVParams->First_half_bit_rate,… in tng__MPEG4_writebits_sequence_header()
1473 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1474 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, sVBVParams->Latter_half_bit_rate… in tng__MPEG4_writebits_sequence_header()
1475 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1476 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, sVBVParams->First_half_vbv_buffe… in tng__MPEG4_writebits_sequence_header()
1477 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1478 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, sVBVParams->Latter_half_vbv_buff… in tng__MPEG4_writebits_sequence_header()
1479 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, sVBVParams->First_half_vbv_occup… in tng__MPEG4_writebits_sequence_header()
1480 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1481 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, sVBVParams->Latter_half_vbv_occu… in tng__MPEG4_writebits_sequence_header()
1482 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1485 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // No vbv parameters prese… in tng__MPEG4_writebits_sequence_header()
1487 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1490 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 2); in tng__MPEG4_writebits_sequence_header()
1491 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1493 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, ui32VopTimeResolution, 16); in tng__MPEG4_writebits_sequence_header()
1494 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1497 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1499 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, Bits2Code(ui32VopTimeResolutio… in tng__MPEG4_writebits_sequence_header()
1500 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1503 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1504 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1507 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, Picture_Width_Pixels, 13); in tng__MPEG4_writebits_sequence_header()
1508 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1510 tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, Picture_Height_Pixels, 13); in tng__MPEG4_writebits_sequence_header()
1511 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // Marker Bit = 1 in tng__MPEG4_writebits_sequence_header()
1513 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1515 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1517 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1519 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1521 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1525 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1529 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1532 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1534 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_sequence_header()
1537 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1541 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1543 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1546 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_sequence_header()
1548 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_MPG4); // Tel… in tng__MPEG4_writebits_sequence_header()
1572 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__MPEG4_writebits_VOP_header() argument
1581 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__MPEG4_writebits_VOP_header()
1584 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 438, 32); in tng__MPEG4_writebits_VOP_header()
1587 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, sVopCodingType, 2); in tng__MPEG4_writebits_VOP_header()
1592 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_VOP_header()
1595 …tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, bIsSyncPoint ? 2 : 0 , bIsSyncPoint … in tng__MPEG4_writebits_VOP_header()
1600 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_VOP_header()
1606 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, VOP_time_increment, 5); in tng__MPEG4_writebits_VOP_header()
1610 mtx_hdr, aui32ElementPointers, in tng__MPEG4_writebits_VOP_header()
1616 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_VOP_header()
1620 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_VOP_header()
1626 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_MPG4); in tng__MPEG4_writebits_VOP_header()
1629 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 1); in tng__MPEG4_writebits_VOP_header()
1633 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in tng__MPEG4_writebits_VOP_header()
1637 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 3); in tng__MPEG4_writebits_VOP_header()
1641 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_FRAMEQSCALE); in tng__MPEG4_writebits_VOP_header()
1645 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_RAWDATA); in tng__MPEG4_writebits_VOP_header()
1646 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, sSearch_range, 3); in tng__MPEG4_writebits_VOP_header()
1668 MTX_HEADER_ELEMENT **aui32ElementPointers, in H263_writebits_VideoSequenceHeader() argument
1672 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in H263_writebits_VideoSequenceHeader()
1675 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 432, 32); in H263_writebits_VideoSequenceHeader()
1678 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, Profile_and_level_indication, 8); in H263_writebits_VideoSequenceHeader()
1683 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 437, 32); in H263_writebits_VideoSequenceHeader()
1686 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoSequenceHeader()
1689 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 4); in H263_writebits_VideoSequenceHeader()
1692 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoSequenceHeader()
1695 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 2); in H263_writebits_VideoSequenceHeader()
1698 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 256, 32); in H263_writebits_VideoSequenceHeader()
1705 MTX_HEADER_ELEMENT **aui32ElementPointers, in H263_writebits_VideoPictureHeader() argument
1717 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in H263_writebits_VideoPictureHeader()
1720 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 32, 22); in H263_writebits_VideoPictureHeader()
1723 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, Temporal_Ref, 8); in H263_writebits_VideoPictureHeader()
1726 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 1); in H263_writebits_VideoPictureHeader()
1729 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1732 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1735 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1738 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1741 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, SourceFormatType, 3); in H263_writebits_VideoPictureHeader()
1745 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, PictureCodingType, 1); in H263_writebits_VideoPictureHeader()
1747 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 4); in H263_writebits_VideoPictureHeader()
1757 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, UFEP, 3); in H263_writebits_VideoPictureHeader()
1759 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 6, 3); in H263_writebits_VideoPictureHeader()
1760 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1774 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 0, 10); in H263_writebits_VideoPictureHeader()
1776 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 8, 4); in H263_writebits_VideoPictureHeader()
1780 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, PictureCodingType, 3); in H263_writebits_VideoPictureHeader()
1782 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 2); in H263_writebits_VideoPictureHeader()
1785 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, RTYPE, 1); in H263_writebits_VideoPictureHeader()
1787 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 2); in H263_writebits_VideoPictureHeader()
1789 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1 , 1); in H263_writebits_VideoPictureHeader()
1791 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0 , 1); in H263_writebits_VideoPictureHeader()
1796 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 4); in H263_writebits_VideoPictureHeader()
1803 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, (IMG_UINT8)ui16PWI, 9); in H263_writebits_VideoPictureHeader()
1805 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 1, 1); in H263_writebits_VideoPictureHeader()
1811 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, (IMG_UINT8)ui16PHI, 9); in H263_writebits_VideoPictureHeader()
1820 …tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_FRAMEQSCALE); // Insert token to … in H263_writebits_VideoPictureHeader()
1822 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_RAWDATA); in H263_writebits_VideoPictureHeader()
1826 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1829 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, 0, 1); in H263_writebits_VideoPictureHeader()
1841 MTX_HEADER_ELEMENT **aui32ElementPointers, in H263_writebits_GOBSliceHeader() argument
1846 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in H263_writebits_GOBSliceHeader()
1849 tng__write_upto32bits_elements(mtx_hdr, aui32ElementPointers, 1, 17); in H263_writebits_GOBSliceHeader()
1852 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, GOBNumber, 5); in H263_writebits_GOBSliceHeader()
1855 tng__write_upto8bits_elements(mtx_hdr, aui32ElementPointers, GOBFrameId, 2); in H263_writebits_GOBSliceHeader()
1863 tng__insert_element_token(mtx_hdr, aui32ElementPointers, ELEMENT_SLICEQSCALE); in H263_writebits_GOBSliceHeader()
1936 MTX_HEADER_ELEMENT **aui32ElementPointers) in tng__H264ES_writebits_AUD_header() argument
1940 aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_writebits_AUD_header()
1943 aui32ElementPointers, 4); // 00 00 00 01 start code prefix in tng__H264ES_writebits_AUD_header()
1946 aui32ElementPointers, 9, 8); // AUD nal_unit_type = 09 in tng__H264ES_writebits_AUD_header()
1950 aui32ElementPointers, 2, 3); in tng__H264ES_writebits_AUD_header()
1953 aui32ElementPointers, 1 << 4, 5); // rbsp_trailing_bits in tng__H264ES_writebits_AUD_header()
1957 aui32ElementPointers, 0x80, 8); in tng__H264ES_writebits_AUD_header()
1965 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header() argument
1984 aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_writebits_SEI_buffering_period_header()
1987 aui32ElementPointers, 3); // 00 00 01 start code prefix in tng__H264ES_writebits_SEI_buffering_period_header()
1990 aui32ElementPointers, 6, 8); // nal_unit_type = 06 (SEI Message) in tng__H264ES_writebits_SEI_buffering_period_header()
1993 aui32ElementPointers, 0, 8); // SEI payload type (buffering period) in tng__H264ES_writebits_SEI_buffering_period_header()
2004 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2012 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); in tng__H264ES_writebits_SEI_buffering_period_header()
2025 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2034 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2041 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2045 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2050 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2060 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2066 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2071 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2075 aui32ElementPointers, in tng__H264ES_writebits_SEI_buffering_period_header()
2080 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0x80, 8); in tng__H264ES_writebits_SEI_buffering_period_header()
2088 MTX_HEADER_PARAMS *pMTX_Header, MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header() argument
2121 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2125 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2129 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2133 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2171 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2180 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2184 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2189 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2192 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2199 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2202 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2207 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2212 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2216 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2219 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2223 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2226 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2229 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2232 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2237 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2240 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2243 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2247 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2252 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2255 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2260 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2263 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2268 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2278 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2283 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2295 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2301 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2306 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2309 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2315 aui32ElementPointers, in tng__H264ES_writebits_SEI_picture_timing_header()
2327 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_prepare_AUD_header() local
2330 aui32ElementPointers[0] = This_Element; in tng__H264ES_prepare_AUD_header()
2332 tng__H264ES_writebits_AUD_header(pMTX_Header, aui32ElementPointers); in tng__H264ES_prepare_AUD_header()
2352 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_prepare_SEI_buffering_period_header() local
2355 aui32ElementPointers[0] = This_Element; in tng__H264ES_prepare_SEI_buffering_period_header()
2358 pMTX_Header, aui32ElementPointers, in tng__H264ES_prepare_SEI_buffering_period_header()
2404 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_prepare_SEI_picture_timing_header() local
2407 aui32ElementPointers[0] = This_Element; in tng__H264ES_prepare_SEI_picture_timing_header()
2410 pMTX_Header, aui32ElementPointers, in tng__H264ES_prepare_SEI_picture_timing_header()
2523 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_prepare_sequence_header() local
2526 aui32ElementPointers[0] = This_Element; in tng__H264ES_prepare_sequence_header()
2553 …tng__H264ES_writebits_sequence_header(mtx_hdr, aui32ElementPointers, &SHParams, psCropParams, NULL… in tng__H264ES_prepare_sequence_header()
2559 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_writebits_mvc_sequence_header() argument
2564 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_writebits_mvc_sequence_header()
2565 tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, 4); in tng__H264ES_writebits_mvc_sequence_header()
2572aui32ElementPointers, (0 << 7) | // forbidd… in tng__H264ES_writebits_mvc_sequence_header()
2579 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 118, 8); in tng__H264ES_writebits_mvc_sequence_header()
2582 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (0 << 7) | // constrain_set0_… in tng__H264ES_writebits_mvc_sequence_header()
2590 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (pSHParams->ucLevel == SH_LEVEL_1… in tng__H264ES_writebits_mvc_sequence_header()
2592 …tng__generate_ue(pMTX_Header, aui32ElementPointers, MVC_SPS_ID); // seq_parameter_S… in tng__H264ES_writebits_mvc_sequence_header()
2593 tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // chroma_format_idc = 1 in tng__H264ES_writebits_mvc_sequence_header()
2594 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // bit_depth_luma_minus8 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2595 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // bit_depth_chroma_minus8 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2596 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSHParams->bIsLossless ? 1 : 0, 1… in tng__H264ES_writebits_mvc_sequence_header()
2599 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // seq_scaling_mat… in tng__H264ES_writebits_mvc_sequence_header()
2602 … H264_WriteBits_ScalingLists(pMTX_Header, aui32ElementPointers, psScalingMatrix, IMG_TRUE); in tng__H264ES_writebits_mvc_sequence_header()
2604 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_writebits_mvc_sequence_header()
2606 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 8); // seq_scaling_lis… in tng__H264ES_writebits_mvc_sequence_header()
2609 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // seq_scaling_mat… in tng__H264ES_writebits_mvc_sequence_header()
2612 tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // log2_max_frame_num_minus4 = 1 in tng__H264ES_writebits_mvc_sequence_header()
2613 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // pic_order_cnt_type = 0 in tng__H264ES_writebits_mvc_sequence_header()
2614 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 2); // log2_max_pic_order_cnt_Isb_minu… in tng__H264ES_writebits_mvc_sequence_header()
2616 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->max_num_ref_frames); //num_ref_fram… in tng__H264ES_writebits_mvc_sequence_header()
2618 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_mvc_sequence_header()
2624 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->ucWidth_in_mbs_minus1); … in tng__H264ES_writebits_mvc_sequence_header()
2625 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSHParams->ucHeight_in_maps_units_minus1); … in tng__H264ES_writebits_mvc_sequence_header()
2628 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, pSHParams->ucFrame_mbs_only_flag,… in tng__H264ES_writebits_mvc_sequence_header()
2631 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // mb_adaptive_frame_field… in tng__H264ES_writebits_mvc_sequence_header()
2633 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // direct_8x8_inference_fl… in tng__H264ES_writebits_mvc_sequence_header()
2636 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); in tng__H264ES_writebits_mvc_sequence_header()
2637 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16LeftCropOffset); in tng__H264ES_writebits_mvc_sequence_header()
2638 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16RightCropOffset); in tng__H264ES_writebits_mvc_sequence_header()
2639 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16TopCropOffset); in tng__H264ES_writebits_mvc_sequence_header()
2640 tng__generate_ue(pMTX_Header, aui32ElementPointers, psCrop->ui16BottomCropOffset); in tng__H264ES_writebits_mvc_sequence_header()
2643 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); in tng__H264ES_writebits_mvc_sequence_header()
2648 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_mvc_sequence_header()
2652 tng__H264_writebits_VUI_params(pMTX_Header, aui32ElementPointers, &(pSHParams->VUI_Params)); in tng__H264ES_writebits_mvc_sequence_header()
2658 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); //bit_equal_to_one in tng__H264ES_writebits_mvc_sequence_header()
2661 tng__generate_ue(pMTX_Header, aui32ElementPointers, (numViews - 1)); //num_views_minus1 in tng__H264ES_writebits_mvc_sequence_header()
2663 tng__generate_ue(pMTX_Header, aui32ElementPointers, viewIdx); in tng__H264ES_writebits_mvc_sequence_header()
2669 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // num_anchor_refs_l0 = 1; view-1 re… in tng__H264ES_writebits_mvc_sequence_header()
2670 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // anchor_ref_l0 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2672 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // num_anchor_refs_l1 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2677 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // num_non_anchor_refs_l0 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2678 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // non_anchor_refs_l0 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2680 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // num_non_anchor_refs_l1 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2683 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // num_level_values_signaled_minus1 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2687 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, (pSHParams->ucLevel == SH_LEVEL_1… in tng__H264ES_writebits_mvc_sequence_header()
2688 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // num_applicable_ops_minus1 = 0 in tng__H264ES_writebits_mvc_sequence_header()
2690 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 3); // applicable_ops_temporal… in tng__H264ES_writebits_mvc_sequence_header()
2691 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // applicable_op_num_targ… in tng__H264ES_writebits_mvc_sequence_header()
2693 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // applicable_op_target_view_… in tng__H264ES_writebits_mvc_sequence_header()
2695 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // applicable_op_num_view… in tng__H264ES_writebits_mvc_sequence_header()
2699 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_mvc_sequence_header()
2703 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, in tng__H264ES_writebits_mvc_sequence_header()
2711 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_INSERTBYTEALIGN_H264); in tng__H264ES_writebits_mvc_sequence_header()
2747 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_prepare_mvc_sequence_header() local
2760 aui32ElementPointers[0] = This_Element; in tng__H264ES_prepare_mvc_sequence_header()
2779 …tng__H264ES_writebits_mvc_sequence_header(pMTX_Header, aui32ElementPointers, &sSHParams, psCropPar… in tng__H264ES_prepare_mvc_sequence_header()
2805 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_prepare_picture_header() local
2808 aui32ElementPointers[0] = This_Element; in tng__H264ES_prepare_picture_header()
2826 tng__H264ES_writebits_picture_header(pMTX_Header, aui32ElementPointers, &sPHParams, NULL); in tng__H264ES_prepare_picture_header()
2953 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__MPEG4_prepare_sequence_header() local
2955 aui32ElementPointers[0] = This_Element; in tng__MPEG4_prepare_sequence_header()
2958 aui32ElementPointers, in tng__MPEG4_prepare_sequence_header()
2987 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__MPEG4_prepare_vop_header() local
2990 aui32ElementPointers[0] = This_Element; in tng__MPEG4_prepare_vop_header()
2996 mtx_hdr, aui32ElementPointers, bIsVOP_coded, in tng__MPEG4_prepare_vop_header()
3018 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H263_prepare_sequence_header() local
3021 aui32ElementPointers[0] = This_Element; in tng__H263_prepare_sequence_header()
3023 H263_writebits_VideoSequenceHeader(mtx_hdr, aui32ElementPointers, Profile_and_level_indication); in tng__H263_prepare_sequence_header()
3044 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H263_prepare_picture_header() local
3047 aui32ElementPointers[0] = This_Element; in tng__H263_prepare_picture_header()
3050 mtx_hdr, aui32ElementPointers, in tng__H263_prepare_picture_header()
3072 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H263_prepare_GOBslice_header() local
3075 aui32ElementPointers[0] = This_Element; in tng__H263_prepare_GOBslice_header()
3077 H263_writebits_GOBSliceHeader(mtx_hdr, aui32ElementPointers, GOBNumber, GOBFrameId); in tng__H263_prepare_GOBslice_header()
3095 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_notforsims_writebits_extension_sliceheader() argument
3101 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3103 …tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, pSlHParams->ui8Sta… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3112 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // forbidden_zero_bit in tng__H264ES_notforsims_writebits_extension_sliceheader()
3114 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_REFERENCE); //MTX fills this … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3115 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3117 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 20, 5); // nal_unit_type for c… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3121 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // SVC extension flag in tng__H264ES_notforsims_writebits_extension_sliceheader()
3126 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // non_idr_flag flag in tng__H264ES_notforsims_writebits_extension_sliceheader()
3128 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // non_idr_flag flag in tng__H264ES_notforsims_writebits_extension_sliceheader()
3130 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // non_idr_flag flag in tng__H264ES_notforsims_writebits_extension_sliceheader()
3133 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 6); // priority_id flag in tng__H264ES_notforsims_writebits_extension_sliceheader()
3134 …tng__write_upto32bits_elements(pMTX_Header, aui32ElementPointers, 1, 10); // view_id = hardco… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3137 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_TEMPORAL_ID); // temporal_id … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3138 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_ANCHOR_PIC_FLAG); // anchor_p… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3140 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3142 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // interview flag is … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3144 … tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // reserved one bit in tng__H264ES_notforsims_writebits_extension_sliceheader()
3148 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_CURRMBNR); //MTX fills this v… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3150 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3155 …tng__generate_ue(pMTX_Header, aui32ElementPointers, (IMG_UINT32)((pSlHParams->SliceFrame_Type == S… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3158 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // pic_parameter_set_id = 1 for dependent… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3160 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_FRAME_NUM); // Insert token t… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3168 CheckStartRawDataElement(pMTX_Header, aui32ElementPointers); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3169 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3170 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_BOTTOM_FIELD); // Insert toke… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3177 CheckStartRawDataElement(pMTX_Header, aui32ElementPointers); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3178 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // idr_pic_id ue(v) = 0 (1… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3181 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_PIC_ORDER_CNT); // Insert tok… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3185 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_DIRECT_SPATIAL_MV_FLAG); // I… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3188 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_NUM_REF_IDX_ACTIVE); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3191 CheckStartRawDataElement(pMTX_Header, aui32ElementPointers); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3192 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // num_ref_idx… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3197 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_REORDER_L0); // Insert token … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3203 CheckStartRawDataElement(pMTX_Header, aui32ElementPointers); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3204 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3212 CheckStartRawDataElement(pMTX_Header, aui32ElementPointers); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3213 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3214 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3216 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_ADAPTIVE); //MTX fills this v… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3223 CheckStartRawDataElement(pMTX_Header, aui32ElementPointers); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3224 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // hard code cabac_init_idc value of 0 in tng__H264ES_notforsims_writebits_extension_sliceheader()
3226 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_SQP); //MTX fills this value … in tng__H264ES_notforsims_writebits_extension_sliceheader()
3227 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_extension_sliceheader()
3233 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->Disable_Deblocking_Filter_Idc); //… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3235 …tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->iDebAlphaOffsetDiv2); //slice_alph… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3236 …tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->iDebBetaOffsetDiv2); //slice_beta_… in tng__H264ES_notforsims_writebits_extension_sliceheader()
3247 MTX_HEADER_ELEMENT **aui32ElementPointers, in tng__H264ES_notforsims_writebits_slice_header() argument
3255 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3257 tng__insert_prefix_nal_header(pMTX_Header, aui32ElementPointers, in tng__H264ES_notforsims_writebits_slice_header()
3259 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_STARTCODE_MIDHDR); in tng__H264ES_notforsims_writebits_slice_header()
3262 tng__H264ES_notforsims_writebits_extension_sliceheader(pMTX_Header, aui32ElementPointers, in tng__H264ES_notforsims_writebits_slice_header()
3267 …tng__H264_writebits_startcode_prefix_element(pMTX_Header, aui32ElementPointers, pSlHParams->ui8Sta… in tng__H264ES_notforsims_writebits_slice_header()
3277 tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); // forbidden_zero_bit in tng__H264ES_notforsims_writebits_slice_header()
3281 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_REFERENCE); in tng__H264ES_notforsims_writebits_slice_header()
3282 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3284 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, ((pSlHParams->SliceFrame_Type == … in tng__H264ES_notforsims_writebits_slice_header()
3287 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_CURRMBNR); //MTX fills this v… in tng__H264ES_notforsims_writebits_slice_header()
3288 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3294 …tng__generate_ue(pMTX_Header, aui32ElementPointers, (IMG_UINT32)((pSlHParams->SliceFrame_Type == S… in tng__H264ES_notforsims_writebits_slice_header()
3297 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->ui16MvcViewIdx); // pic_parameter… in tng__H264ES_notforsims_writebits_slice_header()
3299 tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // pic_parameter_set_id = 0 in tng__H264ES_notforsims_writebits_slice_header()
3301 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_FRAME_NUM); // Insert token t… in tng__H264ES_notforsims_writebits_slice_header()
3304 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3307 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); … in tng__H264ES_notforsims_writebits_slice_header()
3308 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_BOTTOM_FIELD); // Insert toke… in tng__H264ES_notforsims_writebits_slice_header()
3309 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3313 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_IDR_PIC_ID); // idr_pic… in tng__H264ES_notforsims_writebits_slice_header()
3316 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_PIC_ORDER_CNT); // Insert tok… in tng__H264ES_notforsims_writebits_slice_header()
3319 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_DIRECT_SPATIAL_MV_FLAG); // I… in tng__H264ES_notforsims_writebits_slice_header()
3322 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_NUM_REF_IDX_ACTIVE); // Inser… in tng__H264ES_notforsims_writebits_slice_header()
3324 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3325 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 0, 1); … in tng__H264ES_notforsims_writebits_slice_header()
3330 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_REORDER_L0); // Insert token … in tng__H264ES_notforsims_writebits_slice_header()
3332 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_REORDER_L1); // Insert token … in tng__H264ES_notforsims_writebits_slice_header()
3337 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_SLICEWEIGHTEDPREDICTIONSTRUCT… in tng__H264ES_notforsims_writebits_slice_header()
3338 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3341 …tng__write_upto8bits_elements(pMTX_Header, aui32ElementPointers, 1, 1); // adaptive_ref_pic_markin… in tng__H264ES_notforsims_writebits_slice_header()
3344 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 5); // memory_… in tng__H264ES_notforsims_writebits_slice_header()
3347 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 4); // memory_… in tng__H264ES_notforsims_writebits_slice_header()
3348 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 1); // max_lon… in tng__H264ES_notforsims_writebits_slice_header()
3351 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 6); // memory_… in tng__H264ES_notforsims_writebits_slice_header()
3352 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // long_te… in tng__H264ES_notforsims_writebits_slice_header()
3355 …tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // memory_… in tng__H264ES_notforsims_writebits_slice_header()
3357 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_ADAPTIVE); //MTX fills this v… in tng__H264ES_notforsims_writebits_slice_header()
3358 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3363 … tng__generate_ue(pMTX_Header, aui32ElementPointers, 0); // hard code cabac_init_idc value of 0 in tng__H264ES_notforsims_writebits_slice_header()
3365 …tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_SQP); //MTX fills this value … in tng__H264ES_notforsims_writebits_slice_header()
3366 tng__insert_element_token(pMTX_Header, aui32ElementPointers, ELEMENT_RAWDATA); in tng__H264ES_notforsims_writebits_slice_header()
3372 …tng__generate_ue(pMTX_Header, aui32ElementPointers, pSlHParams->Disable_Deblocking_Filter_Idc); //… in tng__H264ES_notforsims_writebits_slice_header()
3375 …tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->iDebAlphaOffsetDiv2); //slice_alph… in tng__H264ES_notforsims_writebits_slice_header()
3376 …tng__generate_se(pMTX_Header, aui32ElementPointers, pSlHParams->iDebBetaOffsetDiv2); //slice_beta_… in tng__H264ES_notforsims_writebits_slice_header()
3418 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H264ES_notforsims_prepare_sliceheader() local
3450 aui32ElementPointers[0] = This_Element; in tng__H264ES_notforsims_prepare_sliceheader()
3454 …tng__H264ES_notforsims_writebits_slice_header(pMTX_Header, aui32ElementPointers, &SlHParams, bCaba… in tng__H264ES_notforsims_prepare_sliceheader()
3471 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__H263ES_notforsims_prepare_gobsliceheader() local
3474 aui32ElementPointers[0] = This_Element; in tng__H263ES_notforsims_prepare_gobsliceheader()
3475 H263_NOTFORSIMS_WriteBits_GOBSliceHeader(pMTX_Header, aui32ElementPointers); in tng__H263ES_notforsims_prepare_gobsliceheader()
3491 MTX_HEADER_ELEMENT *aui32ElementPointers[MAXNUMBERELEMENTS]; in tng__MPEG2_prepare_sliceheader() local
3494 aui32ElementPointers[0] = This_Element; in tng__MPEG2_prepare_sliceheader()