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
3627de2c
Commit
3627de2c
authored
Aug 18, 2017
by
Angie Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change av1_cost_coeffs_txb's interface
Change-Id: Ie7c216218bd233e74970b261186df8f08aca6193
parent
def11251
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
av1/encoder/encodetxb.c
av1/encoder/encodetxb.c
+1
-2
av1/encoder/encodetxb.h
av1/encoder/encodetxb.h
+1
-1
av1/encoder/rdopt.c
av1/encoder/rdopt.c
+2
-2
No files found.
av1/encoder/encodetxb.c
View file @
3627de2c
...
...
@@ -288,10 +288,9 @@ static INLINE int get_base_cost(tran_low_t abs_qc, int ctx,
return
coeff_base
[
abs_qc
==
level
];
}
int
av1_cost_coeffs_txb
(
const
AV1_COM
P
*
const
cpi
,
MACROBLOCK
*
x
,
int
plane
,
int
av1_cost_coeffs_txb
(
const
AV1_COM
MON
*
const
cm
,
MACROBLOCK
*
x
,
int
plane
,
int
blk_row
,
int
blk_col
,
int
block
,
TX_SIZE
tx_size
,
TXB_CTX
*
txb_ctx
)
{
const
AV1_COMMON
*
const
cm
=
&
cpi
->
common
;
MACROBLOCKD
*
const
xd
=
&
x
->
e_mbd
;
TX_SIZE
txs_ctx
=
get_txsize_context
(
tx_size
);
const
PLANE_TYPE
plane_type
=
get_plane_type
(
plane
);
...
...
av1/encoder/encodetxb.h
View file @
3627de2c
...
...
@@ -67,7 +67,7 @@ typedef struct TxbProbs {
void
av1_alloc_txb_buf
(
AV1_COMP
*
cpi
);
void
av1_free_txb_buf
(
AV1_COMP
*
cpi
);
int
av1_cost_coeffs_txb
(
const
AV1_COM
P
*
const
cpi
,
MACROBLOCK
*
x
,
int
plane
,
int
av1_cost_coeffs_txb
(
const
AV1_COM
MON
*
const
cm
,
MACROBLOCK
*
x
,
int
plane
,
int
blk_row
,
int
blk_col
,
int
block
,
TX_SIZE
tx_size
,
TXB_CTX
*
txb_ctx
);
void
av1_write_coeffs_txb
(
const
AV1_COMMON
*
const
cm
,
MACROBLOCKD
*
xd
,
...
...
av1/encoder/rdopt.c
View file @
3627de2c
...
...
@@ -1663,10 +1663,10 @@ int av1_cost_coeffs(const AV1_COMP *const cpi, MACROBLOCK *x, int plane,
int blk_row, int blk_col, int block, TX_SIZE tx_size,
const SCAN_ORDER *scan_order, const ENTROPY_CONTEXT *a,
const ENTROPY_CONTEXT *l, int use_fast_coef_costing) {
const AV1_COMMON *const cm = &cpi->common;
#if !CONFIG_LV_MAP
(void)blk_row;
(void)blk_col;
const AV1_COMMON *const cm = &cpi->common;
return cost_coeffs(cm, x, plane, block, tx_size, scan_order, a, l,
use_fast_coef_costing);
#else // !CONFIG_LV_MAP
...
...
@@ -1688,7 +1688,7 @@ int av1_cost_coeffs(const AV1_COMP *const cpi, MACROBLOCK *x, int plane,
TXB_CTX txb_ctx;
get_txb_ctx(plane_bsize, tx_size, plane, a, l, &txb_ctx);
return av1_cost_coeffs_txb(c
pi
, x, plane, blk_row, blk_col, block, tx_size,
return av1_cost_coeffs_txb(c
m
, x, plane, blk_row, blk_col, block, tx_size,
&txb_ctx);
#endif // !CONFIG_LV_MAP
}
...
...
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