为了账号安全,请及时绑定邮箱和手机立即绑定

如下,请帮忙给计算机编程注释//翻译

如下,请帮忙给计算机编程注释//翻译

叮当猫咪 2022-06-30 07:07:33
#if FF_API_ALLOC_CONTEXT/*** Allocate an AVCodecContext and set its fields to default values. The* resulting struct can be deallocated by simply calling av_free().** @return An AVCodecContext filled with default values or NULL on failure.* @see avcodec_get_context_defaults** @deprecated use avcodec_alloc_context3()*/attribute_deprecatedAVCodecContext *avcodec_alloc_context(void);/** THIS FUNCTION IS NOT YET PART OF THE PUBLIC API!* we WILL change its arguments and name a few times! */attribute_deprecatedAVCodecContext *avcodec_alloc_context2(enum AVMediaType);/*** Set the fields of the given AVCodecContext to default values.** @param s The AVCodecContext of which the fields should be set to default values.* @deprecated use avcodec_get_context_defaults3*/attribute_deprecatedvoid avcodec_get_context_defaults(AVCodecContext *s);/** THIS FUNCTION IS NOT YET PART OF THE PUBLIC API!* we WILL change its arguments and name a few times! */attribute_deprecatedvoid avcodec_get_context_defaults2(AVCodecContext *s, enum AVMediaType);#endif
查看完整描述

1 回答

?
吃鸡游戏

TA贡献1829条经验 获得超7个赞

如果ff_api_alloc_context #

**

*分配一个avcodeccontext并设置其领域为默认值。的

*结构可以通过简单的调用av_free()释放。

*

返回一个avcodeccontext填充默认值或空的失败。

*“看avcodec_get_context_defaults

*

*”被使用avcodec_alloc_context3()

*

attribute_deprecated

avcodeccontext * avcodec_alloc_context(无效);

**此功能尚未公共API的一部分!

*我们会改变它的参数和名字几次!*

attribute_deprecated

avcodeccontext * avcodec_alloc_context2(枚举avmediatype);

**

*设置给出avcodeccontext到域的默认值。

*

* @param的avcodeccontext的领域应设置为默认值。

*”被使用avcodec_get_context_defaults3

*

attribute_deprecated

无效的avcodec_get_context_defaults(avcodeccontext *);

**此功能尚未公共API的一部分!

*我们会改变它的参数和名字几次!*

attribute_deprecated

无效的avcodec_get_context_defaults2(avcodeccontext *,枚举avmediatype);

如果#


查看完整回答
反对 回复 2022-07-05
  • 1 回答
  • 0 关注
  • 255 浏览

添加回答

举报

0/150
提交
取消
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号