Flutter Engine
The Flutter Engine
|
#include "experimental/ffmpeg/SkVideoDecoder.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkImage.h"
#include "include/core/SkStream.h"
#include "include/core/SkYUVAPixmaps.h"
#include "include/gpu/ganesh/SkImageGanesh.h"
Go to the source code of this file.
Classes | |
struct | av_transfer_characteristics |
Macros | |
#define | ExpandWP(index) gWP[index].fX, gWP[index].fY |
Enumerations | |
enum | Whitepoint { WP_D65 , WP_C , WP_DCI , WP_E , WP_NB } |
Functions | |
static SkYUVColorSpace | get_yuvspace (AVColorSpace space) |
static skcms_TransferFunction | compute_transfer (AVColorTransferCharacteristic t) |
sk_sp< SkColorSpace > | make_colorspace (AVColorPrimaries primaries, AVColorTransferCharacteristic transfer) |
static bool | check_err (int err, const int silentList[]=nullptr) |
static int | skstream_read_packet (void *ctx, uint8_t *dstBuffer, int dstSize) |
static int64_t | skstream_seek_packet (void *ctx, int64_t pos, int whence) |
static sk_sp< SkImage > | make_yuv_420 (GrRecordingContext *rContext, int w, int h, uint8_t *const data[], int const strides[], SkYUVColorSpace yuvSpace, sk_sp< SkColorSpace > cs) |
Variables | |
const av_transfer_characteristics | gTransfer [AVCOL_TRC_NB] |
const SkPoint | gWP [WP_NB] |
const SkColorSpacePrimaries | gPrimaries [AVCOL_PRI_NB] |
Definition at line 83 of file SkVideoDecoder.cpp.
enum Whitepoint |
Definition at line 116 of file SkVideoDecoder.cpp.
|
static |
Definition at line 49 of file SkVideoDecoder.cpp.
|
static |
Definition at line 16 of file SkVideoDecoder.cpp.
sk_sp< SkColorSpace > make_colorspace | ( | AVColorPrimaries | primaries, |
AVColorTransferCharacteristic | transfer | ||
) |
Definition at line 99 of file SkVideoDecoder.cpp.
|
static |
Definition at line 165 of file SkVideoDecoder.cpp.
Definition at line 139 of file SkVideoDecoder.cpp.
|
static |
Definition at line 148 of file SkVideoDecoder.cpp.
const SkColorSpacePrimaries gPrimaries[AVCOL_PRI_NB] |
Definition at line 85 of file SkVideoDecoder.cpp.
const av_transfer_characteristics gTransfer[AVCOL_TRC_NB] |
Definition at line 37 of file SkVideoDecoder.cpp.