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
e8a17ba3
Commit
e8a17ba3
authored
Oct 24, 2016
by
Jingning Han
Committed by
Gerrit Code Review
Oct 24, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Refactor tx_size to pixel number mapping in reconintra.c" into nextgenv2
parents
61a50f73
d89c72e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
av1/common/reconintra.c
av1/common/reconintra.c
+5
-5
No files found.
av1/common/reconintra.c
View file @
e8a17ba3
...
...
@@ -283,7 +283,7 @@ static int av1_has_bottom(BLOCK_SIZE bsize, int mi_row, int mi_col,
const
int
wl
=
mi_width_log2_lookup
[
bsize
];
const
int
hl
=
mi_height_log2_lookup
[
bsize
];
const
int
h
=
1
<<
(
hl
+
1
-
ss_y
);
const
int
step
=
1
<<
txsz
;
const
int
step
=
tx_size_wide_unit
[
txsz
]
;
const
uint8_t
*
order
=
orders
[
bsize
];
int
my_order
,
bl_order
;
...
...
@@ -671,7 +671,7 @@ static void dr_predictor(uint8_t *dst, ptrdiff_t stride, TX_SIZE tx_size,
INTRA_FILTER
filter_type
)
{
const
int
dx
=
get_dx
(
angle
);
const
int
dy
=
get_dy
(
angle
);
const
int
bs
=
4
*
num_4x4_blocks_wide_txsize_lookup
[
tx_size
];
const
int
bs
=
tx_size_wide
[
tx_size
];
assert
(
angle
>
0
&&
angle
<
270
);
if
(
angle
>
0
&&
angle
<
90
)
{
...
...
@@ -1200,7 +1200,7 @@ static void build_intra_predictors_high(
DECLARE_ALIGNED
(
16
,
uint16_t
,
above_data
[
MAX_SB_SIZE
+
16
]);
uint16_t
*
above_row
=
above_data
+
16
;
const
uint16_t
*
const_above_row
=
above_row
;
const
int
bs
=
4
*
num_4x4_blocks_wide_txsize_lookup
[
tx_size
];
const
int
bs
=
tx_size_wide
[
tx_size
];
int
need_left
=
extend_modes
[
mode
]
&
NEED_LEFT
;
int
need_above
=
extend_modes
[
mode
]
&
NEED_ABOVE
;
int
need_above_left
=
extend_modes
[
mode
]
&
NEED_ABOVELEFT
;
...
...
@@ -1361,7 +1361,7 @@ static void build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref,
DECLARE_ALIGNED
(
16
,
uint8_t
,
above_data
[
MAX_SB_SIZE
+
16
]);
uint8_t
*
above_row
=
above_data
+
16
;
const
uint8_t
*
const_above_row
=
above_row
;
const
int
bs
=
4
*
num_4x4_blocks_wide_txsize_lookup
[
tx_size
];
const
int
bs
=
tx_size_wide
[
tx_size
];
int
need_left
=
extend_modes
[
mode
]
&
NEED_LEFT
;
int
need_above
=
extend_modes
[
mode
]
&
NEED_ABOVE
;
int
need_above_left
=
extend_modes
[
mode
]
&
NEED_ABOVELEFT
;
...
...
@@ -1549,7 +1549,7 @@ void av1_predict_intra_block(const MACROBLOCKD *xd, int wpx, int hpx,
#if CONFIG_PALETTE
if
(
xd
->
mi
[
0
]
->
mbmi
.
palette_mode_info
.
palette_size
[
plane
!=
0
]
>
0
)
{
const
int
bs
=
4
*
num_4x4_blocks_wide_txsize_lookup
[
tx_size
];
const
int
bs
=
tx_size_wide
[
tx_size
];
const
int
stride
=
wpx
;
int
r
,
c
;
uint8_t
*
map
=
NULL
;
...
...
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