#define need_to_special_parsing_nal(ctx) \
(ctx->state == MFCINST_RUNNING)
#define ready_to_get_crop(ctx) \
- ((ctx->state == MFCINST_HEAD_PARSED) || \
- (ctx->state == MFCINST_RUNNING) || \
- (ctx->state == MFCINST_FINISHING))
+ ((ctx->state == MFCINST_HEAD_PARSED) || \
+ (ctx->state == MFCINST_RUNNING) || \
+ (ctx->state == MFCINST_SPECIAL_PARSING) || \
+ (ctx->state == MFCINST_SPECIAL_PARSING_NAL) || \
+ (ctx->state == MFCINST_FINISHING))
int mfc_wait_for_done_dev(struct mfc_dev *dev, int command);
int mfc_wait_for_done_ctx(struct mfc_ctx *ctx, int command);