@img/sharp-libvips-dev 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (656) hide show
  1. package/README.md +47 -0
  2. package/cplusplus/VConnection.cpp +151 -0
  3. package/cplusplus/VError.cpp +49 -0
  4. package/cplusplus/VImage.cpp +1548 -0
  5. package/cplusplus/VInterpolate.cpp +62 -0
  6. package/cplusplus/VRegion.cpp +27 -0
  7. package/cplusplus/index.js +1 -0
  8. package/cplusplus/vips-operators.cpp +3760 -0
  9. package/include/aom/aom.h +127 -0
  10. package/include/aom/aom_codec.h +573 -0
  11. package/include/aom/aom_decoder.h +257 -0
  12. package/include/aom/aom_encoder.h +1137 -0
  13. package/include/aom/aom_external_partition.h +452 -0
  14. package/include/aom/aom_frame_buffer.h +84 -0
  15. package/include/aom/aom_image.h +448 -0
  16. package/include/aom/aom_integer.h +68 -0
  17. package/include/aom/aomcx.h +2112 -0
  18. package/include/aom/aomdx.h +604 -0
  19. package/include/archive.h +1212 -0
  20. package/include/archive_entry.h +723 -0
  21. package/include/cairo/cairo-deprecated.h +123 -0
  22. package/include/cairo/cairo-features.h +29 -0
  23. package/include/cairo/cairo-ft.h +118 -0
  24. package/include/cairo/cairo-gobject.h +192 -0
  25. package/include/cairo/cairo-svg.h +130 -0
  26. package/include/cairo/cairo-version.h +8 -0
  27. package/include/cairo/cairo.h +3281 -0
  28. package/include/cgif.h +80 -0
  29. package/include/expat.h +1064 -0
  30. package/include/expat_config.h +140 -0
  31. package/include/expat_external.h +165 -0
  32. package/include/ffi.h +531 -0
  33. package/include/ffitarget.h +164 -0
  34. package/include/fontconfig/fcfreetype.h +59 -0
  35. package/include/fontconfig/fcprivate.h +134 -0
  36. package/include/fontconfig/fontconfig.h +1158 -0
  37. package/include/freetype2/freetype/config/ftconfig.h +51 -0
  38. package/include/freetype2/freetype/config/ftheader.h +836 -0
  39. package/include/freetype2/freetype/config/ftmodule.h +21 -0
  40. package/include/freetype2/freetype/config/ftoption.h +1014 -0
  41. package/include/freetype2/freetype/config/ftstdlib.h +185 -0
  42. package/include/freetype2/freetype/config/integer-types.h +250 -0
  43. package/include/freetype2/freetype/config/mac-support.h +49 -0
  44. package/include/freetype2/freetype/config/public-macros.h +138 -0
  45. package/include/freetype2/freetype/freetype.h +5337 -0
  46. package/include/freetype2/freetype/ftadvanc.h +188 -0
  47. package/include/freetype2/freetype/ftbbox.h +101 -0
  48. package/include/freetype2/freetype/ftbdf.h +212 -0
  49. package/include/freetype2/freetype/ftbitmap.h +329 -0
  50. package/include/freetype2/freetype/ftbzip2.h +102 -0
  51. package/include/freetype2/freetype/ftcache.h +1087 -0
  52. package/include/freetype2/freetype/ftchapters.h +168 -0
  53. package/include/freetype2/freetype/ftcid.h +167 -0
  54. package/include/freetype2/freetype/ftcolor.h +1667 -0
  55. package/include/freetype2/freetype/ftdriver.h +1246 -0
  56. package/include/freetype2/freetype/fterrdef.h +283 -0
  57. package/include/freetype2/freetype/fterrors.h +296 -0
  58. package/include/freetype2/freetype/ftfntfmt.h +93 -0
  59. package/include/freetype2/freetype/ftgasp.h +143 -0
  60. package/include/freetype2/freetype/ftglyph.h +750 -0
  61. package/include/freetype2/freetype/ftgxval.h +354 -0
  62. package/include/freetype2/freetype/ftgzip.h +151 -0
  63. package/include/freetype2/freetype/ftimage.h +1284 -0
  64. package/include/freetype2/freetype/ftincrem.h +348 -0
  65. package/include/freetype2/freetype/ftlcdfil.h +323 -0
  66. package/include/freetype2/freetype/ftlist.h +296 -0
  67. package/include/freetype2/freetype/ftlzw.h +100 -0
  68. package/include/freetype2/freetype/ftmac.h +289 -0
  69. package/include/freetype2/freetype/ftmm.h +805 -0
  70. package/include/freetype2/freetype/ftmodapi.h +807 -0
  71. package/include/freetype2/freetype/ftmoderr.h +204 -0
  72. package/include/freetype2/freetype/ftotval.h +206 -0
  73. package/include/freetype2/freetype/ftoutln.h +588 -0
  74. package/include/freetype2/freetype/ftparams.h +218 -0
  75. package/include/freetype2/freetype/ftpfr.h +179 -0
  76. package/include/freetype2/freetype/ftrender.h +244 -0
  77. package/include/freetype2/freetype/ftsizes.h +159 -0
  78. package/include/freetype2/freetype/ftsnames.h +272 -0
  79. package/include/freetype2/freetype/ftstroke.h +773 -0
  80. package/include/freetype2/freetype/ftsynth.h +104 -0
  81. package/include/freetype2/freetype/ftsystem.h +350 -0
  82. package/include/freetype2/freetype/fttrigon.h +350 -0
  83. package/include/freetype2/freetype/fttypes.h +617 -0
  84. package/include/freetype2/freetype/ftwinfnt.h +276 -0
  85. package/include/freetype2/freetype/otsvg.h +336 -0
  86. package/include/freetype2/freetype/t1tables.h +793 -0
  87. package/include/freetype2/freetype/ttnameid.h +1235 -0
  88. package/include/freetype2/freetype/tttables.h +855 -0
  89. package/include/freetype2/freetype/tttags.h +124 -0
  90. package/include/freetype2/ft2build.h +42 -0
  91. package/include/fribidi/fribidi-arabic.h +81 -0
  92. package/include/fribidi/fribidi-begindecls.h +3 -0
  93. package/include/fribidi/fribidi-bidi-types-list.h +96 -0
  94. package/include/fribidi/fribidi-bidi-types.h +405 -0
  95. package/include/fribidi/fribidi-bidi.h +142 -0
  96. package/include/fribidi/fribidi-brackets.h +89 -0
  97. package/include/fribidi/fribidi-char-sets-list.h +54 -0
  98. package/include/fribidi/fribidi-char-sets.h +106 -0
  99. package/include/fribidi/fribidi-common.h +152 -0
  100. package/include/fribidi/fribidi-config.h +23 -0
  101. package/include/fribidi/fribidi-deprecated.h +175 -0
  102. package/include/fribidi/fribidi-enddecls.h +3 -0
  103. package/include/fribidi/fribidi-flags.h +72 -0
  104. package/include/fribidi/fribidi-joining-types-list.h +44 -0
  105. package/include/fribidi/fribidi-joining-types.h +249 -0
  106. package/include/fribidi/fribidi-joining.h +74 -0
  107. package/include/fribidi/fribidi-mirroring.h +86 -0
  108. package/include/fribidi/fribidi-shape.h +71 -0
  109. package/include/fribidi/fribidi-types.h +79 -0
  110. package/include/fribidi/fribidi-unicode-version.h +10 -0
  111. package/include/fribidi/fribidi-unicode.h +105 -0
  112. package/include/fribidi/fribidi.h +129 -0
  113. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h +221 -0
  114. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-autocleanups.h +37 -0
  115. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h +525 -0
  116. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-enum-types.h +40 -0
  117. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-features.h +115 -0
  118. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h +481 -0
  119. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-loader.h +113 -0
  120. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-macros.h +718 -0
  121. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-marshal.h +33 -0
  122. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-simple-anim.h +70 -0
  123. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-transform.h +168 -0
  124. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h +46 -0
  125. package/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixdata.h +165 -0
  126. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +200 -0
  127. package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +67 -0
  128. package/include/gio-unix-2.0/gio/gunixfdmessage.h +86 -0
  129. package/include/gio-unix-2.0/gio/gunixinputstream.h +85 -0
  130. package/include/gio-unix-2.0/gio/gunixmounts.h +172 -0
  131. package/include/gio-unix-2.0/gio/gunixoutputstream.h +84 -0
  132. package/include/glib-2.0/gio/gaction.h +100 -0
  133. package/include/glib-2.0/gio/gactiongroup.h +163 -0
  134. package/include/glib-2.0/gio/gactiongroupexporter.h +47 -0
  135. package/include/glib-2.0/gio/gactionmap.h +101 -0
  136. package/include/glib-2.0/gio/gappinfo.h +369 -0
  137. package/include/glib-2.0/gio/gapplication.h +257 -0
  138. package/include/glib-2.0/gio/gapplicationcommandline.h +124 -0
  139. package/include/glib-2.0/gio/gasyncinitable.h +132 -0
  140. package/include/glib-2.0/gio/gasyncresult.h +87 -0
  141. package/include/glib-2.0/gio/gbufferedinputstream.h +135 -0
  142. package/include/glib-2.0/gio/gbufferedoutputstream.h +88 -0
  143. package/include/glib-2.0/gio/gbytesicon.h +54 -0
  144. package/include/glib-2.0/gio/gcancellable.h +120 -0
  145. package/include/glib-2.0/gio/gcharsetconverter.h +65 -0
  146. package/include/glib-2.0/gio/gcontenttype.h +84 -0
  147. package/include/glib-2.0/gio/gconverter.h +98 -0
  148. package/include/glib-2.0/gio/gconverterinputstream.h +82 -0
  149. package/include/glib-2.0/gio/gconverteroutputstream.h +82 -0
  150. package/include/glib-2.0/gio/gcredentials.h +87 -0
  151. package/include/glib-2.0/gio/gdatagrambased.h +146 -0
  152. package/include/glib-2.0/gio/gdatainputstream.h +182 -0
  153. package/include/glib-2.0/gio/gdataoutputstream.h +127 -0
  154. package/include/glib-2.0/gio/gdbusactiongroup.h +56 -0
  155. package/include/glib-2.0/gio/gdbusaddress.h +67 -0
  156. package/include/glib-2.0/gio/gdbusauthobserver.h +53 -0
  157. package/include/glib-2.0/gio/gdbusconnection.h +691 -0
  158. package/include/glib-2.0/gio/gdbuserror.h +111 -0
  159. package/include/glib-2.0/gio/gdbusinterface.h +83 -0
  160. package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +129 -0
  161. package/include/glib-2.0/gio/gdbusintrospection.h +327 -0
  162. package/include/glib-2.0/gio/gdbusmenumodel.h +47 -0
  163. package/include/glib-2.0/gio/gdbusmessage.h +204 -0
  164. package/include/glib-2.0/gio/gdbusmethodinvocation.h +136 -0
  165. package/include/glib-2.0/gio/gdbusnameowning.h +117 -0
  166. package/include/glib-2.0/gio/gdbusnamewatching.h +104 -0
  167. package/include/glib-2.0/gio/gdbusobject.h +80 -0
  168. package/include/glib-2.0/gio/gdbusobjectmanager.h +96 -0
  169. package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +148 -0
  170. package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +95 -0
  171. package/include/glib-2.0/gio/gdbusobjectproxy.h +81 -0
  172. package/include/glib-2.0/gio/gdbusobjectskeleton.h +98 -0
  173. package/include/glib-2.0/gio/gdbusproxy.h +220 -0
  174. package/include/glib-2.0/gio/gdbusserver.h +62 -0
  175. package/include/glib-2.0/gio/gdbusutils.h +65 -0
  176. package/include/glib-2.0/gio/gdebugcontroller.h +81 -0
  177. package/include/glib-2.0/gio/gdebugcontrollerdbus.h +71 -0
  178. package/include/glib-2.0/gio/gdrive.h +274 -0
  179. package/include/glib-2.0/gio/gdtlsclientconnection.h +77 -0
  180. package/include/glib-2.0/gio/gdtlsconnection.h +230 -0
  181. package/include/glib-2.0/gio/gdtlsserverconnection.h +71 -0
  182. package/include/glib-2.0/gio/gemblem.h +63 -0
  183. package/include/glib-2.0/gio/gemblemedicon.h +83 -0
  184. package/include/glib-2.0/gio/gfile.h +1359 -0
  185. package/include/glib-2.0/gio/gfileattribute.h +86 -0
  186. package/include/glib-2.0/gio/gfileenumerator.h +154 -0
  187. package/include/glib-2.0/gio/gfileicon.h +59 -0
  188. package/include/glib-2.0/gio/gfileinfo.h +1546 -0
  189. package/include/glib-2.0/gio/gfileinputstream.h +116 -0
  190. package/include/glib-2.0/gio/gfileiostream.h +123 -0
  191. package/include/glib-2.0/gio/gfilemonitor.h +100 -0
  192. package/include/glib-2.0/gio/gfilenamecompleter.h +81 -0
  193. package/include/glib-2.0/gio/gfileoutputstream.h +124 -0
  194. package/include/glib-2.0/gio/gfilterinputstream.h +80 -0
  195. package/include/glib-2.0/gio/gfilteroutputstream.h +80 -0
  196. package/include/glib-2.0/gio/gicon.h +133 -0
  197. package/include/glib-2.0/gio/ginetaddress.h +125 -0
  198. package/include/glib-2.0/gio/ginetaddressmask.h +86 -0
  199. package/include/glib-2.0/gio/ginetsocketaddress.h +80 -0
  200. package/include/glib-2.0/gio/ginitable.h +107 -0
  201. package/include/glib-2.0/gio/ginputstream.h +218 -0
  202. package/include/glib-2.0/gio/gio-autocleanups.h +155 -0
  203. package/include/glib-2.0/gio/gio-visibility.h +952 -0
  204. package/include/glib-2.0/gio/gio.h +186 -0
  205. package/include/glib-2.0/gio/gioenums.h +2149 -0
  206. package/include/glib-2.0/gio/gioenumtypes.h +207 -0
  207. package/include/glib-2.0/gio/gioerror.h +58 -0
  208. package/include/glib-2.0/gio/giomodule.h +199 -0
  209. package/include/glib-2.0/gio/gioscheduler.h +56 -0
  210. package/include/glib-2.0/gio/giostream.h +137 -0
  211. package/include/glib-2.0/gio/giotypes.h +660 -0
  212. package/include/glib-2.0/gio/glistmodel.h +74 -0
  213. package/include/glib-2.0/gio/gliststore.h +97 -0
  214. package/include/glib-2.0/gio/gloadableicon.h +101 -0
  215. package/include/glib-2.0/gio/gmemoryinputstream.h +92 -0
  216. package/include/glib-2.0/gio/gmemorymonitor.h +64 -0
  217. package/include/glib-2.0/gio/gmemoryoutputstream.h +109 -0
  218. package/include/glib-2.0/gio/gmenu.h +184 -0
  219. package/include/glib-2.0/gio/gmenuexporter.h +55 -0
  220. package/include/glib-2.0/gio/gmenumodel.h +307 -0
  221. package/include/glib-2.0/gio/gmount.h +278 -0
  222. package/include/glib-2.0/gio/gmountoperation.h +179 -0
  223. package/include/glib-2.0/gio/gnativesocketaddress.h +67 -0
  224. package/include/glib-2.0/gio/gnativevolumemonitor.h +63 -0
  225. package/include/glib-2.0/gio/gnetworkaddress.h +82 -0
  226. package/include/glib-2.0/gio/gnetworking.h +81 -0
  227. package/include/glib-2.0/gio/gnetworkmonitor.h +101 -0
  228. package/include/glib-2.0/gio/gnetworkservice.h +77 -0
  229. package/include/glib-2.0/gio/gnotification.h +103 -0
  230. package/include/glib-2.0/gio/goutputstream.h +334 -0
  231. package/include/glib-2.0/gio/gpermission.h +129 -0
  232. package/include/glib-2.0/gio/gpollableinputstream.h +106 -0
  233. package/include/glib-2.0/gio/gpollableoutputstream.h +127 -0
  234. package/include/glib-2.0/gio/gpollableutils.h +66 -0
  235. package/include/glib-2.0/gio/gpowerprofilemonitor.h +65 -0
  236. package/include/glib-2.0/gio/gpropertyaction.h +49 -0
  237. package/include/glib-2.0/gio/gproxy.h +130 -0
  238. package/include/glib-2.0/gio/gproxyaddress.h +88 -0
  239. package/include/glib-2.0/gio/gproxyaddressenumerator.h +83 -0
  240. package/include/glib-2.0/gio/gproxyresolver.h +97 -0
  241. package/include/glib-2.0/gio/gremoteactiongroup.h +77 -0
  242. package/include/glib-2.0/gio/gresolver.h +299 -0
  243. package/include/glib-2.0/gio/gresource.h +132 -0
  244. package/include/glib-2.0/gio/gseekable.h +105 -0
  245. package/include/glib-2.0/gio/gsettings.h +347 -0
  246. package/include/glib-2.0/gio/gsettingsbackend.h +176 -0
  247. package/include/glib-2.0/gio/gsettingsschema.h +115 -0
  248. package/include/glib-2.0/gio/gsimpleaction.h +65 -0
  249. package/include/glib-2.0/gio/gsimpleactiongroup.h +99 -0
  250. package/include/glib-2.0/gio/gsimpleasyncresult.h +164 -0
  251. package/include/glib-2.0/gio/gsimpleiostream.h +47 -0
  252. package/include/glib-2.0/gio/gsimplepermission.h +47 -0
  253. package/include/glib-2.0/gio/gsimpleproxyresolver.h +91 -0
  254. package/include/glib-2.0/gio/gsocket.h +330 -0
  255. package/include/glib-2.0/gio/gsocketaddress.h +84 -0
  256. package/include/glib-2.0/gio/gsocketaddressenumerator.h +103 -0
  257. package/include/glib-2.0/gio/gsocketclient.h +199 -0
  258. package/include/glib-2.0/gio/gsocketconnectable.h +83 -0
  259. package/include/glib-2.0/gio/gsocketconnection.h +117 -0
  260. package/include/glib-2.0/gio/gsocketcontrolmessage.h +113 -0
  261. package/include/glib-2.0/gio/gsocketlistener.h +157 -0
  262. package/include/glib-2.0/gio/gsocketservice.h +95 -0
  263. package/include/glib-2.0/gio/gsrvtarget.h +60 -0
  264. package/include/glib-2.0/gio/gsubprocess.h +169 -0
  265. package/include/glib-2.0/gio/gsubprocesslauncher.h +121 -0
  266. package/include/glib-2.0/gio/gtask.h +207 -0
  267. package/include/glib-2.0/gio/gtcpconnection.h +71 -0
  268. package/include/glib-2.0/gio/gtcpwrapperconnection.h +71 -0
  269. package/include/glib-2.0/gio/gtestdbus.h +74 -0
  270. package/include/glib-2.0/gio/gthemedicon.h +70 -0
  271. package/include/glib-2.0/gio/gthreadedsocketservice.h +83 -0
  272. package/include/glib-2.0/gio/gtlsbackend.h +115 -0
  273. package/include/glib-2.0/gio/gtlscertificate.h +125 -0
  274. package/include/glib-2.0/gio/gtlsclientconnection.h +88 -0
  275. package/include/glib-2.0/gio/gtlsconnection.h +214 -0
  276. package/include/glib-2.0/gio/gtlsdatabase.h +249 -0
  277. package/include/glib-2.0/gio/gtlsfiledatabase.h +60 -0
  278. package/include/glib-2.0/gio/gtlsinteraction.h +150 -0
  279. package/include/glib-2.0/gio/gtlspassword.h +121 -0
  280. package/include/glib-2.0/gio/gtlsserverconnection.h +71 -0
  281. package/include/glib-2.0/gio/gunixconnection.h +102 -0
  282. package/include/glib-2.0/gio/gunixcredentialsmessage.h +89 -0
  283. package/include/glib-2.0/gio/gunixfdlist.h +97 -0
  284. package/include/glib-2.0/gio/gunixsocketaddress.h +83 -0
  285. package/include/glib-2.0/gio/gvfs.h +170 -0
  286. package/include/glib-2.0/gio/gvolume.h +255 -0
  287. package/include/glib-2.0/gio/gvolumemonitor.h +156 -0
  288. package/include/glib-2.0/gio/gzlibcompressor.h +64 -0
  289. package/include/glib-2.0/gio/gzlibdecompressor.h +60 -0
  290. package/include/glib-2.0/glib/deprecated/gallocator.h +88 -0
  291. package/include/glib-2.0/glib/deprecated/gcache.h +77 -0
  292. package/include/glib-2.0/glib/deprecated/gcompletion.h +85 -0
  293. package/include/glib-2.0/glib/deprecated/gmain.h +137 -0
  294. package/include/glib-2.0/glib/deprecated/grel.h +107 -0
  295. package/include/glib-2.0/glib/deprecated/gthread.h +295 -0
  296. package/include/glib-2.0/glib/galloca.h +147 -0
  297. package/include/glib-2.0/glib/garray.h +323 -0
  298. package/include/glib-2.0/glib/gasyncqueue.h +126 -0
  299. package/include/glib-2.0/glib/gatomic.h +587 -0
  300. package/include/glib-2.0/glib/gbacktrace.h +74 -0
  301. package/include/glib-2.0/glib/gbase64.h +63 -0
  302. package/include/glib-2.0/glib/gbitlock.h +78 -0
  303. package/include/glib-2.0/glib/gbookmarkfile.h +300 -0
  304. package/include/glib-2.0/glib/gbytes.h +99 -0
  305. package/include/glib-2.0/glib/gcharset.h +49 -0
  306. package/include/glib-2.0/glib/gchecksum.h +106 -0
  307. package/include/glib-2.0/glib/gconvert.h +179 -0
  308. package/include/glib-2.0/glib/gdataset.h +156 -0
  309. package/include/glib-2.0/glib/gdate.h +309 -0
  310. package/include/glib-2.0/glib/gdatetime.h +275 -0
  311. package/include/glib-2.0/glib/gdir.h +54 -0
  312. package/include/glib-2.0/glib/genviron.h +65 -0
  313. package/include/glib-2.0/glib/gerror.h +263 -0
  314. package/include/glib-2.0/glib/gfileutils.h +223 -0
  315. package/include/glib-2.0/glib/ggettext.h +65 -0
  316. package/include/glib-2.0/glib/ghash.h +206 -0
  317. package/include/glib-2.0/glib/ghmac.h +85 -0
  318. package/include/glib-2.0/glib/ghook.h +204 -0
  319. package/include/glib-2.0/glib/ghostutils.h +45 -0
  320. package/include/glib-2.0/glib/gi18n-lib.h +38 -0
  321. package/include/glib-2.0/glib/gi18n.h +34 -0
  322. package/include/glib-2.0/glib/giochannel.h +407 -0
  323. package/include/glib-2.0/glib/gkeyfile.h +332 -0
  324. package/include/glib-2.0/glib/glib-autocleanups.h +105 -0
  325. package/include/glib-2.0/glib/glib-typeof.h +47 -0
  326. package/include/glib-2.0/glib/glib-visibility.h +952 -0
  327. package/include/glib-2.0/glib/glist.h +179 -0
  328. package/include/glib-2.0/glib/gmacros.h +1425 -0
  329. package/include/glib-2.0/glib/gmain.h +862 -0
  330. package/include/glib-2.0/glib/gmappedfile.h +60 -0
  331. package/include/glib-2.0/glib/gmarkup.h +265 -0
  332. package/include/glib-2.0/glib/gmem.h +425 -0
  333. package/include/glib-2.0/glib/gmessages.h +690 -0
  334. package/include/glib-2.0/glib/gnode.h +309 -0
  335. package/include/glib-2.0/glib/goption.h +409 -0
  336. package/include/glib-2.0/glib/gpathbuf.h +90 -0
  337. package/include/glib-2.0/glib/gpattern.h +65 -0
  338. package/include/glib-2.0/glib/gpoll.h +122 -0
  339. package/include/glib-2.0/glib/gprimes.h +52 -0
  340. package/include/glib-2.0/glib/gprintf.h +59 -0
  341. package/include/glib-2.0/glib/gqsort.h +47 -0
  342. package/include/glib-2.0/glib/gquark.h +70 -0
  343. package/include/glib-2.0/glib/gqueue.h +205 -0
  344. package/include/glib-2.0/glib/grand.h +101 -0
  345. package/include/glib-2.0/glib/grcbox.h +91 -0
  346. package/include/glib-2.0/glib/grefcount.h +179 -0
  347. package/include/glib-2.0/glib/grefstring.h +59 -0
  348. package/include/glib-2.0/glib/gscanner.h +301 -0
  349. package/include/glib-2.0/glib/gsequence.h +175 -0
  350. package/include/glib-2.0/glib/gshell.h +59 -0
  351. package/include/glib-2.0/glib/gslice.h +117 -0
  352. package/include/glib-2.0/glib/gslist.h +166 -0
  353. package/include/glib-2.0/glib/gspawn.h +323 -0
  354. package/include/glib-2.0/glib/gstdio.h +231 -0
  355. package/include/glib-2.0/glib/gstrfuncs.h +504 -0
  356. package/include/glib-2.0/glib/gstring.h +296 -0
  357. package/include/glib-2.0/glib/gstringchunk.h +59 -0
  358. package/include/glib-2.0/glib/gstrvbuilder.h +69 -0
  359. package/include/glib-2.0/glib/gtestutils.h +763 -0
  360. package/include/glib-2.0/glib/gthread.h +603 -0
  361. package/include/glib-2.0/glib/gthreadpool.h +105 -0
  362. package/include/glib-2.0/glib/gtimer.h +80 -0
  363. package/include/glib-2.0/glib/gtimezone.h +98 -0
  364. package/include/glib-2.0/glib/gtrashstack.h +60 -0
  365. package/include/glib-2.0/glib/gtree.h +181 -0
  366. package/include/glib-2.0/glib/gtypes.h +591 -0
  367. package/include/glib-2.0/glib/gunicode.h +974 -0
  368. package/include/glib-2.0/glib/guri.h +420 -0
  369. package/include/glib-2.0/glib/gutils.h +479 -0
  370. package/include/glib-2.0/glib/guuid.h +42 -0
  371. package/include/glib-2.0/glib/gvariant.h +541 -0
  372. package/include/glib-2.0/glib/gvarianttype.h +384 -0
  373. package/include/glib-2.0/glib/gversion.h +57 -0
  374. package/include/glib-2.0/glib/gversionmacros.h +490 -0
  375. package/include/glib-2.0/glib/gwin32.h +142 -0
  376. package/include/glib-2.0/glib-object.h +46 -0
  377. package/include/glib-2.0/glib-unix.h +125 -0
  378. package/include/glib-2.0/glib.h +121 -0
  379. package/include/glib-2.0/gmodule/gmodule-visibility.h +952 -0
  380. package/include/glib-2.0/gmodule.h +147 -0
  381. package/include/glib-2.0/gobject/gbinding.h +156 -0
  382. package/include/glib-2.0/gobject/gbindinggroup.h +85 -0
  383. package/include/glib-2.0/gobject/gboxed.h +124 -0
  384. package/include/glib-2.0/gobject/gclosure.h +323 -0
  385. package/include/glib-2.0/gobject/genums.h +381 -0
  386. package/include/glib-2.0/gobject/glib-enumtypes.h +25 -0
  387. package/include/glib-2.0/gobject/glib-types.h +400 -0
  388. package/include/glib-2.0/gobject/gmarshal.h +434 -0
  389. package/include/glib-2.0/gobject/gobject-autocleanups.h +33 -0
  390. package/include/glib-2.0/gobject/gobject-visibility.h +952 -0
  391. package/include/glib-2.0/gobject/gobject.h +953 -0
  392. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +199 -0
  393. package/include/glib-2.0/gobject/gparam.h +476 -0
  394. package/include/glib-2.0/gobject/gparamspecs.h +1151 -0
  395. package/include/glib-2.0/gobject/gsignal.h +647 -0
  396. package/include/glib-2.0/gobject/gsignalgroup.h +98 -0
  397. package/include/glib-2.0/gobject/gsourceclosure.h +40 -0
  398. package/include/glib-2.0/gobject/gtype.h +2703 -0
  399. package/include/glib-2.0/gobject/gtypemodule.h +302 -0
  400. package/include/glib-2.0/gobject/gtypeplugin.h +136 -0
  401. package/include/glib-2.0/gobject/gvalue.h +212 -0
  402. package/include/glib-2.0/gobject/gvaluearray.h +106 -0
  403. package/include/glib-2.0/gobject/gvaluecollector.h +290 -0
  404. package/include/glib-2.0/gobject/gvaluetypes.h +318 -0
  405. package/include/harfbuzz/hb-aat-layout.h +795 -0
  406. package/include/harfbuzz/hb-aat.h +38 -0
  407. package/include/harfbuzz/hb-blob.h +160 -0
  408. package/include/harfbuzz/hb-buffer.h +799 -0
  409. package/include/harfbuzz/hb-common.h +938 -0
  410. package/include/harfbuzz/hb-cplusplus.hh +223 -0
  411. package/include/harfbuzz/hb-deprecated.h +309 -0
  412. package/include/harfbuzz/hb-draw.h +340 -0
  413. package/include/harfbuzz/hb-face.h +187 -0
  414. package/include/harfbuzz/hb-features.h +119 -0
  415. package/include/harfbuzz/hb-font.h +1153 -0
  416. package/include/harfbuzz/hb-ft.h +145 -0
  417. package/include/harfbuzz/hb-glib.h +56 -0
  418. package/include/harfbuzz/hb-map.h +143 -0
  419. package/include/harfbuzz/hb-ot-color.h +155 -0
  420. package/include/harfbuzz/hb-ot-deprecated.h +147 -0
  421. package/include/harfbuzz/hb-ot-font.h +45 -0
  422. package/include/harfbuzz/hb-ot-layout.h +549 -0
  423. package/include/harfbuzz/hb-ot-math.h +333 -0
  424. package/include/harfbuzz/hb-ot-meta.h +72 -0
  425. package/include/harfbuzz/hb-ot-metrics.h +129 -0
  426. package/include/harfbuzz/hb-ot-name.h +164 -0
  427. package/include/harfbuzz/hb-ot-shape.h +53 -0
  428. package/include/harfbuzz/hb-ot-var.h +191 -0
  429. package/include/harfbuzz/hb-ot.h +49 -0
  430. package/include/harfbuzz/hb-paint.h +1029 -0
  431. package/include/harfbuzz/hb-set.h +203 -0
  432. package/include/harfbuzz/hb-shape-plan.h +122 -0
  433. package/include/harfbuzz/hb-shape.h +74 -0
  434. package/include/harfbuzz/hb-style.h +81 -0
  435. package/include/harfbuzz/hb-subset-repacker.h +81 -0
  436. package/include/harfbuzz/hb-subset.h +241 -0
  437. package/include/harfbuzz/hb-unicode.h +643 -0
  438. package/include/harfbuzz/hb-version.h +95 -0
  439. package/include/harfbuzz/hb.h +51 -0
  440. package/include/index.js +1 -0
  441. package/include/jconfig.h +37 -0
  442. package/include/jerror.h +335 -0
  443. package/include/jmorecfg.h +382 -0
  444. package/include/jpeglib.h +1210 -0
  445. package/include/lcms2.h +1958 -0
  446. package/include/lcms2_plugin.h +700 -0
  447. package/include/libexif/_stdint.h +2 -0
  448. package/include/libexif/exif-byte-order.h +48 -0
  449. package/include/libexif/exif-content.h +181 -0
  450. package/include/libexif/exif-data-type.h +46 -0
  451. package/include/libexif/exif-data.h +267 -0
  452. package/include/libexif/exif-entry.h +186 -0
  453. package/include/libexif/exif-format.h +65 -0
  454. package/include/libexif/exif-ifd.h +51 -0
  455. package/include/libexif/exif-loader.h +128 -0
  456. package/include/libexif/exif-log.h +116 -0
  457. package/include/libexif/exif-mem.h +91 -0
  458. package/include/libexif/exif-mnote-data.h +122 -0
  459. package/include/libexif/exif-tag.h +307 -0
  460. package/include/libexif/exif-utils.h +194 -0
  461. package/include/libheif/heif.h +2092 -0
  462. package/include/libheif/heif_cxx.h +1359 -0
  463. package/include/libheif/heif_plugin.h +306 -0
  464. package/include/libheif/heif_version.h +38 -0
  465. package/include/libimagequant.h +111 -0
  466. package/include/libpng16/png.h +3247 -0
  467. package/include/libpng16/pngconf.h +623 -0
  468. package/include/libpng16/pnglibconf.h +219 -0
  469. package/include/librsvg-2.0/librsvg/rsvg-cairo.h +395 -0
  470. package/include/librsvg-2.0/librsvg/rsvg-features.h +184 -0
  471. package/include/librsvg-2.0/librsvg/rsvg-version.h +13 -0
  472. package/include/librsvg-2.0/librsvg/rsvg.h +1456 -0
  473. package/include/libxml2/libxml/HTMLparser.h +320 -0
  474. package/include/libxml2/libxml/HTMLtree.h +147 -0
  475. package/include/libxml2/libxml/SAX.h +204 -0
  476. package/include/libxml2/libxml/SAX2.h +173 -0
  477. package/include/libxml2/libxml/c14n.h +128 -0
  478. package/include/libxml2/libxml/catalog.h +182 -0
  479. package/include/libxml2/libxml/chvalid.h +230 -0
  480. package/include/libxml2/libxml/debugXML.h +217 -0
  481. package/include/libxml2/libxml/dict.h +81 -0
  482. package/include/libxml2/libxml/encoding.h +233 -0
  483. package/include/libxml2/libxml/entities.h +151 -0
  484. package/include/libxml2/libxml/globals.h +529 -0
  485. package/include/libxml2/libxml/hash.h +236 -0
  486. package/include/libxml2/libxml/list.h +137 -0
  487. package/include/libxml2/libxml/nanoftp.h +186 -0
  488. package/include/libxml2/libxml/nanohttp.h +81 -0
  489. package/include/libxml2/libxml/parser.h +1265 -0
  490. package/include/libxml2/libxml/parserInternals.h +662 -0
  491. package/include/libxml2/libxml/pattern.h +100 -0
  492. package/include/libxml2/libxml/relaxng.h +218 -0
  493. package/include/libxml2/libxml/schemasInternals.h +958 -0
  494. package/include/libxml2/libxml/schematron.h +142 -0
  495. package/include/libxml2/libxml/threads.h +94 -0
  496. package/include/libxml2/libxml/tree.h +1314 -0
  497. package/include/libxml2/libxml/uri.h +94 -0
  498. package/include/libxml2/libxml/valid.h +448 -0
  499. package/include/libxml2/libxml/xinclude.h +129 -0
  500. package/include/libxml2/libxml/xlink.h +189 -0
  501. package/include/libxml2/libxml/xmlIO.h +369 -0
  502. package/include/libxml2/libxml/xmlautomata.h +146 -0
  503. package/include/libxml2/libxml/xmlerror.h +919 -0
  504. package/include/libxml2/libxml/xmlexports.h +50 -0
  505. package/include/libxml2/libxml/xmlmemory.h +228 -0
  506. package/include/libxml2/libxml/xmlmodule.h +57 -0
  507. package/include/libxml2/libxml/xmlreader.h +428 -0
  508. package/include/libxml2/libxml/xmlregexp.h +222 -0
  509. package/include/libxml2/libxml/xmlsave.h +88 -0
  510. package/include/libxml2/libxml/xmlschemas.h +246 -0
  511. package/include/libxml2/libxml/xmlschemastypes.h +152 -0
  512. package/include/libxml2/libxml/xmlstring.h +140 -0
  513. package/include/libxml2/libxml/xmlunicode.h +202 -0
  514. package/include/libxml2/libxml/xmlversion.h +526 -0
  515. package/include/libxml2/libxml/xmlwriter.h +488 -0
  516. package/include/libxml2/libxml/xpath.h +575 -0
  517. package/include/libxml2/libxml/xpathInternals.h +632 -0
  518. package/include/libxml2/libxml/xpointer.h +137 -0
  519. package/include/orc-0.4/orc/orc-stdint.h +1 -0
  520. package/include/orc-0.4/orc/orc.h +16 -0
  521. package/include/orc-0.4/orc/orcarm.h +879 -0
  522. package/include/orc-0.4/orc/orcbytecode.h +35 -0
  523. package/include/orc-0.4/orc/orcbytecodes.h +255 -0
  524. package/include/orc-0.4/orc/orccode.h +53 -0
  525. package/include/orc-0.4/orc/orccompiler.h +176 -0
  526. package/include/orc-0.4/orc/orcconstant.h +39 -0
  527. package/include/orc-0.4/orc/orccpu.h +21 -0
  528. package/include/orc-0.4/orc/orccpuinsn.h +40 -0
  529. package/include/orc-0.4/orc/orcdebug.h +158 -0
  530. package/include/orc-0.4/orc/orcemulateopcodes.h +203 -0
  531. package/include/orc-0.4/orc/orcexecutor.h +135 -0
  532. package/include/orc-0.4/orc/orcfunctions.h +93 -0
  533. package/include/orc-0.4/orc/orcinstruction.h +39 -0
  534. package/include/orc-0.4/orc/orcinternal.h +46 -0
  535. package/include/orc-0.4/orc/orclimits.h +94 -0
  536. package/include/orc-0.4/orc/orcmips.h +229 -0
  537. package/include/orc-0.4/orc/orcmmx.h +79 -0
  538. package/include/orc-0.4/orc/orcneon.h +43 -0
  539. package/include/orc-0.4/orc/orconce.h +166 -0
  540. package/include/orc-0.4/orc/orcopcode.h +63 -0
  541. package/include/orc-0.4/orc/orcparse.h +27 -0
  542. package/include/orc-0.4/orc/orcpowerpc.h +209 -0
  543. package/include/orc-0.4/orc/orcprogram.h +192 -0
  544. package/include/orc-0.4/orc/orcrule.h +52 -0
  545. package/include/orc-0.4/orc/orcsse.h +55 -0
  546. package/include/orc-0.4/orc/orctarget.h +115 -0
  547. package/include/orc-0.4/orc/orcutils.h +238 -0
  548. package/include/orc-0.4/orc/orcvariable.h +81 -0
  549. package/include/orc-0.4/orc/orcx86.h +199 -0
  550. package/include/orc-0.4/orc/orcx86insn.h +672 -0
  551. package/include/pango-1.0/pango/pango-attributes.h +748 -0
  552. package/include/pango-1.0/pango/pango-bidi-type.h +117 -0
  553. package/include/pango-1.0/pango/pango-break.h +144 -0
  554. package/include/pango-1.0/pango/pango-color.h +75 -0
  555. package/include/pango-1.0/pango/pango-context.h +116 -0
  556. package/include/pango-1.0/pango/pango-coverage.h +108 -0
  557. package/include/pango-1.0/pango/pango-direction.h +72 -0
  558. package/include/pango-1.0/pango/pango-engine.h +457 -0
  559. package/include/pango-1.0/pango/pango-enum-types.h +120 -0
  560. package/include/pango-1.0/pango/pango-features.h +10 -0
  561. package/include/pango-1.0/pango/pango-font.h +699 -0
  562. package/include/pango-1.0/pango/pango-fontmap.h +132 -0
  563. package/include/pango-1.0/pango/pango-fontset-simple.h +64 -0
  564. package/include/pango-1.0/pango/pango-fontset.h +134 -0
  565. package/include/pango-1.0/pango/pango-glyph-item.h +175 -0
  566. package/include/pango-1.0/pango/pango-glyph.h +270 -0
  567. package/include/pango-1.0/pango/pango-gravity.h +137 -0
  568. package/include/pango-1.0/pango/pango-item.h +165 -0
  569. package/include/pango-1.0/pango/pango-language.h +70 -0
  570. package/include/pango-1.0/pango/pango-layout.h +554 -0
  571. package/include/pango-1.0/pango/pango-markup.h +52 -0
  572. package/include/pango-1.0/pango/pango-matrix.h +130 -0
  573. package/include/pango-1.0/pango/pango-modules.h +84 -0
  574. package/include/pango-1.0/pango/pango-ot.h +427 -0
  575. package/include/pango-1.0/pango/pango-renderer.h +290 -0
  576. package/include/pango-1.0/pango/pango-script.h +335 -0
  577. package/include/pango-1.0/pango/pango-tabs.h +117 -0
  578. package/include/pango-1.0/pango/pango-types.h +244 -0
  579. package/include/pango-1.0/pango/pango-utils.h +187 -0
  580. package/include/pango-1.0/pango/pango-version-macros.h +756 -0
  581. package/include/pango-1.0/pango/pango.h +54 -0
  582. package/include/pango-1.0/pango/pangocairo.h +220 -0
  583. package/include/pango-1.0/pango/pangofc-decoder.h +122 -0
  584. package/include/pango-1.0/pango/pangofc-font.h +120 -0
  585. package/include/pango-1.0/pango/pangofc-fontmap.h +244 -0
  586. package/include/pango-1.0/pango/pangoft2.h +158 -0
  587. package/include/pixman-1/pixman-version.h +54 -0
  588. package/include/pixman-1/pixman.h +1419 -0
  589. package/include/png.h +3247 -0
  590. package/include/pngconf.h +623 -0
  591. package/include/pnglibconf.h +219 -0
  592. package/include/spng.h +537 -0
  593. package/include/tiff.h +899 -0
  594. package/include/tiffconf.h +145 -0
  595. package/include/tiffio.h +653 -0
  596. package/include/tiffvers.h +36 -0
  597. package/include/vips/VConnection8.h +150 -0
  598. package/include/vips/VError8.h +76 -0
  599. package/include/vips/VImage8.h +6065 -0
  600. package/include/vips/VInterpolate8.h +77 -0
  601. package/include/vips/VRegion8.h +155 -0
  602. package/include/vips/arithmetic.h +571 -0
  603. package/include/vips/basic.h +113 -0
  604. package/include/vips/buf.h +118 -0
  605. package/include/vips/colour.h +306 -0
  606. package/include/vips/connection.h +570 -0
  607. package/include/vips/conversion.h +357 -0
  608. package/include/vips/convolution.h +95 -0
  609. package/include/vips/create.h +161 -0
  610. package/include/vips/dbuf.h +103 -0
  611. package/include/vips/debug.h +74 -0
  612. package/include/vips/draw.h +113 -0
  613. package/include/vips/enumtypes.h +181 -0
  614. package/include/vips/error.h +142 -0
  615. package/include/vips/foreign.h +993 -0
  616. package/include/vips/format.h +135 -0
  617. package/include/vips/freqfilt.h +64 -0
  618. package/include/vips/gate.h +82 -0
  619. package/include/vips/generate.h +92 -0
  620. package/include/vips/header.h +312 -0
  621. package/include/vips/histogram.h +85 -0
  622. package/include/vips/image.h +605 -0
  623. package/include/vips/interpolate.h +141 -0
  624. package/include/vips/memory.h +96 -0
  625. package/include/vips/morphology.h +73 -0
  626. package/include/vips/mosaicing.h +80 -0
  627. package/include/vips/object.h +706 -0
  628. package/include/vips/operation.h +182 -0
  629. package/include/vips/private.h +227 -0
  630. package/include/vips/rect.h +80 -0
  631. package/include/vips/region.h +238 -0
  632. package/include/vips/resample.h +123 -0
  633. package/include/vips/sbuf.h +144 -0
  634. package/include/vips/semaphore.h +77 -0
  635. package/include/vips/thread.h +72 -0
  636. package/include/vips/threadpool.h +160 -0
  637. package/include/vips/transform.h +89 -0
  638. package/include/vips/type.h +305 -0
  639. package/include/vips/util.h +406 -0
  640. package/include/vips/vector.h +183 -0
  641. package/include/vips/version.h +26 -0
  642. package/include/vips/vips.h +194 -0
  643. package/include/vips/vips8 +60 -0
  644. package/include/webp/decode.h +504 -0
  645. package/include/webp/demux.h +363 -0
  646. package/include/webp/encode.h +552 -0
  647. package/include/webp/mux.h +530 -0
  648. package/include/webp/mux_types.h +98 -0
  649. package/include/webp/sharpyuv/sharpyuv.h +103 -0
  650. package/include/webp/sharpyuv/sharpyuv_csp.h +60 -0
  651. package/include/webp/types.h +72 -0
  652. package/include/zconf.h +203 -0
  653. package/include/zlib.h +1855 -0
  654. package/include/zlib_name_mangling.h +8 -0
  655. package/package.json +30 -0
  656. package/versions.json +31 -0
