Update of /cvsroot/dirac/compress/libdirac_encoder
In directory
sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv8357/libdirac_enco
der
Modified Files:
dirac_encoder.cpp seq_compress.cpp
Log Message:
Added UHDTV formats.
Index: dirac_encoder.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/libdirac_encoder/dirac_encoder.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** dirac_encoder.cpp 29 Apr 2008 14:09:35 -0000 1.45
--- dirac_encoder.cpp 1 May 2008 09:51:53 -0000 1.46
***************
*** 501,505 ****
m_encparams.SetChromaYl(
enc_ctx->src_params.chroma_height );
! if (enc_ctx->enc_params.picture_coding_mode >
3)
{
std::ostringstream errstr;
--- 501,505 ----
m_encparams.SetChromaYl(
enc_ctx->src_params.chroma_height );
! if (enc_ctx->enc_params.picture_coding_mode >
1)
{
std::ostringstream errstr;
***************
*** 507,511 ****
errstr << "Picture coding mode "
<<
enc_ctx->enc_params.picture_coding_mode
! << " out of supported range
[0-3]";
DIRAC_THROW_EXCEPTION(
ERR_INVALID_INIT_DATA,
--- 507,511 ----
errstr << "Picture coding mode "
<<
enc_ctx->enc_params.picture_coding_mode
! << " out of supported range
[0-1]";
DIRAC_THROW_EXCEPTION(
ERR_INVALID_INIT_DATA,
Index: seq_compress.cpp
============================================================
=======
RCS file:
/cvsroot/dirac/compress/libdirac_encoder/seq_compress.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** seq_compress.cpp 29 Apr 2008 14:09:35 -0000 1.56
--- seq_compress.cpp 1 May 2008 09:51:53 -0000 1.57
***************
*** 81,85 ****
m_encparams.SetXNumBlocks( 4 * m_encparams.XNumMB()
);
m_encparams.SetYNumBlocks( 4 * m_encparams.YNumMB()
);
-
// Set up the picture buffers
m_fbuffer = new PictureBuffer( m_srcparams.CFormat()
,
--- 81,84 ----
***************
*** 201,205 ****
m_show_pnum = std::max( m_current_code_pnum - m_delay
, 0 );
-
if ( CanEncode() )
{ // We haven't coded everything, so compress the
next picture
--- 200,203 ----
***************
*** 424,427 ****
--- 422,426 ----
else
{//we just have I-pictures, so no re-ordering
+
return pnum;
}
------------------------------------------------------------
-------------
This SF.net email is sponsored by the 2008 JavaOne(SM)
Conference
Don't miss this year's exciting event. There's still time to
save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;1987
57673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Dirac-commits mailing list
Dirac-commits lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dirac-com
mits
|