Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VVCSoftware_VTM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Remy Foray
VVCSoftware_VTM
Commits
6c7e924a
Commit
6c7e924a
authored
6 years ago
by
Kiyofumi Abe
Browse files
Options
Downloads
Patches
Plain Diff
JVET_L0118_ALIGN_MTS_INDEX : Change the table size of g_aiTrSubsetInter[] from 4 to 2.
parent
7d4d5879
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cmake/modules/GetSVN.cmake
+0
-73
0 additions, 73 deletions
cmake/modules/GetSVN.cmake
source/Lib/CommonLib/Rom.cpp
+1
-1
1 addition, 1 deletion
source/Lib/CommonLib/Rom.cpp
source/Lib/CommonLib/Rom.h
+4
-0
4 additions, 0 deletions
source/Lib/CommonLib/Rom.h
with
5 additions
and
74 deletions
cmake/modules/GetSVN.cmake
deleted
100644 → 0
+
0
−
73
View file @
7d4d5879
if
(
GENERATE_DUMMY
)
file
(
WRITE svnrevision.h.in
"
\n
"
)
else
()
include
(
FindSubversion
)
if
(
SUBVERSION_FOUND
)
# Copied from FindSubversion: need to change to fix the SEND_ERROR problem
# the subversion commands should be executed with the C locale, otherwise
# the message (which are parsed) may be translated, Alex
set
(
_Subversion_SAVED_LC_ALL
"$ENV{LC_ALL}"
)
set
(
ENV{LC_ALL} C
)
execute_process
(
COMMAND
${
Subversion_SVN_EXECUTABLE
}
info
${
SOURCE_DIR
}
OUTPUT_VARIABLE NEXT_WC_INFO
ERROR_VARIABLE Subversion_svn_info_error
RESULT_VARIABLE Subversion_svn_info_result
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
NOT
${
Subversion_svn_info_result
}
EQUAL 0
)
message
(
"
${
SOURCE_DIR
}
is not a subversion directory"
)
file
(
WRITE svnrevision.h.in
"
\n
"
)
else
()
string
(
REGEX REPLACE
"^(.*
\n
)?URL: ([^
\n
]+).*"
"
\\
2"
NEXT_WC_URL
"
${
NEXT_WC_INFO
}
"
)
string
(
REGEX REPLACE
"^(.*
\n
)?Repository Root: ([^
\n
]+).*"
"
\\
2"
NEXT_WC_ROOT
"
${
NEXT_WC_INFO
}
"
)
string
(
REGEX REPLACE
"^(.*
\n
)?Revision: ([^
\n
]+).*"
"
\\
2"
NEXT_WC_REVISION
"
${
NEXT_WC_INFO
}
"
)
string
(
REGEX REPLACE
"^(.*
\n
)?Last Changed Author: ([^
\n
]+).*"
"
\\
2"
NEXT_WC_LAST_CHANGED_AUTHOR
"
${
NEXT_WC_INFO
}
"
)
string
(
REGEX REPLACE
"^(.*
\n
)?Last Changed Rev: ([^
\n
]+).*"
"
\\
2"
NEXT_WC_LAST_CHANGED_REV
"
${
NEXT_WC_INFO
}
"
)
string
(
REGEX REPLACE
"^(.*
\n
)?Last Changed Date: ([^
\n
]+).*"
"
\\
2"
NEXT_WC_LAST_CHANGED_DATE
"
${
NEXT_WC_INFO
}
"
)
string
(
REGEX REPLACE
"^(.*)?:(.*)"
"
\\
2"
NEXT_WC_URL_PATH
"
${
NEXT_WC_URL
}
"
)
string
(
REGEX REPLACE
"^(.*)?:(.*)"
"
\\
2"
NEXT_WC_ROOT_PATH
"
${
NEXT_WC_ROOT
}
"
)
file
(
RELATIVE_PATH NEXT_WC_RELATIVE_URL
"
${
NEXT_WC_ROOT_PATH
}
"
"
${
NEXT_WC_URL_PATH
}
"
)
execute_process
(
COMMAND
${
Subversion_SVN_EXECUTABLE
}
status
${
SOURCE_DIR
}
OUTPUT_VARIABLE NEXT_WC_STATUS
ERROR_VARIABLE Subversion_svn_status_error
RESULT_VARIABLE Subversion_svn_status_result
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if
(
${
Subversion_svn_status_result
}
EQUAL 0
)
if
(
NEXT_WC_STATUS
)
set
(
NEXT_WC_STATUS
"M"
)
else
()
set
(
NEXT_WC_STATUS
""
)
endif
()
endif
()
# write a file with the SVNVERSION define
file
(
WRITE svnrevision.h.in
"#define SVNREVISION
\"
${
NEXT_WC_LAST_CHANGED_REV
}${
NEXT_WC_STATUS
}
\"\n
"
)
file
(
APPEND svnrevision.h.in
"#define SVNRELATIVEURL
\"
${
NEXT_WC_RELATIVE_URL
}
\"\n
"
)
endif
()
# restore the previous LC_ALL
set
(
ENV{LC_ALL}
${
_Subversion_SAVED_LC_ALL
}
)
else
()
message
(
"Subversion executable not found!"
)
file
(
WRITE svnrevision.h.in
"
\n
"
)
endif
()
endif
()
# copy the file to the final header only if the version changes
# reduces needless rebuilds
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E copy_if_different svnrevision.h.in svnrevision.h
)
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/Rom.cpp
+
1
−
1
View file @
6c7e924a
...
@@ -598,7 +598,7 @@ const int g_invQuantScales[SCALING_LIST_REM_NUM] =
...
@@ -598,7 +598,7 @@ const int g_invQuantScales[SCALING_LIST_REM_NUM] =
//EMT transform sets
//EMT transform sets
const
int
g_aiTrSubsetIntra
[
3
][
2
]
=
{
{
DST7
,
DCT8
},
{
DST7
,
DCT8
},
{
DST7
,
DCT8
}
};
const
int
g_aiTrSubsetIntra
[
3
][
2
]
=
{
{
DST7
,
DCT8
},
{
DST7
,
DCT8
},
{
DST7
,
DCT8
}
};
#if JVET_L0118_ALIGN_MTS_INDEX
#if JVET_L0118_ALIGN_MTS_INDEX
const
int
g_aiTrSubsetInter
[
4
]
=
{
DST7
,
DCT8
};
const
int
g_aiTrSubsetInter
[
2
]
=
{
DST7
,
DCT8
};
#else
#else
const
int
g_aiTrSubsetInter
[
4
]
=
{
DCT8
,
DST7
};
const
int
g_aiTrSubsetInter
[
4
]
=
{
DCT8
,
DST7
};
#endif
#endif
...
...
This diff is collapsed.
Click to expand it.
source/Lib/CommonLib/Rom.h
+
4
−
0
View file @
6c7e924a
...
@@ -118,7 +118,11 @@ extern const TMatrixCoeff g_as_DST_MAT_4 [TRANSFORM_NUMBER_OF_DIRECTIONS][4][4];
...
@@ -118,7 +118,11 @@ extern const TMatrixCoeff g_as_DST_MAT_4 [TRANSFORM_NUMBER_OF_DIRECTIONS][4][4];
#endif
#endif
extern
const
int
g_aiTrSubsetIntra
[
3
][
2
];
extern
const
int
g_aiTrSubsetIntra
[
3
][
2
];
#if JVET_L0118_ALIGN_MTS_INDEX
extern
const
int
g_aiTrSubsetInter
[
2
];
#else
extern
const
int
g_aiTrSubsetInter
[
4
];
extern
const
int
g_aiTrSubsetInter
[
4
];
#endif
extern
const
uint8_t
g_aucTrSetVert
[
NUM_INTRA_MODE
-
1
];
extern
const
uint8_t
g_aucTrSetVert
[
NUM_INTRA_MODE
-
1
];
extern
const
uint8_t
g_aucTrSetHorz
[
NUM_INTRA_MODE
-
1
];
extern
const
uint8_t
g_aucTrSetHorz
[
NUM_INTRA_MODE
-
1
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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