RTS API Documentation  1.10.11
Macros | Typedefs
switch_vpx.h File Reference

vpx resources More...

#include <switch.h>
#include <switch_image.h>
+ Include dependency graph for switch_vpx.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SWITCH_IMG_FMT_PLANAR   VPX_IMG_FMT_PLANAR
 
#define SWITCH_IMG_FMT_UV_FLIP   VPX_IMG_FMT_UV_FLIP
 
#define SWITCH_IMG_FMT_HAS_ALPHA   VPX_IMG_FMT_HAS_ALPHA
 
#define SWITCH_PLANE_PACKED   VPX_PLANE_PACKED
 
#define SWITCH_PLANE_Y   VPX_PLANE_Y
 
#define SWITCH_PLANE_U   VPX_PLANE_U
 
#define SWITCH_PLANE_V   VPX_PLANE_V
 
#define SWITCH_PLANE_ALPHA   VPX_PLANE_ALPHA
 
#define VPX_IMG_FMT_HIGH   0x800
 
#define SWITCH_IMG_FMT_NONE   VPX_IMG_FMT_NONE
 
#define SWITCH_IMG_FMT_RGB24   VPX_IMG_FMT_RGB24
 
#define SWITCH_IMG_FMT_RGB32   VPX_IMG_FMT_RGB32
 
#define SWITCH_IMG_FMT_RGB565   VPX_IMG_FMT_RGB565
 
#define SWITCH_IMG_FMT_RGB555   VPX_IMG_FMT_RGB555
 
#define SWITCH_IMG_FMT_UYVY   VPX_IMG_FMT_UYVY
 
#define SWITCH_IMG_FMT_YUY2   VPX_IMG_FMT_YUY2
 
#define SWITCH_IMG_FMT_YVYU   VPX_IMG_FMT_YVYU
 
#define SWITCH_IMG_FMT_BGR24   VPX_IMG_FMT_BGR24
 
#define SWITCH_IMG_FMT_RGB32_LE   VPX_IMG_FMT_RGB32_LE
 
#define SWITCH_IMG_FMT_ARGB   VPX_IMG_FMT_ARGB
 
#define SWITCH_IMG_FMT_ARGB_LE   VPX_IMG_FMT_ARGB_LE
 
#define SWITCH_IMG_FMT_RGB565_LE   VPX_IMG_FMT_RGB565_LE
 
#define SWITCH_IMG_FMT_RGB555_LE   VPX_IMG_FMT_RGB555_LE
 
#define SWITCH_IMG_FMT_YV12   VPX_IMG_FMT_YV12
 
#define SWITCH_IMG_FMT_I420   VPX_IMG_FMT_I420
 
#define SWITCH_IMG_FMT_VPXYV12   VPX_IMG_FMT_VPXYV12
 
#define SWITCH_IMG_FMT_VPXI420   VPX_IMG_FMT_VPXI420
 
#define SWITCH_IMG_FMT_I422   VPX_IMG_FMT_I422
 
#define SWITCH_IMG_FMT_I444   VPX_IMG_FMT_I444
 
#define SWITCH_IMG_FMT_I440   VPX_IMG_FMT_I440
 
#define SWITCH_IMG_FMT_444A   VPX_IMG_FMT_444A
 
#define SWITCH_IMG_FMT_I42016   VPX_IMG_FMT_I42016
 
#define SWITCH_IMG_FMT_I42216   VPX_IMG_FMT_I42216
 
#define SWITCH_IMG_FMT_I44416   VPX_IMG_FMT_I44416
 
#define SWITCH_IMG_FMT_I44016   VPX_IMG_FMT_I44016
 
#define SWITCH_IMG_FMT_GD   VPX_IMG_FMT_NONE
 

Typedefs

typedef vpx_img_fmt_t switch_img_fmt_t
 
typedef vpx_image_t switch_image_t
 

Detailed Description

vpx resources

The things powered by libvpx are renamed into the switch_ namespace to provide a cleaner look to things and helps me to document what parts of video I am using I'd like to take this opportunity to thank libvpx for all the awesome stuff it does and for making my life much easier.

Definition in file switch_vpx.h.

Macro Definition Documentation

◆ SWITCH_IMG_FMT_444A

#define SWITCH_IMG_FMT_444A   VPX_IMG_FMT_444A

Definition at line 83 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_ARGB

#define SWITCH_IMG_FMT_ARGB   VPX_IMG_FMT_ARGB

◆ SWITCH_IMG_FMT_ARGB_LE

#define SWITCH_IMG_FMT_ARGB_LE   VPX_IMG_FMT_ARGB_LE

Definition at line 73 of file switch_vpx.h.

Referenced by switch_img_copy(), and switch_img_fit().

◆ SWITCH_IMG_FMT_BGR24

#define SWITCH_IMG_FMT_BGR24   VPX_IMG_FMT_BGR24

Definition at line 70 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_GD

#define SWITCH_IMG_FMT_GD   VPX_IMG_FMT_NONE