@@ -0,0 +1,2112 @@
1
+ /*
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved
3
+ *
4
+ * This source code is subject to the terms of the BSD 2 Clause License and
5
+ * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6
+ * was not distributed with this source code in the LICENSE file, you can
7
+ * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8
+ * Media Patent License 1.0 was not distributed with this source code in the
9
+ * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
10
+ */
11
+ #ifndef AOM_AOM_AOMCX_H_
12
+ #define AOM_AOM_AOMCX_H_
13
+
14
+ /*!\defgroup aom_encoder AOMedia AOM/AV1 Encoder
15
+ * \ingroup aom
16
+ *
17
+ * @{
18
+ */
19
+ #include "aom/aom.h"
20
+ #include "aom/aom_encoder.h"
21
+ #include "aom/aom_external_partition.h"
22
+
23
+ /*!\file
24
+ * \brief Provides definitions for using AOM or AV1 encoder algorithm within the
25
+ * aom Codec Interface.
26
+ *
27
+ * Several interfaces are excluded with CONFIG_REALTIME_ONLY build:
28
+ * Global motion
29
+ * Warped motion
30
+ * OBMC
31
+ * TPL model
32
+ * Loop restoration
33
+ *
34
+ * The following features are also disabled with CONFIG_REALTIME_ONLY:
35
+ * AV1E_SET_QUANT_B_ADAPT
36
+ * CNN
37
+ * 4X rectangular blocks
38
+ * 4X rectangular transform in intra prediction
39
+ */
40
+
41
+ #ifdef __cplusplus
42
+ extern "C" {
43
+ #endif
44
+
45
+ /*!\name Algorithm interface for AV1
46
+ *
47
+ * This interface provides the capability to encode raw AV1 streams.
48
+ *@{
49
+ */
50
+
51
+ /*!\brief A single instance of the AV1 encoder.
52
+ *\deprecated This access mechanism is provided for backwards compatibility;
53
+ * prefer aom_codec_av1_cx().
54
+ */
55
+ extern aom_codec_iface_t aom_codec_av1_cx_algo;
56
+
57
+ /*!\brief The interface to the AV1 encoder.
58
+ */
59
+ extern aom_codec_iface_t *aom_codec_av1_cx(void);
60
+ /*!@} - end algorithm interface member group */
61
+
62
+ /*
63
+ * Algorithm Flags
64
+ */
65
+
66
+ /*!\brief Don't reference the last frame
67
+ *
68
+ * When this flag is set, the encoder will not use the last frame as a
69
+ * predictor. When not set, the encoder will choose whether to use the
70
+ * last frame or not automatically.
71
+ */
72
+ #define AOM_EFLAG_NO_REF_LAST (1 << 16)
73
+ /*!\brief Don't reference the last2 frame
74
+ *
75
+ * When this flag is set, the encoder will not use the last2 frame as a
76
+ * predictor. When not set, the encoder will choose whether to use the
77
+ * last2 frame or not automatically.
78
+ */
79
+ #define AOM_EFLAG_NO_REF_LAST2 (1 << 17)
80
+ /*!\brief Don't reference the last3 frame
81
+ *
82
+ * When this flag is set, the encoder will not use the last3 frame as a
83
+ * predictor. When not set, the encoder will choose whether to use the
84
+ * last3 frame or not automatically.
85
+ */
86
+ #define AOM_EFLAG_NO_REF_LAST3 (1 << 18)
87
+ /*!\brief Don't reference the golden frame
88
+ *
89
+ * When this flag is set, the encoder will not use the golden frame as a
90
+ * predictor. When not set, the encoder will choose whether to use the
91
+ * golden frame or not automatically.
92
+ */
93
+ #define AOM_EFLAG_NO_REF_GF (1 << 19)
94
+
95
+ /*!\brief Don't reference the alternate reference frame
96
+ *
97
+ * When this flag is set, the encoder will not use the alt ref frame as a
98
+ * predictor. When not set, the encoder will choose whether to use the
99
+ * alt ref frame or not automatically.
100
+ */
101
+ #define AOM_EFLAG_NO_REF_ARF (1 << 20)
102
+ /*!\brief Don't reference the bwd reference frame
103
+ *
104
+ * When this flag is set, the encoder will not use the bwd ref frame as a
105
+ * predictor. When not set, the encoder will choose whether to use the
106
+ * bwd ref frame or not automatically.
107
+ */
108
+ #define AOM_EFLAG_NO_REF_BWD (1 << 21)
109
+ /*!\brief Don't reference the alt2 reference frame
110
+ *
111
+ * When this flag is set, the encoder will not use the alt2 ref frame as a
112
+ * predictor. When not set, the encoder will choose whether to use the
113
+ * alt2 ref frame or not automatically.
114
+ */
115
+ #define AOM_EFLAG_NO_REF_ARF2 (1 << 22)
116
+
117
+ /*!\brief Don't update the last frame
118
+ *
119
+ * When this flag is set, the encoder will not update the last frame with
120
+ * the contents of the current frame.
121
+ */
122
+ #define AOM_EFLAG_NO_UPD_LAST (1 << 23)
123
+
124
+ /*!\brief Don't update the golden frame
125
+ *
126
+ * When this flag is set, the encoder will not update the golden frame with
127
+ * the contents of the current frame.
128
+ */
129
+ #define AOM_EFLAG_NO_UPD_GF (1 << 24)
130
+
131
+ /*!\brief Don't update the alternate reference frame
132
+ *
133
+ * When this flag is set, the encoder will not update the alt ref frame with
134
+ * the contents of the current frame.
135
+ */
136
+ #define AOM_EFLAG_NO_UPD_ARF (1 << 25)
137
+ /*!\brief Disable entropy update
138
+ *
139
+ * When this flag is set, the encoder will not update its internal entropy
140
+ * model based on the entropy of this frame.
141
+ */
142
+ #define AOM_EFLAG_NO_UPD_ENTROPY (1 << 26)
143
+ /*!\brief Disable ref frame mvs
144
+ *
145
+ * When this flag is set, the encoder will not allow frames to
146
+ * be encoded using mfmv.
147
+ */
148
+ #define AOM_EFLAG_NO_REF_FRAME_MVS (1 << 27)
149
+ /*!\brief Enable error resilient frame
150
+ *
151
+ * When this flag is set, the encoder will code frames as error
152
+ * resilient.
153
+ */
154
+ #define AOM_EFLAG_ERROR_RESILIENT (1 << 28)
155
+ /*!\brief Enable s frame mode
156
+ *
157
+ * When this flag is set, the encoder will code frames as an
158
+ * s frame.
159
+ */
160
+ #define AOM_EFLAG_SET_S_FRAME (1 << 29)
161
+ /*!\brief Force primary_ref_frame to PRIMARY_REF_NONE
162
+ *
163
+ * When this flag is set, the encoder will set a frame's primary_ref_frame
164
+ * to PRIMARY_REF_NONE
165
+ */
166
+ #define AOM_EFLAG_SET_PRIMARY_REF_NONE (1 << 30)
167
+
168
+ /*!\brief AVx encoder control functions
169
+ *
170
+ * This set of macros define the control functions available for AVx
171
+ * encoder interface.
172
+ * The range of encode control ID is 7-229(max).
173
+ *
174
+ * \sa #aom_codec_control(aom_codec_ctx_t *ctx, int ctrl_id, ...)
175
+ */
176
+ enum aome_enc_control_id {
177
+ /*!\brief Codec control function to set which reference frame encoder can use,
178
+ * int parameter.
179
+ */
180
+ AOME_USE_REFERENCE = 7,
181
+
182
+ /*!\brief Codec control function to pass an ROI map to encoder, aom_roi_map_t*
183
+ * parameter.
184
+ */
185
+ AOME_SET_ROI_MAP = 8,
186
+
187
+ /*!\brief Codec control function to pass an Active map to encoder,
188
+ * aom_active_map_t* parameter.
189
+ */
190
+ AOME_SET_ACTIVEMAP = 9,
191
+
192
+ /* NOTE: enum 10 unused */
193
+
194
+ /*!\brief Codec control function to set encoder scaling mode for the next
195
+ * frame to be coded, aom_scaling_mode_t* parameter.
196
+ */
197
+ AOME_SET_SCALEMODE = 11,
198
+
199
+ /*!\brief Codec control function to set encoder spatial layer id, int
200
+ * parameter.
201
+ */
202
+ AOME_SET_SPATIAL_LAYER_ID = 12,
203
+
204
+ /*!\brief Codec control function to set encoder internal speed settings,
205
+ * int parameter
206
+ *
207
+ * Changes in this value influences the complexity of algorithms used in
208
+ * encoding process, values greater than 0 will increase encoder speed at
209
+ * the expense of quality.
210
+ *
211
+ * Valid range: 0..10. 0 runs the slowest, and 10 runs the fastest;
212
+ * quality improves as speed decreases (since more compression
213
+ * possibilities are explored).
214
+ *
215
+ * NOTE: 10 is only allowed in AOM_USAGE_REALTIME. In AOM_USAGE_GOOD_QUALITY
216
+ * and AOM_USAGE_ALL_INTRA, 9 is the highest allowed value. However,
217
+ * AOM_USAGE_GOOD_QUALITY treats 7..9 the same as 6. Also, AOM_USAGE_REALTIME
218
+ * treats 0..4 the same as 5.
219
+ */
220
+ AOME_SET_CPUUSED = 13,
221
+
222
+ /*!\brief Codec control function to enable automatic set and use alf frames,
223
+ * unsigned int parameter
224
+ *
225
+ * - 0 = disable
226
+ * - 1 = enable (default)
227
+ */
228
+ AOME_SET_ENABLEAUTOALTREF = 14,
229
+
230
+ /* NOTE: enum 15 unused */
231
+
232
+ /*!\brief Codec control function to set the sharpness parameter,
233
+ * unsigned int parameter.
234
+ *
235
+ * This parameter controls the level at which rate-distortion optimization of
236
+ * transform coefficients favours sharpness in the block.
237
+ *
238
+ * Valid range: 0..7. The default is 0. Values 1-7 will avoid eob and skip
239
+ * block optimization and will change rdmult in favour of block sharpness.
240
+ */
241
+ AOME_SET_SHARPNESS = AOME_SET_ENABLEAUTOALTREF + 2, // 16
242
+
243
+ /*!\brief Codec control function to set the threshold for MBs treated static,
244
+ * unsigned int parameter
245
+ */
246
+ AOME_SET_STATIC_THRESHOLD = 17,
247
+
248
+ /* NOTE: enum 18 unused */
249
+
250
+ /*!\brief Codec control function to get last quantizer chosen by the encoder,
251
+ * int* parameter
252
+ *
253
+ * Return value uses internal quantizer scale defined by the codec.
254
+ */
255
+ AOME_GET_LAST_QUANTIZER = AOME_SET_STATIC_THRESHOLD + 2, // 19
256
+
257
+ /*!\brief Codec control function to get last quantizer chosen by the encoder,
258
+ * int* parameter
259
+ *
260
+ * Return value uses the 0..63 scale as used by the rc_*_quantizer config
261
+ * parameters.
262
+ */
263
+ AOME_GET_LAST_QUANTIZER_64 = 20,
264
+
265
+ /*!\brief Codec control function to set the max no of frames to create arf,
266
+ * unsigned int parameter
267
+ */
268
+ AOME_SET_ARNR_MAXFRAMES = 21,
269
+
270
+ /*!\brief Codec control function to set the filter strength for the arf,
271
+ * unsigned int parameter
272
+ */
273
+ AOME_SET_ARNR_STRENGTH = 22,
274
+
275
+ /* NOTE: enum 23 unused */
276
+
277
+ /*!\brief Codec control function to set visual tuning, aom_tune_metric (int)
278
+ * parameter
279
+ *
280
+ * The default is AOM_TUNE_PSNR.
281
+ */
282
+ AOME_SET_TUNING = AOME_SET_ARNR_STRENGTH + 2, // 24
283
+
284
+ /*!\brief Codec control function to set constrained / constant quality level,
285
+ * unsigned int parameter
286
+ *
287
+ * Valid range: 0..63
288
+ *
289
+ * \attention For this value to be used aom_codec_enc_cfg_t::rc_end_usage
290
+ * must be set to #AOM_CQ or #AOM_Q.
291
+ */
292
+ AOME_SET_CQ_LEVEL = 25,
293
+
294
+ /*!\brief Codec control function to set max data rate for intra frames,
295
+ * unsigned int parameter
296
+ *
297
+ * This value controls additional clamping on the maximum size of a
298
+ * keyframe. It is expressed as a percentage of the average
299
+ * per-frame bitrate, with the special (and default) value 0 meaning
300
+ * unlimited, or no additional clamping beyond the codec's built-in
301
+ * algorithm.
302
+ *
303
+ * For example, to allocate no more than 4.5 frames worth of bitrate
304
+ * to a keyframe, set this to 450.
305
+ */
306
+ AOME_SET_MAX_INTRA_BITRATE_PCT = 26,
307
+
308
+ /*!\brief Codec control function to set number of spatial layers, int
309
+ * parameter
310
+ */
311
+ AOME_SET_NUMBER_SPATIAL_LAYERS = 27,
312
+
313
+ /*!\brief Codec control function to set max data rate for inter frames,
314
+ * unsigned int parameter
315
+ *
316
+ * This value controls additional clamping on the maximum size of an
317
+ * inter frame. It is expressed as a percentage of the average
318
+ * per-frame bitrate, with the special (and default) value 0 meaning
319
+ * unlimited, or no additional clamping beyond the codec's built-in
320
+ * algorithm.
321
+ *
322
+ * For example, to allow no more than 4.5 frames worth of bitrate
323
+ * to an inter frame, set this to 450.
324
+ */
325
+ AV1E_SET_MAX_INTER_BITRATE_PCT = AOME_SET_MAX_INTRA_BITRATE_PCT + 2, // 28
326
+
327
+ /*!\brief Boost percentage for Golden Frame in CBR mode, unsigned int
328
+ * parameter
329
+ *
330
+ * This value controls the amount of boost given to Golden Frame in
331
+ * CBR mode. It is expressed as a percentage of the average
332
+ * per-frame bitrate, with the special (and default) value 0 meaning
333
+ * the feature is off, i.e., no golden frame boost in CBR mode and
334
+ * average bitrate target is used.
335
+ *
336
+ * For example, to allow 100% more bits, i.e, 2X, in a golden frame
337
+ * than average frame, set this to 100.
338
+ */
339
+ AV1E_SET_GF_CBR_BOOST_PCT = 29,
340
+
341
+ /* NOTE: enum 30 unused */
342
+
343
+ /*!\brief Codec control function to set lossless encoding mode, unsigned int
344
+ * parameter
345
+ *
346
+ * AV1 can operate in lossless encoding mode, in which the bitstream
347
+ * produced will be able to decode and reconstruct a perfect copy of
348
+ * input source.
349
+ *
350
+ * - 0 = normal coding mode, may be lossy (default)
351
+ * - 1 = lossless coding mode
352
+ */
353
+ AV1E_SET_LOSSLESS = AV1E_SET_GF_CBR_BOOST_PCT + 2, // 31
354
+
355
+ /*!\brief Codec control function to enable the row based multi-threading
356
+ * of the encoder, unsigned int parameter
357
+ *
358
+ * - 0 = disable
359
+ * - 1 = enable (default)
360
+ */
361
+ AV1E_SET_ROW_MT = 32,
362
+
363
+ /*!\brief Codec control function to set number of tile columns. unsigned int
364
+ * parameter
365
+ *
366
+ * In encoding and decoding, AV1 allows an input image frame be partitioned
367
+ * into separate vertical tile columns, which can be encoded or decoded
368
+ * independently. This enables easy implementation of parallel encoding and
369
+ * decoding. The parameter for this control describes the number of tile
370
+ * columns (in log2 units), which has a valid range of [0, 6]:
371
+ * \verbatim
372
+ 0 = 1 tile column
373
+ 1 = 2 tile columns
374
+ 2 = 4 tile columns
375
+ .....
376
+ n = 2**n tile columns
377
+ \endverbatim
378
+ * By default, the value is 0, i.e. one single column tile for entire image.
379
+ */
380
+ AV1E_SET_TILE_COLUMNS = 33,
381
+
382
+ /*!\brief Codec control function to set number of tile rows, unsigned int
383
+ * parameter
384
+ *
385
+ * In encoding and decoding, AV1 allows an input image frame be partitioned
386
+ * into separate horizontal tile rows, which can be encoded or decoded
387
+ * independently. The parameter for this control describes the number of tile
388
+ * rows (in log2 units), which has a valid range of [0, 6]:
389
+ * \verbatim
390
+ 0 = 1 tile row
391
+ 1 = 2 tile rows
392
+ 2 = 4 tile rows
393
+ .....
394
+ n = 2**n tile rows
395
+ \endverbatim
396
+ * By default, the value is 0, i.e. one single row tile for entire image.
397
+ */
398
+ AV1E_SET_TILE_ROWS = 34,
399
+
400
+ /*!\brief Codec control function to enable RDO modulated by frame temporal
401
+ * dependency, unsigned int parameter
402
+ *
403
+ * - 0 = disable
404
+ * - 1 = enable (default)
405
+ *
406
+ * \note Excluded from CONFIG_REALTIME_ONLY build.
407
+ */
408
+ AV1E_SET_ENABLE_TPL_MODEL = 35,
409
+
410
+ /*!\brief Codec control function to enable temporal filtering on key frame,
411
+ * unsigned int parameter
412
+ *
413
+ * - 0 = disable
414
+ * - 1 = enable without overlay (default)
415
+ * - 2 = enable with overlay
416
+ */
417
+ AV1E_SET_ENABLE_KEYFRAME_FILTERING = 36,
418
+
419
+ /*!\brief Codec control function to enable frame parallel decoding feature,
420
+ * unsigned int parameter
421
+ *
422
+ * AV1 has a bitstream feature to reduce decoding dependency between frames
423
+ * by turning off backward update of probability context used in encoding
424
+ * and decoding. This allows staged parallel processing of more than one
425
+ * video frames in the decoder. This control function provides a means to
426
+ * turn this feature on or off for bitstreams produced by encoder.
427
+ *
428
+ * - 0 = disable (default)
429
+ * - 1 = enable
430
+ */
431
+ AV1E_SET_FRAME_PARALLEL_DECODING = 37,
432
+
433
+ /*!\brief Codec control function to enable error_resilient_mode, int parameter
434
+ *
435
+ * AV1 has a bitstream feature to guarantee parsability of a frame
436
+ * by turning on the error_resilient_decoding mode, even though the
437
+ * reference buffers are unreliable or not received.
438
+ *
439
+ * - 0 = disable (default)
440
+ * - 1 = enable
441
+ */
442
+ AV1E_SET_ERROR_RESILIENT_MODE = 38,
443
+
444
+ /*!\brief Codec control function to enable s_frame_mode, int parameter
445
+ *
446
+ * AV1 has a bitstream feature to designate certain frames as S-frames,
447
+ * from where we can switch to a different stream,
448
+ * even though the reference buffers may not be exactly identical.
449
+ *
450
+ * - 0 = disable (default)
451
+ * - 1 = enable
452
+ */
453
+ AV1E_SET_S_FRAME_MODE = 39,
454
+
455
+ /*!\brief Codec control function to set adaptive quantization mode, unsigned
456
+ * int parameter
457
+ *
458
+ * AV1 has a segment based feature that allows encoder to adaptively change
459
+ * quantization parameter for each segment within a frame to improve the
460
+ * subjective quality. This control makes encoder operate in one of the
461
+ * several AQ modes supported.
462
+ *
463
+ * - 0 = disable (default)
464
+ * - 1 = variance
465
+ * - 2 = complexity
466
+ * - 3 = cyclic refresh
467
+ */
468
+ AV1E_SET_AQ_MODE = 40,
469
+
470
+ /*!\brief Codec control function to enable/disable periodic Q boost, unsigned
471
+ * int parameter
472
+ *
473
+ * One AV1 encoder speed feature is to enable quality boost by lowering
474
+ * frame level Q periodically. This control function provides a means to
475
+ * turn on/off this feature.
476
+ *
477
+ * - 0 = disable (default)
478
+ * - 1 = enable
479
+ */
480
+ AV1E_SET_FRAME_PERIODIC_BOOST = 41,
481
+
482
+ /*!\brief Codec control function to set noise sensitivity, unsigned int
483
+ * parameter
484
+ *
485
+ * - 0 = disable (default)
486
+ * - 1 = enable (Y only)
487
+ */
488
+ AV1E_SET_NOISE_SENSITIVITY = 42,
489
+
490
+ /*!\brief Codec control function to set content type, aom_tune_content
491
+ * parameter
492
+ *
493
+ * - AOM_CONTENT_DEFAULT = Regular video content (default)
494
+ * - AOM_CONTENT_SCREEN = Screen capture content
495
+ * - AOM_CONTENT_FILM = Film content
496
+ */
497
+ AV1E_SET_TUNE_CONTENT = 43,
498
+
499
+ /*!\brief Codec control function to set CDF update mode, unsigned int
500
+ * parameter
501
+ *
502
+ * - 0: no update
503
+ * - 1: update on every frame (default)
504
+ * - 2: selectively update
505
+ */
506
+ AV1E_SET_CDF_UPDATE_MODE = 44,
507
+
508
+ /*!\brief Codec control function to set color space info, int parameter
509
+ *
510
+ * - 0 = For future use
511
+ * - 1 = BT.709
512
+ * - 2 = Unspecified (default)
513
+ * - 3 = For future use
514
+ * - 4 = BT.470 System M (historical)
515
+ * - 5 = BT.470 System B, G (historical)
516
+ * - 6 = BT.601
517
+ * - 7 = SMPTE 240
518
+ * - 8 = Generic film (color filters using illuminant C)
519
+ * - 9 = BT.2020, BT.2100
520
+ * - 10 = SMPTE 428 (CIE 1921 XYZ)
521
+ * - 11 = SMPTE RP 431-2
522
+ * - 12 = SMPTE EG 432-1
523
+ * - 13..21 = For future use
524
+ * - 22 = EBU Tech. 3213-E
525
+ * - 23 = For future use
526
+ */
527
+ AV1E_SET_COLOR_PRIMARIES = 45,
528
+
529
+ /*!\brief Codec control function to set transfer function info, int parameter
530
+ *
531
+ * - 0 = For future use
532
+ * - 1 = BT.709
533
+ * - 2 = Unspecified (default)
534
+ * - 3 = For future use
535
+ * - 4 = BT.470 System M (historical)
536
+ * - 5 = BT.470 System B, G (historical)
537
+ * - 6 = BT.601
538
+ * - 7 = SMPTE 240 M
539
+ * - 8 = Linear
540
+ * - 9 = Logarithmic (100 : 1 range)
541
+ * - 10 = Logarithmic (100 * Sqrt(10) : 1 range)
542
+ * - 11 = IEC 61966-2-4
543
+ * - 12 = BT.1361
544
+ * - 13 = sRGB or sYCC
545
+ * - 14 = BT.2020 10-bit systems
546
+ * - 15 = BT.2020 12-bit systems
547
+ * - 16 = SMPTE ST 2084, ITU BT.2100 PQ
548
+ * - 17 = SMPTE ST 428
549
+ * - 18 = BT.2100 HLG, ARIB STD-B67
550
+ * - 19 = For future use
551
+ */
552
+ AV1E_SET_TRANSFER_CHARACTERISTICS = 46,
553
+
554
+ /*!\brief Codec control function to set transfer function info, int parameter
555
+ *
556
+ * - 0 = Identity matrix
557
+ * - 1 = BT.709
558
+ * - 2 = Unspecified (default)
559
+ * - 3 = For future use
560
+ * - 4 = US FCC 73.628
561
+ * - 5 = BT.470 System B, G (historical)
562
+ * - 6 = BT.601
563
+ * - 7 = SMPTE 240 M
564
+ * - 8 = YCgCo
565
+ * - 9 = BT.2020 non-constant luminance, BT.2100 YCbCr
566
+ * - 10 = BT.2020 constant luminance
567
+ * - 11 = SMPTE ST 2085 YDzDx
568
+ * - 12 = Chromaticity-derived non-constant luminance
569
+ * - 13 = Chromaticity-derived constant luminance
570
+ * - 14 = BT.2100 ICtCp
571
+ * - 15 = For future use
572
+ */
573
+ AV1E_SET_MATRIX_COEFFICIENTS = 47,
574
+
575
+ /*!\brief Codec control function to set chroma 4:2:0 sample position info,
576
+ * aom_chroma_sample_position_t parameter
577
+ *
578
+ * AOM_CSP_UNKNOWN is default
579
+ */
580
+ AV1E_SET_CHROMA_SAMPLE_POSITION = 48,
581
+
582
+ /*!\brief Codec control function to set minimum interval between GF/ARF
583
+ * frames, unsigned int parameter
584
+ *
585
+ * By default the value is set as 4.
586
+ */
587
+ AV1E_SET_MIN_GF_INTERVAL = 49,
588
+
589
+ /*!\brief Codec control function to set minimum interval between GF/ARF
590
+ * frames, unsigned int parameter
591
+ *
592
+ * By default the value is set as 16.
593
+ */
594
+ AV1E_SET_MAX_GF_INTERVAL = 50,
595
+
596
+ /*!\brief Codec control function to get an active map back from the encoder,
597
+ aom_active_map_t* parameter
598
+ */
599
+ AV1E_GET_ACTIVEMAP = 51,
600
+
601
+ /*!\brief Codec control function to set color range bit, int parameter
602
+ *
603
+ * - 0 = Limited range, 16..235 or HBD equivalent (default)
604
+ * - 1 = Full range, 0..255 or HBD equivalent
605
+ */
606
+ AV1E_SET_COLOR_RANGE = 52,
607
+
608
+ /*!\brief Codec control function to set intended rendering image size,
609
+ * int32_t[2] parameter
610
+ *
611
+ * By default, this is identical to the image size in pixels.
612
+ */
613
+ AV1E_SET_RENDER_SIZE = 53,
614
+
615
+ /*!\brief Control to set target sequence level index for a certain operating
616
+ * point (OP), int parameter
617
+ * Possible values are in the form of "ABxy".
618
+ * - AB: OP index.
619
+ * - xy: Target level index for the OP. Possible values are:
620
+ * + 0~27: corresponding to level 2.0 ~ 8.3. Note:
621
+ * > Levels 2.2 (2), 2.3 (3), 3.2 (6), 3.3 (7), 4.2 (10) & 4.3 (11) are
622
+ * undefined.
623
+ * > Levels 7.x and 8.x (20~27) are in draft status, available under the
624
+ * config flag CONFIG_CWG_C013.
625
+ * + 31: maximum parameters level, no level-based constraints.
626
+ * + 32: keep level stats only for level monitoring.
627
+ *
628
+ * E.g.:
629
+ * - "0" means target level index 0 (2.0) for the 0th OP;
630
+ * - "109" means target level index 9 (4.1) for the 1st OP;
631
+ * - "1019" means target level index 19 (6.3) for the 10th OP.
632
+ *
633
+ * If the target level is not specified for an OP, the maximum parameters
634
+ * level of 31 is used as default.
635
+ */
636
+ AV1E_SET_TARGET_SEQ_LEVEL_IDX = 54,
637
+
638
+ /*!\brief Codec control function to get sequence level index for each
639
+ * operating point. int* parameter. There can be at most 32 operating points.
640
+ * The results will be written into a provided integer array of sufficient
641
+ * size.
642
+ */
643
+ AV1E_GET_SEQ_LEVEL_IDX = 55,
644
+
645
+ /*!\brief Codec control function to set intended superblock size, unsigned int
646
+ * parameter
647
+ *
648
+ * By default, the superblock size is determined separately for each
649
+ * frame by the encoder.
650
+ */
651
+ AV1E_SET_SUPERBLOCK_SIZE = 56,
652
+
653
+ /*!\brief Codec control function to enable automatic set and use of
654
+ * bwd-pred frames, unsigned int parameter
655
+ *
656
+ * - 0 = disable (default)
657
+ * - 1 = enable
658
+ */
659
+ AOME_SET_ENABLEAUTOBWDREF = 57,
660
+
661
+ /*!\brief Codec control function to encode with CDEF, unsigned int parameter
662
+ *
663
+ * CDEF is the constrained directional enhancement filter which is an
664
+ * in-loop filter aiming to remove coding artifacts
665
+ *
666
+ * - 0 = disable
667
+ * - 1 = enable for all frames (default)
668
+ * - 2 = disable for non-reference frames
669
+ */
670
+ AV1E_SET_ENABLE_CDEF = 58,
671
+
672
+ /*!\brief Codec control function to encode with Loop Restoration Filter,
673
+ * unsigned int parameter
674
+ *
675
+ * - 0 = disable
676
+ * - 1 = enable (default)
677
+ *
678
+ * \note Excluded from CONFIG_REALTIME_ONLY build.
679
+ */
680
+ AV1E_SET_ENABLE_RESTORATION = 59,
681
+
682
+ /*!\brief Codec control function to force video mode, unsigned int parameter
683
+ *
684
+ * - 0 = do not force video mode (default)
685
+ * - 1 = force video mode even for a single frame
686
+ */
687
+ AV1E_SET_FORCE_VIDEO_MODE = 60,
688
+
689
+ /*!\brief Codec control function to predict with OBMC mode, unsigned int
690
+ * parameter
691
+ *
692
+ * - 0 = disable
693
+ * - 1 = enable (default)
694
+ *
695
+ * \note Excluded from CONFIG_REALTIME_ONLY build.
696
+ */
697
+ AV1E_SET_ENABLE_OBMC = 61,
698
+
699
+ /*!\brief Codec control function to encode without trellis quantization,
700
+ * unsigned int parameter
701
+ *
702
+ * - 0 = apply trellis quantization (default)
703
+ * - 1 = do not apply trellis quantization
704
+ * - 2 = disable trellis quantization in rd search
705
+ * - 3 = disable trellis quantization in estimate yrd
706
+ */
707
+ AV1E_SET_DISABLE_TRELLIS_QUANT = 62,
708
+
709
+ /*!\brief Codec control function to encode with quantisation matrices,
710
+ * unsigned int parameter
711
+ *
712
+ * AOM can operate with default quantisation matrices dependent on
713
+ * quantisation level and block type.
714
+ *
715
+ * - 0 = disable (default)
716
+ * - 1 = enable
717
+ */
718
+ AV1E_SET_ENABLE_QM = 63,
719
+
720
+ /*!\brief Codec control function to set the min quant matrix flatness,
721
+ * unsigned int parameter
722
+ *
723
+ * AOM can operate with different ranges of quantisation matrices.
724
+ * As quantisation levels increase, the matrices get flatter. This
725
+ * control sets the minimum level of flatness from which the matrices
726
+ * are determined.
727
+ *
728
+ * By default, the encoder sets this minimum at half the available
729
+ * range.
730
+ */
731
+ AV1E_SET_QM_MIN = 64,
732
+
733
+ /*!\brief Codec control function to set the max quant matrix flatness,
734
+ * unsigned int parameter
735
+ *
736
+ * AOM can operate with different ranges of quantisation matrices.
737
+ * As quantisation levels increase, the matrices get flatter. This
738
+ * control sets the maximum level of flatness possible.
739
+ *
740
+ * By default, the encoder sets this maximum at the top of the
741
+ * available range.
742
+ */
743
+ AV1E_SET_QM_MAX = 65,
744
+
745
+ /*!\brief Codec control function to set the min quant matrix flatness,
746
+ * unsigned int parameter
747
+ *
748
+ * AOM can operate with different ranges of quantisation matrices.
749
+ * As quantisation levels increase, the matrices get flatter. This
750
+ * control sets the flatness for luma (Y).
751
+ *
752
+ * By default, the encoder sets this minimum at half the available
753
+ * range.
754
+ */
755
+ AV1E_SET_QM_Y = 66,
756
+
757
+ /*!\brief Codec control function to set the min quant matrix flatness,
758
+ * unsigned int parameter
759
+ *
760
+ * AOM can operate with different ranges of quantisation matrices.
761
+ * As quantisation levels increase, the matrices get flatter. This
762
+ * control sets the flatness for chroma (U).
763
+ *
764
+ * By default, the encoder sets this minimum at half the available
765
+ * range.
766
+ */
767
+ AV1E_SET_QM_U = 67,
768
+
769
+ /*!\brief Codec control function to set the min quant matrix flatness,
770
+ * unsigned int parameter
771
+ *
772
+ * AOM can operate with different ranges of quantisation matrices.
773
+ * As quantisation levels increase, the matrices get flatter. This
774
+ * control sets the flatness for chrome (V).
775
+ *
776
+ * By default, the encoder sets this minimum at half the available
777
+ * range.
778
+ */
779
+ AV1E_SET_QM_V = 68,
780
+
781
+ /* NOTE: enum 69 unused */
782
+
783
+ /*!\brief Codec control function to set a maximum number of tile groups,
784
+ * unsigned int parameter
785
+ *
786
+ * This will set the maximum number of tile groups. This will be
787
+ * overridden if an MTU size is set. The default value is 1.
788
+ */
789
+ AV1E_SET_NUM_TG = 70,
790
+
791
+ /*!\brief Codec control function to set an MTU size for a tile group, unsigned
792
+ * int parameter
793
+ *
794
+ * This will set the maximum number of bytes in a tile group. This can be
795
+ * exceeded only if a single tile is larger than this amount.
796
+ *
797
+ * By default, the value is 0, in which case a fixed number of tile groups
798
+ * is used.
799
+ */
800
+ AV1E_SET_MTU = 71,
801
+
802
+ /* NOTE: enum 72 unused */
803
+
804
+ /*!\brief Codec control function to enable/disable rectangular partitions, int
805
+ * parameter
806
+ *
807
+ * - 0 = disable
808
+ * - 1 = enable (default)
809
+ */
810
+ AV1E_SET_ENABLE_RECT_PARTITIONS = 73,
811
+
812
+ /*!\brief Codec control function to enable/disable AB partitions, int
813
+ * parameter
814
+ *
815
+ * - 0 = disable
816
+ * - 1 = enable (default)
817
+ */
818
+ AV1E_SET_ENABLE_AB_PARTITIONS = 74,
819
+
820
+ /*!\brief Codec control function to enable/disable 1:4 and 4:1 partitions, int
821
+ * parameter
822
+ *
823
+ * - 0 = disable
824
+ * - 1 = enable (default)
825
+ */
826
+ AV1E_SET_ENABLE_1TO4_PARTITIONS = 75,
827
+
828
+ /*!\brief Codec control function to set min partition size, int parameter
829
+ *
830
+ * min_partition_size is applied to both width and height of the partition.
831
+ * i.e, both width and height of a partition can not be smaller than
832
+ * the min_partition_size, except the partition at the picture boundary.
833
+ *
834
+ * Valid values: [4, 8, 16, 32, 64, 128]. The default value is 4 for
835
+ * 4x4.
836
+ */
837
+ AV1E_SET_MIN_PARTITION_SIZE = 76,
838
+
839
+ /*!\brief Codec control function to set max partition size, int parameter
840
+ *
841
+ * max_partition_size is applied to both width and height of the partition.
842
+ * i.e, both width and height of a partition can not be larger than
843
+ * the max_partition_size.
844
+ *
845
+ * Valid values:[4, 8, 16, 32, 64, 128] The default value is 128 for
846
+ * 128x128.
847
+ */
848
+ AV1E_SET_MAX_PARTITION_SIZE = 77,
849
+
850
+ /*!\brief Codec control function to turn on / off intra edge filter
851
+ * at sequence level, int parameter
852
+ *
853
+ * - 0 = disable
854
+ * - 1 = enable (default)
855
+ */
856
+ AV1E_SET_ENABLE_INTRA_EDGE_FILTER = 78,
857
+
858
+ /*!\brief Codec control function to turn on / off frame order hint (int
859
+ * parameter). Affects: joint compound mode, motion field motion vector,
860
+ * ref frame sign bias
861
+ *
862
+ * - 0 = disable
863
+ * - 1 = enable (default)
864
+ */
865
+ AV1E_SET_ENABLE_ORDER_HINT = 79,
866
+
867
+ /*!\brief Codec control function to turn on / off 64-length transforms, int
868
+ * parameter
869
+ *
870
+ * This will enable or disable usage of length 64 transforms in any
871
+ * direction.
872
+ *
873
+ * - 0 = disable
874
+ * - 1 = enable (default)
875
+ */
876
+ AV1E_SET_ENABLE_TX64 = 80,
877
+
878
+ /*!\brief Codec control function to turn on / off flip and identity
879
+ * transforms, int parameter
880
+ *
881
+ * This will enable or disable usage of flip and identity transform
882
+ * types in any direction. If enabled, this includes:
883
+ * - FLIPADST_DCT
884
+ * - DCT_FLIPADST
885
+ * - FLIPADST_FLIPADST
886
+ * - ADST_FLIPADST
887
+ * - FLIPADST_ADST
888
+ * - IDTX
889
+ * - V_DCT
890
+ * - H_DCT
891
+ * - V_ADST
892
+ * - H_ADST
893
+ * - V_FLIPADST
894
+ * - H_FLIPADST
895
+ *
896
+ * Valid values:
897
+ * - 0 = disable
898
+ * - 1 = enable (default)
899
+ */
900
+ AV1E_SET_ENABLE_FLIP_IDTX = 81,
901
+
902
+ /*!\brief Codec control function to turn on / off rectangular transforms, int
903
+ * parameter
904
+ *
905
+ * This will enable or disable usage of rectangular transforms. NOTE:
906
+ * Rectangular transforms only enabled when corresponding rectangular
907
+ * partitions are.
908
+ *
909
+ * - 0 = disable
910
+ * - 1 = enable (default)
911
+ */
912
+ AV1E_SET_ENABLE_RECT_TX = 82,
913
+
914
+ /*!\brief Codec control function to turn on / off dist-wtd compound mode
915
+ * at sequence level, int parameter
916
+ *
917
+ * This will enable or disable distance-weighted compound mode.
918
+ * \attention If AV1E_SET_ENABLE_ORDER_HINT is 0, then this flag is forced
919
+ * to 0.
920
+ *
921
+ * - 0 = disable
922
+ * - 1 = enable (default)
923
+ */
924
+ AV1E_SET_ENABLE_DIST_WTD_COMP = 83,
925
+
926
+ /*!\brief Codec control function to turn on / off ref frame mvs (mfmv) usage
927
+ * at sequence level, int parameter
928
+ *
929
+ * \attention If AV1E_SET_ENABLE_ORDER_HINT is 0, then this flag is forced
930
+ * to 0.
931
+ *
932
+ * - 0 = disable
933
+ * - 1 = enable (default)
934
+ */
935
+ AV1E_SET_ENABLE_REF_FRAME_MVS = 84,
936
+
937
+ /*!\brief Codec control function to set temporal mv prediction
938
+ * enabling/disabling at frame level, int parameter
939
+ *
940
+ * \attention If AV1E_SET_ENABLE_REF_FRAME_MVS is 0, then this flag is
941
+ * forced to 0.
942
+ *
943
+ * - 0 = disable
944
+ * - 1 = enable (default)
945
+ */
946
+ AV1E_SET_ALLOW_REF_FRAME_MVS = 85,
947
+
948
+ /*!\brief Codec control function to turn on / off dual interpolation filter
949
+ * for a sequence, int parameter
950
+ *
951
+ * - 0 = disable
952
+ * - 1 = enable
953
+ */
954
+ AV1E_SET_ENABLE_DUAL_FILTER = 86,
955
+
956
+ /*!\brief Codec control function to turn on / off delta quantization in chroma
957
+ * planes for a sequence, int parameter
958
+ *
959
+ * - 0 = disable (default)
960
+ * - 1 = enable
961
+ */
962
+ AV1E_SET_ENABLE_CHROMA_DELTAQ = 87,
963
+
964
+ /*!\brief Codec control function to turn on / off masked compound usage
965
+ * (wedge and diff-wtd compound modes) for a sequence, int parameter
966
+ *
967
+ * - 0 = disable
968
+ * - 1 = enable (default)
969
+ */
970
+ AV1E_SET_ENABLE_MASKED_COMP = 88,
971
+
972
+ /*!\brief Codec control function to turn on / off one sided compound usage
973
+ * for a sequence, int parameter
974
+ *
975
+ * - 0 = disable
976
+ * - 1 = enable (default)
977
+ */
978
+ AV1E_SET_ENABLE_ONESIDED_COMP = 89,
979
+
980
+ /*!\brief Codec control function to turn on / off interintra compound
981
+ * for a sequence, int parameter
982
+ *
983
+ * - 0 = disable
984
+ * - 1 = enable (default)
985
+ */
986
+ AV1E_SET_ENABLE_INTERINTRA_COMP = 90,
987
+
988
+ /*!\brief Codec control function to turn on / off smooth inter-intra
989
+ * mode for a sequence, int parameter
990
+ *
991
+ * - 0 = disable
992
+ * - 1 = enable (default)
993
+ */
994
+ AV1E_SET_ENABLE_SMOOTH_INTERINTRA = 91,
995
+
996
+ /*!\brief Codec control function to turn on / off difference weighted
997
+ * compound, int parameter
998
+ *
999
+ * - 0 = disable
1000
+ * - 1 = enable (default)
1001
+ */
1002
+ AV1E_SET_ENABLE_DIFF_WTD_COMP = 92,
1003
+
1004
+ /*!\brief Codec control function to turn on / off interinter wedge
1005
+ * compound, int parameter
1006
+ *
1007
+ * - 0 = disable
1008
+ * - 1 = enable (default)
1009
+ */
1010
+ AV1E_SET_ENABLE_INTERINTER_WEDGE = 93,
1011
+
1012
+ /*!\brief Codec control function to turn on / off interintra wedge
1013
+ * compound, int parameter
1014
+ *
1015
+ * - 0 = disable
1016
+ * - 1 = enable (default)
1017
+ */
1018
+ AV1E_SET_ENABLE_INTERINTRA_WEDGE = 94,
1019
+
1020
+ /*!\brief Codec control function to turn on / off global motion usage
1021
+ * for a sequence, int parameter
1022
+ *
1023
+ * - 0 = disable
1024
+ * - 1 = enable (default)
1025
+ *
1026
+ * \note Excluded from CONFIG_REALTIME_ONLY build.
1027
+ */
1028
+ AV1E_SET_ENABLE_GLOBAL_MOTION = 95,
1029
+
1030
+ /*!\brief Codec control function to turn on / off warped motion usage
1031
+ * at sequence level, int parameter
1032
+ *
1033
+ * - 0 = disable
1034
+ * - 1 = enable (default)
1035
+ *
1036
+ * \note Excluded from CONFIG_REALTIME_ONLY build.
1037
+ */
1038
+ AV1E_SET_ENABLE_WARPED_MOTION = 96,
1039
+
1040
+ /*!\brief Codec control function to turn on / off warped motion usage
1041
+ * at frame level, int parameter
1042
+ *
1043
+ * \attention If AV1E_SET_ENABLE_WARPED_MOTION is 0, then this flag is
1044
+ * forced to 0.
1045
+ *
1046
+ * - 0 = disable
1047
+ * - 1 = enable (default)
1048
+ *
1049
+ * \note Excluded from CONFIG_REALTIME_ONLY build.
1050
+ */
1051
+ AV1E_SET_ALLOW_WARPED_MOTION = 97,
1052
+
1053
+ /*!\brief Codec control function to turn on / off filter intra usage at
1054
+ * sequence level, int parameter
1055
+ *
1056
+ * - 0 = disable
1057
+ * - 1 = enable (default)
1058
+ */
1059
+ AV1E_SET_ENABLE_FILTER_INTRA = 98,
1060
+
1061
+ /*!\brief Codec control function to turn on / off smooth intra modes usage,
1062
+ * int parameter
1063
+ *
1064
+ * This will enable or disable usage of smooth, smooth_h and smooth_v intra
1065
+ * modes.
1066
+ *
1067
+ * - 0 = disable
1068
+ * - 1 = enable (default)
1069
+ */
1070
+ AV1E_SET_ENABLE_SMOOTH_INTRA = 99,
1071
+
1072
+ /*!\brief Codec control function to turn on / off Paeth intra mode usage, int
1073
+ * parameter
1074
+ *
1075
+ * - 0 = disable
1076
+ * - 1 = enable (default)
1077
+ */
1078
+ AV1E_SET_ENABLE_PAETH_INTRA = 100,
1079
+
1080
+ /*!\brief Codec control function to turn on / off CFL uv intra mode usage, int
1081
+ * parameter
1082
+ *
1083
+ * This will enable or disable usage of chroma-from-luma intra mode.
1084
+ *
1085
+ * - 0 = disable
1086
+ * - 1 = enable (default)
1087
+ */
1088
+ AV1E_SET_ENABLE_CFL_INTRA = 101,
1089
+
1090
+ /*!\brief Codec control function to turn on / off frame superresolution, int
1091
+ * parameter
1092
+ *
1093
+ * - 0 = disable
1094
+ * - 1 = enable (default)
1095
+ */
1096
+ AV1E_SET_ENABLE_SUPERRES = 102,
1097
+
1098
+ /*!\brief Codec control function to turn on / off overlay frames for
1099
+ * filtered ALTREF frames, int parameter
1100
+ *
1101
+ * This will enable or disable coding of overlay frames for filtered ALTREF
1102
+ * frames. When set to 0, overlay frames are not used but show existing frame
1103
+ * is used to display the filtered ALTREF frame as is. As a result the decoded
1104
+ * frame rate remains the same as the display frame rate. The default is 1.
1105
+ */
1106
+ AV1E_SET_ENABLE_OVERLAY = 103,
1107
+
1108
+ /*!\brief Codec control function to turn on/off palette mode, int parameter */
1109
+ AV1E_SET_ENABLE_PALETTE = 104,
1110
+
1111
+ /*!\brief Codec control function to turn on/off intra block copy mode, int
1112
+ parameter */
1113
+ AV1E_SET_ENABLE_INTRABC = 105,
1114
+
1115
+ /*!\brief Codec control function to turn on/off intra angle delta, int
1116
+ parameter */
1117
+ AV1E_SET_ENABLE_ANGLE_DELTA = 106,
1118
+
1119
+ /*!\brief Codec control function to set the delta q mode, unsigned int
1120
+ * parameter
1121
+ *
1122
+ * AV1 supports a delta q mode feature, that allows modulating q per
1123
+ * superblock.
1124
+ *
1125
+ * - 0 = deltaq signaling off
1126
+ * - 1 = use modulation to maximize objective quality (default)
1127
+ * - 2 = use modulation for local test
1128
+ * - 3 = use modulation for key frame perceptual quality optimization
1129
+ * - 4 = use modulation for user rating based perceptual quality optimization
1130
+ */
1131
+ AV1E_SET_DELTAQ_MODE = 107,
1132
+
1133
+ /*!\brief Codec control function to turn on/off loopfilter modulation
1134
+ * when delta q modulation is enabled, unsigned int parameter.
1135
+ *
1136
+ * \attention AV1 only supports loopfilter modulation when delta q
1137
+ * modulation is enabled as well.
1138
+ */
1139
+ AV1E_SET_DELTALF_MODE = 108,
1140
+
1141
+ /*!\brief Codec control function to set the single tile decoding mode,
1142
+ * unsigned int parameter
1143
+ *
1144
+ * \attention Only applicable if large scale tiling is on.
1145
+ *
1146
+ * - 0 = single tile decoding is off
1147
+ * - 1 = single tile decoding is on (default)
1148
+ */
1149
+ AV1E_SET_SINGLE_TILE_DECODING = 109,
1150
+
1151
+ /*!\brief Codec control function to enable the extreme motion vector unit
1152
+ * test, unsigned int parameter
1153
+ *
1154
+ * - 0 = off
1155
+ * - 1 = MAX_EXTREME_MV
1156
+ * - 2 = MIN_EXTREME_MV
1157
+ *
1158
+ * \note This is only used in motion vector unit test.
1159
+ */
1160
+ AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST = 110,
1161
+
1162
+ /*!\brief Codec control function to signal picture timing info in the
1163
+ * bitstream, aom_timing_info_type_t parameter. Default is
1164
+ * AOM_TIMING_UNSPECIFIED.
1165
+ */
1166
+ AV1E_SET_TIMING_INFO_TYPE = 111,
1167
+
1168
+ /*!\brief Codec control function to add film grain parameters (one of several
1169
+ * preset types) info in the bitstream, int parameter
1170
+ *
1171
+ Valid range: 0..16, 0 is unknown, 1..16 are test vectors
1172
+ */
1173
+ AV1E_SET_FILM_GRAIN_TEST_VECTOR = 112,
1174
+
1175
+ /*!\brief Codec control function to set the path to the film grain parameters,
1176
+ * const char* parameter
1177
+ */
1178
+ AV1E_SET_FILM_GRAIN_TABLE = 113,
1179
+
1180
+ /*!\brief Sets the noise level, int parameter */
1181
+ AV1E_SET_DENOISE_NOISE_LEVEL = 114,
1182
+
1183
+ /*!\brief Sets the denoisers block size, unsigned int parameter */
1184
+ AV1E_SET_DENOISE_BLOCK_SIZE = 115,
1185
+
1186
+ /*!\brief Sets the chroma subsampling x value, unsigned int parameter */
1187
+ AV1E_SET_CHROMA_SUBSAMPLING_X = 116,
1188
+
1189
+ /*!\brief Sets the chroma subsampling y value, unsigned int parameter */
1190
+ AV1E_SET_CHROMA_SUBSAMPLING_Y = 117,
1191
+
1192
+ /*!\brief Control to use a reduced tx type set, int parameter */
1193
+ AV1E_SET_REDUCED_TX_TYPE_SET = 118,
1194
+
1195
+ /*!\brief Control to use dct only for intra modes, int parameter */
1196
+ AV1E_SET_INTRA_DCT_ONLY = 119,
1197
+
1198
+ /*!\brief Control to use dct only for inter modes, int parameter */
1199
+ AV1E_SET_INTER_DCT_ONLY = 120,
1200
+
1201
+ /*!\brief Control to use default tx type only for intra modes, int parameter
1202
+ */
1203
+ AV1E_SET_INTRA_DEFAULT_TX_ONLY = 121,
1204
+
1205
+ /*!\brief Control to use adaptive quantize_b, int parameter */
1206
+ AV1E_SET_QUANT_B_ADAPT = 122,
1207
+
1208
+ /*!\brief Control to select maximum height for the GF group pyramid structure,
1209
+ * unsigned int parameter
1210
+ *
1211
+ * Valid range: 0..5
1212
+ */
1213
+ AV1E_SET_GF_MAX_PYRAMID_HEIGHT = 123,
1214
+
1215
+ /*!\brief Control to select maximum reference frames allowed per frame, int
1216
+ * parameter
1217
+ *
1218
+ * Valid range: 3..7
1219
+ */
1220
+ AV1E_SET_MAX_REFERENCE_FRAMES = 124,
1221
+
1222
+ /*!\brief Control to use reduced set of single and compound references, int
1223
+ parameter */
1224
+ AV1E_SET_REDUCED_REFERENCE_SET = 125,
1225
+
1226
+ /*!\brief Control to set frequency of the cost updates for coefficients,
1227
+ * unsigned int parameter
1228
+ *
1229
+ * - 0 = update at SB level (default)
1230
+ * - 1 = update at SB row level in tile
1231
+ * - 2 = update at tile level
1232
+ * - 3 = turn off
1233
+ */
1234
+ AV1E_SET_COEFF_COST_UPD_FREQ = 126,
1235
+
1236
+ /*!\brief Control to set frequency of the cost updates for mode, unsigned int
1237
+ * parameter
1238
+ *
1239
+ * - 0 = update at SB level (default)
1240
+ * - 1 = update at SB row level in tile
1241
+ * - 2 = update at tile level
1242
+ * - 3 = turn off
1243
+ */
1244
+ AV1E_SET_MODE_COST_UPD_FREQ = 127,
1245
+
1246
+ /*!\brief Control to set frequency of the cost updates for motion vectors,
1247
+ * unsigned int parameter
1248
+ *
1249
+ * - 0 = update at SB level (default)
1250
+ * - 1 = update at SB row level in tile
1251
+ * - 2 = update at tile level
1252
+ * - 3 = turn off
1253
+ */
1254
+ AV1E_SET_MV_COST_UPD_FREQ = 128,
1255
+
1256
+ /*!\brief Control to set bit mask that specifies which tier each of the 32
1257
+ * possible operating points conforms to, unsigned int parameter
1258
+ *
1259
+ * - 0 = main tier (default)
1260
+ * - 1 = high tier
1261
+ */
1262
+ AV1E_SET_TIER_MASK = 129,
1263
+
1264
+ /*!\brief Control to set minimum compression ratio, unsigned int parameter
1265
+ * Take integer values. If non-zero, encoder will try to keep the compression
1266
+ * ratio of each frame to be higher than the given value divided by 100.
1267
+ * E.g. 850 means minimum compression ratio of 8.5.
1268
+ */
1269
+ AV1E_SET_MIN_CR = 130,
1270
+
1271
+ /* NOTE: enums 145-149 unused */
1272
+
1273
+ /*!\brief Codec control function to set the layer id, aom_svc_layer_id_t*
1274
+ * parameter
1275
+ */
1276
+ AV1E_SET_SVC_LAYER_ID = 131,
1277
+
1278
+ /*!\brief Codec control function to set SVC parameters, aom_svc_params_t*
1279
+ * parameter
1280
+ */
1281
+ AV1E_SET_SVC_PARAMS = 132,
1282
+
1283
+ /*!\brief Codec control function to set reference frame config:
1284
+ * the ref_idx and the refresh flags for each buffer slot.
1285
+ * aom_svc_ref_frame_config_t* parameter
1286
+ */
1287
+ AV1E_SET_SVC_REF_FRAME_CONFIG = 133,
1288
+
1289
+ /*!\brief Codec control function to set the path to the VMAF model used when
1290
+ * tuning the encoder for VMAF, const char* parameter
1291
+ */
1292
+ AV1E_SET_VMAF_MODEL_PATH = 134,
1293
+
1294
+ /*!\brief Codec control function to enable EXT_TILE_DEBUG in AV1 encoder,
1295
+ * unsigned int parameter
1296
+ *
1297
+ * - 0 = disable (default)
1298
+ * - 1 = enable
1299
+ *
1300
+ * \note This is only used in lightfield example test.
1301
+ */
1302
+ AV1E_ENABLE_EXT_TILE_DEBUG = 135,
1303
+
1304
+ /*!\brief Codec control function to enable the superblock multipass unit test
1305
+ * in AV1 to ensure that the encoder does not leak state between different
1306
+ * passes. unsigned int parameter.
1307
+ *
1308
+ * - 0 = disable (default)
1309
+ * - 1 = enable
1310
+ *
1311
+ * \note This is only used in sb_multipass unit test.
1312
+ */
1313
+ AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST = 136,
1314
+
1315
+ /*!\brief Control to select minimum height for the GF group pyramid structure,
1316
+ * unsigned int parameter
1317
+ *
1318
+ * Valid values: 0..5
1319
+ */
1320
+ AV1E_SET_GF_MIN_PYRAMID_HEIGHT = 137,
1321
+
1322
+ /*!\brief Control to set average complexity of the corpus in the case of
1323
+ * single pass vbr based on LAP, unsigned int parameter
1324
+ */
1325
+ AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP = 138,
1326
+
1327
+ /*!\brief Control to get baseline gf interval
1328
+ */
1329
+ AV1E_GET_BASELINE_GF_INTERVAL = 139,
1330
+
1331
+ /*\brief Control to set encoding the denoised frame from denoise-noise-level
1332
+ *
1333
+ * - 0 = disabled/encode the original frame
1334
+ * - 1 = enabled/encode the denoised frame (default)
1335
+ */
1336
+ AV1E_SET_ENABLE_DNL_DENOISING = 140,
1337
+
1338
+ /*!\brief Codec control function to turn on / off D45 to D203 intra mode
1339
+ * usage, int parameter
1340
+ *
1341
+ * This will enable or disable usage of D45 to D203 intra modes, which are a
1342
+ * subset of directional modes. This control has no effect if directional
1343
+ * modes are disabled (AV1E_SET_ENABLE_DIRECTIONAL_INTRA set to 0).
1344
+ *
1345
+ * - 0 = disable
1346
+ * - 1 = enable (default)
1347
+ */
1348
+ AV1E_SET_ENABLE_DIAGONAL_INTRA = 141,
1349
+
1350
+ /*!\brief Control to set frequency of the cost updates for intrabc motion
1351
+ * vectors, unsigned int parameter
1352
+ *
1353
+ * - 0 = update at SB level (default)
1354
+ * - 1 = update at SB row level in tile
1355
+ * - 2 = update at tile level
1356
+ * - 3 = turn off
1357
+ */
1358
+ AV1E_SET_DV_COST_UPD_FREQ = 142,
1359
+
1360
+ /*!\brief Codec control to set the path for partition stats read and write.
1361
+ * const char * parameter.
1362
+ */
1363
+ AV1E_SET_PARTITION_INFO_PATH = 143,
1364
+
1365
+ /*!\brief Codec control to use an external partition model
1366
+ * A set of callback functions is passed through this control
1367
+ * to let the encoder encode with given partitions.
1368
+ */
1369
+ AV1E_SET_EXTERNAL_PARTITION = 144,
1370
+
1371
+ /*!\brief Codec control function to turn on / off directional intra mode
1372
+ * usage, int parameter
1373
+ *
1374
+ * - 0 = disable
1375
+ * - 1 = enable (default)
1376
+ */
1377
+ AV1E_SET_ENABLE_DIRECTIONAL_INTRA = 145,
1378
+
1379
+ /*!\brief Control to turn on / off transform size search.
1380
+ * Note: it can not work with non RD pick mode in real-time encoding,
1381
+ * where the max transform size is only 16x16.
1382
+ * It will be ignored if non RD pick mode is set.
1383
+ *
1384
+ * - 0 = disable, transforms always have the largest possible size
1385
+ * - 1 = enable, search for the best transform size for each block (default)
1386
+ */
1387
+ AV1E_SET_ENABLE_TX_SIZE_SEARCH = 146,
1388
+
1389
+ /*!\brief Codec control function to set reference frame compound prediction.
1390
+ * aom_svc_ref_frame_comp_pred_t* parameter
1391
+ */
1392
+ AV1E_SET_SVC_REF_FRAME_COMP_PRED = 147,
1393
+
1394
+ /*!\brief Set --deltaq-mode strength.
1395
+ *
1396
+ * Valid range: [0, 1000]
1397
+ */
1398
+ AV1E_SET_DELTAQ_STRENGTH = 148,
1399
+
1400
+ /*!\brief Codec control to control loop filter
1401
+ *
1402
+ * - 0 = Loop filter is disabled for all frames
1403
+ * - 1 = Loop filter is enabled for all frames
1404
+ * - 2 = Loop filter is disabled for non-reference frames
1405
+ * - 3 = Loop filter is disabled for the frames with low motion
1406
+ */
1407
+ AV1E_SET_LOOPFILTER_CONTROL = 149,
1408
+
1409
+ /*!\brief Codec control function to get the loopfilter chosen by the encoder,
1410
+ * int* parameter
1411
+ */
1412
+ AOME_GET_LOOPFILTER_LEVEL = 150,
1413
+
1414
+ /*!\brief Codec control to automatically turn off several intra coding tools,
1415
+ * unsigned int parameter
1416
+ * - 0 = do not use the feature
1417
+ * - 1 = enable the automatic decision to turn off several intra tools
1418
+ */
1419
+ AV1E_SET_AUTO_INTRA_TOOLS_OFF = 151,
1420
+
1421
+ /*!\brief Codec control function to set flag for rate control used by external
1422
+ * encoders.
1423
+ * - 1 = Enable rate control for external encoders. This will disable content
1424
+ * dependency in rate control and cyclic refresh.
1425
+ * - 0 = Default. Disable rate control for external encoders.
1426
+ */
1427
+ AV1E_SET_RTC_EXTERNAL_RC = 152,
1428
+
1429
+ /*!\brief Codec control function to enable frame parallel multi-threading
1430
+ * of the encoder, unsigned int parameter
1431
+ *
1432
+ * - 0 = disable (default)
1433
+ * - 1 = enable
1434
+ */
1435
+ AV1E_SET_FP_MT = 153,
1436
+
1437
+ /*!\brief Codec control to enable actual frame parallel encode or
1438
+ * simulation of frame parallel encode in FPMT unit test, unsigned int
1439
+ * parameter
1440
+ *
1441
+ * - 0 = simulate frame parallel encode
1442
+ * - 1 = actual frame parallel encode (default)
1443
+ *
1444
+ * \note This is only used in FPMT unit test.
1445
+ */
1446
+ AV1E_SET_FP_MT_UNIT_TEST = 154,
1447
+
1448
+ /*!\brief Codec control function to get the target sequence level index for
1449
+ * each operating point. int* parameter. There can be at most 32 operating
1450
+ * points. The results will be written into a provided integer array of
1451
+ * sufficient size. If a target level is not set, the result will be 31.
1452
+ * Please refer to https://aomediacodec.github.io/av1-spec/#levels for more
1453
+ * details on level definitions and indices.
1454
+ */
1455
+ AV1E_GET_TARGET_SEQ_LEVEL_IDX = 155,
1456
+
1457
+ /*!\brief Codec control function to get the number of operating points. int*
1458
+ * parameter.
1459
+ */
1460
+ AV1E_GET_NUM_OPERATING_POINTS = 156,
1461
+
1462
+ /*!\brief Codec control function to skip the application of post-processing
1463
+ * filters on reconstructed frame, unsigned int parameter
1464
+ *
1465
+ * - 0 = disable (default)
1466
+ * - 1 = enable
1467
+ *
1468
+ * \attention For this value to be used aom_codec_enc_cfg_t::g_usage
1469
+ * must be set to AOM_USAGE_ALL_INTRA.
1470
+ */
1471
+ AV1E_SET_SKIP_POSTPROC_FILTERING = 157,
1472
+
1473
+ /*!\brief Codec control function to enable the superblock level
1474
+ * qp sweep in AV1 to ensure that end-to-end test runs well,
1475
+ * unsigned int parameter.
1476
+ *
1477
+ * - 0 = disable (default)
1478
+ * - 1 = enable
1479
+ *
1480
+ * \note This is only used in sb_qp_sweep unit test.
1481
+ */
1482
+ AV1E_ENABLE_SB_QP_SWEEP = 158,
1483
+
1484
+ // Any new encoder control IDs should be added above.
1485
+ // Maximum allowed encoder control ID is 229.
1486
+ // No encoder control ID should be added below.
1487
+ };
1488
+
1489
+ /*!\brief aom 1-D scaling mode
1490
+ *
1491
+ * This set of constants define 1-D aom scaling modes
1492
+ */
1493
+ typedef enum aom_scaling_mode_1d {
1494
+ AOME_NORMAL = 0,
1495
+ AOME_FOURFIVE = 1,
1496
+ AOME_THREEFIVE = 2,
1497
+ AOME_THREEFOUR = 3,
1498
+ AOME_ONEFOUR = 4,
1499
+ AOME_ONEEIGHT = 5,
1500
+ AOME_ONETWO = 6
1501
+ } AOM_SCALING_MODE;
1502
+
1503
+ /*!\brief Max number of segments
1504
+ *
1505
+ * This is the limit of number of segments allowed within a frame.
1506
+ *
1507
+ * Currently same as "MAX_SEGMENTS" in AV1, the maximum that AV1 supports.
1508
+ *
1509
+ */
1510
+ #define AOM_MAX_SEGMENTS 8
1511
+
1512
+ /*!\brief aom region of interest map
1513
+ *
1514
+ * These defines the data structures for the region of interest map
1515
+ *
1516
+ * TODO(yaowu): create a unit test for ROI map related APIs
1517
+ *
1518
+ */
1519
+ typedef struct aom_roi_map {
1520
+ /*! An id between 0 and 7 for each 8x8 region within a frame. */
1521
+ unsigned char *roi_map;
1522
+ unsigned int rows; /**< Number of rows. */
1523
+ unsigned int cols; /**< Number of columns. */
1524
+ int delta_q[AOM_MAX_SEGMENTS]; /**< Quantizer deltas. */
1525
+ int delta_lf[AOM_MAX_SEGMENTS]; /**< Loop filter deltas. */
1526
+ /*! Static breakout threshold for each segment. */
1527
+ unsigned int static_threshold[AOM_MAX_SEGMENTS];
1528
+ } aom_roi_map_t;
1529
+
1530
+ /*!\brief aom active region map
1531
+ *
1532
+ * These defines the data structures for active region map
1533
+ *
1534
+ */
1535
+
1536
+ typedef struct aom_active_map {
1537
+ /*!\brief specify an on (1) or off (0) each 16x16 region within a frame */
1538
+ unsigned char *active_map;
1539
+ unsigned int rows; /**< number of rows */
1540
+ unsigned int cols; /**< number of cols */
1541
+ } aom_active_map_t;
1542
+
1543
+ /*!\brief aom image scaling mode
1544
+ *
1545
+ * This defines the data structure for image scaling mode
1546
+ *
1547
+ */
1548
+ typedef struct aom_scaling_mode {
1549
+ AOM_SCALING_MODE h_scaling_mode; /**< horizontal scaling mode */
1550
+ AOM_SCALING_MODE v_scaling_mode; /**< vertical scaling mode */
1551
+ } aom_scaling_mode_t;
1552
+
1553
+ /*!brief AV1 encoder content type */
1554
+ typedef enum {
1555
+ AOM_CONTENT_DEFAULT,
1556
+ AOM_CONTENT_SCREEN,
1557
+ AOM_CONTENT_FILM,
1558
+ AOM_CONTENT_INVALID
1559
+ } aom_tune_content;
1560
+
1561
+ /*!brief AV1 encoder timing info type signaling */
1562
+ typedef enum {
1563
+ AOM_TIMING_UNSPECIFIED,
1564
+ AOM_TIMING_EQUAL,
1565
+ AOM_TIMING_DEC_MODEL
1566
+ } aom_timing_info_type_t;
1567
+
1568
+ /*!\brief Model tuning parameters
1569
+ *
1570
+ * Changes the encoder to tune for certain types of input material.
1571
+ *
1572
+ */
1573
+ typedef enum {
1574
+ AOM_TUNE_PSNR = 0,
1575
+ AOM_TUNE_SSIM = 1,
1576
+ /* NOTE: enums 2 and 3 unused */
1577
+ AOM_TUNE_VMAF_WITH_PREPROCESSING = 4,
1578
+ AOM_TUNE_VMAF_WITHOUT_PREPROCESSING = 5,
1579
+ AOM_TUNE_VMAF_MAX_GAIN = 6,
1580
+ AOM_TUNE_VMAF_NEG_MAX_GAIN = 7,
1581
+ AOM_TUNE_BUTTERAUGLI = 8,
1582
+ } aom_tune_metric;
1583
+
1584
+ /*!\brief Distortion metric to use for RD optimization.
1585
+ *
1586
+ * Changes the encoder to use a different distortion metric for RD search. Note
1587
+ * that this value operates on a "lower level" compared to aom_tune_metric - it
1588
+ * affects the distortion metric inside a block, while aom_tune_metric only
1589
+ * affects RD across blocks.
1590
+ *
1591
+ */
1592
+ typedef enum {
1593
+ // Use PSNR for in-block rate-distortion optimization.
1594
+ AOM_DIST_METRIC_PSNR,
1595
+ // Use quantization matrix-weighted PSNR for in-block rate-distortion
1596
+ // optimization. If --enable-qm=1 is not specified, this falls back to
1597
+ // behaving in the same way as AOM_DIST_METRIC_PSNR.
1598
+ AOM_DIST_METRIC_QM_PSNR,
1599
+ } aom_dist_metric;
1600
+
1601
+ #define AOM_MAX_LAYERS 32 /**< Max number of layers */
1602
+ #define AOM_MAX_SS_LAYERS 4 /**< Max number of spatial layers */
1603
+ #define AOM_MAX_TS_LAYERS 8 /**< Max number of temporal layers */
1604
+
1605
+ /*!brief Struct for spatial and temporal layer ID */
1606
+ typedef struct aom_svc_layer_id {
1607
+ int spatial_layer_id; /**< Spatial layer ID */
1608
+ int temporal_layer_id; /**< Temporal layer ID */
1609
+ } aom_svc_layer_id_t;
1610
+
1611
+ /*!brief Parameter type for SVC */
1612
+ typedef struct aom_svc_params {
1613
+ int number_spatial_layers; /**< Number of spatial layers */
1614
+ int number_temporal_layers; /**< Number of temporal layers */
1615
+ int max_quantizers[AOM_MAX_LAYERS]; /**< Max Q for each layer */
1616
+ int min_quantizers[AOM_MAX_LAYERS]; /**< Min Q for each layer */
1617
+ int scaling_factor_num[AOM_MAX_SS_LAYERS]; /**< Scaling factor-numerator */
1618
+ int scaling_factor_den[AOM_MAX_SS_LAYERS]; /**< Scaling factor-denominator */
1619
+ /*! Target bitrate for each layer */
1620
+ int layer_target_bitrate[AOM_MAX_LAYERS];
1621
+ /*! Frame rate factor for each temporal layer */
1622
+ int framerate_factor[AOM_MAX_TS_LAYERS];
1623
+ } aom_svc_params_t;
1624
+
1625
+ /*!brief Parameters for setting ref frame config */
1626
+ typedef struct aom_svc_ref_frame_config {
1627
+ // 7 references: LAST_FRAME (0), LAST2_FRAME(1), LAST3_FRAME(2),
1628
+ // GOLDEN_FRAME(3), BWDREF_FRAME(4), ALTREF2_FRAME(5), ALTREF_FRAME(6).
1629
+ int reference[7]; /**< Reference flag for each of the 7 references. */
1630
+ /*! Buffer slot index for each of 7 references. */
1631
+ int ref_idx[7];
1632
+ int refresh[8]; /**< Refresh flag for each of the 8 slots. */
1633
+ } aom_svc_ref_frame_config_t;
1634
+
1635
+ /*!brief Parameters for setting ref frame compound prediction */
1636
+ typedef struct aom_svc_ref_frame_comp_pred {
1637
+ // Use compound prediction for the ref_frame pairs GOLDEN_LAST (0),
1638
+ // LAST2_LAST (1), and ALTREF_LAST (2).
1639
+ int use_comp_pred[3]; /**<Compound reference flag. */
1640
+ } aom_svc_ref_frame_comp_pred_t;
1641
+
1642
+ /*!\cond */
1643
+ /*!\brief Encoder control function parameter type
1644
+ *
1645
+ * Defines the data types that AOME/AV1E control functions take.
1646
+ *
1647
+ * \note Additional common controls are defined in aom.h.
1648
+ *
1649
+ * \note For each control ID "X", a macro-define of
1650
+ * AOM_CTRL_X is provided. It is used at compile time to determine
1651
+ * if the control ID is supported by the libaom library available,
1652
+ * when the libaom version cannot be controlled.
1653
+ */
1654
+ AOM_CTRL_USE_TYPE(AOME_USE_REFERENCE, int)
1655
+ #define AOM_CTRL_AOME_USE_REFERENCE
1656
+
1657
+ AOM_CTRL_USE_TYPE(AOME_SET_ROI_MAP, aom_roi_map_t *)
1658
+ #define AOM_CTRL_AOME_SET_ROI_MAP
1659
+
1660
+ AOM_CTRL_USE_TYPE(AOME_SET_ACTIVEMAP, aom_active_map_t *)
1661
+ #define AOM_CTRL_AOME_SET_ACTIVEMAP
1662
+
1663
+ AOM_CTRL_USE_TYPE(AOME_SET_SCALEMODE, aom_scaling_mode_t *)
1664
+ #define AOM_CTRL_AOME_SET_SCALEMODE
1665
+
1666
+ AOM_CTRL_USE_TYPE(AOME_SET_SPATIAL_LAYER_ID, int)
1667
+ #define AOM_CTRL_AOME_SET_SPATIAL_LAYER_ID
1668
+
1669
+ AOM_CTRL_USE_TYPE(AOME_SET_CPUUSED, int)
1670
+ #define AOM_CTRL_AOME_SET_CPUUSED
1671
+
1672
+ AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOALTREF, unsigned int)
1673
+ #define AOM_CTRL_AOME_SET_ENABLEAUTOALTREF
1674
+
1675
+ AOM_CTRL_USE_TYPE(AOME_SET_SHARPNESS, unsigned int)
1676
+ #define AOM_CTRL_AOME_SET_SHARPNESS
1677
+
1678
+ AOM_CTRL_USE_TYPE(AOME_SET_STATIC_THRESHOLD, unsigned int)
1679
+ #define AOM_CTRL_AOME_SET_STATIC_THRESHOLD
1680
+
1681
+ AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER, int *)
1682
+ #define AOM_CTRL_AOME_GET_LAST_QUANTIZER
1683
+
1684
+ AOM_CTRL_USE_TYPE(AOME_GET_LAST_QUANTIZER_64, int *)
1685
+ #define AOM_CTRL_AOME_GET_LAST_QUANTIZER_64
1686
+
1687
+ AOM_CTRL_USE_TYPE(AOME_SET_ARNR_MAXFRAMES, unsigned int)
1688
+ #define AOM_CTRL_AOME_SET_ARNR_MAXFRAMES
1689
+
1690
+ AOM_CTRL_USE_TYPE(AOME_SET_ARNR_STRENGTH, unsigned int)
1691
+ #define AOM_CTRL_AOME_SET_ARNR_STRENGTH
1692
+
1693
+ AOM_CTRL_USE_TYPE(AOME_SET_TUNING, int) /* aom_tune_metric */
1694
+ #define AOM_CTRL_AOME_SET_TUNING
1695
+
1696
+ AOM_CTRL_USE_TYPE(AOME_SET_CQ_LEVEL, unsigned int)
1697
+ #define AOM_CTRL_AOME_SET_CQ_LEVEL
1698
+
1699
+ AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTRA_BITRATE_PCT, unsigned int)
1700
+ #define AOM_CTRL_AOME_SET_MAX_INTRA_BITRATE_PCT
1701
+
1702
+ AOM_CTRL_USE_TYPE(AOME_SET_NUMBER_SPATIAL_LAYERS, int)
1703
+ #define AOM_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1704
+ // TODO(aomedia:3231): Deprecated. Remove it.
1705
+ #define AOME_CTRL_AOME_SET_NUMBER_SPATIAL_LAYERS
1706
+
1707
+ AOM_CTRL_USE_TYPE(AOME_SET_MAX_INTER_BITRATE_PCT, unsigned int)
1708
+ #define AOM_CTRL_AV1E_SET_MAX_INTER_BITRATE_PCT
1709
+ // TODO(aomedia:3231): Deprecated. Remove it.
1710
+ #define AOM_CTRL_AOME_SET_MAX_INTER_BITRATE_PCT
1711
+
1712
+ AOM_CTRL_USE_TYPE(AV1E_SET_GF_CBR_BOOST_PCT, unsigned int)
1713
+ #define AOM_CTRL_AV1E_SET_GF_CBR_BOOST_PCT
1714
+
1715
+ AOM_CTRL_USE_TYPE(AV1E_SET_LOSSLESS, unsigned int)
1716
+ #define AOM_CTRL_AV1E_SET_LOSSLESS
1717
+
1718
+ AOM_CTRL_USE_TYPE(AV1E_SET_ROW_MT, unsigned int)
1719
+ #define AOM_CTRL_AV1E_SET_ROW_MT
1720
+
1721
+ AOM_CTRL_USE_TYPE(AV1E_SET_TILE_COLUMNS, unsigned int)
1722
+ #define AOM_CTRL_AV1E_SET_TILE_COLUMNS
1723
+
1724
+ AOM_CTRL_USE_TYPE(AV1E_SET_TILE_ROWS, unsigned int)
1725
+ #define AOM_CTRL_AV1E_SET_TILE_ROWS
1726
+
1727
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TPL_MODEL, unsigned int)
1728
+ #define AOM_CTRL_AV1E_SET_ENABLE_TPL_MODEL
1729
+
1730
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_KEYFRAME_FILTERING, unsigned int)
1731
+ #define AOM_CTRL_AV1E_SET_ENABLE_KEYFRAME_FILTERING
1732
+
1733
+ AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PARALLEL_DECODING, unsigned int)
1734
+ #define AOM_CTRL_AV1E_SET_FRAME_PARALLEL_DECODING
1735
+
1736
+ AOM_CTRL_USE_TYPE(AV1E_SET_ERROR_RESILIENT_MODE, int)
1737
+ #define AOM_CTRL_AV1E_SET_ERROR_RESILIENT_MODE
1738
+
1739
+ AOM_CTRL_USE_TYPE(AV1E_SET_S_FRAME_MODE, int)
1740
+ #define AOM_CTRL_AV1E_SET_S_FRAME_MODE
1741
+
1742
+ AOM_CTRL_USE_TYPE(AV1E_SET_AQ_MODE, unsigned int)
1743
+ #define AOM_CTRL_AV1E_SET_AQ_MODE
1744
+
1745
+ AOM_CTRL_USE_TYPE(AV1E_SET_FRAME_PERIODIC_BOOST, unsigned int)
1746
+ #define AOM_CTRL_AV1E_SET_FRAME_PERIODIC_BOOST
1747
+
1748
+ AOM_CTRL_USE_TYPE(AV1E_SET_NOISE_SENSITIVITY, unsigned int)
1749
+ #define AOM_CTRL_AV1E_SET_NOISE_SENSITIVITY
1750
+
1751
+ AOM_CTRL_USE_TYPE(AV1E_SET_TUNE_CONTENT, int) /* aom_tune_content */
1752
+ #define AOM_CTRL_AV1E_SET_TUNE_CONTENT
1753
+
1754
+ AOM_CTRL_USE_TYPE(AV1E_SET_CDF_UPDATE_MODE, unsigned int)
1755
+ #define AOM_CTRL_AV1E_SET_CDF_UPDATE_MODE
1756
+
1757
+ AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_PRIMARIES, int)
1758
+ #define AOM_CTRL_AV1E_SET_COLOR_PRIMARIES
1759
+
1760
+ AOM_CTRL_USE_TYPE(AV1E_SET_TRANSFER_CHARACTERISTICS, int)
1761
+ #define AOM_CTRL_AV1E_SET_TRANSFER_CHARACTERISTICS
1762
+
1763
+ AOM_CTRL_USE_TYPE(AV1E_SET_MATRIX_COEFFICIENTS, int)
1764
+ #define AOM_CTRL_AV1E_SET_MATRIX_COEFFICIENTS
1765
+
1766
+ AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SAMPLE_POSITION, int)
1767
+ #define AOM_CTRL_AV1E_SET_CHROMA_SAMPLE_POSITION
1768
+
1769
+ AOM_CTRL_USE_TYPE(AV1E_SET_MIN_GF_INTERVAL, unsigned int)
1770
+ #define AOM_CTRL_AV1E_SET_MIN_GF_INTERVAL
1771
+
1772
+ AOM_CTRL_USE_TYPE(AV1E_SET_MAX_GF_INTERVAL, unsigned int)
1773
+ #define AOM_CTRL_AV1E_SET_MAX_GF_INTERVAL
1774
+
1775
+ AOM_CTRL_USE_TYPE(AV1E_GET_ACTIVEMAP, aom_active_map_t *)
1776
+ #define AOM_CTRL_AV1E_GET_ACTIVEMAP
1777
+
1778
+ AOM_CTRL_USE_TYPE(AV1E_SET_COLOR_RANGE, int)
1779
+ #define AOM_CTRL_AV1E_SET_COLOR_RANGE
1780
+
1781
+ AOM_CTRL_USE_TYPE(AV1E_SET_RENDER_SIZE, int *)
1782
+ #define AOM_CTRL_AV1E_SET_RENDER_SIZE
1783
+
1784
+ AOM_CTRL_USE_TYPE(AV1E_SET_TARGET_SEQ_LEVEL_IDX, int)
1785
+ #define AOM_CTRL_AV1E_SET_TARGET_SEQ_LEVEL_IDX
1786
+
1787
+ AOM_CTRL_USE_TYPE(AV1E_GET_SEQ_LEVEL_IDX, int *)
1788
+ #define AOM_CTRL_AV1E_GET_SEQ_LEVEL_IDX
1789
+
1790
+ AOM_CTRL_USE_TYPE(AV1E_SET_SUPERBLOCK_SIZE, unsigned int)
1791
+ #define AOM_CTRL_AV1E_SET_SUPERBLOCK_SIZE
1792
+
1793
+ AOM_CTRL_USE_TYPE(AOME_SET_ENABLEAUTOBWDREF, unsigned int)
1794
+ #define AOM_CTRL_AOME_SET_ENABLEAUTOBWDREF
1795
+
1796
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CDEF, unsigned int)
1797
+ #define AOM_CTRL_AV1E_SET_ENABLE_CDEF
1798
+
1799
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RESTORATION, unsigned int)
1800
+ #define AOM_CTRL_AV1E_SET_ENABLE_RESTORATION
1801
+
1802
+ AOM_CTRL_USE_TYPE(AV1E_SET_FORCE_VIDEO_MODE, unsigned int)
1803
+ #define AOM_CTRL_AV1E_SET_FORCE_VIDEO_MODE
1804
+
1805
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OBMC, unsigned int)
1806
+ #define AOM_CTRL_AV1E_SET_ENABLE_OBMC
1807
+
1808
+ AOM_CTRL_USE_TYPE(AV1E_SET_DISABLE_TRELLIS_QUANT, unsigned int)
1809
+ #define AOM_CTRL_AV1E_SET_DISABLE_TRELLIS_QUANT
1810
+
1811
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_QM, unsigned int)
1812
+ #define AOM_CTRL_AV1E_SET_ENABLE_QM
1813
+
1814
+ // TODO(aomedia:3231): Remove these two lines.
1815
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_8X8, unsigned int)
1816
+ #define AOM_CTRL_AV1E_SET_ENABLE_DIST_8X8
1817
+
1818
+ AOM_CTRL_USE_TYPE(AV1E_SET_QM_MIN, unsigned int)
1819
+ #define AOM_CTRL_AV1E_SET_QM_MIN
1820
+
1821
+ AOM_CTRL_USE_TYPE(AV1E_SET_QM_MAX, unsigned int)
1822
+ #define AOM_CTRL_AV1E_SET_QM_MAX
1823
+
1824
+ AOM_CTRL_USE_TYPE(AV1E_SET_QM_Y, unsigned int)
1825
+ #define AOM_CTRL_AV1E_SET_QM_Y
1826
+
1827
+ AOM_CTRL_USE_TYPE(AV1E_SET_QM_U, unsigned int)
1828
+ #define AOM_CTRL_AV1E_SET_QM_U
1829
+
1830
+ AOM_CTRL_USE_TYPE(AV1E_SET_QM_V, unsigned int)
1831
+ #define AOM_CTRL_AV1E_SET_QM_V
1832
+
1833
+ AOM_CTRL_USE_TYPE(AV1E_SET_NUM_TG, unsigned int)
1834
+ #define AOM_CTRL_AV1E_SET_NUM_TG
1835
+
1836
+ AOM_CTRL_USE_TYPE(AV1E_SET_MTU, unsigned int)
1837
+ #define AOM_CTRL_AV1E_SET_MTU
1838
+
1839
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_PARTITIONS, int)
1840
+ #define AOM_CTRL_AV1E_SET_ENABLE_RECT_PARTITIONS
1841
+
1842
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_AB_PARTITIONS, int)
1843
+ #define AOM_CTRL_AV1E_SET_ENABLE_AB_PARTITIONS
1844
+
1845
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_1TO4_PARTITIONS, int)
1846
+ #define AOM_CTRL_AV1E_SET_ENABLE_1TO4_PARTITIONS
1847
+
1848
+ AOM_CTRL_USE_TYPE(AV1E_SET_MIN_PARTITION_SIZE, int)
1849
+ #define AOM_CTRL_AV1E_SET_MIN_PARTITION_SIZE
1850
+
1851
+ AOM_CTRL_USE_TYPE(AV1E_SET_MAX_PARTITION_SIZE, int)
1852
+ #define AOM_CTRL_AV1E_SET_MAX_PARTITION_SIZE
1853
+
1854
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRA_EDGE_FILTER, int)
1855
+ #define AOM_CTRL_AV1E_SET_ENABLE_INTRA_EDGE_FILTER
1856
+
1857
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ORDER_HINT, int)
1858
+ #define AOM_CTRL_AV1E_SET_ENABLE_ORDER_HINT
1859
+
1860
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX64, int)
1861
+ #define AOM_CTRL_AV1E_SET_ENABLE_TX64
1862
+
1863
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FLIP_IDTX, int)
1864
+ #define AOM_CTRL_AV1E_SET_ENABLE_FLIP_IDTX
1865
+
1866
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_RECT_TX, int)
1867
+ #define AOM_CTRL_AV1E_SET_ENABLE_RECT_TX
1868
+
1869
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIST_WTD_COMP, int)
1870
+ #define AOM_CTRL_AV1E_SET_ENABLE_DIST_WTD_COMP
1871
+
1872
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_REF_FRAME_MVS, int)
1873
+ #define AOM_CTRL_AV1E_SET_ENABLE_REF_FRAME_MVS
1874
+
1875
+ AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_REF_FRAME_MVS, int)
1876
+ #define AOM_CTRL_AV1E_SET_ALLOW_REF_FRAME_MVS
1877
+
1878
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DUAL_FILTER, int)
1879
+ #define AOM_CTRL_AV1E_SET_ENABLE_DUAL_FILTER
1880
+
1881
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CHROMA_DELTAQ, int)
1882
+ #define AOM_CTRL_AV1E_SET_ENABLE_CHROMA_DELTAQ
1883
+
1884
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_MASKED_COMP, int)
1885
+ #define AOM_CTRL_AV1E_SET_ENABLE_MASKED_COMP
1886
+
1887
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ONESIDED_COMP, int)
1888
+ #define AOM_CTRL_AV1E_SET_ENABLE_ONESIDED_COMP
1889
+
1890
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_COMP, int)
1891
+ #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_COMP
1892
+
1893
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTERINTRA, int)
1894
+ #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTERINTRA
1895
+
1896
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIFF_WTD_COMP, int)
1897
+ #define AOM_CTRL_AV1E_SET_ENABLE_DIFF_WTD_COMP
1898
+
1899
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTER_WEDGE, int)
1900
+ #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTER_WEDGE
1901
+
1902
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTERINTRA_WEDGE, int)
1903
+ #define AOM_CTRL_AV1E_SET_ENABLE_INTERINTRA_WEDGE
1904
+
1905
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_GLOBAL_MOTION, int)
1906
+ #define AOM_CTRL_AV1E_SET_ENABLE_GLOBAL_MOTION
1907
+
1908
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_WARPED_MOTION, int)
1909
+ #define AOM_CTRL_AV1E_SET_ENABLE_WARPED_MOTION
1910
+
1911
+ AOM_CTRL_USE_TYPE(AV1E_SET_ALLOW_WARPED_MOTION, int)
1912
+ #define AOM_CTRL_AV1E_SET_ALLOW_WARPED_MOTION
1913
+
1914
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_FILTER_INTRA, int)
1915
+ #define AOM_CTRL_AV1E_SET_ENABLE_FILTER_INTRA
1916
+
1917
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SMOOTH_INTRA, int)
1918
+ #define AOM_CTRL_AV1E_SET_ENABLE_SMOOTH_INTRA
1919
+
1920
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PAETH_INTRA, int)
1921
+ #define AOM_CTRL_AV1E_SET_ENABLE_PAETH_INTRA
1922
+
1923
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_CFL_INTRA, int)
1924
+ #define AOM_CTRL_AV1E_SET_ENABLE_CFL_INTRA
1925
+
1926
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_SUPERRES, int)
1927
+ #define AOM_CTRL_AV1E_SET_ENABLE_SUPERRES
1928
+
1929
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_OVERLAY, int)
1930
+ #define AOM_CTRL_AV1E_SET_ENABLE_OVERLAY
1931
+
1932
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_PALETTE, int)
1933
+ #define AOM_CTRL_AV1E_SET_ENABLE_PALETTE
1934
+
1935
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_INTRABC, int)
1936
+ #define AOM_CTRL_AV1E_SET_ENABLE_INTRABC
1937
+
1938
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_ANGLE_DELTA, int)
1939
+ #define AOM_CTRL_AV1E_SET_ENABLE_ANGLE_DELTA
1940
+
1941
+ AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_MODE, unsigned int)
1942
+ #define AOM_CTRL_AV1E_SET_DELTAQ_MODE
1943
+
1944
+ AOM_CTRL_USE_TYPE(AV1E_SET_DELTALF_MODE, unsigned int)
1945
+ #define AOM_CTRL_AV1E_SET_DELTALF_MODE
1946
+
1947
+ AOM_CTRL_USE_TYPE(AV1E_SET_SINGLE_TILE_DECODING, unsigned int)
1948
+ #define AOM_CTRL_AV1E_SET_SINGLE_TILE_DECODING
1949
+
1950
+ AOM_CTRL_USE_TYPE(AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST, unsigned int)
1951
+ #define AOM_CTRL_AV1E_ENABLE_MOTION_VECTOR_UNIT_TEST
1952
+
1953
+ AOM_CTRL_USE_TYPE(AV1E_SET_TIMING_INFO_TYPE, int) /* aom_timing_info_type_t */
1954
+ #define AOM_CTRL_AV1E_SET_TIMING_INFO_TYPE
1955
+
1956
+ AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TEST_VECTOR, int)
1957
+ #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TEST_VECTOR
1958
+
1959
+ AOM_CTRL_USE_TYPE(AV1E_SET_FILM_GRAIN_TABLE, const char *)
1960
+ #define AOM_CTRL_AV1E_SET_FILM_GRAIN_TABLE
1961
+
1962
+ AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_NOISE_LEVEL, int)
1963
+ #define AOM_CTRL_AV1E_SET_DENOISE_NOISE_LEVEL
1964
+
1965
+ AOM_CTRL_USE_TYPE(AV1E_SET_DENOISE_BLOCK_SIZE, unsigned int)
1966
+ #define AOM_CTRL_AV1E_SET_DENOISE_BLOCK_SIZE
1967
+
1968
+ AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_X, unsigned int)
1969
+ #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_X
1970
+
1971
+ AOM_CTRL_USE_TYPE(AV1E_SET_CHROMA_SUBSAMPLING_Y, unsigned int)
1972
+ #define AOM_CTRL_AV1E_SET_CHROMA_SUBSAMPLING_Y
1973
+
1974
+ AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_TX_TYPE_SET, int)
1975
+ #define AOM_CTRL_AV1E_SET_REDUCED_TX_TYPE_SET
1976
+
1977
+ AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DCT_ONLY, int)
1978
+ #define AOM_CTRL_AV1E_SET_INTRA_DCT_ONLY
1979
+
1980
+ AOM_CTRL_USE_TYPE(AV1E_SET_INTER_DCT_ONLY, int)
1981
+ #define AOM_CTRL_AV1E_SET_INTER_DCT_ONLY
1982
+
1983
+ AOM_CTRL_USE_TYPE(AV1E_SET_INTRA_DEFAULT_TX_ONLY, int)
1984
+ #define AOM_CTRL_AV1E_SET_INTRA_DEFAULT_TX_ONLY
1985
+
1986
+ AOM_CTRL_USE_TYPE(AV1E_SET_QUANT_B_ADAPT, int)
1987
+ #define AOM_CTRL_AV1E_SET_QUANT_B_ADAPT
1988
+
1989
+ AOM_CTRL_USE_TYPE(AV1E_SET_GF_MAX_PYRAMID_HEIGHT, unsigned int)
1990
+ #define AOM_CTRL_AV1E_SET_GF_MAX_PYRAMID_HEIGHT
1991
+
1992
+ AOM_CTRL_USE_TYPE(AV1E_SET_MAX_REFERENCE_FRAMES, int)
1993
+ #define AOM_CTRL_AV1E_SET_MAX_REFERENCE_FRAMES
1994
+
1995
+ AOM_CTRL_USE_TYPE(AV1E_SET_REDUCED_REFERENCE_SET, int)
1996
+ #define AOM_CTRL_AV1E_SET_REDUCED_REFERENCE_SET
1997
+
1998
+ AOM_CTRL_USE_TYPE(AV1E_SET_COEFF_COST_UPD_FREQ, unsigned int)
1999
+ #define AOM_CTRL_AV1E_SET_COEFF_COST_UPD_FREQ
2000
+
2001
+ AOM_CTRL_USE_TYPE(AV1E_SET_MODE_COST_UPD_FREQ, unsigned int)
2002
+ #define AOM_CTRL_AV1E_SET_MODE_COST_UPD_FREQ
2003
+
2004
+ AOM_CTRL_USE_TYPE(AV1E_SET_MV_COST_UPD_FREQ, unsigned int)
2005
+ #define AOM_CTRL_AV1E_SET_MV_COST_UPD_FREQ
2006
+
2007
+ AOM_CTRL_USE_TYPE(AV1E_SET_TIER_MASK, unsigned int)
2008
+ #define AOM_CTRL_AV1E_SET_TIER_MASK
2009
+
2010
+ AOM_CTRL_USE_TYPE(AV1E_SET_MIN_CR, unsigned int)
2011
+ #define AOM_CTRL_AV1E_SET_MIN_CR
2012
+
2013
+ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_LAYER_ID, aom_svc_layer_id_t *)
2014
+ #define AOM_CTRL_AV1E_SET_SVC_LAYER_ID
2015
+ // TODO(aomedia:3231): Deprecated. Remove it.
2016
+ #define AOME_CTRL_AV1E_SET_SVC_LAYER_ID
2017
+
2018
+ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_PARAMS, aom_svc_params_t *)
2019
+ #define AOM_CTRL_AV1E_SET_SVC_PARAMS
2020
+ // TODO(aomedia:3231): Deprecated. Remove it.
2021
+ #define AOME_CTRL_AV1E_SET_SVC_PARAMS
2022
+
2023
+ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_CONFIG, aom_svc_ref_frame_config_t *)
2024
+ #define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2025
+ // TODO(aomedia:3231): Deprecated. Remove it.
2026
+ #define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_CONFIG
2027
+
2028
+ AOM_CTRL_USE_TYPE(AV1E_SET_VMAF_MODEL_PATH, const char *)
2029
+ #define AOM_CTRL_AV1E_SET_VMAF_MODEL_PATH
2030
+
2031
+ AOM_CTRL_USE_TYPE(AV1E_ENABLE_EXT_TILE_DEBUG, unsigned int)
2032
+ #define AOM_CTRL_AV1E_ENABLE_EXT_TILE_DEBUG
2033
+
2034
+ AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST, unsigned int)
2035
+ #define AOM_CTRL_AV1E_ENABLE_SB_MULTIPASS_UNIT_TEST
2036
+
2037
+ AOM_CTRL_USE_TYPE(AV1E_SET_GF_MIN_PYRAMID_HEIGHT, unsigned int)
2038
+ #define AOM_CTRL_AV1E_SET_GF_MIN_PYRAMID_HEIGHT
2039
+
2040
+ AOM_CTRL_USE_TYPE(AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP, unsigned int)
2041
+ #define AOM_CTRL_AV1E_SET_VBR_CORPUS_COMPLEXITY_LAP
2042
+
2043
+ AOM_CTRL_USE_TYPE(AV1E_GET_BASELINE_GF_INTERVAL, int *)
2044
+ #define AOM_CTRL_AV1E_GET_BASELINE_GF_INTERVAL
2045
+
2046
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DNL_DENOISING, int)
2047
+ #define AOM_CTRL_AV1E_SET_ENABLE_DNL_DENOISING
2048
+
2049
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIAGONAL_INTRA, int)
2050
+ #define AOM_CTRL_AV1E_SET_ENABLE_DIAGONAL_INTRA
2051
+
2052
+ AOM_CTRL_USE_TYPE(AV1E_SET_DV_COST_UPD_FREQ, unsigned int)
2053
+ #define AOM_CTRL_AV1E_SET_DV_COST_UPD_FREQ
2054
+
2055
+ AOM_CTRL_USE_TYPE(AV1E_SET_PARTITION_INFO_PATH, const char *)
2056
+ #define AOM_CTRL_AV1E_SET_PARTITION_INFO_PATH
2057
+
2058
+ AOM_CTRL_USE_TYPE(AV1E_SET_EXTERNAL_PARTITION, aom_ext_part_funcs_t *)
2059
+ #define AOM_CTRL_AV1E_SET_EXTERNAL_PARTITION
2060
+
2061
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_DIRECTIONAL_INTRA, int)
2062
+ #define AOM_CTRL_AV1E_SET_ENABLE_DIRECTIONAL_INTRA
2063
+
2064
+ AOM_CTRL_USE_TYPE(AV1E_SET_ENABLE_TX_SIZE_SEARCH, int)
2065
+ #define AOM_CTRL_AV1E_SET_ENABLE_TX_SIZE_SEARCH
2066
+
2067
+ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_REF_FRAME_COMP_PRED,
2068
+ aom_svc_ref_frame_comp_pred_t *)
2069
+ #define AOM_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2070
+ // TODO(aomedia:3231): Deprecated. Remove it.
2071
+ #define AOME_CTRL_AV1E_SET_SVC_REF_FRAME_COMP_PRED
2072
+
2073
+ AOM_CTRL_USE_TYPE(AV1E_SET_DELTAQ_STRENGTH, unsigned int)
2074
+ #define AOM_CTRL_AV1E_SET_DELTAQ_STRENGTH
2075
+
2076
+ AOM_CTRL_USE_TYPE(AV1E_SET_LOOPFILTER_CONTROL, int)
2077
+ #define AOM_CTRL_AV1E_SET_LOOPFILTER_CONTROL
2078
+
2079
+ AOM_CTRL_USE_TYPE(AOME_GET_LOOPFILTER_LEVEL, int *)
2080
+ #define AOM_CTRL_AOME_GET_LOOPFILTER_LEVEL
2081
+
2082
+ AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_INTRA_TOOLS_OFF, unsigned int)
2083
+ #define AOM_CTRL_AV1E_SET_AUTO_INTRA_TOOLS_OFF
2084
+
2085
+ AOM_CTRL_USE_TYPE(AV1E_SET_RTC_EXTERNAL_RC, int)
2086
+ #define AOM_CTRL_AV1E_SET_RTC_EXTERNAL_RC
2087
+
2088
+ AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT, unsigned int)
2089
+ #define AOM_CTRL_AV1E_SET_FP_MT
2090
+
2091
+ AOM_CTRL_USE_TYPE(AV1E_SET_FP_MT_UNIT_TEST, unsigned int)
2092
+ #define AOM_CTRL_AV1E_SET_FP_MT_UNIT_TEST
2093
+
2094
+ AOM_CTRL_USE_TYPE(AV1E_GET_TARGET_SEQ_LEVEL_IDX, int *)
2095
+ #define AOM_CTRL_AV1E_GET_TARGET_SEQ_LEVEL_IDX
2096
+
2097
+ AOM_CTRL_USE_TYPE(AV1E_GET_NUM_OPERATING_POINTS, int *)
2098
+ #define AOM_CTRL_AV1E_GET_NUM_OPERATING_POINTS
2099
+
2100
+ AOM_CTRL_USE_TYPE(AV1E_SET_SKIP_POSTPROC_FILTERING, unsigned int)
2101
+ #define AOM_CTRL_AV1E_SET_SKIP_POSTPROC_FILTERING
2102
+
2103
+ AOM_CTRL_USE_TYPE(AV1E_ENABLE_SB_QP_SWEEP, unsigned int)
2104
+ #define AOM_CTRL_AV1E_ENABLE_SB_QP_SWEEP
2105
+
2106
+ /*!\endcond */
2107
+ /*! @} - end defgroup aom_encoder */
2108
+ #ifdef __cplusplus
2109
+ } // extern "C"
2110
+ #endif
2111
+
2112
+ #endif // AOM_AOM_AOMCX_H_