MythTV  master
mythcodecid.h
Go to the documentation of this file.
1 #ifndef MYTH_CODEC_ID_H
2 #define MYTH_CODEC_ID_H
3 
4 #include <QString>
5 extern "C"
6 {
7 #include "libavcodec/avcodec.h"
8 }
9 
11 {
12 // if you add anything to this list please update
13 // myth2av_codecid and get_encoding_type
15 
17 
20 
32 
34 
36 
48 
50 
52 
64 
66 
68 
80 
82 
84 
96 
98 
100 
112 
114 
116 
128 
130 
132 
144 
146 
148 
160 
162 
164 
176 
178 
180 
192 
194 
196 
208 
210 
212 
224 
226 
228 
240 
242 
244 
256 
258 
260 
272 
274 
276 
288 
290 };
291 
292 // MythCodecID convenience functions
293 #define codec_is_std(id) ((id) < kCodec_NORMAL_END)
294 #define codec_is_std_mpeg(id) ((id) == kCodec_MPEG1 || (id) == kCodec_MPEG2)
295 
296 #define codec_is_drmprime(id) (((id) > kCodec_DRMPRIME_BEGIN) && \
297  ((id) < kCodec_DRMPRIME_END))
298 #define codec_is_vdpau(id) (((id) > kCodec_VDPAU_BEGIN) && \
299  ((id) < kCodec_VDPAU_END))
300 #define codec_is_vdpau_hw(id) ((codec_is_vdpau(id) && \
301  ((id) != kCodec_H263_VDPAU) && \
302  ((id) != kCodec_VP8_VDPAU) && \
303  ((id) != kCodec_VP9_VDPAU)))
304 #define codec_is_vdpau_dec(id)(((id) > kCodec_VDPAU_DEC_BEGIN) && \
305  ((id) < kCodec_VDPAU_DEC_END))
306 #define codec_is_vdpau_dechw(id) ((codec_is_vdpau_dec(id) && \
307  ((id) != kCodec_H263_VDPAU_DEC) && \
308  ((id) != kCodec_VP8_VDPAU_DEC) && \
309  ((id) != kCodec_VP9_VDPAU)))
310 
311 #define codec_is_vaapi(id) (((id) > kCodec_VAAPI_BEGIN) && \
312  ((id) < kCodec_VAAPI_END))
313 #define codec_is_vaapi_dec(id)(((id) > kCodec_VAAPI_DEC_BEGIN) && \
314  ((id) < kCodec_VAAPI_DEC_END))
315 
316 #define codec_is_dxva2(id) (((id) > kCodec_DXVA2_BEGIN) && \
317  ((id) < kCodec_DXVA2_END))
318 #define codec_is_dxva2_hw(id) (codec_is_dxva2(id) && \
319  (((id) == kCodec_H264_DXVA2) || \
320  ((id) == kCodec_MPEG2_DXVA2) || \
321  ((id) == kCodec_VC1_DXVA2)))
322 
323 #define codec_is_mediacodec(id)(((id) > kCodec_MEDIACODEC_BEGIN) && \
324  ((id) < kCodec_MEDIACODEC_END))
325 #define codec_is_mediacodec_dec(id) (((id) > kCodec_MEDIACODEC_DEC_BEGIN) && \
326  ((id) < kCodec_MEDIACODEC_DEC_END))
327 
328 #define codec_is_nvdec(id) (((id) > kCodec_NVDEC_BEGIN) && \
329  ((id) < kCodec_NVDEC_END))
330 #define codec_is_nvdec_dec(id)(((id) > kCodec_NVDEC_DEC_BEGIN) && \
331  ((id) < kCodec_NVDEC_DEC_END))
332 
333 #define codec_is_vtb(id) (((id) > kCodec_VTB_BEGIN) && \
334  ((id) < kCodec_VTB_END))
335 #define codec_is_vtb_dec(id) (((id) > kCodec_VTB_DEC_BEGIN) && \
336  ((id) < kCodec_VTB_DEC_END))
337 
338 #define codec_is_v4l2(id) (((id) > kCodec_V4L2_BEGIN) && ((id) < kCodec_V4L2_END))
339 #define codec_is_v4l2_dec(id) (((id) > kCodec_V4L2_DEC_BEGIN) && ((id) < kCodec_V4L2_DEC_END))
340 
341 #define codec_is_mmal(id) (((id) > kCodec_MMAL_BEGIN) && ((id) < kCodec_MMAL_END))
342 #define codec_is_mmal_dec(id) (((id) > kCodec_MMAL_DEC_BEGIN) && ((id) < kCodec_MMAL_DEC_END))
343 
344 #define codec_is_copyback(id) (codec_is_mediacodec_dec(id) || \
345  codec_is_vaapi_dec(id) || codec_is_nvdec_dec(id) || \
346  codec_is_vtb_dec(id) || codec_is_vdpau_dec(id) || \
347  codec_is_v4l2_dec(id) || codec_is_mmal_dec(id))
348 
349 #define codec_sw_copy(id) (codec_is_std(id) || codec_is_copyback(id))
350 
351 QString get_encoding_type(MythCodecID codecid);
352 QString get_decoder_name(MythCodecID codec_id);
353 QString toString(MythCodecID codecid);
354 AVCodecID myth2av_codecid(MythCodecID codec_id);
355 
356 // AV codec id convenience functions
357 uint mpeg_version(int codec_id);
358 #define CODEC_IS_H264(id) (mpeg_version(id) == 5)
359 #define CODEC_IS_MPEG(id) (mpeg_version(id) && mpeg_version(id) <= 2)
360 #define CODEC_IS_FFMPEG_MPEG(id) (CODEC_IS_MPEG(id))
361 #ifdef USING_VDPAU
362 #define CODEC_IS_VDPAU(codec, enc) ((codec) && ((enc)->pix_fmt == AV_PIX_FMT_VDPAU))
363 #else
364 #define CODEC_IS_VDPAU(codec) (0)
365 #endif
366 
367 #ifdef USING_VAAPI
368 #define CODEC_IS_VAAPI(codec, enc) ((codec) && ((enc)->pix_fmt == AV_PIX_FMT_VAAPI))
369 #else
370 #define CODEC_IS_VAAPI(codec, enc) (0)
371 #endif
372 
373 #ifdef USING_DXVA2
374 #define CODEC_IS_DXVA2(codec, enc) (codec && (enc->pix_fmt == AV_PIX_FMT_DXVA2_VLD))
375 #else
376 #define CODEC_IS_DXVA2(codec, enc) (0)
377 #endif
378 
379 #ifdef USING_MEDIACODEC
380 #define CODEC_IS_MEDIACODEC(codec) (codec && (QString("mediacodec") == codec->wrapper_name))
381 #else
382 #define CODEC_IS_MEDIACODEC(codec) (0)
383 #endif
384 
385 #endif // MYTH_CODEC_ID_H
kCodec_MPEG4_DXVA2
@ kCodec_MPEG4_DXVA2
Definition: mythcodecid.h:104
kCodec_VC1_NVDEC
@ kCodec_VC1_NVDEC
Definition: mythcodecid.h:154
kCodec_MPEG1_DRMPRIME
@ kCodec_MPEG1_DRMPRIME
Definition: mythcodecid.h:277
kCodec_AV1_MEDIACODEC_DEC
@ kCodec_AV1_MEDIACODEC_DEC
Definition: mythcodecid.h:143
kCodec_VP8_VDPAU
@ kCodec_VP8_VDPAU
Definition: mythcodecid.h:44
kCodec_VTB_DEC_END
@ kCodec_VTB_DEC_END
Definition: mythcodecid.h:209
kCodec_MPEG4_NVDEC_DEC
@ kCodec_MPEG4_NVDEC_DEC
Definition: mythcodecid.h:168
kCodec_H264_V4L2
@ kCodec_H264_V4L2
Definition: mythcodecid.h:217
kCodec_VC1_VDPAU_DEC
@ kCodec_VC1_VDPAU_DEC
Definition: mythcodecid.h:58
kCodec_VP9_NVDEC_DEC
@ kCodec_VP9_NVDEC_DEC
Definition: mythcodecid.h:173
kCodec_MPEG2_VTB
@ kCodec_MPEG2_VTB
Definition: mythcodecid.h:182
kCodec_WMV3_V4L2_DEC
@ kCodec_WMV3_V4L2_DEC
Definition: mythcodecid.h:235
kCodec_WMV3_MEDIACODEC_DEC
@ kCodec_WMV3_MEDIACODEC_DEC
Definition: mythcodecid.h:139
kCodec_H263
@ kCodec_H263
Definition: mythcodecid.h:23
kCodec_MPEG4_VAAPI
@ kCodec_MPEG4_VAAPI
Definition: mythcodecid.h:72
kCodec_V4L2_BEGIN
@ kCodec_V4L2_BEGIN
Definition: mythcodecid.h:211
kCodec_VP9_VTB
@ kCodec_VP9_VTB
Definition: mythcodecid.h:189
kCodec_WMV3_MMAL
@ kCodec_WMV3_MMAL
Definition: mythcodecid.h:251
kCodec_VP8_VTB
@ kCodec_VP8_VTB
Definition: mythcodecid.h:188
kCodec_AV1_MEDIACODEC
@ kCodec_AV1_MEDIACODEC
Definition: mythcodecid.h:127
myth2av_codecid
AVCodecID myth2av_codecid(MythCodecID codec_id)
Definition: mythcodecid.cpp:228
kCodec_H263_V4L2_DEC
@ kCodec_H263_V4L2_DEC
Definition: mythcodecid.h:231
kCodec_HEVC_DXVA2
@ kCodec_HEVC_DXVA2
Definition: mythcodecid.h:110
kCodec_H263_MMAL
@ kCodec_H263_MMAL
Definition: mythcodecid.h:247
kCodec_VC1_V4L2
@ kCodec_VC1_V4L2
Definition: mythcodecid.h:218
kCodec_H263_MEDIACODEC_DEC
@ kCodec_H263_MEDIACODEC_DEC
Definition: mythcodecid.h:135
kCodec_MPEG2_MMAL
@ kCodec_MPEG2_MMAL
Definition: mythcodecid.h:246
kCodec_VP8_MMAL
@ kCodec_VP8_MMAL
Definition: mythcodecid.h:252
kCodec_NONE
@ kCodec_NONE
Definition: mythcodecid.h:14
kCodec_H263_VDPAU
@ kCodec_H263_VDPAU
Definition: mythcodecid.h:39
kCodec_MPEG2_MEDIACODEC
@ kCodec_MPEG2_MEDIACODEC
Definition: mythcodecid.h:118
kCodec_VP8_NVDEC_DEC
@ kCodec_VP8_NVDEC_DEC
Definition: mythcodecid.h:172
kCodec_MPEG1_MEDIACODEC_DEC
@ kCodec_MPEG1_MEDIACODEC_DEC
Definition: mythcodecid.h:133
kCodec_VC1_VDPAU
@ kCodec_VC1_VDPAU
Definition: mythcodecid.h:42
kCodec_H264
@ kCodec_H264
Definition: mythcodecid.h:25
kCodec_HEVC_V4L2_DEC
@ kCodec_HEVC_V4L2_DEC
Definition: mythcodecid.h:238
kCodec_VC1_MMAL_DEC
@ kCodec_VC1_MMAL_DEC
Definition: mythcodecid.h:266
kCodec_VAAPI_BEGIN
@ kCodec_VAAPI_BEGIN
Definition: mythcodecid.h:67
kCodec_WMV3_VTB
@ kCodec_WMV3_VTB
Definition: mythcodecid.h:187
kCodec_H263_MEDIACODEC
@ kCodec_H263_MEDIACODEC
Definition: mythcodecid.h:119
kCodec_H263_DXVA2
@ kCodec_H263_DXVA2
Definition: mythcodecid.h:103
kCodec_VC1_DXVA2
@ kCodec_VC1_DXVA2
Definition: mythcodecid.h:106
kCodec_H264_V4L2_DEC
@ kCodec_H264_V4L2_DEC
Definition: mythcodecid.h:233
kCodec_MPEG4_VDPAU_DEC
@ kCodec_MPEG4_VDPAU_DEC
Definition: mythcodecid.h:56
kCodec_MPEG4_MEDIACODEC_DEC
@ kCodec_MPEG4_MEDIACODEC_DEC
Definition: mythcodecid.h:136
kCodec_MPEG1_NVDEC_DEC
@ kCodec_MPEG1_NVDEC_DEC
Definition: mythcodecid.h:165
kCodec_WMV3_VAAPI_DEC
@ kCodec_WMV3_VAAPI_DEC
Definition: mythcodecid.h:91
kCodec_VC1_MMAL
@ kCodec_VC1_MMAL
Definition: mythcodecid.h:250
kCodec_VTB_BEGIN
@ kCodec_VTB_BEGIN
Definition: mythcodecid.h:179
kCodec_MPEG4_MMAL
@ kCodec_MPEG4_MMAL
Definition: mythcodecid.h:248
kCodec_VP8_MMAL_DEC
@ kCodec_VP8_MMAL_DEC
Definition: mythcodecid.h:268
kCodec_VP9_V4L2
@ kCodec_VP9_V4L2
Definition: mythcodecid.h:221
kCodec_HEVC_VTB
@ kCodec_HEVC_VTB
Definition: mythcodecid.h:190
kCodec_VP8_NVDEC
@ kCodec_VP8_NVDEC
Definition: mythcodecid.h:156
kCodec_HEVC_VAAPI_DEC
@ kCodec_HEVC_VAAPI_DEC
Definition: mythcodecid.h:94
kCodec_H264_VTB
@ kCodec_H264_VTB
Definition: mythcodecid.h:185
kCodec_H264_MEDIACODEC
@ kCodec_H264_MEDIACODEC
Definition: mythcodecid.h:121
kCodec_NVDEC_DEC_BEGIN
@ kCodec_NVDEC_DEC_BEGIN
Definition: mythcodecid.h:163
kCodec_NORMAL_END
@ kCodec_NORMAL_END
Definition: mythcodecid.h:33
kCodec_WMV3
@ kCodec_WMV3
Definition: mythcodecid.h:27
kCodec_AV1_V4L2_DEC
@ kCodec_AV1_V4L2_DEC
Definition: mythcodecid.h:239
kCodec_MPEG2_VDPAU
@ kCodec_MPEG2_VDPAU
Definition: mythcodecid.h:38
kCodec_VP9_VAAPI_DEC
@ kCodec_VP9_VAAPI_DEC
Definition: mythcodecid.h:93
kCodec_VP8_VDPAU_DEC
@ kCodec_VP8_VDPAU_DEC
Definition: mythcodecid.h:60
kCodec_VAAPI_DEC_END
@ kCodec_VAAPI_DEC_END
Definition: mythcodecid.h:97
kCodec_MPEG1_MMAL
@ kCodec_MPEG1_MMAL
Definition: mythcodecid.h:245
kCodec_NVDEC_BEGIN
@ kCodec_NVDEC_BEGIN
Definition: mythcodecid.h:147
kCodec_MPEG4_V4L2_DEC
@ kCodec_MPEG4_V4L2_DEC
Definition: mythcodecid.h:232
kCodec_WMV3_VDPAU
@ kCodec_WMV3_VDPAU
Definition: mythcodecid.h:43
kCodec_MPEG1_VDPAU_DEC
@ kCodec_MPEG1_VDPAU_DEC
Definition: mythcodecid.h:53
kCodec_HEVC_NVDEC
@ kCodec_HEVC_NVDEC
Definition: mythcodecid.h:158
kCodec_MPEG2_VAAPI_DEC
@ kCodec_MPEG2_VAAPI_DEC
Definition: mythcodecid.h:86
kCodec_NUV_MPEG4
@ kCodec_NUV_MPEG4
Definition: mythcodecid.h:19
kCodec_HEVC_VDPAU
@ kCodec_HEVC_VDPAU
Definition: mythcodecid.h:46
kCodec_VDPAU_BEGIN
@ kCodec_VDPAU_BEGIN
Definition: mythcodecid.h:35
kCodec_VP9_MMAL_DEC
@ kCodec_VP9_MMAL_DEC
Definition: mythcodecid.h:269
kCodec_AV1_NVDEC_DEC
@ kCodec_AV1_NVDEC_DEC
Definition: mythcodecid.h:175
kCodec_MPEG1_VAAPI
@ kCodec_MPEG1_VAAPI
Definition: mythcodecid.h:69
kCodec_H263_VAAPI_DEC
@ kCodec_H263_VAAPI_DEC
Definition: mythcodecid.h:87
kCodec_NVDEC_END
@ kCodec_NVDEC_END
Definition: mythcodecid.h:161
kCodec_HEVC_DRMPRIME
@ kCodec_HEVC_DRMPRIME
Definition: mythcodecid.h:286
kCodec_VC1_VAAPI
@ kCodec_VC1_VAAPI
Definition: mythcodecid.h:74
kCodec_VC1_MEDIACODEC_DEC
@ kCodec_VC1_MEDIACODEC_DEC
Definition: mythcodecid.h:138
kCodec_MMAL_BEGIN
@ kCodec_MMAL_BEGIN
Definition: mythcodecid.h:243
MythCodecID
MythCodecID
Definition: mythcodecid.h:11
kCodec_MPEG1_DXVA2
@ kCodec_MPEG1_DXVA2
Definition: mythcodecid.h:101
kCodec_VC1_VTB
@ kCodec_VC1_VTB
Definition: mythcodecid.h:186
kCodec_MPEG4_VTB_DEC
@ kCodec_MPEG4_VTB_DEC
Definition: mythcodecid.h:200
kCodec_HEVC_MEDIACODEC_DEC
@ kCodec_HEVC_MEDIACODEC_DEC
Definition: mythcodecid.h:142
kCodec_H263_MMAL_DEC
@ kCodec_H263_MMAL_DEC
Definition: mythcodecid.h:263
kCodec_WMV3_V4L2
@ kCodec_WMV3_V4L2
Definition: mythcodecid.h:219
kCodec_AV1_VAAPI
@ kCodec_AV1_VAAPI
Definition: mythcodecid.h:79
kCodec_VDPAU_DEC_END
@ kCodec_VDPAU_DEC_END
Definition: mythcodecid.h:65
kCodec_H263_NVDEC
@ kCodec_H263_NVDEC
Definition: mythcodecid.h:151
kCodec_MPEG4_DRMPRIME
@ kCodec_MPEG4_DRMPRIME
Definition: mythcodecid.h:280
kCodec_H264_VDPAU
@ kCodec_H264_VDPAU
Definition: mythcodecid.h:41
kCodec_VAAPI_END
@ kCodec_VAAPI_END
Definition: mythcodecid.h:81
kCodec_VDPAU_END
@ kCodec_VDPAU_END
Definition: mythcodecid.h:49
kCodec_WMV3_VAAPI
@ kCodec_WMV3_VAAPI
Definition: mythcodecid.h:75
kCodec_VP8_MEDIACODEC_DEC
@ kCodec_VP8_MEDIACODEC_DEC
Definition: mythcodecid.h:140
kCodec_V4L2_END
@ kCodec_V4L2_END
Definition: mythcodecid.h:225
kCodec_AV1_VTB
@ kCodec_AV1_VTB
Definition: mythcodecid.h:191
kCodec_MPEG4_VAAPI_DEC
@ kCodec_MPEG4_VAAPI_DEC
Definition: mythcodecid.h:88
kCodec_VTB_END
@ kCodec_VTB_END
Definition: mythcodecid.h:193
kCodec_WMV3_DRMPRIME
@ kCodec_WMV3_DRMPRIME
Definition: mythcodecid.h:283
kCodec_VP9_VTB_DEC
@ kCodec_VP9_VTB_DEC
Definition: mythcodecid.h:205
kCodec_VP9_MEDIACODEC_DEC
@ kCodec_VP9_MEDIACODEC_DEC
Definition: mythcodecid.h:141
kCodec_MPEG2_MEDIACODEC_DEC
@ kCodec_MPEG2_MEDIACODEC_DEC
Definition: mythcodecid.h:134
get_decoder_name
QString get_decoder_name(MythCodecID codec_id)
Definition: mythcodecid.cpp:714
kCodec_VP8
@ kCodec_VP8
Definition: mythcodecid.h:28
kCodec_MPEG2_MMAL_DEC
@ kCodec_MPEG2_MMAL_DEC
Definition: mythcodecid.h:262
kCodec_MMAL_DEC_END
@ kCodec_MMAL_DEC_END
Definition: mythcodecid.h:273
kCodec_AV1_VDPAU
@ kCodec_AV1_VDPAU
Definition: mythcodecid.h:47
kCodec_MPEG1
@ kCodec_MPEG1
Definition: mythcodecid.h:21
kCodec_VTB_DEC_BEGIN
@ kCodec_VTB_DEC_BEGIN
Definition: mythcodecid.h:195
mpeg_version
uint mpeg_version(int codec_id)
Definition: mythcodecid.cpp:455
kCodec_MPEG1_NVDEC
@ kCodec_MPEG1_NVDEC
Definition: mythcodecid.h:149
kCodec_H263_VAAPI
@ kCodec_H263_VAAPI
Definition: mythcodecid.h:71
kCodec_WMV3_NVDEC_DEC
@ kCodec_WMV3_NVDEC_DEC
Definition: mythcodecid.h:171
kCodec_NUV_RTjpeg
@ kCodec_NUV_RTjpeg
Definition: mythcodecid.h:18
kCodec_MPEG1_MEDIACODEC
@ kCodec_MPEG1_MEDIACODEC
Definition: mythcodecid.h:117
kCodec_H264_VTB_DEC
@ kCodec_H264_VTB_DEC
Definition: mythcodecid.h:201
kCodec_H263_DRMPRIME
@ kCodec_H263_DRMPRIME
Definition: mythcodecid.h:279
kCodec_VAAPI_DEC_BEGIN
@ kCodec_VAAPI_DEC_BEGIN
Definition: mythcodecid.h:83
kCodec_AV1_VDPAU_DEC
@ kCodec_AV1_VDPAU_DEC
Definition: mythcodecid.h:63
kCodec_H263_V4L2
@ kCodec_H263_V4L2
Definition: mythcodecid.h:215
kCodec_VP9_VAAPI
@ kCodec_VP9_VAAPI
Definition: mythcodecid.h:77
kCodec_MPEG4_VDPAU
@ kCodec_MPEG4_VDPAU
Definition: mythcodecid.h:40
kCodec_H264_VAAPI_DEC
@ kCodec_H264_VAAPI_DEC
Definition: mythcodecid.h:89
kCodec_AV1_V4L2
@ kCodec_AV1_V4L2
Definition: mythcodecid.h:223
kCodec_AV1_MMAL_DEC
@ kCodec_AV1_MMAL_DEC
Definition: mythcodecid.h:271
kCodec_MEDIACODEC_BEGIN
@ kCodec_MEDIACODEC_BEGIN
Definition: mythcodecid.h:115
kCodec_AV1_VTB_DEC
@ kCodec_AV1_VTB_DEC
Definition: mythcodecid.h:207
uint
unsigned int uint
Definition: compat.h:140
kCodec_VP8_VAAPI_DEC
@ kCodec_VP8_VAAPI_DEC
Definition: mythcodecid.h:92
kCodec_AV1_DXVA2
@ kCodec_AV1_DXVA2
Definition: mythcodecid.h:111
kCodec_VC1_V4L2_DEC
@ kCodec_VC1_V4L2_DEC
Definition: mythcodecid.h:234
kCodec_DXVA2_BEGIN
@ kCodec_DXVA2_BEGIN
Definition: mythcodecid.h:99
kCodec_H264_NVDEC
@ kCodec_H264_NVDEC
Definition: mythcodecid.h:153
kCodec_MPEG2_V4L2
@ kCodec_MPEG2_V4L2
Definition: mythcodecid.h:214
kCodec_VC1_DRMPRIME
@ kCodec_VC1_DRMPRIME
Definition: mythcodecid.h:282
kCodec_VP9_MMAL
@ kCodec_VP9_MMAL
Definition: mythcodecid.h:253
kCodec_AV1_MMAL
@ kCodec_AV1_MMAL
Definition: mythcodecid.h:255
kCodec_V4L2_DEC_BEGIN
@ kCodec_V4L2_DEC_BEGIN
Definition: mythcodecid.h:227
kCodec_MEDIACODEC_END
@ kCodec_MEDIACODEC_END
Definition: mythcodecid.h:129
kCodec_VDPAU_DEC_BEGIN
@ kCodec_VDPAU_DEC_BEGIN
Definition: mythcodecid.h:51
kCodec_MMAL_DEC_BEGIN
@ kCodec_MMAL_DEC_BEGIN
Definition: mythcodecid.h:259
kCodec_H264_NVDEC_DEC
@ kCodec_H264_NVDEC_DEC
Definition: mythcodecid.h:169
kCodec_H263_VTB
@ kCodec_H263_VTB
Definition: mythcodecid.h:183
kCodec_MPEG4_NVDEC
@ kCodec_MPEG4_NVDEC
Definition: mythcodecid.h:152
kCodec_H264_MEDIACODEC_DEC
@ kCodec_H264_MEDIACODEC_DEC
Definition: mythcodecid.h:137
kCodec_NVDEC_DEC_END
@ kCodec_NVDEC_DEC_END
Definition: mythcodecid.h:177
kCodec_MPEG1_V4L2_DEC
@ kCodec_MPEG1_V4L2_DEC
Definition: mythcodecid.h:229
kCodec_WMV3_VDPAU_DEC
@ kCodec_WMV3_VDPAU_DEC
Definition: mythcodecid.h:59
kCodec_VP8_V4L2_DEC
@ kCodec_VP8_V4L2_DEC
Definition: mythcodecid.h:236
kCodec_MPEG2_V4L2_DEC
@ kCodec_MPEG2_V4L2_DEC
Definition: mythcodecid.h:230
kCodec_MPEG2_VAAPI
@ kCodec_MPEG2_VAAPI
Definition: mythcodecid.h:70
kCodec_H264_DXVA2
@ kCodec_H264_DXVA2
Definition: mythcodecid.h:105
kCodec_VP9_VDPAU_DEC
@ kCodec_VP9_VDPAU_DEC
Definition: mythcodecid.h:61
kCodec_AV1_NVDEC
@ kCodec_AV1_NVDEC
Definition: mythcodecid.h:159
kCodec_MPEG1_V4L2
@ kCodec_MPEG1_V4L2
Definition: mythcodecid.h:213
kCodec_VP9_MEDIACODEC
@ kCodec_VP9_MEDIACODEC
Definition: mythcodecid.h:125
kCodec_MPEG4_MMAL_DEC
@ kCodec_MPEG4_MMAL_DEC
Definition: mythcodecid.h:264
kCodec_MPEG1_VTB_DEC
@ kCodec_MPEG1_VTB_DEC
Definition: mythcodecid.h:197
kCodec_H263_VDPAU_DEC
@ kCodec_H263_VDPAU_DEC
Definition: mythcodecid.h:55
kCodec_VP8_VTB_DEC
@ kCodec_VP8_VTB_DEC
Definition: mythcodecid.h:204
kCodec_VP8_VAAPI
@ kCodec_VP8_VAAPI
Definition: mythcodecid.h:76
kCodec_MEDIACODEC_DEC_BEGIN
@ kCodec_MEDIACODEC_DEC_BEGIN
Definition: mythcodecid.h:131
kCodec_V4L2_DEC_END
@ kCodec_V4L2_DEC_END
Definition: mythcodecid.h:241
kCodec_DXVA2_END
@ kCodec_DXVA2_END
Definition: mythcodecid.h:113
kCodec_H264_VAAPI
@ kCodec_H264_VAAPI
Definition: mythcodecid.h:73
kCodec_HEVC_MMAL
@ kCodec_HEVC_MMAL
Definition: mythcodecid.h:254
kCodec_MPEG1_VTB
@ kCodec_MPEG1_VTB
Definition: mythcodecid.h:181
kCodec_WMV3_DXVA2
@ kCodec_WMV3_DXVA2
Definition: mythcodecid.h:107
kCodec_VP9_DXVA2
@ kCodec_VP9_DXVA2
Definition: mythcodecid.h:109
kCodec_DRMPRIME_BEGIN
@ kCodec_DRMPRIME_BEGIN
Definition: mythcodecid.h:275
kCodec_MPEG2_NVDEC_DEC
@ kCodec_MPEG2_NVDEC_DEC
Definition: mythcodecid.h:166
kCodec_HEVC_MEDIACODEC
@ kCodec_HEVC_MEDIACODEC
Definition: mythcodecid.h:126
kCodec_MPEG4
@ kCodec_MPEG4
Definition: mythcodecid.h:24
kCodec_MPEG2
@ kCodec_MPEG2
Definition: mythcodecid.h:22
kCodec_WMV3_NVDEC
@ kCodec_WMV3_NVDEC
Definition: mythcodecid.h:155
kCodec_H263_NVDEC_DEC
@ kCodec_H263_NVDEC_DEC
Definition: mythcodecid.h:167
kCodec_HEVC_VAAPI
@ kCodec_HEVC_VAAPI
Definition: mythcodecid.h:78
kCodec_HEVC_V4L2
@ kCodec_HEVC_V4L2
Definition: mythcodecid.h:222
kCodec_VP9_V4L2_DEC
@ kCodec_VP9_V4L2_DEC
Definition: mythcodecid.h:237
kCodec_VP9_VDPAU
@ kCodec_VP9_VDPAU
Definition: mythcodecid.h:45
kCodec_WMV3_MEDIACODEC
@ kCodec_WMV3_MEDIACODEC
Definition: mythcodecid.h:123
kCodec_H264_MMAL_DEC
@ kCodec_H264_MMAL_DEC
Definition: mythcodecid.h:265
kCodec_MPEG2_DXVA2
@ kCodec_MPEG2_DXVA2
Definition: mythcodecid.h:102
kCodec_HEVC_MMAL_DEC
@ kCodec_HEVC_MMAL_DEC
Definition: mythcodecid.h:270
toString
QString toString(MythCodecID codecid)
Definition: mythcodecid.cpp:9
kCodec_VP8_MEDIACODEC
@ kCodec_VP8_MEDIACODEC
Definition: mythcodecid.h:124
kCodec_VC1_VAAPI_DEC
@ kCodec_VC1_VAAPI_DEC
Definition: mythcodecid.h:90
kCodec_VP9_NVDEC
@ kCodec_VP9_NVDEC
Definition: mythcodecid.h:157
kCodec_MPEG2_DRMPRIME
@ kCodec_MPEG2_DRMPRIME
Definition: mythcodecid.h:278
kCodec_MEDIACODEC_DEC_END
@ kCodec_MEDIACODEC_DEC_END
Definition: mythcodecid.h:145
kCodec_H263_VTB_DEC
@ kCodec_H263_VTB_DEC
Definition: mythcodecid.h:199
get_encoding_type
QString get_encoding_type(MythCodecID codecid)
Definition: mythcodecid.cpp:475
kCodec_H264_DRMPRIME
@ kCodec_H264_DRMPRIME
Definition: mythcodecid.h:281
kCodec_MPEG4_V4L2
@ kCodec_MPEG4_V4L2
Definition: mythcodecid.h:216
kCodec_VP9
@ kCodec_VP9
Definition: mythcodecid.h:29
kCodec_DRMPRIME_END
@ kCodec_DRMPRIME_END
Definition: mythcodecid.h:289
kCodec_MPEG1_MMAL_DEC
@ kCodec_MPEG1_MMAL_DEC
Definition: mythcodecid.h:261
kCodec_HEVC_NVDEC_DEC
@ kCodec_HEVC_NVDEC_DEC
Definition: mythcodecid.h:174
kCodec_VP8_V4L2
@ kCodec_VP8_V4L2
Definition: mythcodecid.h:220
kCodec_VP8_DRMPRIME
@ kCodec_VP8_DRMPRIME
Definition: mythcodecid.h:284
kCodec_VC1_MEDIACODEC
@ kCodec_VC1_MEDIACODEC
Definition: mythcodecid.h:122
kCodec_NORMAL_BEGIN
@ kCodec_NORMAL_BEGIN
Definition: mythcodecid.h:16
kCodec_H264_VDPAU_DEC
@ kCodec_H264_VDPAU_DEC
Definition: mythcodecid.h:57
kCodec_MPEG4_VTB
@ kCodec_MPEG4_VTB
Definition: mythcodecid.h:184
kCodec_MPEG1_VDPAU
@ kCodec_MPEG1_VDPAU
Definition: mythcodecid.h:37
kCodec_VP8_DXVA2
@ kCodec_VP8_DXVA2
Definition: mythcodecid.h:108
kCodec_VC1_NVDEC_DEC
@ kCodec_VC1_NVDEC_DEC
Definition: mythcodecid.h:170
kCodec_HEVC
@ kCodec_HEVC
Definition: mythcodecid.h:30
kCodec_H264_MMAL
@ kCodec_H264_MMAL
Definition: mythcodecid.h:249
kCodec_WMV3_MMAL_DEC
@ kCodec_WMV3_MMAL_DEC
Definition: mythcodecid.h:267
kCodec_AV1_DRMPRIME
@ kCodec_AV1_DRMPRIME
Definition: mythcodecid.h:287
kCodec_MPEG2_NVDEC
@ kCodec_MPEG2_NVDEC
Definition: mythcodecid.h:150
kCodec_MPEG4_MEDIACODEC
@ kCodec_MPEG4_MEDIACODEC
Definition: mythcodecid.h:120
kCodec_AV1_VAAPI_DEC
@ kCodec_AV1_VAAPI_DEC
Definition: mythcodecid.h:95
kCodec_VP9_DRMPRIME
@ kCodec_VP9_DRMPRIME
Definition: mythcodecid.h:285
kCodec_AV1
@ kCodec_AV1
Definition: mythcodecid.h:31
kCodec_HEVC_VTB_DEC
@ kCodec_HEVC_VTB_DEC
Definition: mythcodecid.h:206
kCodec_VC1
@ kCodec_VC1
Definition: mythcodecid.h:26
kCodec_VC1_VTB_DEC
@ kCodec_VC1_VTB_DEC
Definition: mythcodecid.h:202
kCodec_WMV3_VTB_DEC
@ kCodec_WMV3_VTB_DEC
Definition: mythcodecid.h:203
kCodec_MPEG2_VDPAU_DEC
@ kCodec_MPEG2_VDPAU_DEC
Definition: mythcodecid.h:54
kCodec_HEVC_VDPAU_DEC
@ kCodec_HEVC_VDPAU_DEC
Definition: mythcodecid.h:62
kCodec_MPEG2_VTB_DEC
@ kCodec_MPEG2_VTB_DEC
Definition: mythcodecid.h:198
kCodec_MMAL_END
@ kCodec_MMAL_END
Definition: mythcodecid.h:257
kCodec_MPEG1_VAAPI_DEC
@ kCodec_MPEG1_VAAPI_DEC
Definition: mythcodecid.h:85