Home
last modified time | relevance | path

Searched refs:pic_param (Results 1 – 8 of 8) sorted by relevance

/hardware/intel/common/libva/test/encode/
Dmpeg2vaenc.c127 VAEncPictureParameterBufferMPEG2 pic_param; member
330 const VAEncPictureParameterBufferMPEG2 *pic_param, in pps_rbsp() argument
336 chroma_420_type = pic_param->picture_coding_extension.bits.progressive_frame; in pps_rbsp()
341 bitstream_put_ui(bs, pic_param->temporal_reference, 10); in pps_rbsp()
343 pic_param->picture_type == VAEncPictureTypeIntra ? 1 : in pps_rbsp()
344 pic_param->picture_type == VAEncPictureTypePredictive ? 2 : 3, in pps_rbsp()
348 if (pic_param->picture_type == VAEncPictureTypePredictive || in pps_rbsp()
349 pic_param->picture_type == VAEncPictureTypeBidirectional) { in pps_rbsp()
354 if (pic_param->picture_type == VAEncPictureTypeBidirectional) { in pps_rbsp()
365 bitstream_put_ui(bs, pic_param->f_code[0][0], 4); in pps_rbsp()
[all …]
Dmpeg2enc.c127 VAEncPictureParameterBufferMPEG2 pic_param; member
330 const VAEncPictureParameterBufferMPEG2 *pic_param, in pps_rbsp() argument
336 chroma_420_type = pic_param->picture_coding_extension.bits.progressive_frame; in pps_rbsp()
341 bitstream_put_ui(bs, pic_param->temporal_reference, 10); in pps_rbsp()
343 pic_param->picture_type == VAEncPictureTypeIntra ? 1 : in pps_rbsp()
344 pic_param->picture_type == VAEncPictureTypePredictive ? 2 : 3, in pps_rbsp()
348 if (pic_param->picture_type == VAEncPictureTypePredictive || in pps_rbsp()
349 pic_param->picture_type == VAEncPictureTypeBidirectional) { in pps_rbsp()
354 if (pic_param->picture_type == VAEncPictureTypeBidirectional) { in pps_rbsp()
365 bitstream_put_ui(bs, pic_param->f_code[0][0], 4); in pps_rbsp()
[all …]
Davcenc.c123 VAEncPictureParameterBufferH264 pic_param; member
326 VAEncPictureParameterBufferH264 *pic_param; in avcenc_update_picture_parameter() local
330 pic_param = &avcenc_context.pic_param; in avcenc_update_picture_parameter()
331 pic_param->CurrPic.picture_id = surface_ids[SID_RECON_PICTURE]; in avcenc_update_picture_parameter()
332 pic_param->CurrPic.TopFieldOrderCnt = display_num * 2; in avcenc_update_picture_parameter()
333 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
334 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
335 pic_param->ReferenceFrames[2].picture_id = VA_INVALID_ID; in avcenc_update_picture_parameter()
337 pic_param->coded_buf = avcenc_context.codedbuf_buf_id; in avcenc_update_picture_parameter()
338 pic_param->frame_num = frame_num; in avcenc_update_picture_parameter()
[all …]
Dh264encode.c88 static VAEncPictureParameterBufferH264 pic_param; variable
398 bitstream_put_ue(bs, pic_param.pic_parameter_set_id); /* pic_parameter_set_id */ in pps_rbsp()
399 bitstream_put_ue(bs, pic_param.seq_parameter_set_id); /* seq_parameter_set_id */ in pps_rbsp()
401 …bitstream_put_ui(bs, pic_param.pic_fields.bits.entropy_coding_mode_flag, 1); /* entropy_coding_mo… in pps_rbsp()
407 …bitstream_put_ue(bs, pic_param.num_ref_idx_l0_active_minus1); /* num_ref_idx_l0_active_minus1… in pps_rbsp()
408 …bitstream_put_ue(bs, pic_param.num_ref_idx_l1_active_minus1); /* num_ref_idx_l1_active_minus1… in pps_rbsp()
410 …bitstream_put_ui(bs, pic_param.pic_fields.bits.weighted_pred_flag, 1); /* weighted_pred_flag: … in pps_rbsp()
411 …bitstream_put_ui(bs, pic_param.pic_fields.bits.weighted_bipred_idc, 2); /* weighted_bipred_idc: 0 … in pps_rbsp()
413 bitstream_put_se(bs, pic_param.pic_init_qp - 26); /* pic_init_qp_minus26 */ in pps_rbsp()
417 …bitstream_put_ui(bs, pic_param.pic_fields.bits.deblocking_filter_control_present_flag, 1); /* debl… in pps_rbsp()
[all …]
/hardware/intel/common/libmix/videoencoder/
Dbitstream.h277 static void pps_rbsp(bitstream *bs, VAEncPictureParameterBufferH264 *pic_param) in pps_rbsp() argument
280 bitstream_put_ue(bs, pic_param->pic_parameter_set_id); /* pic_parameter_set_id */ in pps_rbsp()
281 bitstream_put_ue(bs, pic_param->seq_parameter_set_id); /* seq_parameter_set_id */ in pps_rbsp()
283 …bitstream_put_ui(bs, pic_param->pic_fields.bits.entropy_coding_mode_flag, 1); /* entropy_coding_m… in pps_rbsp()
289 …bitstream_put_ue(bs, pic_param->num_ref_idx_l0_active_minus1); /* num_ref_idx_l0_active_minus… in pps_rbsp()
290 …bitstream_put_ue(bs, pic_param->num_ref_idx_l1_active_minus1); /* num_ref_idx_l1_active_minus… in pps_rbsp()
292 …bitstream_put_ui(bs, pic_param->pic_fields.bits.weighted_pred_flag, 1); /* weighted_pred_flag:… in pps_rbsp()
293 …bitstream_put_ui(bs, pic_param->pic_fields.bits.weighted_bipred_idc, 2); /* weighted_bipred_idc: 0… in pps_rbsp()
295 bitstream_put_se(bs, pic_param->pic_init_qp - 26); /* pic_init_qp_minus26 */ in pps_rbsp()
299 …bitstream_put_ui(bs, pic_param->pic_fields.bits.deblocking_filter_control_present_flag, 1); /* deb… in pps_rbsp()
[all …]
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp1699 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()
[all …]
/hardware/intel/common/libva/test/decode/
Dtinyjpeg.c618 VAPictureParameterBufferJPEGBaseline pic_param; in tinyjpeg_decode() local
619 memset(&pic_param, 0, sizeof(pic_param)); in tinyjpeg_decode()
620 pic_param.picture_width = priv->width[scan_num]; in tinyjpeg_decode()
621 pic_param.picture_height = priv->height[scan_num]; in tinyjpeg_decode()
622 pic_param.num_components = priv->nf_components; in tinyjpeg_decode()
625 …for (i=0; i<pic_param.num_components; i++) { // tinyjpeg support 3 components only, does it match … in tinyjpeg_decode()
626 pic_param.components[i].component_id = priv->component_infos[i].cid; in tinyjpeg_decode()
627 pic_param.components[i].h_sampling_factor = priv->component_infos[i].Hfactor; in tinyjpeg_decode()
628 pic_param.components[i].v_sampling_factor = priv->component_infos[i].Vfactor; in tinyjpeg_decode()
629pic_param.components[i].quantiser_table_selector = priv->component_infos[i].quant_table_index; in tinyjpeg_decode()
[all …]
Dmpeg2vldemo.cpp75 static VAPictureParameterBufferMPEG2 pic_param={ variable
209 1, &pic_param, in main()