Lines Matching refs:pps
430 static void nal_hevc_rbsp_pps(struct rbsp *rbsp, struct nal_hevc_pps *pps) in nal_hevc_rbsp_pps() argument
434 rbsp_uev(rbsp, &pps->pps_pic_parameter_set_id); in nal_hevc_rbsp_pps()
435 rbsp_uev(rbsp, &pps->pps_seq_parameter_set_id); in nal_hevc_rbsp_pps()
436 rbsp_bit(rbsp, &pps->dependent_slice_segments_enabled_flag); in nal_hevc_rbsp_pps()
437 rbsp_bit(rbsp, &pps->output_flag_present_flag); in nal_hevc_rbsp_pps()
438 rbsp_bits(rbsp, 3, &pps->num_extra_slice_header_bits); in nal_hevc_rbsp_pps()
439 rbsp_bit(rbsp, &pps->sign_data_hiding_enabled_flag); in nal_hevc_rbsp_pps()
440 rbsp_bit(rbsp, &pps->cabac_init_present_flag); in nal_hevc_rbsp_pps()
441 rbsp_uev(rbsp, &pps->num_ref_idx_l0_default_active_minus1); in nal_hevc_rbsp_pps()
442 rbsp_uev(rbsp, &pps->num_ref_idx_l1_default_active_minus1); in nal_hevc_rbsp_pps()
443 rbsp_sev(rbsp, &pps->init_qp_minus26); in nal_hevc_rbsp_pps()
444 rbsp_bit(rbsp, &pps->constrained_intra_pred_flag); in nal_hevc_rbsp_pps()
445 rbsp_bit(rbsp, &pps->transform_skip_enabled_flag); in nal_hevc_rbsp_pps()
446 rbsp_bit(rbsp, &pps->cu_qp_delta_enabled_flag); in nal_hevc_rbsp_pps()
447 if (pps->cu_qp_delta_enabled_flag) in nal_hevc_rbsp_pps()
448 rbsp_uev(rbsp, &pps->diff_cu_qp_delta_depth); in nal_hevc_rbsp_pps()
449 rbsp_sev(rbsp, &pps->pps_cb_qp_offset); in nal_hevc_rbsp_pps()
450 rbsp_sev(rbsp, &pps->pps_cr_qp_offset); in nal_hevc_rbsp_pps()
451 rbsp_bit(rbsp, &pps->pps_slice_chroma_qp_offsets_present_flag); in nal_hevc_rbsp_pps()
452 rbsp_bit(rbsp, &pps->weighted_pred_flag); in nal_hevc_rbsp_pps()
453 rbsp_bit(rbsp, &pps->weighted_bipred_flag); in nal_hevc_rbsp_pps()
454 rbsp_bit(rbsp, &pps->transquant_bypass_enabled_flag); in nal_hevc_rbsp_pps()
455 rbsp_bit(rbsp, &pps->tiles_enabled_flag); in nal_hevc_rbsp_pps()
456 rbsp_bit(rbsp, &pps->entropy_coding_sync_enabled_flag); in nal_hevc_rbsp_pps()
457 if (pps->tiles_enabled_flag) { in nal_hevc_rbsp_pps()
458 rbsp_uev(rbsp, &pps->num_tile_columns_minus1); in nal_hevc_rbsp_pps()
459 rbsp_uev(rbsp, &pps->num_tile_rows_minus1); in nal_hevc_rbsp_pps()
460 rbsp_bit(rbsp, &pps->uniform_spacing_flag); in nal_hevc_rbsp_pps()
461 if (!pps->uniform_spacing_flag) { in nal_hevc_rbsp_pps()
462 for (i = 0; i < pps->num_tile_columns_minus1; i++) in nal_hevc_rbsp_pps()
463 rbsp_uev(rbsp, &pps->column_width_minus1[i]); in nal_hevc_rbsp_pps()
464 for (i = 0; i < pps->num_tile_rows_minus1; i++) in nal_hevc_rbsp_pps()
465 rbsp_uev(rbsp, &pps->row_height_minus1[i]); in nal_hevc_rbsp_pps()
467 rbsp_bit(rbsp, &pps->loop_filter_across_tiles_enabled_flag); in nal_hevc_rbsp_pps()
469 rbsp_bit(rbsp, &pps->pps_loop_filter_across_slices_enabled_flag); in nal_hevc_rbsp_pps()
470 rbsp_bit(rbsp, &pps->deblocking_filter_control_present_flag); in nal_hevc_rbsp_pps()
471 if (pps->deblocking_filter_control_present_flag) { in nal_hevc_rbsp_pps()
472 rbsp_bit(rbsp, &pps->deblocking_filter_override_enabled_flag); in nal_hevc_rbsp_pps()
473 rbsp_bit(rbsp, &pps->pps_deblocking_filter_disabled_flag); in nal_hevc_rbsp_pps()
474 if (!pps->pps_deblocking_filter_disabled_flag) { in nal_hevc_rbsp_pps()
475 rbsp_sev(rbsp, &pps->pps_beta_offset_div2); in nal_hevc_rbsp_pps()
476 rbsp_sev(rbsp, &pps->pps_tc_offset_div2); in nal_hevc_rbsp_pps()
479 rbsp_bit(rbsp, &pps->pps_scaling_list_data_present_flag); in nal_hevc_rbsp_pps()
480 if (pps->pps_scaling_list_data_present_flag) in nal_hevc_rbsp_pps()
482 rbsp_bit(rbsp, &pps->lists_modification_present_flag); in nal_hevc_rbsp_pps()
483 rbsp_uev(rbsp, &pps->log2_parallel_merge_level_minus2); in nal_hevc_rbsp_pps()
484 rbsp_bit(rbsp, &pps->slice_segment_header_extension_present_flag); in nal_hevc_rbsp_pps()
485 rbsp_bit(rbsp, &pps->pps_extension_present_flag); in nal_hevc_rbsp_pps()
486 if (pps->pps_extension_present_flag) { in nal_hevc_rbsp_pps()
487 rbsp_bit(rbsp, &pps->pps_range_extension_flag); in nal_hevc_rbsp_pps()
488 rbsp_bit(rbsp, &pps->pps_multilayer_extension_flag); in nal_hevc_rbsp_pps()
489 rbsp_bit(rbsp, &pps->pps_3d_extension_flag); in nal_hevc_rbsp_pps()
490 rbsp_bit(rbsp, &pps->pps_scc_extension_flag); in nal_hevc_rbsp_pps()
491 rbsp_bits(rbsp, 4, &pps->pps_extension_4bits); in nal_hevc_rbsp_pps()
493 if (pps->pps_range_extension_flag) in nal_hevc_rbsp_pps()
495 if (pps->pps_multilayer_extension_flag) in nal_hevc_rbsp_pps()
497 if (pps->pps_3d_extension_flag) in nal_hevc_rbsp_pps()
499 if (pps->pps_scc_extension_flag) in nal_hevc_rbsp_pps()
501 if (pps->pps_extension_4bits) in nal_hevc_rbsp_pps()
710 void *dest, size_t n, struct nal_hevc_pps *pps) in nal_hevc_write_pps() argument
731 nal_hevc_rbsp_pps(&rbsp, pps); in nal_hevc_write_pps()
754 struct nal_hevc_pps *pps, void *src, size_t n) in nal_hevc_read_pps() argument
775 nal_hevc_rbsp_pps(&rbsp, pps); in nal_hevc_read_pps()