mirror of
https://github.com/GLEGram/GLEGram-iOS.git
synced 2026-04-23 19:36:26 +02:00
4647310322
Based on Swiftgram 12.5 (Telegram iOS 12.5). All GLEGram features ported and organized in GLEGram/ folder. Features: Ghost Mode, Saved Deleted Messages, Content Protection Bypass, Font Replacement, Fake Profile, Chat Export, Plugin System, and more. See CHANGELOG_12.5.md for full details.
34 lines
504 B
Objective-C
34 lines
504 B
Objective-C
#include <LibYuvBinding/LibYuvBinding.h>
|
|
|
|
#include "libyuv/convert_from.h"
|
|
|
|
bool libyuv_I420ToNV12(
|
|
const uint8_t* src_y,
|
|
int src_stride_y,
|
|
const uint8_t* src_u,
|
|
int src_stride_u,
|
|
const uint8_t* src_v,
|
|
int src_stride_v,
|
|
uint8_t* dst_y,
|
|
int dst_stride_y,
|
|
uint8_t* dst_uv,
|
|
int dst_stride_uv,
|
|
int width,
|
|
int height
|
|
) {
|
|
return I420ToNV12(
|
|
src_y,
|
|
src_stride_y,
|
|
src_u,
|
|
src_stride_u,
|
|
src_v,
|
|
src_stride_v,
|
|
dst_y,
|
|
dst_stride_y,
|
|
dst_uv,
|
|
dst_stride_uv,
|
|
width,
|
|
height
|
|
) == 0;
|
|
}
|