enc_state
static void enc2_read_state(struct stream_encoder *enc, struct enc_state *s)
static void enc3_read_state(struct stream_encoder *enc, struct enc_state *s)
void enc314_read_state(struct stream_encoder *enc, struct enc_state *s)
void enc314_read_state(struct stream_encoder *enc, struct enc_state *s);
static void enc32_read_state(struct stream_encoder *enc, struct enc_state *s)
void enc401_read_state(struct stream_encoder *enc, struct enc_state *s)
void enc401_read_state(struct stream_encoder *enc, struct enc_state *s);
struct enc_state s = {0};
void (*enc_read_state)(struct stream_encoder *enc, struct enc_state *s);
ctx->enc_state == MXC_JPEG_ENC_CONF) {
ctx->enc_state = MXC_JPEG_ENCODING;
ctx->enc_state = MXC_JPEG_ENC_CONF;
enum mxc_jpeg_enc_state enc_state;
enum venus_enc_state enc_state;
inst->enc_state = VENUS_ENC_STATE_ENCODING;
if (inst->enc_state == VENUS_ENC_STATE_STOPPED) {
inst->enc_state == VENUS_ENC_STATE_DRAIN) {
inst->enc_state = VENUS_ENC_STATE_STOPPED;
if (inst->enc_state == VENUS_ENC_STATE_DEINIT)
inst->enc_state = VENUS_ENC_STATE_INIT;
inst->enc_state = VENUS_ENC_STATE_DEINIT;
inst->enc_state == VENUS_ENC_STATE_ENCODING) {
inst->enc_state = VENUS_ENC_STATE_DRAIN;
if (inst->enc_state == VENUS_ENC_STATE_DRAIN) {
if (inst->enc_state == VENUS_ENC_STATE_STOPPED) {
inst->enc_state = VENUS_ENC_STATE_ENCODING;