Lines Matching refs:psPicParams
792 VAEncPictureParameterBufferH264 *psPicParams;
803 psPicParams = (VAEncPictureParameterBufferH264 *) obj_buffer->buffer_data;
808 ASSERT(ctx->ui16Width == psPicParams->picture_width);
809 ASSERT(ctx->ui16PictureHeight == psPicParams->picture_height);
812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);
813 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf);
817 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id);
819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);
820 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf);
826 free(psPicParams);
836 ctx->bCabacEnabled = psPicParams->pic_fields.bits.entropy_coding_mode_flag;
837 ctx->bH2648x8Transform = psPicParams->pic_fields.bits.transform_8x8_mode_flag;
838 ctx->bH264IntraConstrained = psPicParams->pic_fields.bits.constrained_intra_pred_flag;
839 ctx->bWeightedPrediction = psPicParams->pic_fields.bits.weighted_pred_flag;
840 ctx->ui8VPWeightedImplicitBiPred = psPicParams->pic_fields.bits.weighted_bipred_idc;
841 ctx->bCustomScaling = psPicParams->pic_fields.bits.pic_scaling_matrix_present_flag;
843 // ctx->sRCParams.ui32InitialQp = psPicParams->pic_init_qp;
844 // ctx->sRCParams.i8QCPOffset = psPicParams->chroma_qp_index_offset;
845 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s psRCParams->ui32InitialQp = %d, psRCParams->iMinQP = %d\n", __FUNCTION__, psPicParams->pic_init_qp, psPicParams->chroma_qp_index_offset);
858 free(psPicParams);
876 VAEncPictureParameterBufferH264 *psPicParams;
880 psPicParams = (VAEncPictureParameterBufferH264 *) buf;
883 tng_H264ES_trace_pic_params(psPicParams);
887 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id);
888 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);
889 ps_buf->ref_surface1 = SURFACE(psPicParams->ReferenceFrames[1].picture_id);
890 drv_debug_msg(VIDEO_DEBUG_GENERAL, "%s: psPicParams->coded_buf = 0x%08x, ps_buf->coded_buf = 0x%08x\n",
891 __FUNCTION__, psPicParams->coded_buf, ps_buf->coded_buf);
894 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id);
896 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);
902 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf);
906 free(psPicParams);
910 ctx->bH2648x8Transform = psPicParams->pic_fields.bits.transform_8x8_mode_flag;
918 ctx->bH264IntraConstrained = psPicParams->pic_fields.bits.constrained_intra_pred_flag;
926 ctx->bCabacEnabled = psPicParams->pic_fields.bits.entropy_coding_mode_flag;
927 ctx->bWeightedPrediction = psPicParams->pic_fields.bits.weighted_pred_flag;
928 ctx->ui8VPWeightedImplicitBiPred = psPicParams->pic_fields.bits.weighted_bipred_idc;
931 ctx->bCustomScaling = psPicParams->pic_fields.bits.pic_scaling_matrix_present_flag;
934 ctx->sRCParams.ui32InitialQp = psPicParams->pic_init_qp;
936 ctx->ui32LastPicture = psPicParams->last_picture;