History

lavu/cpu: Use av_cpu_ prefix

Thilo Borgmann committed 5 years ago

Commit c1bf56a1 parent cd704315 files · +9 −5Browse files

Unified · Split

5 files
  1. doc/APIchanges +3 −0
  2. fftools/cmdutils.c +1 −1
  3. libavutil/cpu.c +2 −1
  4. libavutil/cpu.h +1 −1
  5. libavutil/version.h +2 −2
doc/APIchanges+3−0
@@ -13,6 +13,9 @@ libavutil: 2021-04-27 · 12 unmodified lines
1313
1414
1515 API changes, most recent first:
16+2021-07-19 - xxxxxxxxxx - lavu 57.1.100 - cpu.h
17+ Add av_cpu_force_count()
18+
1619 2021-06-17 - xxxxxxxxxx - lavc 59.2.100 - packet.h
1720 Add AV_PKT_DATA_DYNAMIC_HDR10_PLUS
1821
fftools/cmdutils.c+1−1
@@ -874,7 +874,7 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg) · 873 unmodified lines
874874 ret = av_opt_eval_int(&pclass, opts, arg, &count);
875875
876876 if (!ret) {
877− av_force_cpu_count(count);
877+ av_cpu_force_count(count);
878878 }
879879
880880 return ret;
libavutil/cpu.c+2−1
@@ -236,7 +236,8 @@ int av_cpu_count(void) · 235 unmodified lines
236236 return nb_cpus;
237237 }
238238
239−void av_force_cpu_count(int count){
239+void av_cpu_force_count(int count)
240+{
240241 atomic_store_explicit(&cpu_count, count, memory_order_relaxed);
241242 }
242243
libavutil/cpu.h+1−1
@@ -102,7 +102,7 @@ int av_cpu_count(void); · 101 unmodified lines
102102 * Overrides cpu count detection and forces the specified count.
103103 * Count < 1 disables forcing of specific count.
104104 */
105−void av_force_cpu_count(int count);
105+void av_cpu_force_count(int count);
106106
107107 /**
108108 * Get the maximum data alignment that may be required by FFmpeg.
libavutil/version.h+2−2
@@ -79,8 +79,8 @@ · 78 unmodified lines
7979 */
8080
8181 #define LIBAVUTIL_VERSION_MAJOR 57
82−#define LIBAVUTIL_VERSION_MINOR 0
83−#define LIBAVUTIL_VERSION_MICRO 101
82+#define LIBAVUTIL_VERSION_MINOR 1
83+#define LIBAVUTIL_VERSION_MICRO 100
8484
8585 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
8686 LIBAVUTIL_VERSION_MINOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t