狐臭是什么原因引起的| 游龙戏凤是什么意思| 后背中心疼是什么原因| 炖鸡汤放什么材料好吃| 陌上花开可缓缓归矣什么意思| 感冒什么症状| 氯雷他定片是什么药| 喝中药不能吃什么东西| 小翅膀车标是什么车| 癌胚抗原是什么| 手肿是什么病的前兆| 花椒泡脚有什么功效| 耳鸣是什么原因引起的嗡嗡的响| 出汗发粘是什么原因| MP是什么| 家里消毒杀菌用什么好| 登对是什么意思| 脚有酸臭味是什么原因| 苗侨伟为什么叫三哥| 木木耳朵旁是什么字| 世袭罔替是什么意思| 落井下石什么意思| hvp是什么病毒| 单绒双羊是什么意思| zgo手表是什么牌子| 胃出血什么症状| 龟头炎用什么药膏| 夹心饼干是什么意思| 叫舅舅的是什么关系| 骨肉瘤是什么病| 苹果是什么季节的水果| 什么虫子有毒| 修女是什么意思| 补气血吃什么好| 什么习习| 考试为什么要用2b铅笔| 郭敬明为什么叫小四| 实则是什么意思| 罗可以组什么词| 怀孕送什么礼物| 一什么无什么| 10周年结婚是什么婚| 正财透干是什么意思| 口干舌燥吃什么药| 榴莲有什么好处| 肺结节挂什么科室| 什么是黄褐斑| 花仙子是什么意思| 什么叫柏拉图式的爱情| tp是什么意思| 林丹用的什么球拍| 早上尿黄是什么原因| 乌鸦兄弟告诉我们什么道理| 小青龙是什么龙虾| 讲义气是什么意思| 十八罗汉是什么意思| 糖尿病人吃什么水果好| 怂包是什么意思| 腰肌劳损有什么症状| 什么东西越热越爱出来| 梦见针是什么意思| 反流性食管炎有什么症状| 吃什么大补| 强痛定又叫什么| 大姨妈不能吃什么水果| konka是什么牌子| 晋字五行属什么| 为什么遗精| 什么食物吃了不胖| 上门女婿什么意思| 腕管综合症吃什么药| 子宫占位是什么意思| 先兆性流产是什么症状| 高数是什么| 俄罗斯人是什么人种| 脊髓是什么| 胃溃疡是什么症状| 香蕉不能和什么同吃| 淋巴结什么原因引起的| 浣熊吃什么食物| 直采是什么意思| 怕冷是什么原因| 鸡蛋和什么不能一起吃吗| 神经衰弱看什么科| 取是什么意思| 喝山楂泡水有什么功效| 怀孕甲减对孩子有什么影响| 睾丸疝气有什么症状| 胃溃疡是什么原因导致的| 茶化石属于什么茶| 为什么会得神经性皮炎| 五岳是什么意思| 血压突然升高是什么原因| 鹊桥是什么意思| 石蜡病理是什么意思| 孔雀开屏是什么行为| 前位子宫是什么意思| 舌裂是什么原因造成的| 更年期的女人有什么症状表现| 阴道瘙痒用什么药最好| 氧化亚铜什么颜色| 瑞士移民需要什么条件| 倒着走路有什么好处| 挂号信什么意思| 四周岁打什么疫苗| 梦见亲人去世是什么意思| 所以然什么意思| 身体有异味是什么原因| 肾炎是什么症状| 不约而至是什么意思| 美特斯邦威是什么档次| 碳酸钙俗称什么| 客厅沙发后面墙上挂什么画好| w是什么意思| 孕期阴道炎可以用什么药| gps是什么意思| 巨蟹座的幸运色是什么颜色| 一个歹一个殇读什么| 什么叫脂溢性皮炎| 大脑缺氧有什么症状| prich是什么牌子| 生性凉薄是什么意思| 正常的精液是什么样的| 中筋面粉是什么粉| 手指关节肿大是什么原因| 为什么会心肌梗死| 做什么运动可以长高| 10月4日什么星座| 牛奶能做什么美食| 月黑见渔灯的见读什么| 脖子淋巴结肿大是什么原因| 洋葱炒什么| 宫内囊性回声代表什么| 头疼按什么穴位| 什么原因造成低血糖| 阿尔茨海默症是什么病| 父亲节该送什么礼物| 厅长是什么级别| 吃什么药降尿酸快| 治骨质疏松打什么针| 小孩子流鼻血是什么原因引起的| 餐标是什么意思| 难耐是什么意思| 亏空是什么意思| 丹桂飘香是什么季节| 什么叫无氧运动| 什么叫消融术治疗| 什么是贡菜| 怀孕3天有什么症状| 搞基什么意思| 有何贵干是什么意思| 心意是什么意思| 港澳通行证办理需要什么证件| 小腹左边疼是什么原因| 一喝水就尿多是什么原因| 应收账款在贷方表示什么| 什么时候闰十月| 什么叫匝道| 硬卧代硬座是什么意思| 藏青色配什么颜色好看| 女人脚浮肿是什么原因| gpd是什么意思| 五毒为什么没有蜘蛛| 眼睛痛什么原因| 沙门氏菌用什么药最好| 薛之谦属什么生肖| 什么情况下喝补液盐| 万圣节为什么要送糖果| 苏菲是什么| 梦见打牌是什么意思| 举足轻重是什么意思| 体力不支是什么意思| 预防保健科是做什么的| 胃疼是什么原因| 什么人容易得小脑萎缩| 什么有力| 清新是什么意思| 地方是什么意思| 九八年属什么生肖| 狗鼻子为什么是湿的| 什么是势能| 排恶露吃什么药| 什么是射频| 型式检验是什么意思| 三体是什么意思| 91是什么网站| 三花鱼是什么鱼| 方便是什么意思| 青枝骨折是什么意思| 夏至未至是什么意思| 阿胶不能和什么一起吃| 黄体破裂什么意思| cr是什么意思| 开除党籍有什么后果| 什么命的人会丧偶| 2.17是什么星座| 扁桃体有什么作用| 婆娑是什么意思| 7月30日是什么星座| 老而弥坚是什么意思| 食指中指交叉什么意思| 缠头是什么意思| 闰月是什么意思| 去医院看舌头挂什么科| 心悸气短是什么症状| 潘字五行属什么| 脚掉皮是什么原因| 为什么会宫寒| X-Ray什么意思| 丁五行属什么| 梦见手机摔碎了是什么意思| 龙眼是什么| 肝硬化有什么症状表现| 308什么意思| mac是什么牌子| 放化疗期间吃什么好| 什么叫市级以上医院| 毛孔大什么原因形成的| 小便黄是什么原因引起的| 肉质瘤是什么东西| 叹气是什么意思| 鼻头发黑是什么原因| 女性尿血是什么原因引起的| 三叉神经痛有什么症状| 苍耳是什么东西| 头顶发热是什么原因| 水漂是什么意思| 疱疹是一种什么病| 南红是什么| 皮蛋和什么不能一起吃| 腰间盘膨出和突出有什么区别| 脾胃不好吃什么水果好| 什么叫集体户口| 菠萝炒什么好吃| 飞机不能带什么东西| 内秀是什么意思| 例假少吃什么能让量多| 身体容易青紫是什么原因| 深喉是什么感觉| 平步青云什么意思| 梅花表属于什么档次| 稽留热常见于什么病| 运动裤配什么上衣好看| 头孢属于什么类药物| 九华山求什么最灵验| 接济是什么意思| 老头晕是什么原因引起的| 有因必有果什么意思| 猫代表什么数字| 化疗什么意思| 3月17日是什么星座| 大是大非是什么意思| 黄芪什么人不能喝| nmol是什么单位| 帽子丢了有什么预兆| 肾结石是什么原因引起的| 腾冲有什么好玩的景点| 东盟是什么意思| 公鸭嗓是什么声音| 什么样的西瓜甜| 吃什么补身体| 什么叫两会| epc什么意思| 男生为什么会遗精| 百度

你以为的最美野生菌 其实是地衣


Directory: ../../../ffmpeg/
File: src/libavcodec/hevc/dsp.c
Date: 2025-08-04 00:43:16
Exec Total Coverage
Lines: 17 17 100.0%
Functions: 1 1 100.0%
Branches: 324 324 100.0%

Line Branch Exec Source
1 /*
2 * HEVC video decoder
3 *
4 * Copyright (C) 2012 - 2013 Guillaume Martres
5 * Copyright (C) 2013 - 2014 Pierre-Edouard Lepere
6 *
7 *
8 * This file is part of FFmpeg.
9 *
10 * FFmpeg is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
14 *
15 * FFmpeg is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with FFmpeg; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */
24
25 #include "dsp.h"
26
27 static const int8_t transform[32][32] = {
28 { 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64,
29 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64 },
30 { 90, 90, 88, 85, 82, 78, 73, 67, 61, 54, 46, 38, 31, 22, 13, 4,
31 -4, -13, -22, -31, -38, -46, -54, -61, -67, -73, -78, -82, -85, -88, -90, -90 },
32 { 90, 87, 80, 70, 57, 43, 25, 9, -9, -25, -43, -57, -70, -80, -87, -90,
33 -90, -87, -80, -70, -57, -43, -25, -9, 9, 25, 43, 57, 70, 80, 87, 90 },
34 { 90, 82, 67, 46, 22, -4, -31, -54, -73, -85, -90, -88, -78, -61, -38, -13,
35 13, 38, 61, 78, 88, 90, 85, 73, 54, 31, 4, -22, -46, -67, -82, -90 },
36 { 89, 75, 50, 18, -18, -50, -75, -89, -89, -75, -50, -18, 18, 50, 75, 89,
37 89, 75, 50, 18, -18, -50, -75, -89, -89, -75, -50, -18, 18, 50, 75, 89 },
38 { 88, 67, 31, -13, -54, -82, -90, -78, -46, -4, 38, 73, 90, 85, 61, 22,
39 -22, -61, -85, -90, -73, -38, 4, 46, 78, 90, 82, 54, 13, -31, -67, -88 },
40 { 87, 57, 9, -43, -80, -90, -70, -25, 25, 70, 90, 80, 43, -9, -57, -87,
41 -87, -57, -9, 43, 80, 90, 70, 25, -25, -70, -90, -80, -43, 9, 57, 87 },
42 { 85, 46, -13, -67, -90, -73, -22, 38, 82, 88, 54, -4, -61, -90, -78, -31,
43 31, 78, 90, 61, 4, -54, -88, -82, -38, 22, 73, 90, 67, 13, -46, -85 },
44 { 83, 36, -36, -83, -83, -36, 36, 83, 83, 36, -36, -83, -83, -36, 36, 83,
45 83, 36, -36, -83, -83, -36, 36, 83, 83, 36, -36, -83, -83, -36, 36, 83 },
46 { 82, 22, -54, -90, -61, 13, 78, 85, 31, -46, -90, -67, 4, 73, 88, 38,
47 -38, -88, -73, -4, 67, 90, 46, -31, -85, -78, -13, 61, 90, 54, -22, -82 },
48 { 80, 9, -70, -87, -25, 57, 90, 43, -43, -90, -57, 25, 87, 70, -9, -80,
49 -80, -9, 70, 87, 25, -57, -90, -43, 43, 90, 57, -25, -87, -70, 9, 80 },
50 { 78, -4, -82, -73, 13, 85, 67, -22, -88, -61, 31, 90, 54, -38, -90, -46,
51 46, 90, 38, -54, -90, -31, 61, 88, 22, -67, -85, -13, 73, 82, 4, -78 },
52 { 75, -18, -89, -50, 50, 89, 18, -75, -75, 18, 89, 50, -50, -89, -18, 75,
53 75, -18, -89, -50, 50, 89, 18, -75, -75, 18, 89, 50, -50, -89, -18, 75 },
54 { 73, -31, -90, -22, 78, 67, -38, -90, -13, 82, 61, -46, -88, -4, 85, 54,
55 -54, -85, 4, 88, 46, -61, -82, 13, 90, 38, -67, -78, 22, 90, 31, -73 },
56 { 70, -43, -87, 9, 90, 25, -80, -57, 57, 80, -25, -90, -9, 87, 43, -70,
57 -70, 43, 87, -9, -90, -25, 80, 57, -57, -80, 25, 90, 9, -87, -43, 70 },
58 { 67, -54, -78, 38, 85, -22, -90, 4, 90, 13, -88, -31, 82, 46, -73, -61,
59 61, 73, -46, -82, 31, 88, -13, -90, -4, 90, 22, -85, -38, 78, 54, -67 },
60 { 64, -64, -64, 64, 64, -64, -64, 64, 64, -64, -64, 64, 64, -64, -64, 64,
61 64, -64, -64, 64, 64, -64, -64, 64, 64, -64, -64, 64, 64, -64, -64, 64 },
62 { 61, -73, -46, 82, 31, -88, -13, 90, -4, -90, 22, 85, -38, -78, 54, 67,
63 -67, -54, 78, 38, -85, -22, 90, 4, -90, 13, 88, -31, -82, 46, 73, -61 },
64 { 57, -80, -25, 90, -9, -87, 43, 70, -70, -43, 87, 9, -90, 25, 80, -57,
65 -57, 80, 25, -90, 9, 87, -43, -70, 70, 43, -87, -9, 90, -25, -80, 57 },
66 { 54, -85, -4, 88, -46, -61, 82, 13, -90, 38, 67, -78, -22, 90, -31, -73,
67 73, 31, -90, 22, 78, -67, -38, 90, -13, -82, 61, 46, -88, 4, 85, -54 },
68 { 50, -89, 18, 75, -75, -18, 89, -50, -50, 89, -18, -75, 75, 18, -89, 50,
69 50, -89, 18, 75, -75, -18, 89, -50, -50, 89, -18, -75, 75, 18, -89, 50 },
70 { 46, -90, 38, 54, -90, 31, 61, -88, 22, 67, -85, 13, 73, -82, 4, 78,
71 -78, -4, 82, -73, -13, 85, -67, -22, 88, -61, -31, 90, -54, -38, 90, -46 },
72 { 43, -90, 57, 25, -87, 70, 9, -80, 80, -9, -70, 87, -25, -57, 90, -43,
73 -43, 90, -57, -25, 87, -70, -9, 80, -80, 9, 70, -87, 25, 57, -90, 43 },
74 { 38, -88, 73, -4, -67, 90, -46, -31, 85, -78, 13, 61, -90, 54, 22, -82,
75 82, -22, -54, 90, -61, -13, 78, -85, 31, 46, -90, 67, 4, -73, 88, -38 },
76 { 36, -83, 83, -36, -36, 83, -83, 36, 36, -83, 83, -36, -36, 83, -83, 36,
77 36, -83, 83, -36, -36, 83, -83, 36, 36, -83, 83, -36, -36, 83, -83, 36 },
78 { 31, -78, 90, -61, 4, 54, -88, 82, -38, -22, 73, -90, 67, -13, -46, 85,
79 -85, 46, 13, -67, 90, -73, 22, 38, -82, 88, -54, -4, 61, -90, 78, -31 },
80 { 25, -70, 90, -80, 43, 9, -57, 87, -87, 57, -9, -43, 80, -90, 70, -25,
81 -25, 70, -90, 80, -43, -9, 57, -87, 87, -57, 9, 43, -80, 90, -70, 25 },
82 { 22, -61, 85, -90, 73, -38, -4, 46, -78, 90, -82, 54, -13, -31, 67, -88,
83 88, -67, 31, 13, -54, 82, -90, 78, -46, 4, 38, -73, 90, -85, 61, -22 },
84 { 18, -50, 75, -89, 89, -75, 50, -18, -18, 50, -75, 89, -89, 75, -50, 18,
85 18, -50, 75, -89, 89, -75, 50, -18, -18, 50, -75, 89, -89, 75, -50, 18 },
86 { 13, -38, 61, -78, 88, -90, 85, -73, 54, -31, 4, 22, -46, 67, -82, 90,
87 -90, 82, -67, 46, -22, -4, 31, -54, 73, -85, 90, -88, 78, -61, 38, -13 },
88 { 9, -25, 43, -57, 70, -80, 87, -90, 90, -87, 80, -70, 57, -43, 25, -9,
89 -9, 25, -43, 57, -70, 80, -87, 90, -90, 87, -80, 70, -57, 43, -25, 9 },
90 { 4, -13, 22, -31, 38, -46, 54, -61, 67, -73, 78, -82, 85, -88, 90, -90,
91 90, -90, 88, -85, 82, -78, 73, -67, 61, -54, 46, -38, 31, -22, 13, -4 },
92 };
93
94 DECLARE_ALIGNED(16, const int8_t, ff_hevc_epel_filters)[8][4] = {
95 { 0 },
96 { -2, 58, 10, -2},
97 { -4, 54, 16, -2},
98 { -6, 46, 28, -4},
99 { -4, 36, 36, -4},
100 { -4, 28, 46, -6},
101 { -2, 16, 54, -4},
102 { -2, 10, 58, -2},
103 };
104
105 DECLARE_ALIGNED(16, const int8_t, ff_hevc_qpel_filters)[4][16] = {
106 { 0 },
107 { -1, 4,-10, 58, 17, -5, 1, 0, -1, 4,-10, 58, 17, -5, 1, 0},
108 { -1, 4,-11, 40, 40,-11, 4, -1, -1, 4,-11, 40, 40,-11, 4, -1},
109 { 0, 1, -5, 17, 58,-10, 4, -1, 0, 1, -5, 17, 58,-10, 4, -1}
110 };
111
112 #define BIT_DEPTH 8
113 #include "dsp_template.c"
114 #undef BIT_DEPTH
115
116 #define BIT_DEPTH 9
117 #include "dsp_template.c"
118 #undef BIT_DEPTH
119
120 #define BIT_DEPTH 10
121 #include "dsp_template.c"
122 #undef BIT_DEPTH
123
124 #define BIT_DEPTH 12
125 #include "dsp_template.c"
126 #undef BIT_DEPTH
127
128 1490 void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth)
129 {
130 #undef FUNC
131 #define FUNC(a, depth) a ## _ ## depth
132
133 #undef PEL_FUNC
134 #define PEL_FUNC(dst1, idx1, idx2, a, depth) \
135 for(i = 0 ; i < 10 ; i++) \
136 { \
137 hevcdsp->dst1[i][idx1][idx2] = a ## _ ## depth; \
138 }
139
140 #undef EPEL_FUNCS
141 #define EPEL_FUNCS(depth) \
142 PEL_FUNC(put_hevc_epel, 0, 0, put_hevc_pel_pixels, depth); \
143 PEL_FUNC(put_hevc_epel, 0, 1, put_hevc_epel_h, depth); \
144 PEL_FUNC(put_hevc_epel, 1, 0, put_hevc_epel_v, depth); \
145 PEL_FUNC(put_hevc_epel, 1, 1, put_hevc_epel_hv, depth)
146
147 #undef EPEL_UNI_FUNCS
148 #define EPEL_UNI_FUNCS(depth) \
149 PEL_FUNC(put_hevc_epel_uni, 0, 0, put_hevc_pel_uni_pixels, depth); \
150 PEL_FUNC(put_hevc_epel_uni, 0, 1, put_hevc_epel_uni_h, depth); \
151 PEL_FUNC(put_hevc_epel_uni, 1, 0, put_hevc_epel_uni_v, depth); \
152 PEL_FUNC(put_hevc_epel_uni, 1, 1, put_hevc_epel_uni_hv, depth); \
153 PEL_FUNC(put_hevc_epel_uni_w, 0, 0, put_hevc_pel_uni_w_pixels, depth); \
154 PEL_FUNC(put_hevc_epel_uni_w, 0, 1, put_hevc_epel_uni_w_h, depth); \
155 PEL_FUNC(put_hevc_epel_uni_w, 1, 0, put_hevc_epel_uni_w_v, depth); \
156 PEL_FUNC(put_hevc_epel_uni_w, 1, 1, put_hevc_epel_uni_w_hv, depth)
157
158 #undef EPEL_BI_FUNCS
159 #define EPEL_BI_FUNCS(depth) \
160 PEL_FUNC(put_hevc_epel_bi, 0, 0, put_hevc_pel_bi_pixels, depth); \
161 PEL_FUNC(put_hevc_epel_bi, 0, 1, put_hevc_epel_bi_h, depth); \
162 PEL_FUNC(put_hevc_epel_bi, 1, 0, put_hevc_epel_bi_v, depth); \
163 PEL_FUNC(put_hevc_epel_bi, 1, 1, put_hevc_epel_bi_hv, depth); \
164 PEL_FUNC(put_hevc_epel_bi_w, 0, 0, put_hevc_pel_bi_w_pixels, depth); \
165 PEL_FUNC(put_hevc_epel_bi_w, 0, 1, put_hevc_epel_bi_w_h, depth); \
166 PEL_FUNC(put_hevc_epel_bi_w, 1, 0, put_hevc_epel_bi_w_v, depth); \
167 PEL_FUNC(put_hevc_epel_bi_w, 1, 1, put_hevc_epel_bi_w_hv, depth)
168
169 #undef QPEL_FUNCS
170 #define QPEL_FUNCS(depth) \
171 PEL_FUNC(put_hevc_qpel, 0, 0, put_hevc_pel_pixels, depth); \
172 PEL_FUNC(put_hevc_qpel, 0, 1, put_hevc_qpel_h, depth); \
173 PEL_FUNC(put_hevc_qpel, 1, 0, put_hevc_qpel_v, depth); \
174 PEL_FUNC(put_hevc_qpel, 1, 1, put_hevc_qpel_hv, depth)
175
176 #undef QPEL_UNI_FUNCS
177 #define QPEL_UNI_FUNCS(depth) \
178 PEL_FUNC(put_hevc_qpel_uni, 0, 0, put_hevc_pel_uni_pixels, depth); \
179 PEL_FUNC(put_hevc_qpel_uni, 0, 1, put_hevc_qpel_uni_h, depth); \
180 PEL_FUNC(put_hevc_qpel_uni, 1, 0, put_hevc_qpel_uni_v, depth); \
181 PEL_FUNC(put_hevc_qpel_uni, 1, 1, put_hevc_qpel_uni_hv, depth); \
182 PEL_FUNC(put_hevc_qpel_uni_w, 0, 0, put_hevc_pel_uni_w_pixels, depth); \
183 PEL_FUNC(put_hevc_qpel_uni_w, 0, 1, put_hevc_qpel_uni_w_h, depth); \
184 PEL_FUNC(put_hevc_qpel_uni_w, 1, 0, put_hevc_qpel_uni_w_v, depth); \
185 PEL_FUNC(put_hevc_qpel_uni_w, 1, 1, put_hevc_qpel_uni_w_hv, depth)
186
187 #undef QPEL_BI_FUNCS
188 #define QPEL_BI_FUNCS(depth) \
189 PEL_FUNC(put_hevc_qpel_bi, 0, 0, put_hevc_pel_bi_pixels, depth); \
190 PEL_FUNC(put_hevc_qpel_bi, 0, 1, put_hevc_qpel_bi_h, depth); \
191 PEL_FUNC(put_hevc_qpel_bi, 1, 0, put_hevc_qpel_bi_v, depth); \
192 PEL_FUNC(put_hevc_qpel_bi, 1, 1, put_hevc_qpel_bi_hv, depth); \
193 PEL_FUNC(put_hevc_qpel_bi_w, 0, 0, put_hevc_pel_bi_w_pixels, depth); \
194 PEL_FUNC(put_hevc_qpel_bi_w, 0, 1, put_hevc_qpel_bi_w_h, depth); \
195 PEL_FUNC(put_hevc_qpel_bi_w, 1, 0, put_hevc_qpel_bi_w_v, depth); \
196 PEL_FUNC(put_hevc_qpel_bi_w, 1, 1, put_hevc_qpel_bi_w_hv, depth)
197
198 #define HEVC_DSP(depth) \
199 hevcdsp->put_pcm = FUNC(put_pcm, depth); \
200 hevcdsp->add_residual[0] = FUNC(add_residual4x4, depth); \
201 hevcdsp->add_residual[1] = FUNC(add_residual8x8, depth); \
202 hevcdsp->add_residual[2] = FUNC(add_residual16x16, depth); \
203 hevcdsp->add_residual[3] = FUNC(add_residual32x32, depth); \
204 hevcdsp->dequant = FUNC(dequant, depth); \
205 hevcdsp->transform_rdpcm = FUNC(transform_rdpcm, depth); \
206 hevcdsp->transform_4x4_luma = FUNC(transform_4x4_luma, depth); \
207 hevcdsp->idct[0] = FUNC(idct_4x4, depth); \
208 hevcdsp->idct[1] = FUNC(idct_8x8, depth); \
209 hevcdsp->idct[2] = FUNC(idct_16x16, depth); \
210 hevcdsp->idct[3] = FUNC(idct_32x32, depth); \
211 \
212 hevcdsp->idct_dc[0] = FUNC(idct_4x4_dc, depth); \
213 hevcdsp->idct_dc[1] = FUNC(idct_8x8_dc, depth); \
214 hevcdsp->idct_dc[2] = FUNC(idct_16x16_dc, depth); \
215 hevcdsp->idct_dc[3] = FUNC(idct_32x32_dc, depth); \
216 \
217 hevcdsp->sao_band_filter[0] = \
218 hevcdsp->sao_band_filter[1] = \
219 hevcdsp->sao_band_filter[2] = \
220 hevcdsp->sao_band_filter[3] = \
221 hevcdsp->sao_band_filter[4] = FUNC(sao_band_filter, depth); \
222 hevcdsp->sao_edge_filter[0] = \
223 hevcdsp->sao_edge_filter[1] = \
224 hevcdsp->sao_edge_filter[2] = \
225 hevcdsp->sao_edge_filter[3] = \
226 hevcdsp->sao_edge_filter[4] = FUNC(sao_edge_filter, depth); \
227 hevcdsp->sao_edge_restore[0] = FUNC(sao_edge_restore_0, depth); \
228 hevcdsp->sao_edge_restore[1] = FUNC(sao_edge_restore_1, depth); \
229 \
230 QPEL_FUNCS(depth); \
231 QPEL_UNI_FUNCS(depth); \
232 QPEL_BI_FUNCS(depth); \
233 EPEL_FUNCS(depth); \
234 EPEL_UNI_FUNCS(depth); \
235 EPEL_BI_FUNCS(depth); \
236 \
237 hevcdsp->hevc_h_loop_filter_luma = FUNC(hevc_h_loop_filter_luma, depth); \
238 hevcdsp->hevc_v_loop_filter_luma = FUNC(hevc_v_loop_filter_luma, depth); \
239 hevcdsp->hevc_h_loop_filter_chroma = FUNC(hevc_h_loop_filter_chroma, depth); \
240 hevcdsp->hevc_v_loop_filter_chroma = FUNC(hevc_v_loop_filter_chroma, depth); \
241 hevcdsp->hevc_h_loop_filter_luma_c = FUNC(hevc_h_loop_filter_luma, depth); \
242 hevcdsp->hevc_v_loop_filter_luma_c = FUNC(hevc_v_loop_filter_luma, depth); \
243 hevcdsp->hevc_h_loop_filter_chroma_c = FUNC(hevc_h_loop_filter_chroma, depth); \
244 hevcdsp->hevc_v_loop_filter_chroma_c = FUNC(hevc_v_loop_filter_chroma, depth)
245 1490 int i = 0;
246
247
4/4
✓ Branch 0 taken 143 times.
✓ Branch 1 taken 309 times.
✓ Branch 2 taken 270 times.
✓ Branch 3 taken 768 times.
1490 switch (bit_depth) {
248 143 case 9:
249
80/80
✓ Branch 0 taken 1430 times.
✓ Branch 1 taken 143 times.
✓ Branch 2 taken 1430 times.
✓ Branch 3 taken 143 times.
✓ Branch 4 taken 1430 times.
✓ Branch 5 taken 143 times.
✓ Branch 6 taken 1430 times.
✓ Branch 7 taken 143 times.
✓ Branch 8 taken 1430 times.
✓ Branch 9 taken 143 times.
✓ Branch 10 taken 1430 times.
✓ Branch 11 taken 143 times.
✓ Branch 12 taken 1430 times.
✓ Branch 13 taken 143 times.
✓ Branch 14 taken 1430 times.
✓ Branch 15 taken 143 times.
✓ Branch 16 taken 1430 times.
✓ Branch 17 taken 143 times.
✓ Branch 18 taken 1430 times.
✓ Branch 19 taken 143 times.
✓ Branch 20 taken 1430 times.
✓ Branch 21 taken 143 times.
✓ Branch 22 taken 1430 times.
✓ Branch 23 taken 143 times.
✓ Branch 24 taken 1430 times.
✓ Branch 25 taken 143 times.
✓ Branch 26 taken 1430 times.
✓ Branch 27 taken 143 times.
✓ Branch 28 taken 1430 times.
✓ Branch 29 taken 143 times.
✓ Branch 30 taken 1430 times.
✓ Branch 31 taken 143 times.
✓ Branch 32 taken 1430 times.
✓ Branch 33 taken 143 times.
✓ Branch 34 taken 1430 times.
✓ Branch 35 taken 143 times.
✓ Branch 36 taken 1430 times.
✓ Branch 37 taken 143 times.
✓ Branch 38 taken 1430 times.
✓ Branch 39 taken 143 times.
✓ Branch 40 taken 1430 times.
✓ Branch 41 taken 143 times.
✓ Branch 42 taken 1430 times.
✓ Branch 43 taken 143 times.
✓ Branch 44 taken 1430 times.
✓ Branch 45 taken 143 times.
✓ Branch 46 taken 1430 times.
✓ Branch 47 taken 143 times.
✓ Branch 48 taken 1430 times.
✓ Branch 49 taken 143 times.
✓ Branch 50 taken 1430 times.
✓ Branch 51 taken 143 times.
✓ Branch 52 taken 1430 times.
✓ Branch 53 taken 143 times.
✓ Branch 54 taken 1430 times.
✓ Branch 55 taken 143 times.
✓ Branch 56 taken 1430 times.
✓ Branch 57 taken 143 times.
✓ Branch 58 taken 1430 times.
✓ Branch 59 taken 143 times.
✓ Branch 60 taken 1430 times.
✓ Branch 61 taken 143 times.
✓ Branch 62 taken 1430 times.
✓ Branch 63 taken 143 times.
✓ Branch 64 taken 1430 times.
✓ Branch 65 taken 143 times.
✓ Branch 66 taken 1430 times.
✓ Branch 67 taken 143 times.
✓ Branch 68 taken 1430 times.
✓ Branch 69 taken 143 times.
✓ Branch 70 taken 1430 times.
✓ Branch 71 taken 143 times.
✓ Branch 72 taken 1430 times.
✓ Branch 73 taken 143 times.
✓ Branch 74 taken 1430 times.
✓ Branch 75 taken 143 times.
✓ Branch 76 taken 1430 times.
✓ Branch 77 taken 143 times.
✓ Branch 78 taken 1430 times.
✓ Branch 79 taken 143 times.
57343 HEVC_DSP(9);
250 143 break;
251 309 case 10:
252
80/80
✓ Branch 0 taken 3090 times.
✓ Branch 1 taken 309 times.
✓ Branch 2 taken 3090 times.
✓ Branch 3 taken 309 times.
✓ Branch 4 taken 3090 times.
✓ Branch 5 taken 309 times.
✓ Branch 6 taken 3090 times.
✓ Branch 7 taken 309 times.
✓ Branch 8 taken 3090 times.
✓ Branch 9 taken 309 times.
✓ Branch 10 taken 3090 times.
✓ Branch 11 taken 309 times.
✓ Branch 12 taken 3090 times.
✓ Branch 13 taken 309 times.
✓ Branch 14 taken 3090 times.
✓ Branch 15 taken 309 times.
✓ Branch 16 taken 3090 times.
✓ Branch 17 taken 309 times.
✓ Branch 18 taken 3090 times.
✓ Branch 19 taken 309 times.
✓ Branch 20 taken 3090 times.
✓ Branch 21 taken 309 times.
✓ Branch 22 taken 3090 times.
✓ Branch 23 taken 309 times.
✓ Branch 24 taken 3090 times.
✓ Branch 25 taken 309 times.
✓ Branch 26 taken 3090 times.
✓ Branch 27 taken 309 times.
✓ Branch 28 taken 3090 times.
✓ Branch 29 taken 309 times.
✓ Branch 30 taken 3090 times.
✓ Branch 31 taken 309 times.
✓ Branch 32 taken 3090 times.
✓ Branch 33 taken 309 times.
✓ Branch 34 taken 3090 times.
✓ Branch 35 taken 309 times.
✓ Branch 36 taken 3090 times.
✓ Branch 37 taken 309 times.
✓ Branch 38 taken 3090 times.
✓ Branch 39 taken 309 times.
✓ Branch 40 taken 3090 times.
✓ Branch 41 taken 309 times.
✓ Branch 42 taken 3090 times.
✓ Branch 43 taken 309 times.
✓ Branch 44 taken 3090 times.
✓ Branch 45 taken 309 times.
✓ Branch 46 taken 3090 times.
✓ Branch 47 taken 309 times.
✓ Branch 48 taken 3090 times.
✓ Branch 49 taken 309 times.
✓ Branch 50 taken 3090 times.
✓ Branch 51 taken 309 times.
✓ Branch 52 taken 3090 times.
✓ Branch 53 taken 309 times.
✓ Branch 54 taken 3090 times.
✓ Branch 55 taken 309 times.
✓ Branch 56 taken 3090 times.
✓ Branch 57 taken 309 times.
✓ Branch 58 taken 3090 times.
✓ Branch 59 taken 309 times.
✓ Branch 60 taken 3090 times.
✓ Branch 61 taken 309 times.
✓ Branch 62 taken 3090 times.
✓ Branch 63 taken 309 times.
✓ Branch 64 taken 3090 times.
✓ Branch 65 taken 309 times.
✓ Branch 66 taken 3090 times.
✓ Branch 67 taken 309 times.
✓ Branch 68 taken 3090 times.
✓ Branch 69 taken 309 times.
✓ Branch 70 taken 3090 times.
✓ Branch 71 taken 309 times.
✓ Branch 72 taken 3090 times.
✓ Branch 73 taken 309 times.
✓ Branch 74 taken 3090 times.
✓ Branch 75 taken 309 times.
✓ Branch 76 taken 3090 times.
✓ Branch 77 taken 309 times.
✓ Branch 78 taken 3090 times.
✓ Branch 79 taken 309 times.
123909 HEVC_DSP(10);
253 309 break;
254 270 case 12:
255
80/80
✓ Branch 0 taken 2700 times.
✓ Branch 1 taken 270 times.
✓ Branch 2 taken 2700 times.
✓ Branch 3 taken 270 times.
✓ Branch 4 taken 2700 times.
✓ Branch 5 taken 270 times.
✓ Branch 6 taken 2700 times.
✓ Branch 7 taken 270 times.
✓ Branch 8 taken 2700 times.
✓ Branch 9 taken 270 times.
✓ Branch 10 taken 2700 times.
✓ Branch 11 taken 270 times.
✓ Branch 12 taken 2700 times.
✓ Branch 13 taken 270 times.
✓ Branch 14 taken 2700 times.
✓ Branch 15 taken 270 times.
✓ Branch 16 taken 2700 times.
✓ Branch 17 taken 270 times.
✓ Branch 18 taken 2700 times.
✓ Branch 19 taken 270 times.
✓ Branch 20 taken 2700 times.
✓ Branch 21 taken 270 times.
✓ Branch 22 taken 2700 times.
✓ Branch 23 taken 270 times.
✓ Branch 24 taken 2700 times.
✓ Branch 25 taken 270 times.
✓ Branch 26 taken 2700 times.
✓ Branch 27 taken 270 times.
✓ Branch 28 taken 2700 times.
✓ Branch 29 taken 270 times.
✓ Branch 30 taken 2700 times.
✓ Branch 31 taken 270 times.
✓ Branch 32 taken 2700 times.
✓ Branch 33 taken 270 times.
✓ Branch 34 taken 2700 times.
✓ Branch 35 taken 270 times.
✓ Branch 36 taken 2700 times.
✓ Branch 37 taken 270 times.
✓ Branch 38 taken 2700 times.
✓ Branch 39 taken 270 times.
✓ Branch 40 taken 2700 times.
✓ Branch 41 taken 270 times.
✓ Branch 42 taken 2700 times.
✓ Branch 43 taken 270 times.
✓ Branch 44 taken 2700 times.
✓ Branch 45 taken 270 times.
✓ Branch 46 taken 2700 times.
✓ Branch 47 taken 270 times.
✓ Branch 48 taken 2700 times.
✓ Branch 49 taken 270 times.
✓ Branch 50 taken 2700 times.
✓ Branch 51 taken 270 times.
✓ Branch 52 taken 2700 times.
✓ Branch 53 taken 270 times.
✓ Branch 54 taken 2700 times.
✓ Branch 55 taken 270 times.
✓ Branch 56 taken 2700 times.
✓ Branch 57 taken 270 times.
✓ Branch 58 taken 2700 times.
✓ Branch 59 taken 270 times.
✓ Branch 60 taken 2700 times.
✓ Branch 61 taken 270 times.
✓ Branch 62 taken 2700 times.
✓ Branch 63 taken 270 times.
✓ Branch 64 taken 2700 times.
✓ Branch 65 taken 270 times.
✓ Branch 66 taken 2700 times.
✓ Branch 67 taken 270 times.
✓ Branch 68 taken 2700 times.
✓ Branch 69 taken 270 times.
✓ Branch 70 taken 2700 times.
✓ Branch 71 taken 270 times.
✓ Branch 72 taken 2700 times.
✓ Branch 73 taken 270 times.
✓ Branch 74 taken 2700 times.
✓ Branch 75 taken 270 times.
✓ Branch 76 taken 2700 times.
✓ Branch 77 taken 270 times.
✓ Branch 78 taken 2700 times.
✓ Branch 79 taken 270 times.
108270 HEVC_DSP(12);
256 270 break;
257 768 default:
258
80/80
✓ Branch 0 taken 7680 times.
✓ Branch 1 taken 768 times.
✓ Branch 2 taken 7680 times.
✓ Branch 3 taken 768 times.
✓ Branch 4 taken 7680 times.
✓ Branch 5 taken 768 times.
✓ Branch 6 taken 7680 times.
✓ Branch 7 taken 768 times.
✓ Branch 8 taken 7680 times.
✓ Branch 9 taken 768 times.
✓ Branch 10 taken 7680 times.
✓ Branch 11 taken 768 times.
✓ Branch 12 taken 7680 times.
✓ Branch 13 taken 768 times.
✓ Branch 14 taken 7680 times.
✓ Branch 15 taken 768 times.
✓ Branch 16 taken 7680 times.
✓ Branch 17 taken 768 times.
✓ Branch 18 taken 7680 times.
✓ Branch 19 taken 768 times.
✓ Branch 20 taken 7680 times.
✓ Branch 21 taken 768 times.
✓ Branch 22 taken 7680 times.
✓ Branch 23 taken 768 times.
✓ Branch 24 taken 7680 times.
✓ Branch 25 taken 768 times.
✓ Branch 26 taken 7680 times.
✓ Branch 27 taken 768 times.
✓ Branch 28 taken 7680 times.
✓ Branch 29 taken 768 times.
✓ Branch 30 taken 7680 times.
✓ Branch 31 taken 768 times.
✓ Branch 32 taken 7680 times.
✓ Branch 33 taken 768 times.
✓ Branch 34 taken 7680 times.
✓ Branch 35 taken 768 times.
✓ Branch 36 taken 7680 times.
✓ Branch 37 taken 768 times.
✓ Branch 38 taken 7680 times.
✓ Branch 39 taken 768 times.
✓ Branch 40 taken 7680 times.
✓ Branch 41 taken 768 times.
✓ Branch 42 taken 7680 times.
✓ Branch 43 taken 768 times.
✓ Branch 44 taken 7680 times.
✓ Branch 45 taken 768 times.
✓ Branch 46 taken 7680 times.
✓ Branch 47 taken 768 times.
✓ Branch 48 taken 7680 times.
✓ Branch 49 taken 768 times.
✓ Branch 50 taken 7680 times.
✓ Branch 51 taken 768 times.
✓ Branch 52 taken 7680 times.
✓ Branch 53 taken 768 times.
✓ Branch 54 taken 7680 times.
✓ Branch 55 taken 768 times.
✓ Branch 56 taken 7680 times.
✓ Branch 57 taken 768 times.
✓ Branch 58 taken 7680 times.
✓ Branch 59 taken 768 times.
✓ Branch 60 taken 7680 times.
✓ Branch 61 taken 768 times.
✓ Branch 62 taken 7680 times.
✓ Branch 63 taken 768 times.
✓ Branch 64 taken 7680 times.
✓ Branch 65 taken 768 times.
✓ Branch 66 taken 7680 times.
✓ Branch 67 taken 768 times.
✓ Branch 68 taken 7680 times.
✓ Branch 69 taken 768 times.
✓ Branch 70 taken 7680 times.
✓ Branch 71 taken 768 times.
✓ Branch 72 taken 7680 times.
✓ Branch 73 taken 768 times.
✓ Branch 74 taken 7680 times.
✓ Branch 75 taken 768 times.
✓ Branch 76 taken 7680 times.
✓ Branch 77 taken 768 times.
✓ Branch 78 taken 7680 times.
✓ Branch 79 taken 768 times.
307968 HEVC_DSP(8);
259 768 break;
260 }
261
262 #if ARCH_AARCH64
263 ff_hevc_dsp_init_aarch64(hevcdsp, bit_depth);
264 #elif ARCH_ARM
265 ff_hevc_dsp_init_arm(hevcdsp, bit_depth);
266 #elif ARCH_PPC
267 ff_hevc_dsp_init_ppc(hevcdsp, bit_depth);
268 #elif ARCH_RISCV
269 ff_hevc_dsp_init_riscv(hevcdsp, bit_depth);
270 #elif ARCH_WASM
271 ff_hevc_dsp_init_wasm(hevcdsp, bit_depth);
272 #elif ARCH_X86
273 1490 ff_hevc_dsp_init_x86(hevcdsp, bit_depth);
274 #elif ARCH_MIPS
275 ff_hevc_dsp_init_mips(hevcdsp, bit_depth);
276 #elif ARCH_LOONGARCH
277 ff_hevc_dsp_init_loongarch(hevcdsp, bit_depth);
278 #endif
279 1490 }
280

鼎是干什么用的 bl小说是什么意思 上海有什么好玩的地方旅游景点 红茶用什么茶具泡好 和解少阳是什么意思
狗狗拉肚子是什么原因 外强中干是什么意思 偏头痛什么原因引起的 毛新宇什么级别 送枕头代表什么意思
三七草长什么样 roi是什么 石棉是什么 血糖高吃什么蔬菜 助听器什么牌子好用
什么时候最容易怀孕 硬水是什么 hsil是什么意思 情感障碍是什么意思 膀胱癌早期是什么症状
什么水果可以美白hcv9jop0ns3r.cn 牛蒡是什么东西hcv9jop4ns6r.cn 什么菜可以隔夜吃bfb118.com 女人得性疾病什么症状hcv9jop6ns0r.cn 孕妇做唐筛是检查什么hcv9jop4ns2r.cn
33是什么意思hcv8jop2ns5r.cn 桂圆和红枣泡水喝有什么好处hcv9jop3ns5r.cn 国企混改是什么意思hcv9jop6ns9r.cn 贫血吃什么补得快hcv9jop7ns9r.cn 什么水适合婴儿冲奶粉hcv7jop7ns3r.cn
神经质是什么意思hcv7jop7ns1r.cn 桃子不能跟什么一起吃hcv9jop7ns4r.cn 1975年属兔的是什么命hcv8jop8ns1r.cn 龟头炎用什么药膏sanhestory.com 30年婚姻叫什么婚hcv7jop6ns2r.cn
小孩感冒发烧吃什么药hcv8jop8ns3r.cn 什么是前置胎盘hcv7jop6ns8r.cn 梦见游泳是什么预兆hcv8jop9ns8r.cn 治疗幽门螺旋杆菌的四联药是什么hcv9jop3ns8r.cn 幽门螺旋杆菌做什么检查hcv8jop1ns9r.cn
百度