[Mp4-tech] Number of slices per picture in h264
Gomathi Ramamoorthy
Gomathi_Ramamoorthy mindtree.com
Fri Sep 28 10:08:32 EDT 2007
Hi Karsten and Nitin,
Thank you so much for the reply.
I have 2 more doubts,
1.where the detail of number of slices for the current picture resides in the
encoded picture bit stream?
Because in the JM softer initially for the new picture they are making the
variable "img->current_slice_nr" as zero and whenever the next slice is read
from NAL the variable is incremented.So can't we find any information about
the number of slices from the encoded picture stream.
2.why the " MAX_LIST_SIZE" is 33 ? If u have any input please let me know.
Thanks in advance
Regards
Gomathi.
-----Original Message-----
From: ksuehring web.de [mailto:ksuehring web.de]
Sent: Friday, September 28, 2023 2:57 AM
To: Gomathi Ramamoorthy
Cc: mp4-tech lists.mpegif.org; Tourapis, Alexis; Gary Sullivan
Subject: Re: [Mp4-tech] Number of slices per picture in h264
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
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.
More information about the Mp4-tech
mailing list