File tree 10 files changed +347
-0
lines changed
10 files changed +347
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Compiled #
2
+ # ###########
3
+ * .com
4
+ * .class
5
+ * .dll
6
+ * .dylib
7
+ * .exe
8
+ * .slo
9
+ * .lo
10
+ * .o
11
+ * .so
12
+ * .lai
13
+ * .la
14
+ * .a
15
+ * .d
16
+ * .vsp
17
+ * .psess
18
+ build
19
+
20
+ # Gradle #
21
+ # #########
22
+ ! gradle.properties
23
+ ! settings.gradle
24
+ ! build.gradle
25
+ ! build.gradle.win
26
+ ! travis /.gradle /gradle.properties
27
+ .gradle /
28
+ ** /guild /
29
+ coverage /
30
+
31
+ # NuGet #
32
+ # ########
33
+ * .nupkg
34
+
35
+ # WiX #
36
+ # ######
37
+ * .msi
38
+ * .wixobj
39
+ * .wixpdb
40
+
41
+ # Make #
42
+ # #######
43
+ config.build
44
+ config.make
45
+
46
+ # CLion #
47
+ # #######
48
+ .idea /
49
+
50
+ # CMake #
51
+ # #######
52
+ cmake_install.cmake
53
+ cmake_uninstall.cmake
54
+ CMakeFiles
55
+ CMakeCache.txt
56
+ CPackConfig.cmake
57
+ CPackSourceConfig.cmake
58
+ cmake_ *
59
+ cmake-build- *
60
+ Sample /Sample.ini
61
+ Common /Common.cpp
62
+
63
+ # Packages #
64
+ # ###########
65
+ # it's better to unpack these files and commit the raw source
66
+ # git has its own built in compression methods
67
+ * .7z
68
+ * .dmg
69
+ * .gz
70
+ * .iso
71
+ * .jar
72
+ * .rar
73
+ * .tar
74
+ * .zip
75
+
76
+ # Logs and databases #
77
+ # #####################
78
+ * .log *
79
+ * .sqlite
80
+ * .db
81
+ test * .txt
82
+ XML /testsuite /rss.xml
83
+
84
+ # OS generated files #
85
+ # #####################
86
+ .DS_Store
87
+ .DS_Store ?
88
+ ._ *
89
+ .Spotlight-V100
90
+ .Trashes
91
+ Icon ?
92
+ ehthumbs.db
93
+ Thumbs.db
94
+ * ~
95
+
96
+ # VS generated files #
97
+ # #####################
98
+ * .obj
99
+ * .exe
100
+ * .pdb
101
+ * .user
102
+ * .aps
103
+ * .pch
104
+ * .ipch
105
+ * .ncb
106
+ * .suo
107
+ * .sdf
108
+ * .opensdf
109
+ * .tlb
110
+ * .tlh
111
+ * .ilk
112
+ * .lib
113
+ * .exp
114
+ * .idb
115
+ * .rc
116
+ * .res
117
+ * .manifest
118
+ * .tlog
119
+ * .lastbuildstate
120
+ * .unsuccessfulbuild
121
+ * .opendb
122
+ .vs /
123
+ release_shared /
124
+ debug_shared /
125
+ release_static /
126
+ debug_static /
127
+ release_static_md /
128
+ debug_static_md /
129
+ release_static_mt /
130
+ debug_static_mt /
131
+ bin /
132
+ bin64 /
133
+ lib /
134
+ lib64 /
135
+ pocomsg.h
136
+ ** /UpgradeLog * .XML
137
+
138
+ # Eclipse generated files #
139
+ # ##########################
140
+ .project
141
+ .cproject
142
+ .settings
143
+ cmake-build /
144
+
145
+ # Temporary files #
146
+ # ##################
147
+ * .bak
148
+ stage /
149
+ releases /
150
+
151
+ # vim #
152
+ # ######
153
+ * .orig
154
+ * .swp
155
+ * .vim
156
+ tags
157
+
158
+ # Direct X #
159
+ # ###########
160
+ ! Extension /DirectX /**
161
+
162
+ # vscode #
163
+ # #########
164
+ .vscode /settings.json
165
+ .vscode /bookmarks.json
166
+ .vscode /c_cpp_properties.json
167
+
168
+ # platfrom #
169
+ # ###########
170
+ .platfrom /**
171
+
172
+ # Android Studio #
173
+ # #################
174
+ build.gradle
175
+ gradlew
176
+ gradlew.bat
177
+ local.properties
Original file line number Diff line number Diff line change
1
+ name : mpp-ci
2
+
3
+ on :
4
+ push :
5
+ branches : [ "dev" ]
6
+ pull_request :
7
+ branches : [ "dev" ]
8
+
9
+ jobs :
10
+ linux-gcc-make :
11
+ runs-on : ubuntu-20.04
12
+ steps :
13
+ - uses : actions/checkout@v1
14
+ - run : rm -rf build
15
+ - run : mkdir build
16
+ - run : cd build && cmake .. && make -j4
17
+
18
+ msvc2022-x64-make :
19
+ runs-on : windows-2022
20
+ steps :
21
+ - uses : actions/checkout@v1
22
+ - run : mkdir build
23
+ - run : cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -S. -B./build -G "Visual Studio 17 2022" -T host=x64 -A x64
24
+ - run : cmake --build build --config Release -j 16
Original file line number Diff line number Diff line change
1
+ #include " AV1Common.h"
2
+
3
+ namespace Mmp
4
+ {
5
+ namespace Codec
6
+ {
7
+
8
+
9
+
10
+ } // namespace Codec
11
+ } // namespace Mmp
Original file line number Diff line number Diff line change
1
+ //
2
+ // AV1Common.h
3
+ //
4
+ // Library: Codec
5
+ // Package: AV1
6
+ // Module: AV1
7
+ //
8
+
9
+ #pragma once
10
+
11
+ #include < set>
12
+ #include < map>
13
+ #include < string>
14
+ #include < vector>
15
+ #include < memory>
16
+ #include < cstdint>
17
+ #include < unordered_map>
18
+
19
+ namespace Mmp
20
+ {
21
+ namespace Codec
22
+ {
23
+
24
+
25
+
26
+ } // namespace Codec
27
+ } // namespace Mmp
Original file line number Diff line number Diff line change
1
+ #include " AV1Deserialize.h"
2
+
3
+ namespace Mmp
4
+ {
5
+ namespace Codec
6
+ {
7
+
8
+
9
+
10
+ } // namespace Codec
11
+ } // namespace Mmp
Original file line number Diff line number Diff line change
1
+ //
2
+ // AV1Deserialize.h
3
+ //
4
+ // Library: Codec
5
+ // Package: AV1
6
+ // Module: AV1
7
+ //
8
+
9
+ #pragma once
10
+
11
+ namespace Mmp
12
+ {
13
+ namespace Codec
14
+ {
15
+
16
+
17
+
18
+ } // namespace Codec
19
+ } // namespace Mmp
Original file line number Diff line number Diff line change
1
+ #include " AV1Ultis.h"
2
+
3
+ namespace Mmp
4
+ {
5
+ namespace Codec
6
+ {
7
+
8
+
9
+
10
+ } // namespace Codec
11
+ } // namespace Mmp
Original file line number Diff line number Diff line change
1
+ //
2
+ // AV1Ultis.h
3
+ //
4
+ // Library: Codec
5
+ // Package: AV1
6
+ // Module: AV1
7
+ //
8
+
9
+ #pragma once
10
+
11
+ namespace Mmp
12
+ {
13
+ namespace Codec
14
+ {
15
+
16
+
17
+
18
+ } // namespace Codec
19
+ } // namespace Mmp
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.8)
2
+ project (MMP_AV1 DESCRIPTION "Multi Media Plugin - AV1 Deserialize and Serialize" )
3
+
4
+ option (MMP_AV1_DEBUG_MODE "Enable debug mode" ON )
5
+ option (ENBALE_MMP_AV1_SAMPLE "Enbale MMP AV1 Sampele" ON )
6
+
7
+ set (MMP_AV1_SRCS)
8
+ set (MMP_AV1_INCS)
9
+
10
+ list (APPEND MMP_AV1_INCS
11
+ ${CMAKE_CURRENT_SOURCE_DIR}
12
+ )
13
+
14
+ # Common
15
+ list (APPEND MMP_AV1_SRCS
16
+ ${CMAKE_CURRENT_SOURCE_DIR} /AV1Common.h
17
+ ${CMAKE_CURRENT_SOURCE_DIR} /AV1Common.cpp
18
+ ${CMAKE_CURRENT_SOURCE_DIR} /AV1Deserialize.h
19
+ ${CMAKE_CURRENT_SOURCE_DIR} /AV1Deserialize.cpp
20
+ ${CMAKE_CURRENT_SOURCE_DIR} /AV1Ultis.h
21
+ ${CMAKE_CURRENT_SOURCE_DIR} /AV1Ultis.cpp
22
+ )
23
+
24
+ add_library (MMP_AV1 STATIC ${MMP_AV1_SRCS} )
25
+ add_library (MMP::AV1 ALIAS MMP_AV1)
26
+ target_include_directories (MMP_AV1 PUBLIC ${MMP_AV1_INCS} )
27
+ if (MMP_AV1_DEBUG_MODE)
28
+ target_compile_definitions (MMP_AV1 PUBLIC MMP_AV1_DEBUG_MODE)
29
+ endif ()
30
+
31
+ if (ENBALE_MMP_AV1_SAMPLE)
32
+ add_executable (Sample ${MMP_AV1_SRCS} ${CMAKE_CURRENT_SOURCE_DIR} /main.cpp)
33
+ target_include_directories (Sample PUBLIC ${MMP_AV1_INCS} )
34
+ if (MMP_AV1_DEBUG_MODE)
35
+ target_compile_definitions (Sample PUBLIC MMP_AV1_DEBUG_MODE)
36
+ endif ()
37
+ if (UNIX )
38
+ target_link_libraries (Sample asan)
39
+ target_compile_options (Sample PUBLIC -fsanitize=address)
40
+ endif ()
41
+ endif ()
Original file line number Diff line number Diff line change
1
+ #include < iostream>
2
+
3
+ int main ()
4
+ {
5
+ std::cout << " Hello World!!!" << std::endl;
6
+ return 0 ;
7
+ }
You can’t perform that action at this time.
0 commit comments