|
FFmpeg
|
#include "common.h"Go to the source code of this file.
Macros | |
| #define | AV_QSORT(p, num, type, cmp) |
| 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... | |
| #define | AV_MSORT(p, tmp, num, type, cmp) |
| Merge sort, this sort requires a temporary buffer and is stable, its worst case time is O(n log n) More... | |
Merge sort, this sort requires a temporary buffer and is stable, its worst case time is O(n log n)
| 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 |
1.8.17