# HG changeset patch # User Santhoshini Sekar <santhosh...@multicorewareinc.com> # Date 1566979332 -19800 # Wed Aug 28 13:32:12 2019 +0530 # Node ID 9fee87536f7c7e0ab5af89a65a026e24783d1567 # Parent b2bb096d9e267df7e71a3464e71da14f663b42db Add encoded frame bits into analysis structure
diff -r b2bb096d9e26 -r 9fee87536f7c source/encoder/api.cpp --- a/source/encoder/api.cpp Thu Oct 17 12:04:07 2019 +0530 +++ b/source/encoder/api.cpp Wed Aug 28 13:32:12 2019 +0530 @@ -190,6 +190,7 @@ } encoder->create(); + p->frameNumThreads = encoder->m_param->frameNumThreads; if (!param->bResetZoneConfig) { diff -r b2bb096d9e26 -r 9fee87536f7c source/encoder/encoder.cpp --- a/source/encoder/encoder.cpp Thu Oct 17 12:04:07 2019 +0530 +++ b/source/encoder/encoder.cpp Wed Aug 28 13:32:12 2019 +0530 @@ -1807,6 +1807,10 @@ if ((m_outputCount + 1) >= m_param->chunkStart) finishFrameStats(outFrame, curEncoder, frameData, m_pocLast); + if (m_param->analysisSave) + { + pic_out->analysisData.frameBits = frameData->bits; + } /* Write RateControl Frame level stats in multipass encodes */ if (m_param->rc.bStatWrite) diff -r b2bb096d9e26 -r 9fee87536f7c source/x265.h --- a/source/x265.h Thu Oct 17 12:04:07 2019 +0530 +++ b/source/x265.h Wed Aug 28 13:32:12 2019 +0530 @@ -219,6 +219,7 @@ uint8_t* modeFlag[2]; x265_analysis_validate saveParam; x265_analysis_distortion_data* distortionData; + uint64_t frameBits; } x265_analysis_data; /* cu statistics */
# HG changeset patch # User Santhoshini Sekar <santhosh...@multicorewareinc.com> # Date 1566979332 -19800 # Wed Aug 28 13:32:12 2019 +0530 # Node ID 9fee87536f7c7e0ab5af89a65a026e24783d1567 # Parent b2bb096d9e267df7e71a3464e71da14f663b42db Add encoded frame bits into analysis structure diff -r b2bb096d9e26 -r 9fee87536f7c source/encoder/api.cpp --- a/source/encoder/api.cpp Thu Oct 17 12:04:07 2019 +0530 +++ b/source/encoder/api.cpp Wed Aug 28 13:32:12 2019 +0530 @@ -190,6 +190,7 @@ } encoder->create(); + p->frameNumThreads = encoder->m_param->frameNumThreads; if (!param->bResetZoneConfig) { diff -r b2bb096d9e26 -r 9fee87536f7c source/encoder/encoder.cpp --- a/source/encoder/encoder.cpp Thu Oct 17 12:04:07 2019 +0530 +++ b/source/encoder/encoder.cpp Wed Aug 28 13:32:12 2019 +0530 @@ -1807,6 +1807,10 @@ if ((m_outputCount + 1) >= m_param->chunkStart) finishFrameStats(outFrame, curEncoder, frameData, m_pocLast); + if (m_param->analysisSave) + { + pic_out->analysisData.frameBits = frameData->bits; + } /* Write RateControl Frame level stats in multipass encodes */ if (m_param->rc.bStatWrite) diff -r b2bb096d9e26 -r 9fee87536f7c source/x265.h --- a/source/x265.h Thu Oct 17 12:04:07 2019 +0530 +++ b/source/x265.h Wed Aug 28 13:32:12 2019 +0530 @@ -219,6 +219,7 @@ uint8_t* modeFlag[2]; x265_analysis_validate saveParam; x265_analysis_distortion_data* distortionData; + uint64_t frameBits; } x265_analysis_data; /* cu statistics */
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel