#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | ck_checked_frame_loop |
| struct | ck_checked_frame_loop_control |
Typedefs | |
| typedef int(* | ck_checked_frame_cancel) (void *context) |
| typedef int(* | ck_checked_frame_entry) (uint8_t *arena, size_t arena_bytes) |
Enumerations | |
| enum | { CK_FRAME_LOOP_EOS = 0 , CK_FRAME_LOOP_BUDGET_EXHAUSTED = 2 , CK_FRAME_LOOP_INVALID = -1 , CK_FRAME_LOOP_ENTRY_FAILED = -2 , CK_FRAME_LOOP_INVALID_OUTPUT = -3 , CK_FRAME_LOOP_CANCELLED = -7 } |
Functions | |
| int | ck_run_checked_frame_loop (const ck_checked_frame_loop *request) |
| int | ck_run_checked_frame_loop_control (const ck_checked_frame_loop_control *request) |
| typedef int(* ck_checked_frame_cancel) (void *context) |
Definition at line 12 of file ckernel_checked_frame_loop.h.
| typedef int(* ck_checked_frame_entry) (uint8_t *arena, size_t arena_bytes) |
Definition at line 11 of file ckernel_checked_frame_loop.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CK_FRAME_LOOP_EOS | |
| CK_FRAME_LOOP_BUDGET_EXHAUSTED | |
| CK_FRAME_LOOP_INVALID | |
| CK_FRAME_LOOP_ENTRY_FAILED | |
| CK_FRAME_LOOP_INVALID_OUTPUT | |
| CK_FRAME_LOOP_CANCELLED | |
Definition at line 14 of file ckernel_checked_frame_loop.h.
| int ck_run_checked_frame_loop | ( | const ck_checked_frame_loop * | request | ) |
Definition at line 140 of file checked_frame_loop.c.
References run_checked_frame_loop().
Referenced by run_checked_frame_codec().
| int ck_run_checked_frame_loop_control | ( | const ck_checked_frame_loop_control * | request | ) |
Definition at line 144 of file checked_frame_loop.c.
References ck_checked_frame_loop_control::base, ck_checked_frame_loop_control::cancel_context, CK_FRAME_LOOP_INVALID, run_checked_frame_loop(), and ck_checked_frame_loop_control::should_cancel.
Referenced by run_checked_frame_codec().