Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
e3761e9e
Commit
e3761e9e
authored
7 years ago
by
Philippe Gorley
Browse files
Options
Downloads
Patches
Plain Diff
video: add hardware decoding setting to lrc
Change-Id: I4d2659e6798b9ea461d1e214b89da20e0c26f878
parent
cfa94b5b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/qtwrapper/videomanager_wrap.h
+10
-0
10 additions, 0 deletions
src/qtwrapper/videomanager_wrap.h
src/video/configurationproxy.cpp
+13
-0
13 additions, 0 deletions
src/video/configurationproxy.cpp
src/video/configurationproxy.h
+3
-0
3 additions, 0 deletions
src/video/configurationproxy.h
with
26 additions
and
0 deletions
src/qtwrapper/videomanager_wrap.h
+
10
−
0
View file @
e3761e9e
...
...
@@ -210,6 +210,16 @@ public Q_SLOTS: // METHODS
#endif
}
bool
getDecodingAccelerated
()
{
return
DRing
::
getDecodingAccelerated
();
}
void
setDecodingAccelerated
(
bool
state
)
{
DRing
::
setDecodingAccelerated
(
state
);
}
Q_SIGNALS
:
// SIGNALS
void
deviceEvent
();
void
startedDecoding
(
const
QString
&
id
,
const
QString
&
shmPath
,
int
width
,
int
height
,
bool
isMixer
);
...
...
This diff is collapsed.
Click to expand it.
src/video/configurationproxy.cpp
+
13
−
0
View file @
e3761e9e
...
...
@@ -28,6 +28,7 @@
#include
<video/channel.h>
#include
<video/resolution.h>
#include
<video/rate.h>
#include
<dbus/videomanager.h>
namespace
ConfigurationProxyPrivate
{
static
QIdentityProxyModel
*
m_spDeviceModel
=
nullptr
;
...
...
@@ -291,3 +292,15 @@ QItemSelectionModel& Video::ConfigurationProxy::rateSelectionModel()
}
return
*
ConfigurationProxyPrivate
::
m_spRateSelectionModel
;
}
bool
Video
::
ConfigurationProxy
::
getDecodingAccelerated
()
{
VideoManagerInterface
&
interface
=
VideoManager
::
instance
();
return
interface
.
getDecodingAccelerated
();
}
void
Video
::
ConfigurationProxy
::
setDecodingAccelerated
(
bool
state
)
{
VideoManagerInterface
&
interface
=
VideoManager
::
instance
();
interface
.
setDecodingAccelerated
(
state
);
}
This diff is collapsed.
Click to expand it.
src/video/configurationproxy.h
+
3
−
0
View file @
e3761e9e
...
...
@@ -41,6 +41,9 @@ public:
static
QItemSelectionModel
&
channelSelectionModel
();
static
QItemSelectionModel
&
resolutionSelectionModel
();
static
QItemSelectionModel
&
rateSelectionModel
();
static
bool
getDecodingAccelerated
();
static
void
setDecodingAccelerated
(
bool
state
);
};
}
//namespace Video
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