目录
2、C2Param的数据结构,
C2Param定义的路径如下:
framework/av/media/codec2/core/C2Param.h
其中,源码如下:
struct C2Param {
// param index encompasses the following:
//
// - kind (setting, tuning, info, struct)
// - scope
// - direction (global, input, output)
// - stream flag
// - stream ID (usually 0)
// - and the parameter's type (core index)
// - flexible parameter flag
// - vendor extension flag
// - type index (this includes the vendor extension flag)
//
// layout:
//
// kind : <------- scope -------> : <----- core index ----->
// +------+-----+---+------