在 2013-10-13 04:05:38,"Steve Borho" <[email protected]> 写道:

             m_rdSbacCoders[depth][ciIdx] = new TEncSbac;
-            m_binCodersCABAC[depth][ciIdx] = new TEncBinCABACCounter;
+            m_binCodersCABAC[depth][ciIdx] = new TEncBinCABAC;
+            m_binCodersCABAC[depth][ciIdx]->m_isCounter = true;



this would be a lot cleaner to me if the TEncBinCABAC constructor took a (bool 
bIsCounter) argument.
 
I want to convert the class to struct in future, so I direct assign, I will use 
constructor now.
 
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to