Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
d902b74a
Commit
d902b74a
authored
Feb 19, 2018
by
Zoe Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Align function names with naming conventions
Change-Id: Ia5ab13d7219ae79e685c999692a9f8bc35f0d360
parent
cd44a054
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
av1/common/quant_common.c
av1/common/quant_common.c
+3
-3
av1/common/quant_common.h
av1/common/quant_common.h
+3
-3
av1/decoder/decodeframe.c
av1/decoder/decodeframe.c
+3
-3
av1/decoder/decoder.c
av1/decoder/decoder.c
+1
-1
av1/encoder/encoder.c
av1/encoder/encoder.c
+1
-1
No files found.
av1/common/quant_common.c
View file @
d902b74a
...
...
@@ -507,11 +507,11 @@ int av1_get_qindex(const struct segmentation *seg, int segment_id,
}
#if CONFIG_AOM_QM
const qm_val_t *a
om
_iqmatrix(AV1_COMMON *cm, int qmlevel, int plane,
const qm_val_t *a
v1
_iqmatrix(AV1_COMMON *cm, int qmlevel, int plane,
TX_SIZE tx_size) {
return &cm->giqmatrix[qmlevel][plane][tx_size][0];
}
const qm_val_t *a
om
_qmatrix(AV1_COMMON *cm, int qmlevel, int plane,
const qm_val_t *a
v1
_qmatrix(AV1_COMMON *cm, int qmlevel, int plane,
TX_SIZE tx_size) {
return &cm->gqmatrix[qmlevel][plane][tx_size][0];
}
...
...
@@ -520,7 +520,7 @@ const qm_val_t *aom_qmatrix(AV1_COMMON *cm, int qmlevel, int plane,
static const qm_val_t wt_matrix_ref[NUM_QM_LEVELS][2][QM_TOTAL_SIZE];
static const qm_val_t iwt_matrix_ref[NUM_QM_LEVELS][2][QM_TOTAL_SIZE];
void a
om
_qm_init(AV1_COMMON *cm) {
void a
v1
_qm_init(AV1_COMMON *cm) {
const int num_planes = av1_num_planes(cm);
int q, c, t;
int current;
...
...
av1/common/quant_common.h
View file @
d902b74a
...
...
@@ -56,10 +56,10 @@ int av1_get_qindex(const struct segmentation *seg, int segment_id,
static
INLINE
int
aom_get_qmlevel
(
int
qindex
,
int
first
,
int
last
)
{
return
first
+
(
qindex
*
(
last
+
1
-
first
))
/
QINDEX_RANGE
;
}
void
a
om
_qm_init
(
struct
AV1Common
*
cm
);
const
qm_val_t
*
a
om
_iqmatrix
(
struct
AV1Common
*
cm
,
int
qindex
,
int
comp
,
void
a
v1
_qm_init
(
struct
AV1Common
*
cm
);
const
qm_val_t
*
a
v1
_iqmatrix
(
struct
AV1Common
*
cm
,
int
qindex
,
int
comp
,
TX_SIZE
tx_size
);
const
qm_val_t
*
a
om
_qmatrix
(
struct
AV1Common
*
cm
,
int
qindex
,
int
comp
,
const
qm_val_t
*
a
v1
_qmatrix
(
struct
AV1Common
*
cm
,
int
qindex
,
int
comp
,
TX_SIZE
tx_size
);
#endif // CONFIG_AOM_QM
...
...
av1/decoder/decodeframe.c
View file @
d902b74a
...
...
@@ -1139,19 +1139,19 @@ static void setup_segmentation_dequant(AV1_COMMON *const cm) {
:
aom_get_qmlevel
(
cm
->
base_qindex
,
minqm
,
maxqm
);
#endif
for
(
int
j
=
0
;
j
<
TX_SIZES_ALL
;
++
j
)
{
cm
->
y_iqmatrix
[
i
][
j
]
=
a
om
_iqmatrix
(
cm
,
qmlevel
,
AOM_PLANE_Y
,
j
);
cm
->
y_iqmatrix
[
i
][
j
]
=
a
v1
_iqmatrix
(
cm
,
qmlevel
,
AOM_PLANE_Y
,
j
);
}
#if CONFIG_AOM_QM_EXT
qmlevel
=
(
lossless
||
using_qm
==
0
)
?
NUM_QM_LEVELS
-
1
:
cm
->
qm_u
;
#endif
for
(
int
j
=
0
;
j
<
TX_SIZES_ALL
;
++
j
)
{
cm
->
u_iqmatrix
[
i
][
j
]
=
a
om
_iqmatrix
(
cm
,
qmlevel
,
AOM_PLANE_U
,
j
);
cm
->
u_iqmatrix
[
i
][
j
]
=
a
v1
_iqmatrix
(
cm
,
qmlevel
,
AOM_PLANE_U
,
j
);
}
#if CONFIG_AOM_QM_EXT
qmlevel
=
(
lossless
||
using_qm
==
0
)
?
NUM_QM_LEVELS
-
1
:
cm
->
qm_v
;
#endif
for
(
int
j
=
0
;
j
<
TX_SIZES_ALL
;
++
j
)
{
cm
->
v_iqmatrix
[
i
][
j
]
=
a
om
_iqmatrix
(
cm
,
qmlevel
,
AOM_PLANE_V
,
j
);
cm
->
v_iqmatrix
[
i
][
j
]
=
a
v1
_iqmatrix
(
cm
,
qmlevel
,
AOM_PLANE_V
,
j
);
}
#endif // CONFIG_AOM_QM
#if CONFIG_NEW_QUANT
...
...
av1/decoder/decoder.c
View file @
d902b74a
...
...
@@ -123,7 +123,7 @@ AV1Decoder *av1_decoder_create(BufferPool *const pool) {
av1_loop_filter_init
(
cm
);
#if CONFIG_AOM_QM
a
om
_qm_init
(
cm
);
a
v1
_qm_init
(
cm
);
#endif
#if CONFIG_LOOP_RESTORATION
av1_loop_restoration_precal
();
...
...
av1/encoder/encoder.c
View file @
d902b74a
...
...
@@ -3819,7 +3819,7 @@ AV1_COMP *av1_create_compressor(AV1EncoderConfig *oxcf,
*/
av1_init_quantizer
(
cpi
);
#if CONFIG_AOM_QM
a
om
_qm_init
(
cm
);
a
v1
_qm_init
(
cm
);
#endif
av1_loop_filter_init
(
cm
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment