Lines Matching defs:C2SoftAvcEnc
123 struct C2SoftAvcEnc : public SimpleC2Component { struct
126 C2SoftAvcEnc(const char *name, c2_node_id_t id, const std::shared_ptr<IntfImpl> &intfImpl); argument
149 typedef struct {
152 } InputBufferInfo;
154 std::shared_ptr<IntfImpl> mIntf;
156 int32_t mStride;
158 nsecs_t mTimeStart = 0; // Time at the start of decode()
159 nsecs_t mTimeEnd = 0; // Time at the end of decode()
162 char mInFile[200];
163 char mOutFile[200];
166 IV_COLOR_FORMAT_T mIvVideoColorFormat;
168 IV_PROFILE_T mAVCEncProfile __unused;
169 WORD32 mAVCEncLevel;
170 bool mStarted;
171 bool mSpsPpsHeaderReceived;
173 bool mSawInputEOS;
174 bool mSignalledError;
175 bool mIntra4x4;
176 bool mEnableFastSad;
177 bool mEnableAltRef;
178 bool mReconEnable;
179 bool mPSNREnable;
180 bool mEntropyMode;
181 bool mConstrainedIntraFlag;
182 IVE_SPEED_CONFIG mEncSpeed;
184 iv_obj_t *mCodecCtx; // Codec context
185 iv_mem_rec_t *mMemRecords; // Memory records requested by the codec
186 size_t mNumMemRecords; // Number of memory records requested by codec
187 size_t mNumCores; // Number of cores used by the codec
189 std::shared_ptr<C2LinearBlock> mOutBlock;
193 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize;
194 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh;
195 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
196 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
197 std::shared_ptr<C2StreamBitrateModeTuning::output> mBitrateMode;
198 std::shared_ptr<C2StreamRequestSyncFrameTuning::output> mRequestSync;
199 std::shared_ptr<C2StreamColorAspectsInfo::output> mColorAspects;
201 uint32_t mOutBufferSize;
202 UWORD32 mHeaderGenerated;
203 UWORD32 mBframes;
204 IV_ARCH_T mArch;
205 IVE_SLICE_MODE_T mSliceMode;
206 UWORD32 mSliceParam;
207 bool mHalfPelEnable;
208 UWORD32 mIInterval;
209 UWORD32 mIDRInterval;
210 UWORD32 mDisableDeblkLevel;
211 std::map<const void *, std::shared_ptr<C2Buffer>> mBuffers;
212 MemoryBlockPool mConversionBuffers;
213 std::map<const void *, MemoryBlock> mConversionBuffersInUse;