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
qqnxmediametadata.cpp File Reference

(e9abd242abfbc368478f7be3e2923e7b100a9386)

#include "qqnxmediametadata_p.h"
#include <QtCore/qdebug.h>
#include <QtCore/qfile.h>
#include <QtCore/qstringlist.h>
#include <mm/renderer/types.h>
#include <sys/neutrino.h>
#include <sys/strm.h>
Include dependency graph for qqnxmediametadata.cpp:

Go to the source code of this file.

Functions

strm_dict_tmmr_metadata_split (strm_dict_t const *md, const char *type, unsigned idx)
static const char * strm_string_getx (const strm_string_t *sstr, const char *defaultValue)

Variables

static const char * titleKey = "md_title_name"
static const char * artistKey = "md_title_artist"
static const char * commentKey = "md_title_comment"
static const char * genreKey = "md_title_genre"
static const char * yearKey = "md_title_year"
static const char * durationKey = "md_title_duration"
static const char * bitRateKey = "md_title_bitrate"
static const char * sampleKey = "md_title_samplerate"
static const char * albumKey = "md_title_album"
static const char * trackKey = "md_title_track"
static const char * widthKey = "md_video_width"
static const char * heightKey = "md_video_height"
static const char * mediaTypeKey = "md_title_mediatype"
static const char * pixelWidthKey = "md_video_pixel_width"
static const char * pixelHeightKey = "md_video_pixel_height"
static const char * seekableKey = "md_title_seekable"
static const char * trackSampleKey = "sample_rate"
static const char * trackBitRateKey = "bitrate"
static const char * trackWidthKey = "width"
static const char * trackHeightKey = "height"
static const char * trackPixelWidthKey = "pixel_width"
static const char * trackPixelHeightKey = "pixel_height"
static const int mediaTypeAudioFlag = 4
static const int mediaTypeVideoFlag = 2

Function Documentation

◆ mmr_metadata_split()

strm_dict_t * mmr_metadata_split ( strm_dict_t const * md,
const char * type,
unsigned idx )
extern

◆ strm_string_getx()

const char * strm_string_getx ( const strm_string_t * sstr,
const char * defaultValue )
static

Definition at line 20 of file qqnxmediametadata.cpp.

Variable Documentation

◆ albumKey

const char * albumKey = "md_title_album"
static

Definition at line 40 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ artistKey

const char * artistKey = "md_title_artist"
static

Definition at line 33 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ bitRateKey

const char * bitRateKey = "md_title_bitrate"
static

Definition at line 38 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ commentKey

const char * commentKey = "md_title_comment"
static

Definition at line 34 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ durationKey

const char * durationKey = "md_title_duration"
static

Definition at line 37 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ genreKey

const char * genreKey = "md_title_genre"
static

Definition at line 35 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ heightKey

const char * heightKey = "md_video_height"
static

Definition at line 43 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ mediaTypeAudioFlag

const int mediaTypeAudioFlag = 4
static

Definition at line 55 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::hasAudio().

◆ mediaTypeKey

const char * mediaTypeKey = "md_title_mediatype"
static

Definition at line 44 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ mediaTypeVideoFlag

const int mediaTypeVideoFlag = 2
static

Definition at line 56 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::hasVideo().

◆ pixelHeightKey

const char * pixelHeightKey = "md_video_pixel_height"
static

Definition at line 46 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ pixelWidthKey

const char * pixelWidthKey = "md_video_pixel_width"
static

Definition at line 45 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ sampleKey

const char * sampleKey = "md_title_samplerate"
static

Definition at line 39 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ seekableKey

const char * seekableKey = "md_title_seekable"
static

Definition at line 47 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ titleKey

const char * titleKey = "md_title_name"
static

Definition at line 32 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackBitRateKey

const char * trackBitRateKey = "bitrate"
static

Definition at line 49 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackHeightKey

const char * trackHeightKey = "height"
static

Definition at line 51 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackKey

const char * trackKey = "md_title_track"
static

Definition at line 41 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackPixelHeightKey

const char * trackPixelHeightKey = "pixel_height"
static

Definition at line 53 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackPixelWidthKey

const char * trackPixelWidthKey = "pixel_width"
static

Definition at line 52 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackSampleKey

const char * trackSampleKey = "sample_rate"
static

Definition at line 48 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ trackWidthKey

const char * trackWidthKey = "width"
static

Definition at line 50 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ widthKey

const char * widthKey = "md_video_width"
static

Definition at line 42 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().

◆ yearKey

const char * yearKey = "md_title_year"
static

Definition at line 36 of file qqnxmediametadata.cpp.

Referenced by QQnxMediaMetaData::update().