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