Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
7b03f55c
Commit
7b03f55c
authored
Feb 05, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util/bit_reverse: convert to C++
parent
b84444b6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
DsdiffDecoderPlugin.cxx
src/decoder/plugins/DsdiffDecoderPlugin.cxx
+1
-1
DsfDecoderPlugin.cxx
src/decoder/plugins/DsfDecoderPlugin.cxx
+1
-1
Dsd2Pcm.cxx
src/pcm/Dsd2Pcm.cxx
+1
-1
BitReverse.cxx
src/util/BitReverse.cxx
+1
-1
BitReverse.hxx
src/util/BitReverse.hxx
+3
-3
meson.build
src/util/meson.build
+1
-1
No files found.
src/decoder/plugins/DsdiffDecoderPlugin.cxx
View file @
7b03f55c
...
...
@@ -31,7 +31,7 @@
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "pcm/CheckAudioFormat.hxx"
#include "util/
bit_reverse.h
"
#include "util/
BitReverse.hxx
"
#include "util/ByteOrder.hxx"
#include "util/StringView.hxx"
#include "tag/Handler.hxx"
...
...
src/decoder/plugins/DsfDecoderPlugin.cxx
View file @
7b03f55c
...
...
@@ -32,7 +32,7 @@
#include "../DecoderAPI.hxx"
#include "input/InputStream.hxx"
#include "pcm/CheckAudioFormat.hxx"
#include "util/
bit_reverse.h
"
#include "util/
BitReverse.hxx
"
#include "util/ByteOrder.hxx"
#include "DsdLib.hxx"
#include "tag/Handler.hxx"
...
...
src/pcm/Dsd2Pcm.cxx
View file @
7b03f55c
...
...
@@ -32,7 +32,7 @@ or implied, of Sebastian Gesemann.
#include "Dsd2Pcm.hxx"
#include "Traits.hxx"
#include "util/
bit_reverse.h
"
#include "util/
BitReverse.hxx
"
#include "util/GenerateArray.hxx"
#include <assert.h>
...
...
src/util/
bit_reverse.c
→
src/util/
BitReverse.cxx
View file @
7b03f55c
...
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
bit_reverse.h
"
#include "
BitReverse.hxx
"
/**
* @see http://graphics.stanford.edu/~seander/bithacks.html#BitReverseTable
...
...
src/util/
bit_reverse.h
→
src/util/
BitReverse.hxx
View file @
7b03f55c
...
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_BIT_REVERSE_H
#define MPD_BIT_REVERSE_H
#ifndef MPD_BIT_REVERSE_H
XX
#define MPD_BIT_REVERSE_H
XX
#include "Compiler.h"
...
...
@@ -28,7 +28,7 @@ extern const uint8_t bit_reverse_table[256];
gcc_const
static
inline
uint8_t
bit_reverse
(
uint8_t
x
)
bit_reverse
(
uint8_t
x
)
noexcept
{
return
bit_reverse_table
[
x
];
}
...
...
src/util/meson.build
View file @
7b03f55c
...
...
@@ -29,7 +29,7 @@ util = static_library(
'OptionParser.cxx',
'ByteReverse.cxx',
'format.c',
'
bit_reverse.c
',
'
BitReverse.cxx
',
include_directories: inc,
)
...
...
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