Tuya iOS Smart Life App SDK 5.15.0
ThingVideoDecoderFactory Class Reference

#include <ThingVideoDecoderSdkAPIs.h>

Static Public Member Functions

static ThingVideoDecoderCreateVideoDecoder (Thing_VIDEO_DECODER_TYPE_ID id, int width, int height)
 
static ThingVideoDecoderCreateVideoDecoder (Thing_VIDEO_DECODER_TYPE_ID id, int width, int height, bool bRealTime)
 
static ThingVideoDecoderCreateSoftVideoDecoder (Thing_VIDEO_DECODER_TYPE_ID id)
 
static void DestroyVideoDecoder (ThingVideoDecoder **pDecoder)
 
static ThingVideoDecoderCreateVideoDecoder (Thing_VIDEO_DECODER_TYPE_ID id, int width, int height)
 
static ThingVideoDecoderCreateVideoDecoder (Thing_VIDEO_DECODER_TYPE_ID id, int width, int height, bool bRealTime)
 
static ThingVideoDecoderCreateSoftVideoDecoder (Thing_VIDEO_DECODER_TYPE_ID id)
 
static void DestroyVideoDecoder (ThingVideoDecoder **pDecoder)
 

Detailed Description

Definition at line 69 of file ThingVideoDecoderSdkAPIs.h.

Member Function Documentation

◆ CreateSoftVideoDecoder() [1/2]

static ThingVideoDecoder * ThingVideoDecoderFactory::CreateSoftVideoDecoder ( Thing_VIDEO_DECODER_TYPE_ID  id)
static

Description 创建软解解码器

Parameters
id解码类型
Returns
创建的解码器指针

◆ CreateSoftVideoDecoder() [2/2]

static ThingVideoDecoder * ThingVideoDecoderFactory::CreateSoftVideoDecoder ( Thing_VIDEO_DECODER_TYPE_ID  id)
static

Description 创建软解解码器

Parameters
id解码类型
Returns
创建的解码器指针

◆ CreateVideoDecoder() [1/4]

static ThingVideoDecoder * ThingVideoDecoderFactory::CreateVideoDecoder ( Thing_VIDEO_DECODER_TYPE_ID  id,
int  width,
int  height 
)
static

Description 创建解码器

Parameters
id解码类型
widthmeidaCodec硬解所需参数
heightmeidaCodec硬解所需参数
Returns
创建的解码器指针

◆ CreateVideoDecoder() [2/4]

static ThingVideoDecoder * ThingVideoDecoderFactory::CreateVideoDecoder ( Thing_VIDEO_DECODER_TYPE_ID  id,
int  width,
int  height 
)
static

Description 创建解码器

Parameters
id解码类型
widthmeidaCodec硬解所需参数
heightmeidaCodec硬解所需参数
Returns
创建的解码器指针

◆ CreateVideoDecoder() [3/4]

static ThingVideoDecoder * ThingVideoDecoderFactory::CreateVideoDecoder ( Thing_VIDEO_DECODER_TYPE_ID  id,
int  width,
int  height,
bool  bRealTime 
)
static

◆ CreateVideoDecoder() [4/4]

static ThingVideoDecoder * ThingVideoDecoderFactory::CreateVideoDecoder ( Thing_VIDEO_DECODER_TYPE_ID  id,
int  width,
int  height,
bool  bRealTime 
)
static

◆ DestroyVideoDecoder() [1/2]

static void ThingVideoDecoderFactory::DestroyVideoDecoder ( ThingVideoDecoder **  pDecoder)
static

Description 销毁解码器

Parameters
pDecoder解码器指针

◆ DestroyVideoDecoder() [2/2]

static void ThingVideoDecoderFactory::DestroyVideoDecoder ( ThingVideoDecoder **  pDecoder)
static

Description 销毁解码器

Parameters
pDecoder解码器指针

The documentation for this class was generated from the following files: