打马赛克是什么意思| 鱼油对身体有什么好处| 老年人心跳过快是什么原因| 螺旋幽门杆菌吃什么药治疗好| 梦到丧事场面什么意思| 海口有什么好玩的| 赫尔墨斯是什么神| 木薯淀粉可以做什么| 8023什么意思| 怀孕乳头会有什么变化| 梦见猫吃老鼠什么意思| 全身检查挂什么科| 榴莲不能和什么水果一起吃| 沙和尚是什么动物变的| bc是什么牌子| 波涛澎湃是什么意思| 藿香正气水什么牌子的好| 嗳气什么意思| 梦见鳄鱼是什么预兆| 有什么瓜| 2010属什么生肖| 梦到吃肉是什么意思周公解梦| 什么不能托运| 七情六欲什么意思| 菓是什么意思| 装是什么意思| 印度人为什么用手抓饭吃| 总是耳鸣是什么原因| 小心的什么| 驴肉不能和什么一起吃| 婴儿什么时候开始说话| 家里进黄鼠狼是什么预兆| 男性睾丸疼痛什么原因| 吃什么东西对胃好| 化学学什么| 月经不调吃什么药| 六月二十三号是什么星座| 男的为什么喜欢男的| 养尊处优是什么意思| 右眼睛总跳是什么原因| 缺维生素a吃什么食物| 对食是什么意思| 晚上喝柠檬水有什么好处| 什么泡水喝可以降血糖| 三五成群是什么生肖| 沅字的寓意是什么| 坐地能吸土是什么意思| 羊和什么属相最配| 骶髂关节在什么位置| 戒指戴在食指什么意思| 桑叶泡水喝有什么功效和作用| 妈妈的姑姑叫什么| 哈乐是什么药| 04年属什么生肖| 眼睛眼屎多是什么原因| 尘螨是什么| 南瓜什么颜色| 子宫肌瘤是什么症状| 头晕出冷汗是什么原因| 三九胃泰治什么胃病效果好| 地主是什么意思| 什么食物不能一起吃| 经常头晕头疼是什么原因| 大红袍是什么茶类| 下关沱茶属于什么茶| 赢字五行属什么| 核心抗体阳性是什么意思| 陈赫开的火锅店叫什么| 什么是脂溢性脱发| 扁平疣用什么药膏管用| 1月2日是什么星座| 七月有什么花| 什么是av| 星期五右眼皮跳是什么预兆| 鼻窦炎都有什么症状| 花痴是什么意思| 孕酮低吃什么可以提高孕酮| 益精是什么意思| 2021属什么| 男人身体虚吃什么补| 桃和什么不能一起吃| 血常规查的是什么项目| 什么的故事填词语| 紫外线过敏吃什么药| 恩施玉露是什么茶| 风水宝地是什么意思| 孩子肚子疼挂什么科| 为什么拉不出屎| essence什么意思| 苦瓜什么人不能吃| 胸疼应该挂什么科| 重庆有什么美食| 吃洋葱有什么好处和坏处| 冰糖和白糖有什么区别| 散光跟近视有什么区别| 阴道炎是什么症状| 高血糖吃什么菜好| 黄瓜和什么搭配最好| 衔接是什么意思| 三个土什么字| 被是什么偏旁怎么读| 心肌缺血吃什么药效果最好| 竹字头均念什么名字| 鸭跖草用什么除草剂| 赵云的坐骑是什么马| vaude是什么品牌| 末那识是什么意思| 热感冒吃什么食物好| 玉林狗肉节是什么时候| 女生体毛多是什么原因| 孩子喉咙痛吃什么药好| 口是心非是什么意思| 螳螂捕蝉什么意思| 人乳头瘤病毒18型阳性是什么意思| 一什么方法| 肠炎是什么症状| 青霉素v钾片治什么病| 做梦捡钱是什么预兆| 三伏天什么时候开始| 人大常委会主任是什么级别| 霉菌性阴炎是什么原因引起的女| 什么是oa| 日本樱花什么时候开| 灵芝的功效与作用是什么| 男人吃生蚝补什么| 领袖是什么意思| 马粟是什么| 随心所欲的欲什么意思| 慰安妇是什么| 尿道痒男吃什么消炎药| 心形脸适合什么发型| hcv是什么病毒| 尼古拉斯是什么意思| 六月十三日是什么星座| 梦到插秧是什么意思| 往返是什么意思| 扳机是什么意思| 史密斯夫妇什么意思| 今年28岁属什么生肖| 痛风吃什么中药最有效| 扑救带电火灾应选用什么灭火器| otc属于什么药| 孕妇梦见老公出轨是什么意思| 祖师香是什么意思| 什么食物含维生素k最多| 什么血型的人最多| 11月1日什么星座| 怀孕了吃什么药能流掉| 八月二十二是什么星座| 走肾不走心什么意思| 曹休和曹操什么关系| 五花肉炒什么配菜好吃| 回门是什么意思| 过敏去医院挂什么科| 流鼻血是什么原因| m代表什么| 褥疮是什么| 樱桃泡酒有什么功效| 梦见牙齿掉了是什么意思| plump什么意思| 什么钱最不值钱| 一个木一个号念什么| 消石灰是什么| cip是什么| 肾怕什么| 赴汤蹈火的汤是什么意思| 什么是生物制剂药| 活泼的近义词是什么| 大年初一是什么星座| 14岁可以做什么工作| 鼻涕倒流吃什么药| choice是什么意思| 梦见筷子是什么预兆| 军分区司令是什么级别| 心率过慢有什么危害| 晚上睡不着白天睡不醒是什么原因| 男人梦见猫是什么意思| lol锤石什么时候出的| bnp是什么| 兵不血刃的意思是什么| 眼睑痉挛挂什么科| 大小脸挂什么科| tct是什么意思| c3是什么车型| 孕前检查挂什么科室| 做梦放鞭炮什么意思| 范思哲是什么品牌| phoenix是什么牌子| 额头出汗是什么原因| 禀报是什么意思| 合羽念什么| 家人们是什么意思| 小气道病变是什么意思| tfboys什么意思| 反流性食管炎吃什么食物好| 深紫色配什么颜色好看| 吃什么可以降糖| 干细胞是什么| 拉不出屎是什么原因| 七个月宝宝可以吃什么水果| 八字缺什么怎么算| 血细胞分析五分类是查什么的| 痛风脚痛吃什么药| 谁的尾巴有什么作用| 抗体和抗原有什么区别| 血常规是检查什么的| 16岁上什么年级| 心绞痛是什么症状| 黄连水有什么作用与功效| 事业编制是什么意思| 新陈代谢慢是什么原因| 飞克手表什么档次| 浅是什么意思| 信心是什么意思| 八六年属什么| 怀孕后为什么会生化| 崩溃什么意思| disease是什么意思| 无春年是什么意思| 天打五雷轰是什么意思| 夏枯草是什么| 夏天喝绿茶有什么好处| 荧惑守心是什么意思| 人流复查做什么检查| 红丹是什么| 贪嗔痴什么意思| 经常扁桃体发炎是什么原因| 尿酸高多吃什么食物好| sp是什么意思| 锹形虫吃什么| 创伤性关节炎有什么症状| 云字属于五行属什么| 乙肝核心抗体阳性说明什么| 7月22号是什么日子| 壬是什么意思| 4级手术是什么意思| 口苦吃什么中药| 三点水一个四读什么| 屁股抽筋疼是什么原因| 什么是腹式呼吸的正确方法| 扁平足是什么| 胆囊壁增厚是什么意思| 林深时见鹿什么意思| 龟头有点痒擦什么药| 松针是什么| 肝囊肿挂什么科| 臆想症是什么病| 翡翠都有什么颜色| 白色车里放什么摆件好| 胆管结石用什么药能把它除掉| 捉代表什么生肖| 倒班什么意思| 东坡肉属于什么菜系| 伟哥是什么意思| 普洱茶是什么茶类| 牙套什么年龄戴合适| 亨字五行属什么| 动车是什么| 黄体期出血是什么原因| 难以入睡是什么原因引起的| 阴道瘙痒吃什么药| 手淫有什么危害| 酸奶不能和什么一起吃| 吉利丁片是什么| 百度

ahc是什么牌子


Directory: ../../../ffmpeg/
File: src/libavutil/internal.h
Date: 2025-08-04 00:43:16
Exec Total Coverage
Lines: 7 8 87.5%
Functions: 1 1 100.0%
Branches: 5 6 83.3%

Line Branch Exec Source
1 /*
2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at>
3 *
4 * This file is part of FFmpeg.
5 *
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 /**
22 * @file
23 * common internal API header
24 */
25
26 #ifndef AVUTIL_INTERNAL_H
27 #define AVUTIL_INTERNAL_H
28
29 #if !defined(DEBUG) && !defined(NDEBUG)
30 # define NDEBUG
31 #endif
32
33 // This can be enabled to allow detection of additional integer overflows with ubsan
34 //#define CHECKED
35
36 #include <limits.h>
37 #include <stdint.h>
38 #include <stddef.h>
39 #include <assert.h>
40 #include <stdio.h>
41 #include "config.h"
42 #include "attributes.h"
43 #include "libm.h"
44 #include "macros.h"
45
46 #ifndef attribute_align_arg
47 #if ARCH_X86_32 && AV_GCC_VERSION_AT_LEAST(4,2)
48 # define attribute_align_arg __attribute__((force_align_arg_pointer))
49 #else
50 # define attribute_align_arg
51 #endif
52 #endif
53
54 #if defined(_WIN32) && CONFIG_SHARED && !defined(BUILDING_avutil)
55 # define av_export_avutil __declspec(dllimport)
56 #else
57 # define av_export_avutil
58 #endif
59
60 #if HAVE_PRAGMA_DEPRECATED
61 # if defined(__ICL) || defined (__INTEL_COMPILER)
62 # define FF_DISABLE_DEPRECATION_WARNINGS __pragma(warning(push)) __pragma(warning(disable:1478))
63 # define FF_ENABLE_DEPRECATION_WARNINGS __pragma(warning(pop))
64 # elif defined(_MSC_VER)
65 # define FF_DISABLE_DEPRECATION_WARNINGS __pragma(warning(push)) __pragma(warning(disable:4996))
66 # define FF_ENABLE_DEPRECATION_WARNINGS __pragma(warning(pop))
67 # else
68 # define FF_DISABLE_DEPRECATION_WARNINGS _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
69 # define FF_ENABLE_DEPRECATION_WARNINGS _Pragma("GCC diagnostic pop")
70 # endif
71 #else
72 # define FF_DISABLE_DEPRECATION_WARNINGS
73 # define FF_ENABLE_DEPRECATION_WARNINGS
74 #endif
75
76
77 #define FF_ALLOC_TYPED_ARRAY(p, nelem) (p = av_malloc_array(nelem, sizeof(*p)))
78 #define FF_ALLOCZ_TYPED_ARRAY(p, nelem) (p = av_calloc(nelem, sizeof(*p)))
79
80 #define FF_PTR_ADD(ptr, off) ((off) ? (ptr) + (off) : (ptr))
81
82 /**
83 * Access a field in a structure by its offset.
84 */
85 #define FF_FIELD_AT(type, off, obj) (*(type *)((char *)&(obj) + (off)))
86
87 /**
88 * Return NULL if CONFIG_SMALL is true, otherwise the argument
89 * without modification. Used to disable the definition of strings.
90 */
91 #if CONFIG_SMALL
92 # define NULL_IF_CONFIG_SMALL(x) NULL
93 #else
94 # define NULL_IF_CONFIG_SMALL(x) x
95 #endif
96
97 /**
98 * Log a generic warning message about a missing feature.
99 *
100 * @param[in] avc a pointer to an arbitrary struct of which the first
101 * field is a pointer to an AVClass struct
102 * @param[in] msg string containing the name of the missing feature
103 */
104 void avpriv_report_missing_feature(void *avc,
105 const char *msg, ...) av_printf_format(2, 3);
106
107 /**
108 * Log a generic warning message about a missing feature.
109 * Additionally request that a sample showcasing the feature be uploaded.
110 *
111 * @param[in] avc a pointer to an arbitrary struct of which the first field is
112 * a pointer to an AVClass struct
113 * @param[in] msg string containing the name of the missing feature
114 */
115 void avpriv_request_sample(void *avc,
116 const char *msg, ...) av_printf_format(2, 3);
117
118 #if HAVE_LIBC_MSVCRT
119 #include <crtversion.h>
120 #if defined(_VC_CRT_MAJOR_VERSION) && _VC_CRT_MAJOR_VERSION < 14
121 #pragma comment(linker, "/include:" EXTERN_PREFIX "avpriv_strtod")
122 #pragma comment(linker, "/include:" EXTERN_PREFIX "avpriv_snprintf")
123 #endif
124
125 #define PTRDIFF_SPECIFIER "Id"
126 #define SIZE_SPECIFIER "Iu"
127 #else
128 #define PTRDIFF_SPECIFIER "td"
129 #define SIZE_SPECIFIER "zu"
130 #endif
131
132 #ifdef DEBUG
133 # define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__)
134 #else
135 # define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
136 #endif
137
138 #ifdef TRACE
139 # define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__)
140 #else
141 # define ff_tlog(ctx, ...) do { } while(0)
142 #endif
143
144 // For debugging we use signed operations so overflows can be detected (by ubsan)
145 // For production we use unsigned so there are no undefined operations
146 #ifdef CHECKED
147 #define SUINT int
148 #define SUINT32 int32_t
149 #else
150 #define SUINT unsigned
151 #define SUINT32 uint32_t
152 #endif
153
154 113842874 static av_always_inline av_const int avpriv_mirror(int x, int w)
155 {
156
1/2
✗ Branch 0 not taken.
✓ Branch 1 taken 113842874 times.
113842874 if (!w)
157 return 0;
158
159
2/2
✓ Branch 0 taken 32658709 times.
✓ Branch 1 taken 113842874 times.
260344457 while ((unsigned)x > (unsigned)w) {
160 32658709 x = -x;
161
2/2
✓ Branch 0 taken 17679466 times.
✓ Branch 1 taken 14979243 times.
32658709 if (x < 0)
162 14979243 x += 2 * w;
163 }
164 113842874 return x;
165 }
166
167 #endif /* AVUTIL_INTERNAL_H */
168

