Lines Matching refs:pic_param
1699 static VAPictureParameterBufferMPEG2 pic_param={ variable
1979 VAEncPictureParameterBufferH264 pic_param; member
2133 VAEncPictureParameterBufferH264 *pic_param; in avcenc_update_picture_parameter() local
2137 pic_param = &avcenc_context.pic_param; in avcenc_update_picture_parameter()
2138 pic_param->CurrPic.picture_id = surface_ids[SID_RECON_PICTURE]; in avcenc_update_picture_parameter()
2139 pic_param->CurrPic.TopFieldOrderCnt = display_num * 2; in avcenc_update_picture_parameter()
2140 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
2141 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
2142 pic_param->ReferenceFrames[2].picture_id = VA_INVALID_ID; in avcenc_update_picture_parameter()
2144 pic_param->coded_buf = avcenc_context.codedbuf_buf_id; in avcenc_update_picture_parameter()
2145 pic_param->frame_num = frame_num; in avcenc_update_picture_parameter()
2146 pic_param->pic_fields.bits.idr_pic_flag = !!is_idr; in avcenc_update_picture_parameter()
2147 pic_param->pic_fields.bits.reference_pic_flag = (slice_type != SLICE_TYPE_B); in avcenc_update_picture_parameter()
2152 sizeof(*pic_param), 1, pic_param, in avcenc_update_picture_parameter()
2655 VAEncPictureParameterBufferH264 *pic_param = &avcenc_context.pic_param; in pps_rbsp() local
2657 bitstream_put_ue(bs, pic_param->pic_parameter_set_id); /* pic_parameter_set_id */ in pps_rbsp()
2658 bitstream_put_ue(bs, pic_param->seq_parameter_set_id); /* seq_parameter_set_id */ in pps_rbsp()
2660 …bitstream_put_ui(bs, pic_param->pic_fields.bits.entropy_coding_mode_flag, 1); /* entropy_coding_m… in pps_rbsp()
2666 …bitstream_put_ue(bs, pic_param->num_ref_idx_l0_active_minus1); /* num_ref_idx_l0_active_minus… in pps_rbsp()
2667 …bitstream_put_ue(bs, pic_param->num_ref_idx_l1_active_minus1); /* num_ref_idx_l1_active_minus… in pps_rbsp()
2669 …bitstream_put_ui(bs, pic_param->pic_fields.bits.weighted_pred_flag, 1); /* weighted_pred_flag:… in pps_rbsp()
2670 …bitstream_put_ui(bs, pic_param->pic_fields.bits.weighted_bipred_idc, 2); /* weighted_bipred_idc: 0… in pps_rbsp()
2672 bitstream_put_se(bs, pic_param->pic_init_qp - 26); /* pic_init_qp_minus26 */ in pps_rbsp()
2676 …bitstream_put_ui(bs, pic_param->pic_fields.bits.deblocking_filter_control_present_flag, 1); /* deb… in pps_rbsp()
2739 VAEncPictureParameterBufferH264 *pic_param = &avcenc_context.pic_param;
2740 int is_cabac = (pic_param->pic_fields.bits.entropy_coding_mode_flag == ENTROPY_MODE_CABAC);
2796 if (pic_param->pic_fields.bits.deblocking_filter_control_present_flag == 1) {
3033 static void avcenc_context_pic_param_init(VAEncPictureParameterBufferH264 *pic_param) in avcenc_context_pic_param_init() argument
3035 pic_param->seq_parameter_set_id = 0; in avcenc_context_pic_param_init()
3036 pic_param->pic_parameter_set_id = 0; in avcenc_context_pic_param_init()
3038 pic_param->last_picture = 0; in avcenc_context_pic_param_init()
3039 pic_param->frame_num = 0; in avcenc_context_pic_param_init()
3041 pic_param->pic_init_qp = (qp_value >= 0 ? qp_value : 26); in avcenc_context_pic_param_init()
3042 pic_param->num_ref_idx_l0_active_minus1 = 0; in avcenc_context_pic_param_init()
3043 pic_param->num_ref_idx_l1_active_minus1 = 0; in avcenc_context_pic_param_init()
3045 pic_param->pic_fields.bits.idr_pic_flag = 0; in avcenc_context_pic_param_init()
3046 pic_param->pic_fields.bits.reference_pic_flag = 0; in avcenc_context_pic_param_init()
3047 pic_param->pic_fields.bits.entropy_coding_mode_flag = ENTROPY_MODE_CABAC; in avcenc_context_pic_param_init()
3048 pic_param->pic_fields.bits.weighted_pred_flag = 0; in avcenc_context_pic_param_init()
3049 pic_param->pic_fields.bits.weighted_bipred_idc = 0; in avcenc_context_pic_param_init()
3050 pic_param->pic_fields.bits.transform_8x8_mode_flag = 0; in avcenc_context_pic_param_init()
3051 pic_param->pic_fields.bits.deblocking_filter_control_present_flag = 1; in avcenc_context_pic_param_init()
3076 avcenc_context_pic_param_init(&avcenc_context.pic_param); in avcenc_context_init()
3368 1, &pic_param, in main()