Go to the documentation of this file.
40 unsigned int ret = 0,
i, j;
44 for (
i = 0, j =
ret;
i <
n - 1;
i++)
58 uint32_t exit_at_level[33] = { 404 };
59 unsigned i, j, p,
code;
61 for (p = 0; (p < num) && (
bits[p] == 0); ++p)
70 exit_at_level[
i+1] = 1
u <<
i;
74 for (
i = p; (
i < num) && (
bits[
i] == 0); ++
i)
79 for (; p < num; ++p) {
90 code = exit_at_level[
i];
93 for (j =
i + 1 ;j <=
bits[p]; ++j)
94 exit_at_level[j] =
code + (1
u << (j - 1));
99 for (p = 1; p < 33; p++)
100 if (exit_at_level[p])
117 for (j = 2; j <
i; j++) {
130 for (j =
i + 1; j <
values; j++) {
133 "Duplicate value found in floor 1 X coordinates\n");
147 intptr_t sy,
int ady,
int adx,
174 int sy = dy < 0 ? -1 : 1;
197 uint16_t *y_list,
int *
flag,
202 ly = y_list[0] * multiplier;
204 int pos =
list[
i].sort;
206 int x1 =
list[pos].x;
207 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)
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)
#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
int ff_vorbis_ready_floor1_list(AVCodecContext *avctx, vorbis_floor1_entry *list, int values)
#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)
const float ff_vorbis_floor1_inverse_db_table[256]
main external API structure.
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.