Lines Matching refs:pStream
148 void codeSequenceHead (MFE_CONFIG *pConfig, OutStream* pStream) in codeSequenceHead() argument
150 osPutBits(pStream, START_CODE_PREFIX, NUMBITS_START_CODE_PREFIX, (MS_S8*)("VSS_Start_Code")); in codeSequenceHead()
151 osPutBits(pStream, VSS_START_CODE, NUMBITS_START_CODE_SUFFIX, (MS_S8*)("VSS_Start_Code")); in codeSequenceHead()
152 …osPutBits(pStream, 0xF5/*m_volmd.uiProfileAndLevel*/, NUMBITS_VSS_PROFILE, (MS_S8*)("VSS_Profile_L… in codeSequenceHead()
154 osPutBits(pStream, START_CODE_PREFIX, NUMBITS_START_CODE_PREFIX, (MS_S8*)("VSO_Start_Code")); in codeSequenceHead()
155 osPutBits(pStream, VSO_START_CODE, NUMBITS_START_CODE_SUFFIX, (MS_S8*)("VSO_Start_Code")); in codeSequenceHead()
156 osPutBits(pStream, 0, 1, (MS_S8*)("VSO_IsVisualObjectIdentifier")); in codeSequenceHead()
157 osPutBits(pStream, VSO_TYPE, NUMBITS_VSO_TYPE, (MS_S8*)("VSO_Type")); in codeSequenceHead()
158 osPutBits(pStream, 0, 1, (MS_S8*)("VSO_VideoSignalType")); in codeSequenceHead()
165 osNextStartCode(pStream); in codeSequenceHead()
168 void codeVOHead (MFE_CONFIG *pConfig, OutStream* pStream) in codeVOHead() argument
170 osPutBits(pStream, START_CODE_PREFIX, NUMBITS_START_CODE_PREFIX, (MS_S8*)("VO_Start_Code")); in codeVOHead()
171 osPutBits(pStream, VO_START_CODE, NUMBITS_VO_START_CODE, (MS_S8*)("VO_Start_Code")); //plus 3 bits in codeVOHead()
172 osPutBits(pStream, /*m_uiVOId*/1, NUMBITS_VO_ID, (MS_S8*)("VO_Id")); in codeVOHead()
177 void codeVOLHead (MFE_CONFIG *pConfig, OutStream* pStream) in codeVOLHead() argument
182 …osPutBits(pStream, START_CODE_PREFIX, NUMBITS_START_CODE_PREFIX, (MS_S8*)("VOL_Start_Code_Prefix")… in codeVOLHead()
183 …osPutBits(pStream, VOL_START_CODE, NUMBITS_VOL_START_CODE, (MS_S8*)("VOL_Start_Code")); //plus 4 … in codeVOLHead()
184 osPutBits(pStream, 0, NUMBITS_VOL_ID, (MS_S8*)("VOL_Id")); // by katata in codeVOLHead()
187 osPutBits(pStream, (MS_S32) 0, 1, (MS_S8*)("VOL_Random_Access")); //isn't this a system level flg? in codeVOLHead()
190 …osPutBits(pStream, (MS_S32) 1, 8, (MS_S8*)("VOL_Type_Indicator")); // Set to indicate SIMPLE profi… in codeVOLHead()
193 osPutBits(pStream, (MS_S32) 1, 1, (MS_S8*)("VOL_Is_Object_Layer_Identifier")); in codeVOLHead()
194 osPutBits(pStream, (MS_S32) 2/*m_volmd.uiVerID*/, 4, (MS_S8*)("VOL_Verid")); in codeVOLHead()
195 osPutBits(pStream, (MS_S32) 1, 3, (MS_S8*)("VOL_Priority")); in codeVOLHead()
198 osPutBits(pStream, (MS_S32) 1, 4, (MS_S8*)("aspect_ratio_info")); // square pix in codeVOLHead()
201 …osPutBits(pStream, /*m_volmd.uiVolControlParameters*/0, 1, (MS_S8*)("VOL_Control_Parameters")); //… in codeVOLHead()
205 osPutBits(pStream, /*iAUsage*/0, NUMBITS_VOL_SHAPE, (MS_S8*)("VOL_Shape_Type")); in codeVOLHead()
206 osPutBits(pStream, 1, 1, (MS_S8*)("Marker")); in codeVOLHead()
209 …osPutBits(pStream, pInfo->nTimeResolution/*m_volmd.iClockRate*/, NUMBITS_TIME_RESOLUTION, (MS_S8*)… in codeVOLHead()
210 osPutBits(pStream, 1, 1, (MS_S8*)("Marker")); in codeVOLHead()
213 osPutBits(pStream, 0, 1, (MS_S8*)("VOL_Fixed_Vop_Rate")); in codeVOLHead()
216 osPutBits(pStream, MARKER_BIT, 1, (MS_S8*)("Marker_Bit")); in codeVOLHead()
218 osPutBits(pStream, pConfig->nBufWidth, NUMBITS_VOP_WIDTH, (MS_S8*)("VOL_Width")); in codeVOLHead()
219 osPutBits(pStream, MARKER_BIT, 1, (MS_S8*)("Marker_Bit")); in codeVOLHead()
221 osPutBits(pStream, pConfig->nBufHeight, NUMBITS_VOP_HEIGHT, (MS_S8*)("VOL_Height")); in codeVOLHead()
222 osPutBits(pStream, MARKER_BIT, 1, (MS_S8*)("Marker_Bit")); in codeVOLHead()
226 osPutBits(pStream, pInfo->bInterlace, 1, (MS_S8*)("VOL_interlace")); in codeVOLHead()
228 osPutBits(pStream, 1/*m_volmd.bAdvPredDisable*/, 1, (MS_S8*)("VOL_OBMC_Disable")); in codeVOLHead()
232 osPutBits(pStream, 0/*m_uiSprite*/, 2, (MS_S8*)("VOL_Sprite_Usage")); in codeVOLHead()
236 osPutBits(pStream, (MS_S32) 0/*m_volmd.bNot8Bit*/, 1, (MS_S8*)("VOL_NOT_8_BIT_VIDEO")); in codeVOLHead()
239 …osPutBits(pStream, (MS_S32) pInfo->bQuantizerType/*m_volmd.fQuantizer*/, 1, (MS_S8*)("VOL_Quant_Ty… in codeVOLHead()
242 osPutBits(pStream, 0/*m_volmd.bLoadIntraMatrix*/, 1, (MS_S8*)("VOL_Load_Q_Matrix (intra)")); in codeVOLHead()
244 osPutBits(pStream, 0/*m_volmd.bLoadInterMatrix*/, 1, (MS_S8*)("VOL_Load_Q_Matrix (inter)")); in codeVOLHead()
248 osPutBits(pStream, 0/*m_volmd.bQuarterSample*/, 1, (MS_S8*)("VOL_Quarter_Sample")); in codeVOLHead()
252 …osPutBits(pStream, 1/*m_volmd.bComplexityEstimationDisable*/, 1, (MS_S8*)("complexity_estimation_d… in codeVOLHead()
255 …osPutBits(pStream, (rcCtx->m_nVPMbRow<=0&&rcCtx->m_nVPSize<=0)?1:0/*m_volmd.bResyncMarkerDisable*/… in codeVOLHead()
258 osPutBits(pStream, 0/*m_volmd.bDataPartitioning*/, 1, (MS_S8*)("VOL_data_partitioning")); in codeVOLHead()
266 …osPutBits(pStream, 0/*m_volmd.bNewpredEnable*/, NUMBITS_NEWPRED_ENABLE, (MS_S8*)("*VOL_newpred_ena… in codeVOLHead()
268 …osPutBits(pStream, 0/*m_volmd.breduced_resolution_vop_enable*/, 1, (MS_S8*)("reduced_resolution_vo… in codeVOLHead()
271 osPutBits(pStream, 0/*m_volmd.volType == ENHN_LAYER*/, 1, (MS_S8*)("VOL_Scalability")); in codeVOLHead()
274 osNextStartCode(pStream); in codeVOLHead()
277 static void codeVOPHeadInitial(MFE_CONFIG *pConfig, OutStream* pStream) in codeVOPHeadInitial() argument
283 osPutBits(pStream, START_CODE_PREFIX, NUMBITS_START_CODE_PREFIX, (MS_S8*)("VOP_Start_Code")); in codeVOPHeadInitial()
284 osPutBits(pStream, VOP_START_CODE, NUMBITS_VOP_START_CODE, (MS_S8*)("VOP_Start_Code")); in codeVOPHeadInitial()
288 …osPutBits(pStream, pConfig->vopPredType==I_VOP?0:(pConfig->vopPredType==P_VOP?1:2), NUMBITS_VOP_PR… in codeVOPHeadInitial()
302 …osPutBits(pStream, (MS_S32) 0xFFFFFFFE & (0xFFFFFFFF>>(32-(pInfo->m_nBitsModuloBase+1))), pInfo->m… in codeVOPHeadInitial()
312 …osPutBits(pStream, (MS_S32) 1, 1, (MS_S8*)("Marker")); // marker bit Added for error resilient mod… in codeVOPHeadInitial()
316 osPutBits(pStream, pInfo->m_iVopTimeIncr, pInfo->nNumBitsTimeIncr, (MS_S8*)("VOP_Time_Incr")); in codeVOPHeadInitial()
319 osPutBits(pStream, (MS_S32) 1, 1, (MS_S8*)("Marker")); // marker bit in codeVOPHeadInitial()
333 void codeNonCodedVOPHead (MFE_CONFIG *pConfig, OutStream* pStream) in codeNonCodedVOPHead() argument
335 codeVOPHeadInitial(pConfig, pStream); in codeNonCodedVOPHead()
337 osPutBits(pStream, 0, 1, (MS_S8*)("VOP_Coded")); in codeNonCodedVOPHead()
342 void codeVOPHead (MFE_CONFIG *pConfig, OutStream* pStream) in codeVOPHead() argument
346 codeVOPHeadInitial(pConfig, pStream); in codeVOPHead()
348 osPutBits(pStream, 1, 1, (MS_S8*)("VOP_Coded")); in codeVOPHead()
352 osPutBits(pStream, pInfo->iRoundingControl, 1, (MS_S8*)("VOP_Rounding_Type")); in codeVOPHead()
356 osPutBits(pStream, 0/*m_vopmd.iIntraDcSwitchThr*/, 3, (MS_S8*)("IntraDCSwitchThr")); in codeVOPHead()
361 osPutBits(pStream, 1/*m_vopmd.bTopFieldFirst*/, 1, (MS_S8*)("Top_Field_First")); in codeVOPHead()
362 osPutBits(pStream, 0/*m_vopmd.bAlternateScan*/, 1, (MS_S8*)("Alternate_Scan")); in codeVOPHead()
369 osPutBits(pStream, pInfo->intQP, 5/*m_volmd.uiQuantPrecision*/, (MS_S8*)("VOP_QUANT")); in codeVOPHead()
373 osPutBits(pStream, pInfo->intQP, 5/*m_volmd.uiQuantPrecision*/, (MS_S8*)("VOP_QUANT")); in codeVOPHead()
375 …osPutBits(pStream, pInfo->iFCode/*m_vopmd.mvInfoForward.uiFCode*/, NUMBITS_VOP_FCODE, (MS_S8*)("VO… in codeVOPHead()
379 osPutBits(pStream, pInfo->intQP, 5/*m_volmd.uiQuantPrecision*/, (MS_S8*)("VOP_QUANT")); in codeVOPHead()
381 …osPutBits(pStream, pInfo->iFCode/*m_vopmd.mvInfoForward.uiFCode*/, NUMBITS_VOP_FCODE, (MS_S8*)("VO… in codeVOPHead()
383 …osPutBits(pStream, pInfo->iFCode/*m_vopmd.mvInfoBackward.uiFCode*/, NUMBITS_VOP_FCODE, (MS_S8*)("V… in codeVOPHead()
389 void codeVOPShortHead(MFE_CONFIG *pConfig, OutStream* pStream) in codeVOPShortHead() argument
395 …osPutBits(pStream, SHORT_VIDEO_START_MARKER, NUMBITS_SHORT_HEADER_START_CODE, (MS_S8*)("VOP_SH_Sta… in codeVOPShortHead()
409 osPutBits(pStream, iTemporalRef&0xff, 8, (MS_S8*)("temporal_reference")); in codeVOPShortHead()
410 osPutBits(pStream, 1, 1, (MS_S8*)("marker_bit")); in codeVOPShortHead()
411 osPutBits(pStream, 0, 1, (MS_S8*)("zero_bit")); in codeVOPShortHead()
412 osPutBits(pStream, 0, 1, (MS_S8*)("split_screen_indicator")); in codeVOPShortHead()
413 osPutBits(pStream, 0, 1, (MS_S8*)("document_camera_indicator")); in codeVOPShortHead()
414 osPutBits(pStream, 0, 1, (MS_S8*)("full_picture_freeze_release")); in codeVOPShortHead()
430 osPutBits(pStream, nSourceFormat, 3, (MS_S8*)("source_format")); in codeVOPShortHead()
434 osPutBits(pStream, pConfig->vopPredType==P_VOP, 1, (MS_S8*)("picture_coding_type")); in codeVOPShortHead()
435 osPutBits(pStream, 0, 4, (MS_S8*)("four_reserved_zero_bits")); in codeVOPShortHead()
445 osPutBits(pStream, UFEP, 3, (MS_S8*)("UFEP")); in codeVOPShortHead()
463 osPutBits(pStream, OPPTYPE, 18, (MS_S8*)("OPPTYPE")); in codeVOPShortHead()
473 osPutBits(pStream, MPPTYPE, 9, (MS_S8*)("MPPTYPE")); in codeVOPShortHead()
477 osPutBits(pStream, 0, 1, (MS_S8*)("CPM=0, PSBI=N/A")); in codeVOPShortHead()
486 osPutBits(pStream, CPFMT, 23, (MS_S8*)("CPFMT")); in codeVOPShortHead()
491 osPutBits(pStream, pInfo->intQP, 5, (MS_S8*)("vop_quant")); in codeVOPShortHead()
494 osPutBits(pStream, 0, 1, (MS_S8*)("zero_bit")); in codeVOPShortHead()
495 osPutBits(pStream, 0, 1, (MS_S8*)("pei")); in codeVOPShortHead()
499 osPutBits(pStream, 0, 1, (MS_S8*)("pei")); in codeVOPShortHead()
507 void codeNonCodedVOPShortHead(MFE_CONFIG *pConfig, OutStream* pStream) in codeNonCodedVOPShortHead() argument
511 codeVOPShortHead(pConfig, pStream); in codeNonCodedVOPShortHead()
516 osPutBits(pStream, 1, 1, (MS_S8*)("not_coded")); in codeNonCodedVOPShortHead()