Lines Matching refs:slice_param
124 VAEncSliceParameterBufferH264 slice_param[MAX_SLICES]; member
426 VAEncSliceParameterBufferH264 *slice_param; in avcenc_update_slice_parameter() local
432 slice_param = &avcenc_context.slice_param[i]; in avcenc_update_slice_parameter()
433 slice_param->macroblock_address = 0; in avcenc_update_slice_parameter()
434 slice_param->num_macroblocks = picture_height_in_mbs * picture_width_in_mbs; in avcenc_update_slice_parameter()
435 slice_param->pic_parameter_set_id = 0; in avcenc_update_slice_parameter()
436 slice_param->slice_type = slice_type; in avcenc_update_slice_parameter()
437 slice_param->direct_spatial_mv_pred_flag = 0; in avcenc_update_slice_parameter()
438 slice_param->num_ref_idx_l0_active_minus1 = 0; /* FIXME: ??? */ in avcenc_update_slice_parameter()
439 slice_param->num_ref_idx_l1_active_minus1 = 0; in avcenc_update_slice_parameter()
440 slice_param->cabac_init_idc = 0; in avcenc_update_slice_parameter()
441 slice_param->slice_qp_delta = 0; in avcenc_update_slice_parameter()
442 slice_param->disable_deblocking_filter_idc = 0; in avcenc_update_slice_parameter()
443 slice_param->slice_alpha_c0_offset_div2 = 2; in avcenc_update_slice_parameter()
444 slice_param->slice_beta_offset_div2 = 2; in avcenc_update_slice_parameter()
445 slice_param->idr_pic_id = 0; in avcenc_update_slice_parameter()
450 slice_param->RefPicList0[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_slice_parameter()
452 slice_param->RefPicList0[j].picture_id = VA_INVALID_SURFACE; in avcenc_update_slice_parameter()
453 slice_param->RefPicList0[j].flags = VA_PICTURE_H264_INVALID; in avcenc_update_slice_parameter()
459 slice_param->RefPicList1[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_slice_parameter()
461 slice_param->RefPicList1[j].picture_id = VA_INVALID_SURFACE; in avcenc_update_slice_parameter()
462 slice_param->RefPicList1[j].flags = VA_PICTURE_H264_INVALID; in avcenc_update_slice_parameter()
469 sizeof(*slice_param), 1, slice_param, in avcenc_update_slice_parameter()
475 slice_param = &avcenc_context.slice_param[i]; in avcenc_update_slice_parameter()
476 slice_param->macroblock_address = picture_height_in_mbs * picture_width_in_mbs / 2; in avcenc_update_slice_parameter()
477 slice_param->num_macroblocks = picture_height_in_mbs * picture_width_in_mbs / 2; in avcenc_update_slice_parameter()
478 slice_param->pic_parameter_set_id = 0; in avcenc_update_slice_parameter()
479 slice_param->slice_type = slice_type; in avcenc_update_slice_parameter()
480 slice_param->direct_spatial_mv_pred_flag = 0; in avcenc_update_slice_parameter()
481 slice_param->num_ref_idx_l0_active_minus1 = 0; /* FIXME: ??? */ in avcenc_update_slice_parameter()
482 slice_param->num_ref_idx_l1_active_minus1 = 0; in avcenc_update_slice_parameter()
483 slice_param->cabac_init_idc = 0; in avcenc_update_slice_parameter()
484 slice_param->slice_qp_delta = 0; in avcenc_update_slice_parameter()
485 slice_param->disable_deblocking_filter_idc = 0; in avcenc_update_slice_parameter()
486 slice_param->slice_alpha_c0_offset_div2 = 2; in avcenc_update_slice_parameter()
487 slice_param->slice_beta_offset_div2 = 2; in avcenc_update_slice_parameter()
488 slice_param->idr_pic_id = 0; in avcenc_update_slice_parameter()
495 sizeof(*slice_param), 1, slice_param, in avcenc_update_slice_parameter()
722 memset(avcenc_context.slice_param, 0, sizeof(avcenc_context.slice_param)); in end_picture()