Picture partitioning in video coding
Methods, systems, and devices for media processing are described. One example method of processing digital media includes performing a conversion between a media segment and a bitstream of the media segment, the conversion conforming to a format rule and an encryption rule, and the format rule specifying that an indication of an integrity of a portion of the media segment is signaled in the bitstream. In an example, the media segment is a video segment, an audio segment, or an image.
1 . A method of processing video data, comprising:
performing a conversion between a media segment and a bitstream of the media segment,
wherein the conversion conforms to a format rule and an encryption rule,
wherein the format rule specifies an indication of an integrity of a portion of the media segment is signaled in the bitstream,
wherein the encryption rule specifies applying at least one of message digest algorithm 5 (MD5), secure hash algorithm 0 (SHA-0), or secure hash algorithm 1 (SHA-1) to the portion of the media segment, and
wherein the format rule further specifies that a region of the media segment is subject to a constraint, and wherein the format rule further specifies that the region is measured, based on a color format of the media segment, using a chroma unit or a luma unit.
2 . The method of claim 1 , wherein the region of measured using the luma unit due to the color format of the media segment being 4:0:0.
3 . The method of claim 1 , wherein the region of measured using the chroma unit due to the color format of the media segment being different from 4:0:0.
4 . The method of claim 1 , wherein the encryption rule specifies applying a post-quantum cryptography method to the portion of the media segment.
5 . The method of claim 4 , wherein the post-quantum cryptography method is an eXtended Merkle Signature Scheme (XMSS) or a Leighton-Micali Signature (LMS).
6 . The method of claim 4 , wherein the post-quantum cryptography method comprises code-based cryptography, and
wherein the code-based cryptography comprises a McEliece public key encryption system or a Niederreiter encryption algorithm.
7 . The method of claim 1 , wherein the bitstream further comprises a public key fingerprint or a shorter term public key fingerprint.
8 . The method of claim 7 , wherein the public key fingerprint comprises a 128-bit message digest algorithm 5 (MD5) fingerprint or a 12-bit secure hash algorithm 1 (SHA-1) fingerprint, or
the public key fingerprint comprises a 160-bit message digest algorithm 5 (MD5) fingerprint or a 12-bit secure hash algorithm 1 (SHA-1) fingerprint.
9 . The method of claim 7 , wherein information associated with the public key fingerprint comprises user authentication information.
10 . The method of claim 1 , wherein the bitstream further comprises a public key or a shorter term public key.
11 . The method of claim 10 , wherein the public key is distributed using one or more trusted servers.
12 . The method of claim 10 , wherein the public key is sent in a supplemental enhancement information (SEI) message, and wherein an indication of a color component, the color format, a monochrome picture, or a usage of the SEI message is signaled in the SEI message.
13 . The method of claim 12 , wherein the indication is a 1-bit indication.
14 . The method of claim 12 , wherein the indication is equal to (ChromaFormatIdc==0) or (sps_chroma_format_idc==0).
15 . The method of claim 1 , wherein the conversion comprises decoding the media segment from the bitstream.
16 . The method of claim 1 , wherein the conversion comprises encoding the media segment into the bitstream.
17 . An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor cause the processor to:
perform a conversion between a media segment and a bitstream of the media segment,
wherein the conversion conforms to a format rule and an encryption rule,
wherein the format rule specifies an indication of an integrity of a portion of the media segment is signaled in the bitstream,
wherein the encryption rule specifies applying at least one of message digest algorithm 5 (MD5), secure hash algorithm 0 (SHA-0), or secure hash algorithm 1 (SHA-1) to the portion of the media segment, and
wherein the format rule further specifies that a region of the media segment is subject to a constraint, and wherein the format rule further specifies that the region is measured, based on a color format of the media segment, using a chroma unit or a luma unit.
18 . A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
generating the bitstream of a media segment,
wherein the generating conforms to a format rule and an encryption rule,
wherein the format rule specifies an indication of an integrity of a portion of the media segment is signaled in the bitstream,
wherein the encryption rule specifies applying at least one of message digest algorithm 5 (MD5), secure hash algorithm 0 (SHA-0), or secure hash algorithm 1 (SHA-1) to the portion of the media segment, and
wherein the format rule further specifies that a region of the media segment is subject to a constraint, and wherein the format rule further specifies that the region is measured, based on a color format of the media segment, using a chroma unit or a luma unit.