11 #ifndef INCLUDE_LIBYUV_CONVERT_ARGB_H_ 12 #define INCLUDE_LIBYUV_CONVERT_ARGB_H_ 29 #define ARGBToARGB ARGBCopy 34 uint8* dst_argb,
int dst_stride_argb,
42 uint8* dst_argb,
int dst_stride_argb,
50 uint8* dst_argb,
int dst_stride_argb,
58 uint8* dst_argb,
int dst_stride_argb,
66 uint8* dst_argb,
int dst_stride_argb,
74 uint8* dst_argb,
int dst_stride_argb,
82 uint8* dst_abgr,
int dst_stride_abgr,
90 const uint8* src_a,
int src_stride_a,
91 uint8* dst_argb,
int dst_stride_argb,
99 const uint8* src_a,
int src_stride_a,
100 uint8* dst_abgr,
int dst_stride_abgr,
106 uint8* dst_argb,
int dst_stride_argb,
112 uint8* dst_argb,
int dst_stride_argb,
116 #define YToARGB I400ToARGB 121 const uint8* src_uv,
int src_stride_uv,
122 uint8* dst_argb,
int dst_stride_argb,
128 const uint8* src_vu,
int src_stride_vu,
129 uint8* dst_argb,
int dst_stride_argb,
135 uint8* dst_argb,
int dst_stride_argb,
141 uint8* dst_argb,
int dst_stride_argb,
147 uint8* dst_argb,
int dst_stride_argb,
155 uint8* dst_argb,
int dst_stride_argb,
163 uint8* dst_argb,
int dst_stride_argb,
171 uint8* dst_abgr,
int dst_stride_abgr,
179 uint8* dst_abgr,
int dst_stride_abgr,
187 uint8* dst_argb,
int dst_stride_argb,
195 uint8* dst_argb,
int dst_stride_argb,
203 uint8* dst_abgr,
int dst_stride_abgr,
211 uint8* dst_abgr,
int dst_stride_abgr,
217 uint8* dst_argb,
int dst_stride_argb,
223 uint8* dst_argb,
int dst_stride_argb,
229 uint8* dst_argb,
int dst_stride_argb,
233 #define BG24ToARGB RGB24ToARGB 238 uint8* dst_argb,
int dst_stride_argb,
244 uint8* dst_argb,
int dst_stride_argb,
250 uint8* dst_argb,
int dst_stride_argb,
256 uint8* dst_argb,
int dst_stride_argb,
262 uint8* dst_argb,
int dst_stride_argb,
269 int MJPGToARGB(
const uint8* sample,
size_t sample_size,
270 uint8* dst_argb,
int dst_stride_argb,
271 int src_width,
int src_height,
299 uint8* dst_argb,
int dst_stride_argb,
300 int crop_x,
int crop_y,
301 int src_width,
int src_height,
302 int crop_width,
int crop_height,
311 #endif // INCLUDE_LIBYUV_CONVERT_ARGB_H_ LIBYUV_API int RGBAToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:804
EGLSurface EGLint EGLint EGLint EGLint height
Definition: eglext.h:950
LIBYUV_API int I420ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:120
GLint GLint GLint GLsizei GLsizei GLenum format
Definition: gl2.h:403
LIBYUV_API int J422ToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_abgr, int dst_stride_abgr, int width, int height)
Definition: convert_argb.cc:333
LIBYUV_API int I420AlphaToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, const uint8 *src_a, int src_stride_a, uint8 *dst_abgr, int dst_stride_abgr, int width, int height, int attenuate)
Definition: convert_argb.cc:612
EGLSurface EGLint EGLint EGLint width
Definition: eglext.h:950
LIBYUV_API int J422ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:318
LIBYUV_API int H420ToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_abgr, int dst_stride_abgr, int width, int height)
Definition: convert_argb.cc:195
LIBYUV_API int RAWToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:865
LIBYUV_API int RGB24ToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:815
unsigned char uint8
Definition: basic_types.h:62
int dst_height
Definition: convert.cc:32
LIBYUV_API int H422ToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_abgr, int dst_stride_abgr, int width, int height)
Definition: convert_argb.cc:363
LIBYUV_API int I420AlphaToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, const uint8 *src_a, int src_stride_a, uint8 *dst_argb, int dst_stride_argb, int width, int height, int attenuate)
Definition: convert_argb.cc:595
LIBYUV_API int I444ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:447
LIBYUV_API int BGRAToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:760
LIBYUV_API int I420ToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:135
LIBYUV_API int J444ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:477
LIBYUV_API int J420ToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_abgr, int dst_stride_abgr, int width, int height)
Definition: convert_argb.cc:165
uint8_t * src_u
Definition: peerconnection_jni.cc:2263
LIBYUV_API int J420ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:150
LIBYUV_API int ABGRToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:782
LIBYUV_API int RGB565ToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:915
uint8_t * src_y
Definition: peerconnection_jni.cc:2261
bool attenuate
Definition: convert.cc:29
LIBYUV_API int YUY2ToARGB(const uint8 *src_yuy2, int src_stride_yuy2, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:1274
LIBYUV_API int H420ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:180
LIBYUV_API int I400ToARGB(const uint8 *src_y, int src_stride_y, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:629
LIBYUV_API int H422ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:348
JNIEnv jlong jbyteArray jint jint jint jint rotation
Definition: androidvideotracksource_jni.cc:30
LIBYUV_API int I422ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:288
LIBYUV_API int M420ToARGB(const uint8 *src_m420, int src_stride_m420, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:1213
LIBYUV_API int J400ToARGB(const uint8 *src_y, int src_stride_y, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:688
Definition: basictypes_test.cc:14
int dst_width
Definition: convert.cc:32
LIBYUV_API int ConvertToARGB(const uint8 *src_frame, size_t src_size, uint8 *dst_argb, int dst_stride_argb, int crop_x, int crop_y, int src_width, int src_height, int crop_width, int crop_height, enum RotationMode rotation, uint32 format)
Definition: convert_to_argb.cc:32
#define LIBYUV_API
Definition: basic_types.h:102
LIBYUV_API int UYVYToARGB(const uint8 *src_uyvy, int src_stride_uyvy, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:1334
uint32_t uint32
Definition: angle_config.h:28
LIBYUV_API int NV21ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_vu, int src_stride_vu, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:1155
LIBYUV_API int ARGBCopy(const uint8 *src_argb, int src_stride_argb, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:29
uint8_t * src_v
Definition: peerconnection_jni.cc:2265
LIBYUV_API int I444ToABGR(const uint8 *src_y, int src_stride_y, const uint8 *src_u, int src_stride_u, const uint8 *src_v, int src_stride_v, uint8 *dst_abgr, int dst_stride_abgr, int width, int height)
Definition: convert_argb.cc:462
LIBYUV_API int ARGB4444ToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:1031
LIBYUV_API int ARGB1555ToARGB(const uint8 *src_frame, int src_stride_frame, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:973
LIBYUV_API int NV12ToARGB(const uint8 *src_y, int src_stride_y, const uint8 *src_uv, int src_stride_uv, uint8 *dst_argb, int dst_stride_argb, int width, int height)
Definition: convert_argb.cc:1097
RotationMode
Definition: rotate.h:22