🏳️🌈
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\dev\build-verdigris-Desktop_Qt_5_12_0_MSVC2017_64bit-Debug>"C:\Qt\Tools\Preview\Qt Creator 4.8.0-beta2\bin\jom.exe" -j1 | |
jom 1.1.2 - empower your cores | |
cd tutorial\ && ( if not exist Makefile C:\Qt\5.12.0\msvc2017_64\bin\qmake.exe -o Makefile C:\dev\verdigris\tutorial\tutorial.pro -spec win32-msvc "CONFIG+=debug" "CONFIG+=qml_debug" ) && "C:\Qt\Tools\Preview\Qt Creator 4.8.0-beta2\bin\jom.exe" -f Makefile | |
"C:\Qt\Tools\Preview\Qt Creator 4.8.0-beta2\bin\jom.exe" -f Makefile.Debug | |
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -std:c++14 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\tutorial.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_QML_DEBUG -DQT_CORE_LIB -I..\..\verdigris\tutorial -I. -I..\..\verdigris\src -I..\..\..\Qt\5.12.0\msvc2017_64\include -I..\..\..\Qt\5.12.0\msvc2017_64\include\QtCore -Idebug -I..\..\..\Qt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf | |
index 6bf1380716..755bc1e58d 100644 | |
--- a/mkspecs/features/create_cmake.prf | |
+++ b/mkspecs/features/create_cmake.prf | |
@@ -28,6 +28,10 @@ CMAKE_OUT_DIR = $$MODULE_BASE_OUTDIR/lib/cmake | |
CMAKE_MODULE_NAME = $$cmakeModuleName($${MODULE}) | |
+# TARGET here is the one changed at the end of qt_module.prf, | |
+# which already contains the Qt5 prefix and QT_LIBINFIX suffix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "H264_Decoder.h" | |
H264_Decoder::H264_Decoder(h264_decoder_callback frameCallback, void* user) | |
:codec(NULL) | |
,codec_context(NULL) | |
,parser(NULL) | |
,fp(NULL) | |
,frame(0) | |
,cb_frame(frameCallback) | |
,cb_user(user) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ossia/network/value/value.hpp> | |
#include <ossia/editor/curve/curve_segment/easing.hpp> | |
#include <iostream> | |
#include <functional> | |
struct value_interpolator | |
{ | |
double progress; | |
std::function<double(double start, double end, double progress)> easing; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Invocation : script.sh name-of-the.gif | |
# Find out the size | |
SIZE=$(identify $1 | egrep --only-matching '[0-9]+x[0-9]+' | head -n 1) | |
mkdir -p frames | |
rm -rf frames/* | |
# Extract individual frames |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The MIT License (MIT) | |
Copyright (c) 2016 Luca Corbatto | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern "C" | |
{ | |
#include <libavcodec/avcodec.h> | |
#include <libavformat/avformat.h> | |
#include <libavutil/frame.h> | |
#include <libavutil/mem.h> | |
} | |
#include <cassert> | |
#include <iostream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <boost/container/small_vector.hpp> | |
#include <fmt/format.h> | |
#include <robin_hood.h> | |
static constexpr inline char to_lower(char c) noexcept { | |
return ((c >= 'A' && c <= 'Z') ? c + ('a' - 'A') : c); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QAction> | |
#include <QApplication> | |
#include <QLineEdit> | |
#include <QMenu> | |
#include <QMessageBox> | |
#include <QPushButton> | |
#include <QTableWidget> | |
#include <QVBoxLayout> | |
struct Form : QWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# host is the IP of the receiving computer | |
host="192.168.0.101" | |
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-h264, width=1920, height=1080, framerate=30/1 ! rtph264pay ! udpsink host=$host port=5004 |