Lines Matching refs:pSlHParams
584 H264_SLICE_HEADER_PARAMS *pSlHParams) in pnw__H264_writebits_slice_header0() argument
597 …((pSlHParams->SliceFrame_Type == SLHP_B_SLICEFRAME_TYPE ? 0 : 1) << 5) | /* nal_ref_idc (2 bits) =… in pnw__H264_writebits_slice_header0()
598 …((pSlHParams->SliceFrame_Type == SLHP_IDR_SLICEFRAME_TYPE ? 5 : 1)),/* nal_unit_tpye (5 bits) = I-… in pnw__H264_writebits_slice_header0()
606 H264_SLICE_HEADER_PARAMS *pSlHParams, in pnw__H264_writebits_slice_header1() argument
614 pnw__generate_ue(mtx_hdr, elt_p, (IMG_UINT32) pSlHParams->First_MB_Address); in pnw__H264_writebits_slice_header1()
618 …(IMG_UINT32)((pSlHParams->SliceFrame_Type == SLHP_IDR_SLICEFRAME_TYPE) ? SLHP_I_SLICEFRAME_TYPE : … in pnw__H264_writebits_slice_header1()
625 pSlHParams->Frame_Num_DO,/* frame_num (5 bits) = frame nuo. in decoding order */ in pnw__H264_writebits_slice_header1()
629 if (pSlHParams->SliceFrame_Type == SLHP_IDR_SLICEFRAME_TYPE) in pnw__H264_writebits_slice_header1()
642 if (pSlHParams->SliceFrame_Type == SLHP_B_SLICEFRAME_TYPE) in pnw__H264_writebits_slice_header1()
650 …if (pSlHParams->SliceFrame_Type == SLHP_P_SLICEFRAME_TYPE || pSlHParams->SliceFrame_Type == SLHP_B… in pnw__H264_writebits_slice_header1()
657 if (pSlHParams->SliceFrame_Type != SLHP_I_SLICEFRAME_TYPE && in pnw__H264_writebits_slice_header1()
658 pSlHParams->SliceFrame_Type != SLHP_IDR_SLICEFRAME_TYPE) { in pnw__H264_writebits_slice_header1()
679 if (pSlHParams->SliceFrame_Type == SLHP_B_SLICEFRAME_TYPE) in pnw__H264_writebits_slice_header1()
687 if (pSlHParams->SliceFrame_Type == SLHP_IDR_SLICEFRAME_TYPE) { in pnw__H264_writebits_slice_header1()
692 pSlHParams->IsLongTermRef ? 1 : 0, 1); in pnw__H264_writebits_slice_header1()
695 else if (pSlHParams->UsesLongTermRef) { in pnw__H264_writebits_slice_header1()
721 H264_SLICE_HEADER_PARAMS *pSlHParams) in pnw__H264_writebits_slice_header2() argument
737 pSlHParams->Disable_Deblocking_Filter_Idc); /* disable_deblocking_filter_idc ue(v) = 2? */ in pnw__H264_writebits_slice_header2()
739 if (pSlHParams->Disable_Deblocking_Filter_Idc != 1) { in pnw__H264_writebits_slice_header2()
930 H264_SLICE_HEADER_PARAMS *pSlHParams, in pnw__H264_writebits_slice_header() argument
940 if (pSlHParams->SliceFrame_Type == SLHP_B_SLICEFRAME_TYPE) p[3] = 257; in pnw__H264_writebits_slice_header()
941 else if (pSlHParams->SliceFrame_Type == SLHP_IDR_SLICEFRAME_TYPE) p[3] = 9473; in pnw__H264_writebits_slice_header()
950 …pSlHParams->Start_Code_Prefix_Size_Bytes); /* Can be 3 or 4 bytes - always 4 bytes in our implemen… in pnw__H264_writebits_slice_header()
951 pnw__H264_writebits_slice_header0(mtx_hdr, elt_p, pSlHParams); in pnw__H264_writebits_slice_header()
954 pnw__H264_writebits_slice_header1(mtx_hdr, elt_p, pSlHParams, uiIdrPicId); in pnw__H264_writebits_slice_header()
957 if (bCabacEnabled && ((SLHP_P_SLICEFRAME_TYPE == pSlHParams->SliceFrame_Type) || in pnw__H264_writebits_slice_header()
958 (SLHP_B_SLICEFRAME_TYPE == pSlHParams->SliceFrame_Type))) { in pnw__H264_writebits_slice_header()
966 pnw__H264_writebits_slice_header2(mtx_hdr, elt_p, pSlHParams); in pnw__H264_writebits_slice_header()
974 H264_SLICE_HEADER_PARAMS *pSlHParams, in pnw__H264_getelements_skip_P_slice() argument
990 pnw__H264_writebits_slice_header(mtx_hdr, elt_p, pSlHParams, bCabacEnabled, 0); in pnw__H264_getelements_skip_P_slice()
1022 H264_SLICE_HEADER_PARAMS *pSlHParams, in pnw__H264_getelements_slice_header() argument
1037 pnw__H264_writebits_slice_header(mtx_hdr, elt_p, pSlHParams, bCabacEnabled, uiIdrPicId); in pnw__H264_getelements_slice_header()