extern int
intel_avc_enc_slice_type_fixup(int slice_type);
-static const uint8_t buf_rate_adj_tab_i_lowdelay[72] = {
- 0, 0, -8, -12, -16, -20, -28, -36,
- 0, 0, -4, -8, -12, -16, -24, -32,
- 4, 2, 0, -1, -3, -8, -16, -24,
- 8, 4, 2, 0, -1, -4, -8, -16,
- 20, 16, 4, 0, -1, -4, -8, -16,
- 24, 20, 16, 8, 4, 0, -4, -8,
- 28, 24, 20, 16, 8, 4, 0, -8,
- 32, 24, 20, 16, 8, 4, 0, -4,
- 64, 48, 28, 20, 16, 12, 8, 4,
-};
-
-static const uint8_t buf_rate_adj_tab_p_lowdelay[72] = {
- -8, -24, -32, -40, -44, -48, -52, -80,
- -8, -16, -32, -40, -40, -44, -44, -56,
- 0, 0, -12, -20, -24, -28, -32, -36,
- 8, 4, 0, 0, -8, -16, -24, -32,
- 32, 16, 8, 4, -4, -8, -16, -20,
- 36, 24, 16, 8, 4, -2, -4, -8,
- 40, 36, 24, 20, 16, 8, 0, -8,
- 48, 40, 28, 24, 20, 12, 0, -4,
- 64, 48, 28, 20, 16, 12, 8, 4,
-};
-
-static const uint8_t buf_rate_adj_tab_b_lowdelay[72] = {
- 0, -4, -8, -16, -24, -32, -40, -48,
- 1, 0, -4, -8, -16, -24, -32, -40,
- 4, 2, 0, -1, -3, -8, -16, -24,
- 8, 4, 2, 0, -1, -4, -8, -16,
- 20, 16, 4, 0, -1, -4, -8, -16,
- 24, 20, 16, 8, 4, 0, -4, -8,
- 28, 24, 20, 16, 8, 4, 0, -8,
- 32, 24, 20, 16, 8, 4, 0, -4,
- 64, 48, 28, 20, 16, 12, 8, 4,
-};
-
static const int8_t dist_qp_adj_tab_i_vbr[81] = {
+0, 0, 0, 0, 0, 3, 4, 6, 8,
+0, 0, 0, 0, 0, 2, 3, 5, 7,
64, 48, 28, 20, 16, 12, 8, 4,
};
-static const struct huc_brc_update_constant_data
- gen9_brc_update_constant_data = {
+static const struct huc_brc_update_constant_data gen9_brc_update_constant_data = {
.global_rate_qp_adj_tab_i = {
48, 40, 32, 24, 16, 8, 0, -8,
40, 32, 24, 16, 8, 0, -8, -16,