[Mp4-tech] Number of slices per picture in h264

Karsten Suehring ksuehring web.de
Fri Sep 28 00:27:23 EDT 2007


Hi,
in Baseline profile there is no restriction on the maximum number of
slices, i.e. every macroblock of a picture can be coded in an own slice.
MAX_NUM_SLICES is only a shortcoming in the JM software which was
developed with static memory allocations. For most practical cases 50 is
sufficient, but you can increase it when necessary.
We should have dynamic memory allocations, but so far nobody was annoyed
enough to start working on this major rewrite.
Best regards,
Karsten
Gomathi Ramamoorthy wrote:
> Hi Everyone,
> 
>  
> 
> In the h.264 JM reference code ,the “MAX_NUM_SLICES” is given as 50 in
> defines.h ,how to decide upon it and where can I get the correct figure
> 
> For the baseline profile.i.e I need to know the maximum number of slices
> per picture for baseline profile (D1 resolution).
> 
>  
> 
> Can anyone help me in this regard….
> 
>  
> 
> Thanks in advance
> 
>  
> 
> **Thanks & Regards****,**
> 
> //Gomathi Ramamoorthy| Senior Engineer | Mindtree Consulting Ltd |
> Global Village , RVCE post , Mysore Road, Bangalore - 560059,India |
> Voice +91 80 26264000 Extn 66521 | Fax +91 80 26264100 | Mob +91
> 9901074757 | Email: ////gomathi_ramamoorthy mindtree.com//
> <mailto:gomathi_ramamoorthy mindtree.com>// | ////www.mindtree.com//
> <http://www.mindtree.com/>//|  //
> 
>  
> 
> *DISCLAIMER:*
> 
> This message (including attachment if any) is confidential and may be
> privileged. If you have received this message by mistake please notify
> the sender by return e-mail and delete this message from your system.
> Any unauthorized use or dissemination of this message in whole or in
> part is strictly prohibited.
> 
> E-mail may contain viruses. Before opening attachments please check them
> for viruses and defects. While MindTree Consulting Limited (MindTree)
> has put in place checks to minimize the risks, MindTree will not be
> responsible for any viruses or defects or any forwarded attachments
> emanating either from within MindTree or outside.
> 
> Please note that e-mails are susceptible to change and MindTree shall
> not be liable for any improper, untimely or incomplete transmission.
> 
> MindTree reserves the right to monitor and review the content of all
> messages sent to or from MindTree e-mail address. Messages sent to or
> from this e-mail address may be stored on the MindTree e-mail system or
> else where.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> NOTE: Please use clear subject lines for your posts. Include [audio, [video], [systems], [general] or another apppropriate identifier to indicate the type of question you have.
> 
> Note: Conduct on the mailing list is subject to the Antitrust guidelines found at http://www.mpegif.org/public/documents/vault/mp-out-30042-Antitrust.php


More information about the Mp4-tech mailing list