◆ SWITCH_IMG_FMT_HAS_ALPHA

#define SWITCH_IMG_FMT_HAS_ALPHA   VPX_IMG_FMT_HAS_ALPHA

Definition at line 49 of file switch_vpx.h.

◆ SWITCH_IMG_FMT_I420

#define SWITCH_IMG_FMT_I420   VPX_IMG_FMT_I420

◆ SWITCH_IMG_FMT_I42016

#define SWITCH_IMG_FMT_I42016   VPX_IMG_FMT_I42016

Definition at line 84 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_I422

#define SWITCH_IMG_FMT_I422   VPX_IMG_FMT_I422

Definition at line 80 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_I42216

#define SWITCH_IMG_FMT_I42216   VPX_IMG_FMT_I42216

Definition at line 85 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_I440

#define SWITCH_IMG_FMT_I440   VPX_IMG_FMT_I440

Definition at line 82 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_I44016

#define SWITCH_IMG_FMT_I44016   VPX_IMG_FMT_I44016

Definition at line 87 of file switch_vpx.h.

Referenced by switch_img_fit(), and switch_img_free().

◆ SWITCH_IMG_FMT_I444

#define SWITCH_IMG_FMT_I444   VPX_IMG_FMT_I444

Definition at line 81 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_I44416

#define SWITCH_IMG_FMT_I44416   VPX_IMG_FMT_I44416

Definition at line 86 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_NONE

#define SWITCH_IMG_FMT_NONE   VPX_IMG_FMT_NONE

Definition at line 62 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_PLANAR

#define SWITCH_IMG_FMT_PLANAR   VPX_IMG_FMT_PLANAR

Definition at line 47 of file switch_vpx.h.

Referenced by switch_img_copy_rect(), and switch_img_patch_rect().

◆ SWITCH_IMG_FMT_RGB24

#define SWITCH_IMG_FMT_RGB24   VPX_IMG_FMT_RGB24

Definition at line 63 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_RGB32

#define SWITCH_IMG_FMT_RGB32   VPX_IMG_FMT_RGB32

Definition at line 64 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_RGB32_LE

#define SWITCH_IMG_FMT_RGB32_LE   VPX_IMG_FMT_RGB32_LE

Definition at line 71 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_RGB555

#define SWITCH_IMG_FMT_RGB555   VPX_IMG_FMT_RGB555

Definition at line 66 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_RGB555_LE

#define SWITCH_IMG_FMT_RGB555_LE   VPX_IMG_FMT_RGB555_LE

Definition at line 75 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_RGB565

#define SWITCH_IMG_FMT_RGB565   VPX_IMG_FMT_RGB565

Definition at line 65 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_RGB565_LE

#define SWITCH_IMG_FMT_RGB565_LE   VPX_IMG_FMT_RGB565_LE

Definition at line 74 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_UV_FLIP

#define SWITCH_IMG_FMT_UV_FLIP   VPX_IMG_FMT_UV_FLIP

Definition at line 48 of file switch_vpx.h.

◆ SWITCH_IMG_FMT_UYVY

#define SWITCH_IMG_FMT_UYVY   VPX_IMG_FMT_UYVY

Definition at line 67 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_VPXI420

#define SWITCH_IMG_FMT_VPXI420   VPX_IMG_FMT_VPXI420

Definition at line 79 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_VPXYV12

#define SWITCH_IMG_FMT_VPXYV12   VPX_IMG_FMT_VPXYV12

Definition at line 78 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_YUY2

#define SWITCH_IMG_FMT_YUY2   VPX_IMG_FMT_YUY2

Definition at line 68 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_YV12

#define SWITCH_IMG_FMT_YV12   VPX_IMG_FMT_YV12

Definition at line 76 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_IMG_FMT_YVYU

#define SWITCH_IMG_FMT_YVYU   VPX_IMG_FMT_YVYU

Definition at line 69 of file switch_vpx.h.

Referenced by switch_img_fit().

◆ SWITCH_PLANE_ALPHA

#define SWITCH_PLANE_ALPHA   VPX_PLANE_ALPHA

Definition at line 56 of file switch_vpx.h.

◆ SWITCH_PLANE_PACKED

#define SWITCH_PLANE_PACKED   VPX_PLANE_PACKED

◆ SWITCH_PLANE_U

#define SWITCH_PLANE_U   VPX_PLANE_U

◆ SWITCH_PLANE_V

#define SWITCH_PLANE_V   VPX_PLANE_V

◆ SWITCH_PLANE_Y

#define SWITCH_PLANE_Y   VPX_PLANE_Y

◆ VPX_IMG_FMT_HIGH

#define VPX_IMG_FMT_HIGH   0x800

Image uses 16bit framebuffer

Definition at line 59 of file switch_vpx.h.

Typedef Documentation

◆ switch_image_t

Definition at line 93 of file switch_vpx.h.

◆ switch_img_fmt_t

Definition at line 91 of file switch_vpx.h.