Go to the documentation of this file.
43 unsigned int ret = 0,
i, j;
47 for (
i = 0, j =
ret;
i < n - 1;
i++)
61 uint32_t exit_at_level[33] = { 404 };
62 unsigned i, j, p,
code;
64 for (p = 0; (p < num) && (
bits[p] == 0); ++p)
73 exit_at_level[
i+1] = 1
u <<
i;
77 for (
i = p; (
i < num) && (
bits[
i] == 0); ++
i)
82 for (; p < num; ++p) {
93 code = exit_at_level[
i];
96 for (j =
i + 1 ;j <=
bits[p]; ++j)
97 exit_at_level[j] =
code + (1
u << (j - 1));
102 for (p = 1; p < 33; p++)
103 if (exit_at_level[p])
120 for (j = 2; j <
i; j++) {
133 for (j =
i + 1; j <
values; j++) {
136 "Duplicate value found in floor 1 X coordinates\n");
150 intptr_t sy,
int ady,
int adx,
172 static void render_line(
int x0,
int y0,
int x1,
int y1,
float *buf)
177 int sy = dy < 0 ? -1 : 1;
200 uint16_t *y_list,
int *
flag,
205 ly = y_list[0] * multiplier;
210 int y1 = y_list[
pos] * multiplier;
static void render_line_unrolled(intptr_t x, int y, int x1, intptr_t sy, int ady, int adx, float *buf)
#define u(width, name, range_min, range_max)
int ff_vorbis_ready_floor1_list(void *logctx, vorbis_floor1_entry *list, int values)
unsigned int ff_vorbis_nth_root(unsigned int x, unsigned int n)
void ff_vorbis_floor1_render_list(vorbis_floor1_entry *list, int values, uint16_t *y_list, int *flag, int multiplier, float *out, int samples)
const float ff_vorbis_floor1_inverse_db_table[256]
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num)
#define FFABS(a)
Absolute value, Note, INT_MIN / INT64_MIN result in undefined behavior as they are not representable ...
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining list
#define i(width, name, range_min, range_max)
and forward the test the status of outputs and forward it to the corresponding return FFERROR_NOT_READY If the filters stores internally one or a few frame for some it can consider them to be part of the FIFO and delay acknowledging a status change accordingly Example code
static void render_line(int x0, int y0, int x1, int y1, float *buf)
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return values
Filter the word “frame” indicates either a video frame or a group of audio samples
#define AVERROR_INVALIDDATA
Invalid data found when processing input.