表情 Helper
公共头文件:
#include "brookesia/service_helper/expression/emote.hpp"
概述
本页用于查看 Expression/Emote helper 的原始 Doxygen API,包括公共类型、枚举、方法与相关宏定义。
API 参考
Header File
Classes
-
class ExpressionEmote : public esp_brookesia::service::helper::Base<ExpressionEmote>
Helper schema definitions for the emote-expression service.
Public Types
-
struct AssetSource
Description of one asset source used by the expression service.
Public Members
-
std::string source
Source identifier such as a path or partition label.
-
AssetSourceType type
How
sourceshould be interpreted.
-
bool flag_enable_mmap = false
Whether mmap-backed loading should be enabled.
-
std::string source
-
struct Config
Runtime display and task configuration for the expression service.
Public Members
-
uint32_t h_res = 0
Horizontal resolution in pixels.
-
uint32_t v_res = 0
Vertical resolution in pixels.
-
size_t buf_pixels = 0
Display buffer size in pixels.
-
uint32_t fps = 0
Target render frame rate.
-
int task_priority = 0
Render task priority.
-
int task_stack = 0
Render task stack size in bytes.
-
int task_affinity = 0
Core affinity for the render task.
-
bool task_stack_in_ext = false
Whether the task stack should live in external memory.
-
bool flag_swap_color_bytes = false
Whether output color bytes must be swapped.
-
bool flag_double_buffer = false
Whether double buffering is enabled.
-
bool flag_buff_dma = false
Whether display buffers must be DMA-capable.
-
bool flag_buff_spiram = false
Whether display buffers may be allocated in SPIRAM.
-
uint32_t h_res = 0
-
struct FlushReadyEventParam
Parameters delivered with the flush-ready event.
-
struct AssetSource