webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions
webrtc_libyuv.cc File Reference
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
#include <string.h>
#include "webrtc/base/checks.h"
#include "webrtc/api/video/i420_buffer.h"
#include "libyuv.h"

Namespaces

 webrtc
 

Functions

VideoType webrtc::RawVideoTypeToCommonVideoVideoType (RawVideoType type)
 
size_t webrtc::CalcBufferSize (VideoType type, int width, int height)
 
int webrtc::PrintVideoFrame (const VideoFrameBuffer &frame, FILE *file)
 
int webrtc::PrintVideoFrame (const VideoFrame &frame, FILE *file)
 
int webrtc::ExtractBuffer (const rtc::scoped_refptr< VideoFrameBuffer > &input_frame, size_t size, uint8_t *buffer)
 
int webrtc::ExtractBuffer (const VideoFrame &input_frame, size_t size, uint8_t *buffer)
 
int webrtc::ConvertNV12ToRGB565 (const uint8_t *src_frame, uint8_t *dst_frame, int width, int height)
 
int webrtc::ConvertRGB24ToARGB (const uint8_t *src_frame, uint8_t *dst_frame, int width, int height, int dst_stride)
 
libyuv::RotationMode webrtc::ConvertRotationMode (VideoRotation rotation)
 
int webrtc::ConvertVideoType (VideoType video_type)
 
WEBRTC_DYLIB_EXPORT int webrtc::ConvertToI420 (VideoType src_video_type, const uint8_t *src_frame, int crop_x, int crop_y, int src_width, int src_height, size_t sample_size, VideoRotation rotation, I420Buffer *dst_buffer)
 
int webrtc::ConvertFromI420 (const VideoFrame &src_frame, VideoType dst_video_type, int dst_sample_size, uint8_t *dst_frame)
 
double webrtc::I420PSNR (const VideoFrameBuffer &ref_buffer, const VideoFrameBuffer &test_buffer)
 
double webrtc::I420PSNR (const VideoFrame *ref_frame, const VideoFrame *test_frame)
 
double webrtc::I420SSIM (const VideoFrameBuffer &ref_buffer, const VideoFrameBuffer &test_buffer)
 
double webrtc::I420SSIM (const VideoFrame *ref_frame, const VideoFrame *test_frame)
 
void webrtc::NV12Scale (std::vector< uint8_t > *tmp_buffer, const uint8_t *src_y, int src_stride_y, const uint8_t *src_uv, int src_stride_uv, int src_width, int src_height, uint8_t *dst_y, int dst_stride_y, uint8_t *dst_uv, int dst_stride_uv, int dst_width, int dst_height)