Go to the source code of this file.
Functions | |
| int | ck_run_checked_frame_codec (const ck_checked_frame_codec *request) |
| int | ck_run_checked_frame_codec_prefix (const ck_checked_frame_codec_prefix *request) |
| int | ck_run_checked_frame_codec_prefix_control (const ck_checked_frame_codec_prefix_control *request) |
| static int | disjoint (uintptr_t a, size_t a_bytes, uintptr_t b, size_t b_bytes) |
| static int | in_arena (size_t offset, size_t bytes, size_t arena_bytes) |
| static int | run_checked_frame_codec (const ck_checked_frame_codec *request, size_t samples_per_code_frame, int prefix_mode, ck_checked_frame_cancel should_cancel, void *cancel_context, int control_required) |
| int ck_run_checked_frame_codec | ( | const ck_checked_frame_codec * | request | ) |
Definition at line 176 of file checked_frame_codec.c.
References run_checked_frame_codec().
| int ck_run_checked_frame_codec_prefix | ( | const ck_checked_frame_codec_prefix * | request | ) |
Definition at line 180 of file checked_frame_codec.c.
References ck_checked_frame_codec_prefix::base, CK_FRAME_LOOP_INVALID, run_checked_frame_codec(), and ck_checked_frame_codec_prefix::samples_per_code_frame.
| int ck_run_checked_frame_codec_prefix_control | ( | const ck_checked_frame_codec_prefix_control * | request | ) |
Definition at line 189 of file checked_frame_codec.c.
References ck_checked_frame_codec_prefix::base, ck_checked_frame_codec_prefix_control::base, ck_checked_frame_codec_prefix_control::cancel_context, CK_FRAME_LOOP_INVALID, run_checked_frame_codec(), ck_checked_frame_codec_prefix::samples_per_code_frame, and ck_checked_frame_codec_prefix_control::should_cancel.
|
static |
Definition at line 11 of file checked_frame_codec.c.
Referenced by run_checked_frame_codec().
|
static |
Definition at line 7 of file checked_frame_codec.c.
Referenced by run_checked_frame_codec().
|
static |
Definition at line 15 of file checked_frame_codec.c.
References ck_checked_frame_loop::arena, ck_checked_frame_loop::arena_bytes, CK_FRAME_CODEC_ENTRY_FAILED, CK_FRAME_CODEC_INVALID_OUTPUT, CK_FRAME_CODEC_LENGTH_MISMATCH, CK_FRAME_LOOP_CANCELLED, CK_FRAME_LOOP_EOS, CK_FRAME_LOOP_INVALID, ck_run_checked_frame_loop(), ck_run_checked_frame_loop_control(), ck_checked_frame_loop::codebooks, ck_checked_frame_codec::codec, ck_checked_frame_codec::codec_frame_major_offset, disjoint(), disjoint(), ck_checked_frame_codec::expected_code_frames, ck_checked_frame_codec::expected_codebooks, ck_checked_frame_codec::expected_samples, ck_checked_frame_codec::generation, in_arena(), ck_checked_frame_loop::max_frames, ck_checked_frame_codec::output_capacity, ck_checked_frame_loop::output_codes, ck_checked_frame_loop::output_elements, ck_checked_frame_codec::output_samples, ck_checked_frame_loop::staging_codes, ck_checked_frame_loop::staging_elements, ck_checked_frame_loop::valid_frames, ck_checked_frame_codec::valid_samples, ck_checked_frame_codec::waveform_offset, and ck_checked_frame_codec::waveform_valid_samples_offset.
Referenced by ck_run_checked_frame_codec(), ck_run_checked_frame_codec_prefix(), and ck_run_checked_frame_codec_prefix_control().