甲状腺炎有什么症状表现 麦冬长什么样子图片 总经理是什么级别 吃晕车药有什么副作用 针眼长什么样子图片
怀孕什么时候吃鹅蛋最好 中药为什么要热着喝 喝什么解酒快 血蛋白低是什么原因 阴唇外翻是什么原因
secret是什么意思 粗鄙什么意思 马尿是什么意思 中药为什么要熬两次 prime是什么意思
焖子是什么做的 奥司他韦是什么药 67什么意思 吃布洛芬有什么副作用 补体c4偏低是什么意思
孕妇吃什么鱼好hcv9jop0ns1r.cn 舅舅的女儿叫什么hcv8jop4ns4r.cn 甲不开仓财物耗散是什么意思hcv8jop7ns3r.cn 朱砂红是什么颜色hlguo.com 两肺散在小结节是什么意思wzqsfys.com
登高是什么意思liaochangning.com 用眼过度用什么眼药水bjcbxg.com 2006年出生的是什么命hcv9jop4ns6r.cn 三跪九叩是什么意思hcv7jop6ns3r.cn 雷锋日是什么时候hcv9jop3ns8r.cn
三大产能营养素是什么hcv8jop0ns7r.cn 口下面一个巴念什么hcv9jop4ns5r.cn 秦皇岛有什么特产youbangsi.com 泥鳅喜欢吃什么食物hcv7jop7ns2r.cn 龙珠是什么adwl56.com
螺旋杆菌感染吃什么药hcv9jop6ns8r.cn 泌尿感染吃什么药hcv8jop0ns3r.cn 红参有什么作用hcv7jop7ns4r.cn 松鼠吃什么hcv8jop1ns2r.cn 中性粒细胞低说明什么hcv8jop4ns6r.cn
百度