MythTV  master
Macros | Functions
mythmediacodeccontext.cpp File Reference
#include <QtGlobal>
#include <QCoreApplication>
#include <QJniEnvironment>
#include <QJniObject>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythlogging.h"
#include "libmythui/mythmainwindow.h"
#include "avformatdecoder.h"
#include "mythmediacodeccontext.h"
#include "mythplayerui.h"
#include "opengl/mythmediacodecinterop.h"
#include "libavutil/pixfmt.h"
#include "libavutil/hwcontext_mediacodec.h"
#include "libavcodec/mediacodec.h"
#include "libavcodec/avcodec.h"
Include dependency graph for mythmediacodeccontext.cpp:

Go to the source code of this file.

Macros

#define QAndroidJniEnvironment   QJniEnvironment
 
#define QAndroidJniObject   QJniObject
 
#define LOC   QString("MediaCodec: ")
 
#define MC_MPEG2_SIMPLE   (0x0)
 
#define MC_MPEG2_MAIN   (0x1)
 
#define MC_MPEG2_422   (0x2)
 
#define MC_MPEG2_SNR   (0x3)
 
#define MC_MPEG2_SPATIAL   (0x4)
 
#define MC_MPEG2_HIGH   (0x5)
 
#define MC_MPEG4_SIMPLE   (0x0001)
 
#define MC_MPEG4_SIMPLE_SCALEABLE   (0x0002)
 
#define MC_MPEG4_CORE   (0x0004)
 
#define MC_MPEG4_MAIN   (0x0008)
 
#define MC_MPEG4_NBIT   (0x0010)
 
#define MC_MPEG4_SCALEABLE_TEX   (0x0020)
 
#define MC_MPEG4_SIMPLE_FACE   (0x0040)
 
#define MC_MPEG4_SIMPLE_FBA   (0x0080)
 
#define MC_MPEG4_BASIC_ANIMATED   (0x0100)
 
#define MC_MPEG4_HYBRID   (0x0200)
 
#define MC_MPEG4_ADV_REALTIME   (0x0400)
 
#define MC_MPEG4_CORE_SCALEABLE   (0x0800)
 
#define MC_MPEG4_ADV_CODING   (0x1000)
 
#define MC_MPEG4_ADV_CORE   (0x2000)
 
#define MC_MPEG4_ADV_SCALEABLE   (0x4000)
 
#define MC_MPEG4_ADV_SIMPLE   (0x8000)
 
#define MC_H264_BASELINE   (0x00001)
 
#define MC_H264_MAIN   (0x00002)
 
#define MC_H264_EXTENDED   (0x00004)
 
#define MC_H264_HIGH   (0x00008)
 
#define MC_H264_HIGH10   (0x00010)
 
#define MC_H264_HIGH422   (0x00020)
 
#define MC_H264_HIGH444   (0x00040)
 
#define MC_H264_CONST_BASELINE   (0x10000)
 
#define MC_H264_CONST_HIGH   (0x80000)
 
#define MC_HEVC_MAIN   (0x0001)
 
#define MC_HEVC_MAIN10   (0x0002)
 
#define MC_HEVC_MAIN_STILL   (0x0004)
 
#define MC_HEVC_MAIN10HDR10   (0x1000)
 
#define MC_HEVC_MMAIN10HDR10PLUS   (0x2000)
 
#define MC_VP8_MAIN   (0x0001)
 
#define MC_VP9_0   (0x0001)
 
#define MC_VP9_1   (0x0002)
 
#define MC_VP9_2   (0x0004)
 
#define MC_VP9_3   (0x0008)
 
#define MC_VP9_2HDR   (0x1000)
 
#define MC_VP9_3HDR   (0x2000)
 
#define MC_VP9_2HDRPLUS   (0x4000)
 
#define MC_VP9_3HDRPLUS   (0x8000)
 

Functions

MythCodecContext::CodecProfile MediaCodecToMythProfile (int Codec, int Profile)
 

Macro Definition Documentation

◆ QAndroidJniEnvironment

#define QAndroidJniEnvironment   QJniEnvironment

Definition at line 10 of file mythmediacodeccontext.cpp.

◆ QAndroidJniObject

#define QAndroidJniObject   QJniObject

Definition at line 11 of file mythmediacodeccontext.cpp.

◆ LOC

#define LOC   QString("MediaCodec: ")

Definition at line 32 of file mythmediacodeccontext.cpp.

◆ MC_MPEG2_SIMPLE

#define MC_MPEG2_SIMPLE   (0x0)

Definition at line 35 of file mythmediacodeccontext.cpp.

◆ MC_MPEG2_MAIN

#define MC_MPEG2_MAIN   (0x1)

Definition at line 36 of file mythmediacodeccontext.cpp.

◆ MC_MPEG2_422

#define MC_MPEG2_422   (0x2)

Definition at line 37 of file mythmediacodeccontext.cpp.

◆ MC_MPEG2_SNR

#define MC_MPEG2_SNR   (0x3)

Definition at line 38 of file mythmediacodeccontext.cpp.

◆ MC_MPEG2_SPATIAL

#define MC_MPEG2_SPATIAL   (0x4)

Definition at line 39 of file mythmediacodeccontext.cpp.

◆ MC_MPEG2_HIGH

#define MC_MPEG2_HIGH   (0x5)

Definition at line 40 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_SIMPLE

#define MC_MPEG4_SIMPLE   (0x0001)

Definition at line 41 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_SIMPLE_SCALEABLE

#define MC_MPEG4_SIMPLE_SCALEABLE   (0x0002)

Definition at line 42 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_CORE

#define MC_MPEG4_CORE   (0x0004)

