Go to the source code of this file.
Macros
Quicksort This sort is fast, and fully inplace but not stable and it is possible to construct input that requires O(n^2) time but this is very unlikely to happen with non constructed input.
More...
Merge sort, this sort requires a temporary buffer and is stable, its worst case time is O(n log n)
More...
Macro Definition Documentation
◆ AV_QSORT
#define AV_QSORT
(
p,
num,
)
Quicksort This sort is fast, and fully inplace but not stable and it is possible to construct input that requires O(n^2) time but this is very unlikely to happen with non constructed input.
Definition at line 33 of file qsort.h.
◆ AV_MSORT
#define AV_MSORT
(
p,
num,
)
Value: do {\
for(j=
i;
a[0]<
i+
step &&
a[1]<end; j++){\
}\
for(; j<end; j++){\
}\
}\
}\
} while (0)
Merge sort, this sort requires a temporary buffer and is stable, its worst case time is O(n log n)
- Parameters
-
p must be a lvalue pointer, this function may exchange it with tmp
tmp must be a lvalue pointer, this function may exchange it with p
Definition at line 103 of file qsort.h.
trying all byte sequences megabyte in length and selecting the best looking sequence will yield cases to try But a word about which is also called distortion Distortion can be quantified by almost any quality measurement one chooses the sum of squared differences is used but more complex methods that consider psychovisual effects can be used as well It makes no difference in this discussion First step
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
static av_always_inline int cmp(MPVEncContext *const s, const int x, const int y, const int subx, const int suby, const int size, const int h, int ref_index, int src_index, me_cmp_func cmp_func, me_cmp_func chroma_cmp_func, const int flags)
compares a block (either a full macroblock or a partition thereof) against a proposed motion-compensa...
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
#define i(width, name, range_min, range_max)
IDirect3DDxgiInterfaceAccess _COM_Outptr_ void ** p
Generated on Wed Nov 19 2025 19:24:04 for FFmpeg by
doxygen
1.8.17