Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
mmrenderertypes.h
Go to the documentation of this file.
1// Copyright (C) 2016 Research In Motion
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef MMRENDERERTYPES_H
4#define MMRENDERERTYPES_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include <mm/renderer.h>
18#include <mm/renderer/types.h>
19
20extern "C" {
21// ### replace with proper include: mm/renderer/events.h
28
44
45typedef struct mmr_event {
46 mmr_event_type_t type;
47 mmr_state_t state;
48 int speed;
50
52 mmr_state_t oldstate;
54 } state;
55
59
61 const char *str;
63 } warning;
64
66 unsigned index;
67 } metadata;
68
70 unsigned index;
71 } trkparam;
72
74 unsigned start;
75 unsigned end;
76 unsigned length;
77 } playlist;
78
80 unsigned id;
81 } output;
82 } details;
83
85 const char* pos_str;
87 const char* objname;
88 void* usrdata;
89} mmr_event_t;
90
91const mmr_event_t* mmr_event_get(mmr_context_t *ctxt);
92
93}
94
95#endif
void setInputDeviceId(const QByteArray &id)
void durationChanged(qint64 durationMs)
void setOutputUrl(const QUrl &url)
void setMediaEncoderSettings(const QMediaEncoderSettings &settings)
void actualLocationChanged(const QUrl &location)
mmr_state
@ MMR_STATE_DESTROYED
@ MMR_STATE_PLAYING
@ MMR_STATE_STOPPED
@ MMR_STATE_IDLE
mmr_event_type
@ MMR_EVENT_STATE
@ MMR_EVENT_OVERFLOW
@ MMR_EVENT_INPUT
@ MMR_EVENT_ERROR
@ MMR_EVENT_STATUS
@ MMR_EVENT_TRKPAR
@ MMR_EVENT_PLAYLIST
@ MMR_EVENT_CTXTPAR
@ MMR_EVENT_NONE
@ MMR_EVENT_OTHER
@ MMR_EVENT_OUTPUT
@ MMR_EVENT_METADATA
@ MMR_EVENT_WARNING
const mmr_event_t * mmr_event_get(mmr_context_t *ctxt)
static QByteArray buildDevicePath(const QByteArray &deviceId, const QMediaEncoderSettings &settings)
const char * objname
mmr_state_t state
mmr_event_type_t type
const strm_dict_t * data
const strm_string_t * pos_obj
const char * pos_str