Definition at line 43 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_MAIN

#define MC_MPEG4_MAIN   (0x0008)

Definition at line 44 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_NBIT

#define MC_MPEG4_NBIT   (0x0010)

Definition at line 45 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_SCALEABLE_TEX

#define MC_MPEG4_SCALEABLE_TEX   (0x0020)

Definition at line 46 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_SIMPLE_FACE

#define MC_MPEG4_SIMPLE_FACE   (0x0040)

Definition at line 47 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_SIMPLE_FBA

#define MC_MPEG4_SIMPLE_FBA   (0x0080)

Definition at line 48 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_BASIC_ANIMATED

#define MC_MPEG4_BASIC_ANIMATED   (0x0100)

Definition at line 49 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_HYBRID

#define MC_MPEG4_HYBRID   (0x0200)

Definition at line 50 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_ADV_REALTIME

#define MC_MPEG4_ADV_REALTIME   (0x0400)

Definition at line 51 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_CORE_SCALEABLE

#define MC_MPEG4_CORE_SCALEABLE   (0x0800)

Definition at line 52 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_ADV_CODING

#define MC_MPEG4_ADV_CODING   (0x1000)

Definition at line 53 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_ADV_CORE

#define MC_MPEG4_ADV_CORE   (0x2000)

Definition at line 54 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_ADV_SCALEABLE

#define MC_MPEG4_ADV_SCALEABLE   (0x4000)

Definition at line 55 of file mythmediacodeccontext.cpp.

◆ MC_MPEG4_ADV_SIMPLE

#define MC_MPEG4_ADV_SIMPLE   (0x8000)

Definition at line 56 of file mythmediacodeccontext.cpp.

◆ MC_H264_BASELINE

#define MC_H264_BASELINE   (0x00001)

Definition at line 57 of file mythmediacodeccontext.cpp.

◆ MC_H264_MAIN

#define MC_H264_MAIN   (0x00002)

Definition at line 58 of file mythmediacodeccontext.cpp.

◆ MC_H264_EXTENDED

#define MC_H264_EXTENDED   (0x00004)

Definition at line 59 of file mythmediacodeccontext.cpp.

◆ MC_H264_HIGH

#define MC_H264_HIGH   (0x00008)

Definition at line 60 of file mythmediacodeccontext.cpp.

◆ MC_H264_HIGH10

#define MC_H264_HIGH10   (0x00010)

Definition at line 61 of file mythmediacodeccontext.cpp.

◆ MC_H264_HIGH422

#define MC_H264_HIGH422   (0x00020)

Definition at line 62 of file mythmediacodeccontext.cpp.

◆ MC_H264_HIGH444

#define MC_H264_HIGH444   (0x00040)

Definition at line 63 of file mythmediacodeccontext.cpp.

◆ MC_H264_CONST_BASELINE

#define MC_H264_CONST_BASELINE   (0x10000)

Definition at line 64 of file mythmediacodeccontext.cpp.

◆ MC_H264_CONST_HIGH

#define MC_H264_CONST_HIGH   (0x80000)

Definition at line 65 of file mythmediacodeccontext.cpp.

◆ MC_HEVC_MAIN

#define MC_HEVC_MAIN   (0x0001)

Definition at line 66 of file mythmediacodeccontext.cpp.

◆ MC_HEVC_MAIN10

#define MC_HEVC_MAIN10   (0x0002)

Definition at line 67 of file mythmediacodeccontext.cpp.

◆ MC_HEVC_MAIN_STILL

#define MC_HEVC_MAIN_STILL   (0x0004)

Definition at line 68 of file mythmediacodeccontext.cpp.

◆ MC_HEVC_MAIN10HDR10

#define MC_HEVC_MAIN10HDR10   (0x1000)

Definition at line 69 of file mythmediacodeccontext.cpp.

◆ MC_HEVC_MMAIN10HDR10PLUS

#define MC_HEVC_MMAIN10HDR10PLUS   (0x2000)

Definition at line 70 of file mythmediacodeccontext.cpp.

◆ MC_VP8_MAIN

#define MC_VP8_MAIN   (0x0001)

Definition at line 71 of file mythmediacodeccontext.cpp.

◆ MC_VP9_0

#define MC_VP9_0   (0x0001)

Definition at line 72 of file mythmediacodeccontext.cpp.

◆ MC_VP9_1

#define MC_VP9_1   (0x0002)

Definition at line 73 of file mythmediacodeccontext.cpp.

◆ MC_VP9_2

#define MC_VP9_2   (0x0004)

Definition at line 74 of file mythmediacodeccontext.cpp.

◆ MC_VP9_3

#define MC_VP9_3   (0x0008)

Definition at line 75 of file mythmediacodeccontext.cpp.

◆ MC_VP9_2HDR

#define MC_VP9_2HDR   (0x1000)

Definition at line 76 of file mythmediacodeccontext.cpp.

◆ MC_VP9_3HDR

#define MC_VP9_3HDR   (0x2000)

Definition at line 77 of file mythmediacodeccontext.cpp.

◆ MC_VP9_2HDRPLUS

#define MC_VP9_2HDRPLUS   (0x4000)

Definition at line 78 of file mythmediacodeccontext.cpp.

◆ MC_VP9_3HDRPLUS

#define MC_VP9_3HDRPLUS   (0x8000)

Definition at line 79 of file mythmediacodeccontext.cpp.

Function Documentation

◆ MediaCodecToMythProfile()

MythCodecContext::CodecProfile MediaCodecToMythProfile ( int  Codec,
int  Profile 
)
inline

Definition at line 81 of file mythmediacodeccontext.cpp.

Referenced by MythMediaCodecContext::GetProfiles().