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
146 typedef struct {
149 } InputBufferInfo;
151 std::shared_ptr<IntfImpl> mIntf;
153 int32_t mStride;
155 struct timeval mTimeStart; // Time at the start of decode()
156 struct timeval mTimeEnd; // Time at the end of decode()
159 char mInFile[200];
160 char mOutFile[200];
163 IV_COLOR_FORMAT_T mIvVideoColorFormat;
165 IV_PROFILE_T mAVCEncProfile __unused;
166 WORD32 mAVCEncLevel;
167 bool mStarted;
168 bool mSpsPpsHeaderReceived;
170 bool mSawInputEOS;
171 bool mSignalledError;
172 bool mIntra4x4;
173 bool mEnableFastSad;
174 bool mEnableAltRef;
175 bool mReconEnable;
176 bool mPSNREnable;
177 bool mEntropyMode;
178 bool mConstrainedIntraFlag;
179 IVE_SPEED_CONFIG mEncSpeed;
181 iv_obj_t *mCodecCtx; // Codec context
182 iv_mem_rec_t *mMemRecords; // Memory records requested by the codec
183 size_t mNumMemRecords; // Number of memory records requested by codec
184 size_t mNumCores; // Number of cores used by the codec
186 std::shared_ptr<C2LinearBlock> mOutBlock;
190 std::shared_ptr<C2StreamPictureSizeInfo::input> mSize;
191 std::shared_ptr<C2StreamIntraRefreshTuning::output> mIntraRefresh;
192 std::shared_ptr<C2StreamFrameRateInfo::output> mFrameRate;
193 std::shared_ptr<C2StreamBitrateInfo::output> mBitrate;
194 std::shared_ptr<C2StreamRequestSyncFrameTuning::output> mRequestSync;
196 uint32_t mOutBufferSize;
197 UWORD32 mHeaderGenerated;
198 UWORD32 mBframes;
199 IV_ARCH_T mArch;
200 IVE_SLICE_MODE_T mSliceMode;
201 UWORD32 mSliceParam;
202 bool mHalfPelEnable;
203 UWORD32 mIInterval;
204 UWORD32 mIDRInterval;
205 UWORD32 mDisableDeblkLevel;
206 std::map<const void *, std::shared_ptr<C2Buffer>> mBuffers;
207 MemoryBlockPool mConversionBuffers;
208 std::map<const void *, MemoryBlock> mConversionBuffersInUse;