Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
3b2cd913
Commit
3b2cd913
authored
11 years ago
by
Dmitry Kovalev
Browse files
Options
Download
Patches
Plain Diff
Moving get_tx_eob() from common to encoder.
Change-Id: I7d11c6ae259aff6560710d16fea3032c661e5b02
parent
e4e25ac9
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp9/common/vp9_blockd.h
+0
-7
vp9/common/vp9_blockd.h
vp9/encoder/vp9_tokenize.c
+6
-0
vp9/encoder/vp9_tokenize.c
with
6 additions
and
7 deletions
vp9/common/vp9_blockd.h
+
0
−
7
View file @
3b2cd913
...
@@ -328,13 +328,6 @@ void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd,
...
@@ -328,13 +328,6 @@ void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd,
BLOCK_SIZE
plane_bsize
,
TX_SIZE
tx_size
,
int
has_eob
,
BLOCK_SIZE
plane_bsize
,
TX_SIZE
tx_size
,
int
has_eob
,
int
aoff
,
int
loff
);
int
aoff
,
int
loff
);
static
INLINE
int
get_tx_eob
(
const
struct
segmentation
*
seg
,
int
segment_id
,
TX_SIZE
tx_size
)
{
const
int
eob_max
=
16
<<
(
tx_size
<<
1
);
return
vp9_segfeature_active
(
seg
,
segment_id
,
SEG_LVL_SKIP
)
?
0
:
eob_max
;
}
#ifdef __cplusplus
#ifdef __cplusplus
}
// extern "C"
}
// extern "C"
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
vp9/encoder/vp9_tokenize.c
+
6
−
0
View file @
3b2cd913
...
@@ -199,6 +199,12 @@ static INLINE void add_token_no_extra(TOKENEXTRA **t,
...
@@ -199,6 +199,12 @@ static INLINE void add_token_no_extra(TOKENEXTRA **t,
++
counts
[
token
];
++
counts
[
token
];
}
}
static
INLINE
int
get_tx_eob
(
const
struct
segmentation
*
seg
,
int
segment_id
,
TX_SIZE
tx_size
)
{
const
int
eob_max
=
16
<<
(
tx_size
<<
1
);
return
vp9_segfeature_active
(
seg
,
segment_id
,
SEG_LVL_SKIP
)
?
0
:
eob_max
;
}
static
void
tokenize_b
(
int
plane
,
int
block
,
BLOCK_SIZE
plane_bsize
,
static
void
tokenize_b
(
int
plane
,
int
block
,
BLOCK_SIZE
plane_bsize
,
TX_SIZE
tx_size
,
void
*
arg
)
{
TX_SIZE
tx_size
,
void
*
arg
)
{
struct
tokenize_b_args
*
const
args
=
arg
;
struct
tokenize_b_args
*
const
args
=
arg
;
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets