Encoding device, decoding device, encoding method, decoding method, and program

By integrating AI processing in encoding and decoding devices to generate additional information about the conversion process, the patent addresses image quality degradation in video coding, enhancing encoding efficiency and maintaining image quality.

WO2026245343A1PCT designated stage Publication Date: 2026-11-26PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2026/018851
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-22
Filing Date
2026-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing video coding technologies face challenges in maintaining image quality during transcoding due to the inability to analyze factors causing image quality degradation, leading to potential deterioration in converted content.

Method used

Incorporation of AI or neural network processing in encoding and decoding devices to generate additional information about the conversion process, allowing for analysis of image quality degradation factors by including this information in the bitstream as SEI messages.

Benefits of technology

Enables effective analysis of image quality degradation causes, facilitating improved encoding efficiency and quality maintenance by identifying and addressing issues in the conversion process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2026018851_26112026_PF_FP_ABST
    Figure JP2026018851_26112026_PF_FP_ABST
Patent Text Reader

Abstract

An encoding device (100) comprises a processor (a1) and a memory (a2). By using the memory (a2), the processor (a1) acquires image data, encodes the image data to generate encoded image data, generates additional information including information on conversion processing related to generation or conversion of the image data corresponding to the encoded image data, and generates a bit stream including the encoded image data and the additional information corresponding to the encoded image data. The conversion processing includes processing using artificial intelligence (AI) or a neural network.
Need to check novelty before this filing date? Find Prior Art

Description

Encoding device, decoding device, encoding method, decoding method, and program

[0001] This disclosure relates to an encoding method and the like.

[0002] Video coding technologies have advanced from H.261 and MPEG-1 to H.264 / AVC (Advanced Video Coding), H.265 / HEVC (High Efficiency Video Coding), and H.266 / VVC (Versatile Video Coding). Along with this advancement, there is a constant need to provide improvements and optimizations to video coding technologies in order to process an ever-increasing amount of digital video data in various applications. This disclosure relates to further advancements, improvements and optimizations in video coding.

[0003] Note that Non-Patent Literature 1 relates to an example of a conventional standard regarding the video coding technology described above.

[0004] H.266 (ISO / IEC 23090-3) / VVC (Versatile Video Coding)

[0005] Regarding the above-described encoding methods, there is a demand to propose a new method for improving encoding efficiency, improving image quality, reducing processing amount, reducing circuit scale, or appropriately selecting elements or operations such as a filter, a block, a size, a motion vector, a reference picture, or a reference block.

[0006] The present disclosure provides a configuration or method that can contribute to one or more of, for example, improving encoding efficiency, improving image quality, reducing processing amount, reducing circuit scale, improving processing speed, appropriately selecting elements or operations, improving processing performed on a decoded image, and providing new processing. Note that the present disclosure may include a configuration or method that can contribute to benefits other than those described above.

[0007] For example, an encoding device according to one aspect of the present disclosure is an encoding device comprising a processor and a memory, wherein the processor uses the memory to acquire image data, encode the image data to generate encoded image data, generate additional information including information on a conversion process relating to the generation or conversion of the image data corresponding to the encoded image data, generate a bitstream including the encoded image data and the additional information corresponding to the encoded image data, and the conversion process includes processing using AI (Artificial Intelligence) or a neural network.

[0008] Each embodiment, or any part thereof, of the present disclosure enables at least one of the following: improved encoding efficiency, improved image quality, reduced encoding / decoding processing load, reduced circuit size, or improved encoding / decoding processing speed. Alternatively, each embodiment, or any part thereof, of the present disclosure enables appropriate selection of components / operations such as filters, blocks, sizes, motion vectors, reference pictures, and reference blocks in encoding and decoding. The present disclosure also includes disclosures of configurations or methods that may provide benefits other than those mentioned above, such as configurations or methods that improve encoding efficiency while suppressing an increase in processing load.

[0009] Further advantages and effects of one aspect of this disclosure will be made apparent from the specification and drawings. Such advantages and / or effects may be obtained by several embodiments and features described in the specification and drawings, but not all of them are necessarily provided to obtain one or more advantages and / or effects.

[0010] These general or specific embodiments may be implemented as a system, integrated circuit, computer program, or recording medium such as a computer-readable CD-ROM, or as any combination of system, method, integrated circuit, computer program, and recording medium.

[0011] A configuration or method relating to one aspect of this disclosure may contribute to one or more of the following: improved encoding efficiency, improved image quality, reduced processing load, reduced circuit size, improved processing speed, and appropriate selection of elements or operations. A configuration or method relating to one aspect of this disclosure may also contribute to other benefits not mentioned above.

[0012] This is a schematic diagram showing an example of the configuration of a transmission system according to an embodiment. This is a block diagram showing an example of the implementation of an encoding device according to an embodiment. This is a block diagram showing an example of the configuration of an encoding device according to an embodiment. This is a flowchart showing an example of the overall encoding process by the encoding device according to an embodiment. This is a flowchart showing an example of the processing for each block by the encoding device according to an embodiment. This is a block diagram showing an example of the implementation of a decoding device according to an embodiment. This is a block diagram showing an example of the configuration of a decoding device according to an embodiment. This is a flowchart showing an example of the overall decoding process by the decoding device according to an embodiment. This is a flowchart showing an example of the processing for each block by the decoding device according to an embodiment. This is a schematic diagram showing another example of the configuration of a transmission system according to an embodiment. This is a schematic diagram showing an example of the configuration of a transmitting device according to an embodiment. This is a block diagram showing an example of the implementation of a transmitting device according to an embodiment. This is a schematic diagram showing an example of the configuration of a receiving device according to an embodiment. This is a block diagram showing an example of the implementation of a receiving device according to an embodiment. This is a schematic diagram showing an example of the configuration of a bitstream generation device according to an embodiment. This is a block diagram showing an example of the implementation of a bitstream generation device according to an embodiment. This is a schematic diagram showing an example of the configuration of a storage medium and a computer according to an embodiment. This is a schematic diagram showing an example of the configuration of a computer according to an embodiment. This is a diagram showing an example of the hierarchical structure of data in a stream. This is a diagram showing an example of the configuration of a slice. This is a diagram showing an example of the configuration of a tile. This is a diagram showing an example of the configuration of a time-scalable stream. This is a diagram showing an example of the configuration of a stream using multilayer encoding. This diagram shows the processing flow from encoding to formatting when formatting is performed. This diagram shows the processing flow from reverse formatting to decoding when formatting is performed. This diagram shows an example of storing a bitstream in a system format. This diagram shows the box structure of ISOBMFF. This diagram shows a configuration for transmitting two-dimensional (2D) images and viewpoint information used for learning to generate 3D information using a video encoding scheme. This diagram shows the configuration of the content processing system according to Embodiment 1. This diagram shows the structure of the SEI generated by each system according to Embodiment 1.This is a flowchart showing an example of encoding processing performed by the encoding device according to Embodiment 1. This is a flowchart showing an example of decoding processing performed by the decoding device according to Embodiment 1. This is a diagram showing the structure of SEI generated by each system according to Embodiment 2. This is a flowchart showing an example of encoding processing performed by the encoding device according to Embodiment 2. This is a flowchart showing an example of decoding processing performed by the decoding device according to Embodiment 2. This is a diagram showing the configuration of a content processing system in a use case for archiving personal content. This is a diagram showing the configuration of a content processing system in a use case for content storage and network distribution. This is a diagram showing the configuration of a content processing system in a use case for distributing content to an unspecified number of users. This is a diagram showing the configuration of a content processing system when performing optimal encoding settings according to a proposed SEI. This is a diagram showing the configuration of a content processing system when tracing image quality issue factors. This is a diagram showing the configuration of a content processing system when performing processing according to an SEI added to the bitstream of original content. This is a diagram showing an example of a syntax structure when nesting individually. This is a diagram showing an example of a syntax structure when adding a tracing SEI. This is a diagram showing an example of a syntax structure when dividing a quality metrics SEI. This is a diagram showing an example of a syntax structure when performing multiple levels of nesting. This figure shows an example of the syntax structure when adding an SEI for original data reference. This figure shows an example of the syntax structure when adding an SEI that includes information about the transcoded subject. This figure illustrates an example of using nested SEIs. This flowchart shows an example of the encoding process performed by the encoding device according to Embodiment 3. This flowchart shows an example of the decoding process performed by the decoding device according to Embodiment 3. This figure shows another first example of the configuration of the content processing system according to Embodiment 3. This figure shows an example of the syntax structure when adding an SEI that includes linking information. This figure shows another second example of the configuration of the content processing system according to Embodiment 3. This figure shows an example of the syntax structure when generating a UGC SEI.This figure shows a third example of the configuration of the content processing system according to Embodiment 3. This is a table showing an example of the correspondence between the conversion process, the information before the conversion process, and the information related to the conversion process. This figure shows an example of the overall configuration of a content supply system that realizes a content distribution service. This figure shows an example of the configuration of a content distribution system. This figure shows an example of a web page display screen. This figure shows an example of a web page display screen. This figure shows an example of a smartphone. This is a block diagram showing an example of a smartphone configuration.

[0013] [Introduction] This disclosure relates to content encoding, such as video, audio, and three-dimensional (3D) data, and more particularly to systems, components, and methods for encoding and decoding video. For example, this disclosure relates to encoding devices, decoding devices, encoding methods, decoding methods, and programs in a system in which input data is subjected to a transformation process (e.g., transcoding), and the transformed input data is provided to a user.

[0014] For example, an encoding device transcodes received image data and transmits it to a subsequent encoding or decoding device. In this case, due to differences in encoding formats, the image quality of the converted content (e.g., after transcoding) may deteriorate compared to the original content (image data before encoding). In such cases, it is desirable to be able to analyze the factors causing the image quality degradation from the perspective of content quality assurance and troubleshooting reliability. However, existing methods may not be able to analyze the factors causing the image quality degradation.

[0015] Therefore, the encoding device of Example 1 is an encoding device comprising a processor and a memory, wherein the processor uses the memory to acquire image data, encode the image data to generate encoded image data, generate additional information including information on conversion processing related to the generation or conversion of the image data corresponding to the encoded image data, generate a bitstream including the encoded image data and the additional information corresponding to the encoded image data, and the conversion processing includes processing using AI (Artificial Intelligence) or a neural network.

[0016] This allows information about the conversion process related to the generation or conversion of acquired image data to be transmitted to subsequent equipment. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0017] Furthermore, the encoding device in Example 2 is the encoding device in Example 1, and the conversion process may include a process for generating the image data using the AI ​​or the neural network.

[0018] Therefore, when image data is generated using AI or a neural network, additional information can be useful in analyzing the factors causing image quality degradation. Thus, it may be possible to analyze the factors causing image quality degradation.

[0019] Furthermore, the encoding device in Example 3 is the encoding device in Example 1 or 2, and the conversion process may include a process of restoring, correcting, enhancing, processing, or converting the image data using the AI ​​or the neural network.

[0020] Therefore, when image data is generated by restoring, correcting, enhancing, processing, or transforming it using AI or a neural network, the additional information can be useful in analyzing the factors causing image quality degradation. Thus, it may be possible to analyze the factors causing image quality degradation.

[0021] Furthermore, the encoding device of Example 4 may be any of the encoding devices of Examples 1 to 3, and the conversion process may include at least one of noise reduction, super-resolution, compression artifact removal, style conversion, feature extraction, and semantic filtering.

[0022] Therefore, when image data is generated using at least one of the following methods—denoising, super-resolution, compression artifact removal, style transfer, feature extraction, and semantic filtering—additional information can be useful in analyzing the causes of image quality degradation. Thus, it may be possible to analyze the causes of image quality degradation.

[0023] Furthermore, the encoding device in Example 5 is any of the encoding devices in Examples 1 to 4, and the information of the conversion process may include information indicating at least one of the algorithm, software, library, processing node, execution environment, and version used in the conversion process.

[0024] This means that information indicating at least one of the algorithms, software, libraries, processing nodes, execution environment, and versions used in the conversion process can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0025] Furthermore, the encoding device in Example 6 is any of the encoding devices in Examples 1 to 5, and the information of the conversion process may include model information relating to the AI ​​or the neural network.

[0026] This means that model information can be useful in analyzing the factors causing image quality degradation. Therefore, it may be possible to analyze the factors causing image quality degradation.

[0027] Furthermore, the encoding device in Example 7 is the encoding device in Example 6, and the model information may include information indicating at least one of the model name, NN model name, model version, and model type.

[0028] This means that information indicating the model name, NN model name, model version, and at least one of the model types can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0029] Furthermore, the encoding device in Example 8 is any of the encoding devices in Examples 1 to 7, and the additional information may be included in the bitstream as an SEI (Supplemental Enhancement Information) message, metadata, auxiliary information, extended information, attribute information, or control information.

[0030] This allows additional information to be included in the bitstream in various formats, such as SEI messages, which can enable flexible information addition according to standards and other requirements.

[0031] Furthermore, the encoding device in Example 9 may be any of the encoding devices in Examples 1 to 8, and the additional information may be associated with the encoded image data on a picture-by-picture, picture-group, sequence-by-sequence, access-unit, sample-by-sample basis.

[0032] This can sometimes allow for the management of additional information at an appropriate level of granularity, depending on the encoding method. Therefore, it can sometimes improve the flexibility of image encoding processing.

[0033] Furthermore, the encoding device in Example 10 is any of the encoding devices in Examples 1 to 9, and the additional information may be associated with the encoded image data by a NAL (Network Abstraction Layer) unit, an SEI (Supplemental Enhancement Information) message, a file format box, a metadata track, or an external reference structure.

[0034] This can allow for flexible support of various standards and file formats. Therefore, it can increase the freedom of storing and using additional information.

[0035] Furthermore, the decoding device of Example 11 is a decoding device comprising a processor and a memory, wherein the processor uses the memory to acquire a bitstream including encoded image data and additional information corresponding to the encoded image data, decodes the encoded image data from the bitstream, acquires the additional information from the bitstream, the additional information includes information on a conversion process relating to the generation or conversion of image data corresponding to the encoded image data, and the conversion process includes processing using AI (Artificial Intelligence) or a neural network.

[0036] This allows us to obtain information about the conversion process related to the generation or conversion of image data from the bitstream. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0037] Furthermore, the decoding device in Example 12 is the decoding device in Example 11, and the conversion process may include a process of generating image data corresponding to the encoded image data using the AI ​​or the neural network.

[0038] Therefore, when image data is generated using AI or a neural network, additional information can be useful in analyzing the factors causing image quality degradation. Thus, it may be possible to analyze the factors causing image quality degradation.

[0039] Furthermore, the decoding device in Example 13 is the decoding device in Example 11 or 12, and the conversion process may include a process of restoring, correcting, enhancing, processing, or converting the image data corresponding to the encoded image data using the AI ​​or the neural network.

[0040] Therefore, when image data is generated by restoring, correcting, enhancing, processing, or transforming it using AI or a neural network, the additional information can be useful in analyzing the factors causing image quality degradation. Thus, it may be possible to analyze the factors causing image quality degradation.

[0041] Furthermore, the decoding apparatus of Example 14 is the decoding apparatus according to any one of Examples 11 to 13, and the conversion process may include at least one of noise removal, super-resolution, compression artifact removal, style conversion, feature extraction, and semantic filtering.

[0042] Accordingly, when the image data is image data generated using at least one of noise removal, super-resolution, compression artifact removal, style conversion, feature extraction, and semantic filtering, the additional information may be useful for analyzing the cause of image quality degradation. Thus, it may be possible to perform analysis of the cause of image quality degradation.

[0043] Furthermore, the decoding apparatus of Example 15 is the decoding apparatus according to any one of Examples 11 to 14, and the information on the conversion process may include information indicating at least one of an algorithm, software, a library, a processing node, an execution environment, and a version used in the conversion process.

[0044] Accordingly, the information indicating at least one of the algorithm, software, library, processing node, execution environment, and version used in the conversion process may be useful for analyzing the cause of image quality degradation. Thus, it may be possible to perform analysis of the cause of image quality degradation.

[0045] Furthermore, the decoding apparatus of Example 16 is the decoding apparatus according to any one of Examples 11 to 15, and the information on the conversion process may include model information related to the AI or the neural network.

[0046] Accordingly, the model information may be useful for analyzing the cause of image quality degradation. Thus, it may be possible to perform analysis of the cause of image quality degradation.

[0047] Furthermore, the decoding apparatus of Example 17 is the decoding apparatus of Example 16, and the model information may include information indicating at least one of a model name, an NN model name, a model version, and a model type.

[0048] Accordingly, the information indicating at least one of the model name, NN model name, model version, and model type may be useful for analyzing the cause of image quality degradation. Thus, it may be possible to perform analysis of the cause of image quality degradation.

[0049] Furthermore, the decoding device in Example 18 is any decoding device from Examples 11 to 17, and the additional information may be included in the bitstream as an SEI (Supplemental Enhancement Information) message, metadata, auxiliary information, extended information, attribute information, or control information.

[0050] This allows additional information to be included in the bitstream in various formats, such as SEI messages, which can enable flexible information addition according to standards and other requirements.

[0051] Furthermore, the decoding device in Example 19 is any decoding device from Examples 11 to 18, and the processor may perform at least one of the following processes on the image data corresponding to the encoded image data, based on the information from the conversion process: post-decoding processing, display processing, quality verification processing, authenticity verification processing, and history verification processing.

[0052] This allows for post-decryption processing or authenticity verification processing based on the conversion process information, which in some cases enables appropriate control over the processing of the decrypted image data.

[0053] Furthermore, the decoding device in Example 20 may be any decoding device from Examples 11 to 19, wherein the processor may output information indicating that the image data corresponding to the encoded image data was generated or converted by processing using the AI ​​or the neural network, based on the information of the conversion process.

[0054] This allows for the output of information about the conversion process related to the generation or conversion of image data. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0055] Furthermore, the encoding device in Example 21 may be any encoding device from Examples 1 to 10, and the additional information may include AI involvement indication information indicating that the image data is related to processing using the AI ​​or the neural network, detailed conversion processing information which is information about the conversion process, and correspondence information indicating the correspondence between the AI ​​involvement indication information and the detailed conversion processing information.

[0056] This allows us to obtain correspondence information from the bitstream that shows the relationship between AI-involved display information and detailed conversion processing information. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0057] Furthermore, the encoding device of Example 22 is the encoding device of Example 21, wherein the AI ​​involvement display information includes text description information indicating that the image data is related to processing using the AI ​​or the neural network, the additional information includes usage information indicating the use of the text description information, and the usage information may indicate that the text description information is the AI ​​involvement display information.

[0058] This makes it possible to associate AI-involved display information with standard text description information and usage information.

[0059] Furthermore, the encoding device of Example 23 is the encoding device of Example 21 or 22, wherein the additional information includes detailed information availability information indicating whether or not the detailed conversion processing information corresponding to the AI ​​involvement display information exists or is referable within the same bitstream, and if the detailed information availability information indicates the existence of the detailed conversion processing information or its referability within the same bitstream, the additional information may also include reference information identifying the detailed conversion processing information or other additional information including the detailed conversion processing information.

[0060] This allows for the acquisition of detailed conversion processing information, or detailed conversion processing information, from the bitstream. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0061] Furthermore, the decoding device of Example 24 is a decoding device of any of Examples 11 to 20, wherein the additional information includes AI involvement indication information indicating that the image data corresponding to the encoded image data is related to processing using the AI ​​or the neural network, detailed conversion processing information which is information about the conversion process, and correspondence information indicating the correspondence between the AI ​​involvement indication information and the detailed conversion processing information, and the processor may identify the detailed conversion processing information corresponding to the AI ​​involvement indication information based on the correspondence information.

[0062] This allows for the automatic identification of detailed conversion processing information based on the correspondence data. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0063] Furthermore, the decoding device of Example 25 is the decoding device of Example 24, wherein the AI ​​involvement display information includes text description information indicating that the image data corresponding to the encoded image data is related to processing using the AI ​​or the neural network, and the additional information includes usage information indicating the use of the text description information, and the processor may determine whether or not the text description information is the AI ​​involvement display information based on the usage information.

[0064] This makes it possible to associate AI-involved display information with standard text description information and usage information.

[0065] Furthermore, the decoding device in Example 26 is the decoding device in Example 24 or 25, wherein the additional information includes detailed information availability information indicating whether or not the detailed conversion processing information corresponding to the AI ​​involvement display information exists or is referable within the same bitstream, and the processor may decide whether or not to acquire reference information that identifies the detailed conversion processing information or other additional information including the detailed conversion processing information based on the detailed information availability information.

[0066] This allows for the acquisition of detailed conversion processing information, or detailed conversion processing information, from the bitstream. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0067] Furthermore, the encoding method of Example 27 involves acquiring image data, encoding the image data to generate encoded image data, generating additional information including information on a conversion process related to the generation or conversion of the image data corresponding to the encoded image data, generating a bitstream including the encoded image data and the additional information corresponding to the encoded image data, wherein the conversion process includes processing using AI (Artificial Intelligence) or a neural network.

[0068] This allows information about the conversion process related to the generation or conversion of acquired image data to be transmitted to subsequent equipment. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0069] Furthermore, the decoding method of Example 28 acquires a bitstream including encoded image data and additional information corresponding to the encoded image data, decodes the encoded image data from the bitstream, acquires the additional information from the bitstream, the additional information includes information on a conversion process related to the generation or conversion of image data corresponding to the encoded image data, and the conversion process includes processing using AI (Artificial Intelligence) or a neural network.

[0070] This allows us to obtain information about the conversion process related to the generation or conversion of image data from the bitstream. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0071] Furthermore, the program in Example 29 is a program that causes a computer to execute the encoding method of Example 27.

[0072] This allows information about the conversion process related to the generation or conversion of acquired image data to be transmitted to subsequent equipment. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0073] Furthermore, the program in Example 30 is a program that causes a computer to execute the decryption method in Example 28.

[0074] This allows us to obtain information about the conversion process related to the generation or conversion of image data from the bitstream. Such information can be useful in analyzing the causes of image quality degradation. Therefore, it may be possible to analyze the causes of image quality degradation.

[0075] Furthermore, these comprehensive or specific embodiments may be implemented as systems, devices, methods, integrated circuits, computer programs, or non-temporary recording media such as computer-readable CD-ROMs, or as any combination of systems, devices, methods, integrated circuits, computer programs, and recording media.

[0076] [Definition of Terms] Each term may be defined as follows, for example:

[0077] (1) Image: A unit of data composed of a collection of pixels, consisting of pictures and smaller blocks, and includes both still images and videos.

[0078] (2) Chroma Chroma represents a sample sequence or single sample that represents one of two color difference signals. The two color difference signals may be represented by the symbols Cb and Cr. Chroma is an adjective, for example, represented by the symbols Cb and Cr, or U and V. The term chrominance can also be used instead of chroma.

[0079] (3) Luminance (luma) Luminance refers to a sample sequence or a single sample representing a monochrome signal associated with the primary colors. Luminance is an adjective represented by the symbols Y or L. The term luminance can also be used instead of lumina.

[0080] (4) Component A component represents a single array or sample. A component may be, for example, one of the three arrays (i.e., luminance and two color differences) that make up a color format picture, or a single sample, or one array or a single sample that makes up a monochrome format picture.

[0081] (5) A picture is an image processing unit composed of a set of picture samples, and is sometimes called a frame or field. A picture can be a set of luminance samples, a set of two color difference samples, or a set of both luminance samples and a set of two color difference samples. A set of samples can also be described as a matrix of samples.

[0082] (5-1) I-Picture An I-picture is a picture encoded using only intra-prediction. I-pictures can be decoded independently. I-pictures are also called intra-pictures, intra-frames, keypictures, or keyframes.

[0083] (5-2) P-Picture A P-Picture is a picture encoded using single prediction. In other words, only one picture is referenced to encode the P-Picture. Single prediction is also called unidirectional prediction.

[0084] (5-3) B-Picture A B-picture is a picture encoded using bidirectional prediction. Bidirectional prediction is also expressed as dual prediction and means a prediction that references multiple pictures. Bidirectional prediction may refer to multiple pictures in different directions from the picture being processed (for example, a forward picture and a backward picture in different temporal directions), or it may refer to pictures in the same direction from the picture being processed.

[0085] Note that P-pictures and B-pictures are also called inter-pictures or inter-frames.

[0086] (6) A block is a processing unit of a set containing a specific number of pixels, and its name is not restricted, as shown in the following examples. It is also not restricted in shape, and includes not only rectangles made up of M x N pixels and squares made up of M x M pixels, but also other shapes.

[0087] (Examples of blocks) Slice / Tile / Brick CTB (Coding Tree Block) / CTU (Coding Tree Unit) / Superblock / Segment / Basic division unit / CU / Processing block unit / Prediction block unit (PU) / Translation block unit (TU) / Unit / Subblock / VPDU / Hardware processing division unit

[0088] A CTB is a processing unit into which components are divided. A CTB contains samples. A CTB is also called a CTU, superblock, or basic division unit. A CTB may be, for example, an N x N square block.

[0089] A Coding Block (CB) is a processing unit obtained by dividing a Coding Block (CTB). For example, it may be an M x N rectangular block. A CB is also called a Coding Unit (CU).

[0090] (7) A pixel / sample is the smallest unit of a picture, and includes not only pixels at integer positions but also pixels at decimal positions that are generated based on pixels at integer positions. A pixel / sample is a fundamental element that makes up a picture.

[0091] (8) Pixel value / sample value: An intrinsic value of a pixel, which includes not only luminance value, chrominance value, and RGB gradation, but also depth value, or binary values ​​of 0 or 1.

[0092] (9) Flags A flag is a variable or a single-bit syntax element. For example, a flag can only take one of two values: 0 or 1.

[0093] (10) A symbol or code used to transmit signal information, which includes not only discretized digital signals but also analog signals that take continuous values.

[0094] (11) Stream / Bitstream: Refers to a sequence of digital data or a flow of digital data. A stream / bitstream may consist of a single stream, or it may be divided into multiple layers and composed of multiple streams. It also includes cases where data is transmitted via serial communication over a single transmission path, as well as cases where data is transmitted via packet communication over multiple transmission paths.

[0095] (12) In the case of difference / difference scalar quantities, it is sufficient that the difference operation is included in addition to the simple difference (x - y), and this includes the absolute value of the difference (|x - y|), the squared difference (x^2 - y^2), the square root of the difference (√(x - y)), the weighted difference (ax - by: a, b is a constant), and the offset difference (x - y + a: a is the offset). Note that the difference operation also includes cases where bit shifts are performed (x >> 1 - y >> 1).

[0096] (13) In the case of summation scalar quantities, it is sufficient that the sum operation is included in addition to the simple sum (x + y), and this includes the absolute value of the sum (|x + y|), the sum of squares (x^2 + y^2), the square root of the sum (√(x + y)), weighted sum (ax + by: a, b is a constant), and offset sum (x + y + a: a is the offset). Note that the sum operation also includes cases where bit shifts are performed (x >> 1 + y >> 1).

[0097] (14) Based on: This includes cases where factors other than the subject being based on are taken into consideration. It also includes cases where the result is obtained not only by obtaining a direct result, but also by obtaining an intermediate result.

[0098] (15) Using: This includes cases where elements other than the target of use are taken into consideration. It also includes cases where the result is obtained not only by obtaining the result directly, but also by obtaining the result via an intermediate result.

[0099] (16) Prohibit, forbid. This can be rephrased as not being allowed. Also, not prohibiting or allowing something does not necessarily mean it is an obligation.

[0100] (17) To restrict (limit, restriction / restrict / restricted) This can be rephrased as not being allowed. Also, not being prohibited or being permitted does not necessarily mean being obligated. Furthermore, it is sufficient if it is prohibited in part quantitatively or qualitatively, and it also includes cases where it is prohibited entirely.

[0101] (18) MV (motion vector) A two-dimensional vector used in interpretation, which is a value that indicates the offset from the coordinates of the decoded image to the coordinates of the reference image.

[0102] (19) Data assigned to a specific column or row in a database, such as an index table or list. For example, a reference index is an index for a reference picture list, where one reference picture is assigned to the reference picture index.

[0103] [Explanation of Descriptions] In the drawings, the same reference number indicates the same or similar component. Also, the size and relative position of components in the drawings are not necessarily depicted to a constant scale.

[0104] The embodiments will be described in detail below with reference to the drawings. Note that the embodiments described below are all general or specific examples. The numerical values, shapes, materials, components, arrangement and connection forms of components, steps, relationships and sequences of steps shown in the following embodiments are examples only and are not intended to limit the scope of the claims.

[0105] The following describes embodiments of encoding and decoding devices. These embodiments are examples of encoding and decoding devices to which the processes and / or configurations described in each aspect of this disclosure can be applied. The processes and / or configurations can also be implemented in encoding and decoding devices different from those in the embodiments. For example, with respect to the processes and / or configurations applicable to the embodiments, one of the following may be implemented:

[0106] (1) Any of the multiple components of the encoding or decoding device of the embodiments described in each aspect of the present disclosure may be replaced or combined with other components described in any of the aspects of the present disclosure.

[0107] (2) In the encoding or decoding device of the embodiment, any changes such as addition, replacement, or deletion of functions or processes performed by some of the multiple components of the encoding or decoding device may be made. For example, any of the functions or processes may be replaced or combined with other functions or processes described in any of the embodiments of this disclosure.

[0108] (3) In the methods performed by the encoding or decoding apparatus of the embodiment, any modifications such as additions, replacements, and deletions may be made to some of the processes included in the method. For example, any of the processes in the method may be replaced with or combined with other processes described in any of the embodiments of this disclosure.

[0109] (4) Some of the multiple components constituting the encoding or decoding device of the embodiment may be combined with components described in any of the embodiments of this disclosure, or with components that have some of the functions described in any of the embodiments of this disclosure, or with components that perform some of the processing performed by the components described in any of the embodiments of this disclosure.

[0110] (5) Components that provide some of the functions of the encoding or decoding device of the embodiment, or components that perform some of the processing of the encoding or decoding device of the embodiment, may be combined with or replaced with components described in any of the embodiments of this disclosure, components that provide some of the functions described in any of the embodiments of this disclosure, or components that perform some of the processing described in any of the embodiments of this disclosure.

[0111] (6) In a method performed by an encoding or decoding device of an embodiment, any of the processes included in the method may be replaced or combined with a process described in any of the embodiments of the present disclosure, or any of the similar processes.

[0112] (7) Some of the processes included in the methods performed by the encoding or decoding device of the embodiment may be combined with the processes described in any of the embodiments of this disclosure.

[0113] (8) The methods of carrying out the processes and / or configurations described in each aspect of the present disclosure are not limited to the encoding or decoding devices of the embodiments. For example, the processes and / or configurations may be carried out in devices used for purposes other than the video encoding or video decoding disclosed in the embodiments.

[0114] [System Configuration] Figure 1 is a schematic diagram showing an example of the configuration of the transmission system according to this embodiment.

[0115] A transmission system Trs is a system that transmits a stream generated by encoding an image and decodes the transmitted stream. Such a transmission system Trs includes, for example, an encoding device 100, a network Nw, and a decoding device 200, as shown in Figure 1.

[0116] An image is input to the encoding device 100. The encoding device 100 generates a stream by encoding the input image and outputs the stream to the network Nw. The stream includes, for example, the encoded image and control information for decoding the encoded image. The image is compressed by this encoding process.

[0117] The original image input to the encoding device 100 before encoding is also called the original image, original signal, or original sample. The image may be a moving image or a still image. Furthermore, the image is a higher-level concept than sequences, pictures, and blocks, and is not limited by spatial and temporal domains unless otherwise specified. The image consists of a sequence of pixels or pixel values, and the signal or pixel values ​​representing the image are also called samples.

[0118] Furthermore, the stream may also be called a bitstream, encoded bitstream, compressed bitstream, or encoded signal. In addition, the encoding device 100 may be called an image encoding device or a video encoding device, and the encoding method by the encoding device 100 may be called an encoding method, an image encoding method, or a video encoding method.

[0119] The network Nw transmits the stream generated by the encoding device 100 to the decoding device 200. The network Nw may be the Internet, a wide area network (WAN), a local area network (LAN), or a combination thereof. The network Nw is not necessarily limited to a bidirectional communication network; it may also be a unidirectional communication network that transmits broadcast waves such as terrestrial digital broadcasting or satellite broadcasting.

[0120] Furthermore, the network Nw may be replaced by a storage medium that records streams such as DVD (Digital Versatile Disc) or BD (Blu-Ray Disc®).

[0121] The decoding device 200 generates a decoded image, which is, for example, an uncompressed image, by decoding the stream transmitted by the network Nw. For example, the decoding device decodes the stream according to a decoding method that corresponds to the encoding method by the encoding device 100.

[0122] The decoding device 200 may also be called an image decoding device or a video decoding device, and the decoding method performed by the decoding device 200 may be called a decoding method, an image decoding method, or a video decoding method.

[0123] [Encoding device] Next, the encoding device 100 according to the embodiment will be described.

[0124] [Implementation Example of Encoding Device] Figure 2 is a block diagram showing an implementation example of the encoding device 100. The encoding device 100 includes a processor a1 and a memory a2. For example, the multiple components of the encoding device 100 shown in Figure 3, which will be described later, are implemented by the processor a1 and memory a2 shown.

[0125] Processor a1 is a circuit that performs information processing and is a circuit that can access memory a2. For example, processor a1 is a dedicated or general-purpose electronic circuit for encoding images. Processor a1 may be a processor such as a CPU. Alternatively, processor a1 may be a collection of multiple electronic circuits. Furthermore, for example, processor a1 may play the role of multiple components of the encoding device 100 shown in Figure 3, which will be described later, excluding the component for storing information.

[0126] Memory a2 is a dedicated or general-purpose memory in which information for the processor a1 to encode an image is stored. Memory a2 may be an electronic circuit and may be connected to the processor a1. Memory a2 may also be included in the processor a1. Memory a2 may also be a collection of multiple electronic circuits. Memory a2 may also be a magnetic disk or an optical disk, or may be described as storage or a recording medium. Memory a2 may also be a non-volatile memory or a volatile memory.

[0127] For example, memory a2 may store the image to be encoded, or it may store a stream corresponding to the encoded image. Alternatively, memory a2 may store a program for processor a1 to encode the image.

[0128] Furthermore, for example, memory a2 may play the role of an information storage component among the multiple components of the encoding device 100 shown in Figure 3, which will be described later. Specifically, memory a2 may play the role of the block memory 118 and frame memory 122 shown in Figure 3, which will be described later. More specifically, memory a2 may store a reconstructed image (specifically, a reconstructed block or a reconstructed picture, etc.).

[0129] The generated parameters disclosed in the embodiments may be stored in memory a2 and referenced in the processing of processor a1. The generated parameters may be stored in memory a2 and may or may not be encoded. Whether or not to encode them is determined appropriately based on the relationship between the increase in the amount of code due to encoding the parameters and the reduction in the processing load of the decoding device 200 due to receiving the parameters.

[0130] Furthermore, in the encoding device 100, not all of the multiple components shown in Figure 3 described later are to be implemented, nor are all of the multiple processes described above to be performed. Some of the multiple components shown in Figure 3 described later may be included in other devices, and some of the multiple processes described later may be performed by other devices.

[0131] The following is a general description of the encoding device 100, followed by a description of the components included in the encoding device 100.

[0132] [Example of Encoding Device Configuration] Figure 3 is a block diagram showing an example of the configuration of an encoding device 100 according to an embodiment. The encoding device 100 encodes images in block units.

[0133] As shown in Figure 3, the encoding device 100 is a device that encodes an image in block units and comprises a division unit 102, a subtraction unit 104, a transformation unit 106, a quantization unit 108, an entropy encoding unit 110, an inverse quantization unit 112, an inverse transformation unit 114, an addition unit 116, a block memory 118, a loop filter unit 120, a frame memory 122, and a prediction unit. The prediction unit comprises an intra-prediction unit 124, an inter-prediction unit 126, a prediction control unit 128, and a prediction parameter generation unit 130.

[0134] These components are implemented, for example, by the processor a1 and memory a2 of the encoding device 100 shown in Figure 2 above.

[0135] [Overall Encoding Process Flow] Figure 4A is a flowchart showing an example of the overall encoding process by the encoding device 100. Figure 4B is a flowchart showing an example of the block-by-block processing by the encoding device 100.

[0136] First, the division unit 102 of the encoding device 100 divides each picture contained in the original image into multiple blocks. For example, the division unit 102 first divides the picture into blocks of a fixed size (for example, 128 x 128 pixels) (step Sa_1a). These fixed-size blocks are sometimes called coding tree units (CTUs).

[0137] Then, the division unit 102 selects a division pattern for the fixed-size block and further divides the fixed-size block into multiple blocks to constitute the selected division pattern (step Sa_2a).

[0138] The further divided blocks are of a variable size, for example, 64 x 64 pixels or less. The vertical and horizontal pixel counts of the variable size can be any combination of 4, 8, 16, 32, or 64. These variable-sized blocks are sometimes called coding units (CUs), prediction units (PUs), or transformation units (TUs).

[0139] In various implementation examples, CU, PU, ​​and TU do not need to be distinguished, and some or all blocks within a picture may be processing units for CU, PU, ​​or TU.

[0140] Then, the encoding device 100 performs the processing shown in steps Sa_3 to Sa_11 in Figure 4B for each of the multiple blocks (step Sa_3a). Here, an example of a CTU size of 128 x 128 pixels is given, but other sizes are also possible. For example, the size of the CTU may be 256 x 256 pixels, or a larger size such as 512 x 512 pixels. In this case, the vertical and horizontal size of the divided blocks, i.e., the number of pixels, may be greater than 64 pixels, such as 128 pixels or 256 pixels.

[0141] Furthermore, the division unit 102 outputs parameters indicating the division pattern to the conversion unit 106, the inverse conversion unit 114, the intra-prediction unit 124, the inter-prediction unit 126, and the entropy coding unit 110. The conversion unit 106 may convert the prediction residuals based on these parameters, and the intra-prediction unit 124 and the inter-prediction unit 126 may generate a prediction image based on these parameters. The entropy coding unit 110 may also perform entropy coding on these parameters.

[0142] Then, the encoding device 100 processes each of the multiple blocks (step Sa_3a). Specifically, the encoding device 100 processes steps Sa_3 to Sa_11 as shown in Figure 4B. Then, the encoding device 100 determines whether or not the encoding of the entire picture is complete (step Sa_4a), and if it determines that it is not complete (No. in step Sa_4a), it repeats the processing from step Sa_2a.

[0143] Next, the processing for each block will be explained (Sa_3 to Sa_11 in Figure 4B). First, the prediction unit generates a predicted image of the current block (step Sa_3). Specifically, the prediction unit generates a predicted image of the current block by referring to a reconstructed image generated by encoding and then decoding other blocks. The predicted image is also called a predicted signal, predicted block, or predicted sample.

[0144] The reconstructed image may be, for example, the image of the reference picture, or it may be the image of an encoded block (i.e., the other block mentioned above) within the current picture, which is the picture containing the current block. An encoded block within the current picture is, for example, an adjacent block to the current block.

[0145] The predicted image is, for example, an intra-prediction image (intra-prediction signal) generated based on intra-prediction, or an inter-prediction image (inter-prediction signal) generated based on inter-prediction.

[0146] Intra prediction is a method of predicting the current block by referring to blocks within the current picture, and is also called in-screen prediction. Specifically, the intra prediction unit 124 performs intra prediction by referring to the pixel values ​​(e.g., luminance values ​​or chrominance values, etc.) of blocks adjacent to the current block that are included in the current picture stored in the block memory 118. As a result, the intra prediction unit 124 generates an intra prediction image and outputs the intra prediction image to the prediction control unit 128.

[0147] Inter-prediction is a method of predicting the current block by referring to a reference picture different from the current picture, and is also called inter-screen prediction. Specifically, the inter-prediction unit 126 generates an inter-predicted image by referring to a reference picture stored in the frame memory 122 and performing inter-prediction of the current block, and outputs the inter-predicted image to the prediction control unit 128.

[0148] Note that prediction processing using the reconstructed image may not be performed on some blocks, such as the first block of the first image to be encoded. In that case, the original image will be output in the next subtraction process without performing subtraction on the original image. The interpretation unit 126 may also generate a predicted image by performing prediction processing without using a reference image.

[0149] Next, the subtraction unit 104 subtracts the predicted image (the predicted image input from the prediction control unit 128) from the original image in block units that are input from the division unit 102 and divided by the division unit 102. In other words, the subtraction unit 104 generates the difference between the current block and the predicted image as the predicted residual (step Sa_4).

[0150] The prediction residual is also called the prediction error. The original image is the input signal to the encoding device 100, and is, for example, a signal representing the image of each picture that makes up the video (e.g., a luminance (luma) signal and two chroma (chroma) signals). If the prediction process is skipped, the prediction residual becomes the value of the original image. For example, the prediction process is skipped for the first block in the processing order.

[0151] Next, the conversion unit 106 applies a conversion process to the predicted residual to generate conversion coefficients and outputs the conversion coefficients to the quantization unit 108 (step Sa_5).

[0152] The transformation process performed by the transformation unit 106 is, for example, an orthogonal transformation such as a discrete cosine transform (DCT) or discrete sine transform (DST) that transforms the predicted residual in the spatial domain into transformation coefficients in the frequency domain. However, other transformation processes such as weblet transforms, non-orthogonal transforms, or transformation processes expressed by matrix operations such as NSST (non-separable secondary transform) as defined in VVC may also be used.

[0153] The conversion unit 106 may perform a conversion process selected from among a plurality of candidate conversion processes. The conversion unit 106 may output conversion coefficients generated by sequentially applying a plurality of conversion processes to the predicted residual, or it may output the predicted residual as is without performing any conversion processes.

[0154] Depending on the processing performed by the conversion unit 106, information indicating whether or not a conversion process is applied to the predicted residuals, and / or information indicating the conversion type, may be encoded in the bitstream. This information is, for example, signaled at the CU level, but is not limited to the CU level and may be encoded at other levels (e.g., sequence level, picture level, slice level, brick level, or CTU level).

[0155] The quantization unit 108 quantizes the conversion coefficients output from the conversion unit 106 (step Sa_6). Specifically, the quantization unit 108 quantizes the conversion coefficients based on the quantization parameter (QP) corresponding to the conversion coefficients. The quantization unit 108 then outputs a plurality of quantized conversion coefficients (hereinafter referred to as quantization coefficients) of the current block to the entropy coding unit 110 and the inverse quantization unit 112. In other words, the quantization unit 108 generates quantization coefficients and outputs them to the entropy coding unit 110 and the inverse quantization unit 112.

[0156] The quantization parameter (QP) is a parameter that defines the quantization step (quantization width). For example, if the value of the quantization parameter increases, the quantization step also increases. In other words, if the value of the quantization parameter increases, the error in the quantization coefficient (quantization error) increases.

[0157] Furthermore, the quantization unit 108 may quantize the conversion coefficients based on a quantization matrix. In other words, quantization parameters (QP) and / or a quantization matrix may be used for quantization. The quantization parameters (QP) and the quantization matrix may be encoded, for example, at the sequence level, picture level, slice level, brick level, or CTU level.

[0158] The quantization unit 108 performs quantization processing in a predetermined scanning order. This predetermined scanning order is the order for quantization / inverse quantization of the conversion coefficients. For example, the predetermined scanning order is defined as ascending order of frequency (from low frequency to high frequency) or descending order (from high frequency to low frequency).

[0159] Next, the entropy coding unit 110 generates a stream (step Sa_7) by coding (specifically, entropy coding) the plurality of quantization coefficients and the prediction parameters related to the generation of the predicted image. For this entropy coding, for example, CABAC (Context-based Adaptive Binary Arithmetic Coding), which is used in VVC, may be used. Alternatively, a coding method that is a modified version of CABAC used in VVC may be used.

[0160] Furthermore, the processing of the entropy encoding unit 110 does not necessarily have to be performed after the quantization process; for example, it may be performed outside the loop of processing for each block.

[0161] Next, the inverse quantization unit 112 and the inverse transformation unit 114 restore the predicted residuals by performing inverse quantization and inverse transformation on a plurality of quantization coefficients (steps Sa_8 and Sa_9).

[0162] Next, the summing unit 116 reconstructs the current block by adding the predicted image to the recovered predicted residual (step Sa_10). This generates a reconstructed image. The reconstructed image is also called a reconstructed block, and the reconstructed image generated by the encoding device 100 is also called a local decoded block or local decoded image.

[0163] Next, the loop filter unit 120 performs filtering on the reconstructed image as needed (step Sa_11). Specifically, the loop filter unit 120 applies loop filtering to the reconstructed image output from the adder unit 116 and outputs the filtered reconstructed image to the frame memory 122.

[0164] Loop filters are filters used to reduce block noise that occurs at block boundaries, and include, for example, adaptive loop filters (ALF), deblocking filters (DF or DBF), and sample adaptive offset (SAO). Here, loop filters are described as in-loop filters used within the coding loop, but loop filters may also be out-loop filters used outside the coding loop.

[0165] In the example described above, the encoding device 100 selects one division pattern for a fixed-size block and encodes each block according to that division pattern. However, it may also encode each block according to multiple division patterns. In this case, the encoding device 100 may evaluate the cost of each of the multiple division patterns and, for example, select the stream obtained by encoding according to the division pattern with the smallest cost as the final output stream.

[0166] Furthermore, the processes in steps Sa_1a to Sa_4a and Sa_3 to Sa_11 may be performed sequentially by the encoding device 100, some of these processes may be performed in parallel, and the order may be changed.

[0167] The encoding process performed by such an encoding device 100 is a hybrid encoding using predictive encoding and transformative encoding. Furthermore, predictive encoding is performed by an encoding loop consisting of a subtraction unit 104, a transformer unit 106, a quantization unit 108, an inverse quantization unit 112, an inverse transformer unit 114, an addition unit 116, a loop filter unit 120, a block memory 118, a frame memory 122, an intra-prediction unit 124, an inter-prediction unit 126, and a prediction control unit 128. In other words, the prediction processing unit consisting of the intra-prediction unit 124 and the inter-prediction unit 126 constitutes a part of the encoding loop.

[0168] [Decoding Device] Next, a decoding device 200 capable of decoding the stream output from the encoding device 100 will be described.

[0169] [Implementation Example of Decryption Device] Figure 5 is a block diagram showing an implementation example of the decoding device 200. The decoding device 200 includes a processor b1 and memory b2. For example, the multiple components of the decoding device 200 shown in Figure 6, which will be described later, are implemented by the processor b1 and memory b2 shown in Figure 5.

[0170] Processor b1 is a circuit that performs information processing and is a circuit that can access memory b2. For example, processor b1 is a dedicated or general-purpose electronic circuit for decoding streams. Processor b1 may be a processor such as a CPU. Alternatively, processor b1 may be a collection of multiple electronic circuits. Furthermore, for example, processor b1 may play the role of multiple components of the decoding device 200 shown in Figure 6, etc., described later, excluding the component for storing information.

[0171] Memory b2 is a dedicated or general-purpose memory in which information for the processor b1 to decode the stream is stored. Memory b2 may be an electronic circuit and may be connected to the processor b1. Memory b2 may also be included in the processor b1. Memory b2 may also be a collection of multiple electronic circuits. Memory b2 may also be a magnetic disk or an optical disk, or may be described as storage or a recording medium. Memory b2 may also be a non-volatile memory or a volatile memory.

[0172] For example, memory b2 may store an image or a stream. Alternatively, memory b2 may store a program for processor b1 to decode the stream.

[0173] Furthermore, for example, memory b2 may play the role of an information storage component among the multiple components of the decoding device 200 shown in Figure 6 below. Specifically, memory b2 may play the role of a block memory 210 and a frame memory 214 shown in Figure 6 below. More specifically, memory b2 may store a reconstructed image (specifically, a reconstructed block or a reconstructed picture, etc.).

[0174] The generated parameters disclosed in the embodiments may be stored in memory b2 and referenced in the processing of processor b1. The parameters may be generated by a decoding process or not.

[0175] Furthermore, the decoding device 200 does not need to implement all of the components shown in Figure 6, etc., described later, nor does it need to perform all of the processes described above. Some of the components shown in Figure 6, etc., described later, may be included in other devices, and some of the processes described above may be performed by other devices.

[0176] The following describes the decoding device 200 in general, followed by a description of its components. Note that detailed explanations may be omitted for components of the decoding device 200 that perform the same processing as those in the encoding device 100.

[0177] [Example of Decoding Device Configuration] Figure 6 is a block diagram showing an example of the configuration of a decoding device 200 according to an embodiment. The decoding device 200 is a device that decodes a stream, which is an encoded image, in block units.

[0178] As shown in Figure 6, the decoding device 200 includes an entropy decoding unit 202, an inverse quantization unit 204, an inverse transformation unit 206, an addition unit 208, a block memory 210, a loop filter unit 212, a frame memory 214, a prediction unit, a prediction control unit 220, a prediction parameter generation unit 222, and a division determination unit 224. The prediction unit includes an intra-prediction unit 216 and an inter-prediction unit 218.

[0179] These components are implemented, for example, by the processor b1 and memory b2 of the decoding device 200 shown in Figure 5 above.

[0180] Furthermore, components included in the decoding device 200 may perform the same processing as components included in the encoding device 100, and their explanation may be omitted. For example, the inverse quantization unit 204, inverse transform unit 206, adder unit 208, block memory 210, frame memory 214, intra prediction unit 216, inter prediction unit 218, prediction control unit 220, and loop filter unit 212 perform the same processing as the inverse quantization unit 112, inverse transform unit 114, adder unit 116, block memory 118, frame memory 122, intra prediction unit 124, inter prediction unit 126, prediction control unit 128, and loop filter unit 120, respectively.

[0181] [Overall Decryption Process Flow] Figure 7A is a flowchart showing an example of the overall decryption process by the decryption device 200. Figure 7B is a flowchart showing an example of the block-by-block processing by the decryption device 200.

[0182] First, the entropy decoding unit 202 of the decoding device 200 acquires the stream output from the encoding device 100. Then, the entropy decoding unit 202 decodes (specifically, entropy decodes) the encoded quantization coefficients and prediction parameters of the current block contained in the bitstream (step Sp_1a).

[0183] The division determination unit 224 determines the division pattern for each of the multiple fixed-size blocks (128 x 128 pixels) contained in the picture based on the parameters input from the entropy decoding unit 202 (step Sp_2a). This division pattern is the division pattern selected by the encoding device 100. The decoding device 200 then performs block-specific processing for each of the multiple blocks. Specifically, it performs the processing in steps Sp_1 to Sp_5 for each of the multiple blocks (step Sp_3a).

[0184] The decoding device 200 then determines whether or not the decoding of the entire picture is complete (step Sp_4a). If it determines that it is not complete (No. in step Sp_4a), it repeats the process from step Sp_2a.

[0185] Next, we will explain the processing for each block (Sp_1 to Sp_5 in Figure 7B).

[0186] First, the inverse quantization unit 204 inversely quantizes the quantization coefficients of the current block, which are input from the entropy decoding unit 202. Specifically, for each of the quantization coefficients of the current block, the inverse quantization unit 204 inversely quantizes the quantization coefficient based on the quantization parameter corresponding to that quantization coefficient (step Sp_1).

[0187] For example, the inverse quantization unit 204 may acquire a parameter indicating whether or not to perform inverse quantization, and quantization parameters (such as difference quantization parameters and QP index). The inverse quantization unit 204 may then decide whether or not to perform inverse quantization based on the acquired parameters, and may perform the inverse quantization process if it is decided to perform inverse quantization.

[0188] The inverse quantization unit 204 then outputs the inversely quantized quantization coefficients (i.e., transformation coefficients) of the current block to the inverse transformation unit 206.

[0189] Next, the inverse transform unit 206 restores the predicted residual by inversely transforming the transformation coefficients, which are input from the inverse quantization unit 204 (step Sp_2). Here, inverse transform refers to the reverse transformation process of the transformation process described in the encoding device 100. In other words, the inverse transform unit 206 can also be said to be performing a transformation process.

[0190] Next, the prediction unit, consisting of the intra-prediction unit 216, the inter-prediction unit 218, and the prediction control unit 220, generates a predicted image of the current block (step Sp_3). Here, the intra-prediction unit 216 and the inter-prediction unit 218 may perform the same processing as described above on the encoding device 100. Note that the predicted image needs to be generated before the addition process because it is used in the subsequent addition process, but it does not necessarily have to be done after the prediction residual restoration process. For example, the prediction image generation process may be performed in parallel with the prediction residual restoration process.

[0191] Next, the summing unit 208 reconstructs the current block into a reconstructed image (also called a decoded image block) by adding the predicted image to the predicted residual (step Sp_4). In other words, the summing unit 208 generates a reconstructed image of the current block by adding the predicted image to the predicted residual. The summing unit 208 then outputs the reconstructed image of the current block to the block memory 210 and the loop filter unit 212.

[0192] The block memory 210 is a block referenced in intra prediction and is a storage unit for storing blocks within the current picture. Specifically, the block memory 210 stores the reconstructed image output from the adder 208.

[0193] The loop filter unit 212 performs filtering on the reconstructed image (step Sp_5). The filtered reconstructed image is output to the frame memory 214 and the display device, etc.

[0194] In Figures 6 and 7B, the loop filter unit 212 processes the reconstructed image within the loop; that is, it outputs the filtered reconstructed image to the frame memory 214. Some or all of the processing in the loop filter unit 212 may be performed outside the loop. That is, filtering may be performed before outputting to a display device or the like.

[0195] Furthermore, the processes in steps Sp_1a to Sp_4a and Sp_1 to Sp_5 may be performed sequentially by the decoding device 200, some of these processes may be performed in parallel, or the order of these processes may be changed.

[0196] [Another Example of System Configuration] Figure 8 is a schematic diagram showing another example of the configuration of the transmission system according to this embodiment. The transmission system Trs is a system that transmits generated streams and receives transmitted streams. Such a transmission system Trs includes, for example, a transmitting device 2000, a network Nw, and a receiving device 3000, as shown in Figure 8. Note that the transmission system Trs does not need to have all of these components and may consist of only some of the devices.

[0197] The network Nw may be the Internet, a wide-area network (WAN), a local area network (LAN), or a combination thereof. The network Nw is not necessarily limited to a bidirectional communication network; it may also be a unidirectional communication network transmitting broadcast waves such as terrestrial digital broadcasting or satellite broadcasting. Furthermore, the network Nw may be replaced by a storage medium that records streams, such as a DVD (Digital Versatile Disc) or a BD (Blu-Ray Disc®).

[0198] The transmitting device 2000 transmits the stream over the network Nw. The transmitting device 2000 may also take the encoded stream as input and output the acquired stream. Alternatively, the transmitting device 2000 may have the encoding processing configuration disclosed as the encoding device 100, take the original image before encoding as input, encode the acquired image to generate a stream, and transmit it.

[0199] When the transmitting device 2000 generates a stream, the original input image before encoding is also called the original image, original signal, or original sample. The image may be a moving image or a still image. The stream includes, for example, an encoded image and control information for decoding that encoded image. This encoding compresses the image.

[0200] The transmitting device 2000 can reduce the load on stream transmission by reducing the amount of data in the stream, which includes the encoded image.

[0201] The receiving device 3000 receives an encoded stream from the network Nw. The receiving device 3000 may store the received stream in memory, transfer the received stream to another device, or perform any processing on the received stream. For example, the receiving device 3000 may have a decoding process configuration disclosed as the decoding device 200 and decode the received stream.

[0202] The receiving device 3000 can reduce the delay of the stream by reducing the amount of data in the received stream.

[0203] [Transmitting Device] Figure 9 is a schematic diagram showing an example configuration of the transmitting device 2000 according to this embodiment. The transmitting device 2000 is a device that transmits a stream.

[0204] [Implementation Example of Transmitting Device] Next, a transmitting device 2000 according to the embodiment will be described. Figure 10 is a block diagram showing an implementation example of the transmitting device 2000. The transmitting device 2000 includes a processor a1 and a transmitting unit a3 that outputs a stream. The transmitting device 2000 may also further include a memory a2 as shown in Figure 2, or a receiving unit that acquires a video or stream.

[0205] Processor a1 is a circuit that performs information processing. Processor a1 may also be a circuit that can access memory a2. For example, processor a1 is a dedicated or general-purpose electronic circuit that transmits a stream. Processor a1 may also be a processor such as a CPU. Alternatively, processor a1 may be a collection of multiple electronic circuits.

[0206] Memory a2 is a dedicated or general-purpose memory in which information for the processor a1 to transmit a stream is stored. Memory a2 may be an electronic circuit and may be connected to the processor a1. Memory a2 may also be included in the processor a1. Memory a2 may also be a collection of multiple electronic circuits. Memory a2 may also be a magnetic disk or an optical disk, or may be described as storage or a recording medium. Memory a2 may also be a non-volatile memory or a volatile memory.

[0207] For example, memory a2 may store the input image or the generated stream. Memory a2 may also store a program for processor a1 to send the stream.

[0208] The stream transmitted by the transmitting device 2000 may be the stream (also called a bitstream) described in this disclosure.

[0209] Furthermore, in the transmitting device 2000, the processor a1 may perform some or all of the roles of the transmitting unit a3. Alternatively, the transmitting device 2000 may not have a transmitting unit a3, and the processor a1 may output the stream.

[0210] [Receiving device] Figure 11 is a schematic diagram showing an example of the configuration of a receiving device 3000 according to this embodiment. The receiving device 3000 is a device that receives a stream.

[0211] [Implementation Example of Receiving Device] Next, a receiving device 3000 according to the embodiment will be described. Figure 12 is a block diagram showing an implementation example of the receiving device 3000. The receiving device 3000 includes a processor b1 and a receiving unit b4 that receives a stream. The receiving device 3000 may also further include a memory b2 as shown in Figure 5, or a transmitting unit that transmits a video or stream.

[0212] Processor b1 is a circuit that performs information processing. Processor b1 may also be a circuit that can access memory b2. For example, processor b1 is a dedicated or general-purpose electronic circuit that receives a stream. Processor b1 may also be a processor such as a CPU. Alternatively, processor b1 may be a collection of multiple electronic circuits.

[0213] Memory b2 is a dedicated or general-purpose memory that stores information for processor b1 to receive streams. Memory b2 may be an electronic circuit and may be connected to processor b1. Memory b2 may also be included in processor b1. Memory b2 may also be a collection of multiple electronic circuits. Memory b2 may also be a magnetic disk or an optical disk, or may be described as storage or a recording medium. Memory b2 may also be a non-volatile memory or a volatile memory.

[0214] For example, memory b2 may store the input stream or the decoded image. Alternatively, memory b2 may store a program for processor b1 to receive the stream.

[0215] The stream received by the receiving device 3000 may be the stream (also called a bitstream) described in this disclosure.

[0216] Furthermore, in the receiving device 3000, the processor b1 may perform some or all of the functions of the receiving unit b4. Alternatively, the receiving device 3000 may not have a receiving unit b4, and the processor b1 may receive the stream.

[0217] [Bitstream Generation Device] Figure 13 is a schematic diagram showing an example of the configuration of a bitstream generation device according to this embodiment. The bitstream generation device 1000 is a device that generates a bitstream and transmits the generated stream.

[0218] An image is input to the bitstream generator 1000. The bitstream generator 1000 generates a stream by encoding the input image and outputs the stream. The stream includes, for example, the encoded image and control information for decoding the encoded image. The image is compressed by this encoding process.

[0219] The original image input to the bitstream generator 1000 before encoding is also called the original image, original signal, or original sample. The image may be a moving image or a still image.

[0220] Furthermore, an image is a broader concept than sequences, pictures, and blocks, and is not limited to spatial or temporal domains unless otherwise specified. An image consists of a sequence of pixels or pixel values, and the signal or pixel values ​​representing that image are also called samples. A stream may also be called a bitstream, encoded bitstream, compressed bitstream, or encoded signal.

[0221] Furthermore, the bitstream generation device may also be called the encoding device, image encoding device, or video encoding device, and the method for generating a bitstream by the bitstream generation device may be called the encoding method, image encoding method, or video encoding method.

[0222] [Implementation Example of Bitstream Generation Device] Next, a bitstream generation device 1000 according to an embodiment will be described. Figure 14 is a block diagram showing an implementation example of the bitstream generation device 1000. The bitstream generation device 1000 includes a processor a1 and a memory a2. The bitstream generation device 1000 may also include an input unit for inputting moving images, and an output unit for outputting the generated bitstream.

[0223] Processor a1 is a circuit that performs information processing and is a circuit that can access memory a2. For example, processor a1 is a dedicated or general-purpose electronic circuit that generates a bitstream. Processor a1 may be a processor such as a CPU. Alternatively, processor a1 may be a collection of multiple electronic circuits.

[0224] Memory a2 is a dedicated or general-purpose memory in which information for processor a1 to generate a bitstream is stored. Memory a2 may be an electronic circuit and may be connected to processor a1. Memory a2 may also be included in processor a1. Memory a2 may also be a collection of multiple electronic circuits. Memory a2 may also be a magnetic disk or an optical disk, or may be described as storage or a recording medium. Memory a2 may also be a non-volatile memory or a volatile memory.

[0225] For example, memory a2 may store the input image or the generated stream. Memory a2 may also store a program for processor a1 to generate the bitstream.

[0226] The bitstream generator 1000 may have the same configuration as the encoding device 100 in this disclosure. Specifically, the bitstream generator 1000 may implement the multiple components shown in Figure 3. However, not all of the multiple components shown in Figure 3 are to be implemented, nor are all of the multiple processes to be performed. Some of the multiple components shown in Figure 3 may be included in other devices, and some of the multiple processes described above may be performed by other devices.

[0227] Furthermore, for example, processor a1 may perform the role of multiple components of the encoding device 100 shown in Figure 3, excluding the component for storing information. Also, for example, memory a2 may perform the role of the component for storing information among the multiple components of the encoding device 100 shown in Figure 3.

[0228] Specifically, memory a2 may function as the block memory 118 and frame memory 122 shown in Figure 3. More specifically, memory a2 may store reconstructed images (specifically, reconstructed blocks or reconstructed pictures, etc.).

[0229] Furthermore, during operation, processor a1 uses memory a2 to generate a bitstream that includes parameters for causing the decoding device 200 to execute processing, and / or parameters for switching the processing of the decoding device 200 or other specific processing. For example, processor a1 generates these parameters, includes the generated parameters in the bitstream, and generates the bitstream.

[0230] Here, the "parameters" to be executed by the decoding device 200 may be parameters for executing any decoding process exemplified in this disclosure as a process to be executed. For example, the "parameters" to be executed by the decoding device 200 may be any parameter in the syntax described in this disclosure. Furthermore, the "process of the decoding device 200" or "other specific process" that can be switched may be any decoding process exemplified in this disclosure as a process performed by obtaining the syntax.

[0231] Furthermore, the generated parameters disclosed in the embodiments may be stored in memory a2 and referenced in the processing of processor a1. The generated parameters may be stored in memory a2 and may or may not be included in the bitstream. Whether or not to include them in the bitstream is appropriately determined based on the relationship between the increase in the amount of code due to encoding the parameters and the reduction in the processing load of the decoding device 200 due to receiving the parameters.

[0232] [Storage Medium] Figure 15A is a schematic diagram showing an example of the configuration of a storage medium and a computer according to this embodiment. The storage medium 4000 is a medium for storing bitstreams. The storage medium 4000 is connected to a processor b1 included in the computer 5000 and outputs a bitstream, which is an executable instruction for the computer 5000, to the computer 5000. For example, when the computer 5000 reads the bitstream from the storage medium 4000, the storage medium 4000 outputs the bitstream to the computer 5000.

[0233] The encoded stream stored in the storage medium 4000 is an instruction that the computer 5000 can execute. The processor b1 in the computer 5000 generates a reconstructed image by executing a bitstream decoding process based on the acquired bitstream. In this way, the computer 5000, having acquired a stream from the storage medium 4000, can decode the bitstream based on the parameters and other information contained in the encoded stream.

[0234] Furthermore, the storage medium 4000 may be the memory b2 described herein. For example, the memory b2 may store a program for the processor b1 to generate a bitstream. The storage medium 4000 may be a non-transitory computer-readable medium. The storage medium 4000 is also referred to as a recording medium.

[0235] The storage medium 4000 may include an input / output unit for inputting and outputting bitstreams. The storage medium 4000 may also include an input unit for receiving bitstreams and an output unit for outputting bitstreams.

[0236] Furthermore, the computer 5000 may also be the decoding device 200. In other words, the computer 5000 may be read as the decoding device 200.

[0237] Figure 15B is a schematic diagram showing an example of the configuration of a computer according to this embodiment. The schematic diagram shown in Figure 15B differs from the example in Figure 15A in that the storage medium 4000 is included in the computer 5000. The storage medium 4000 and the processor b1 may be the same as those described in Figure 15A.

[0238] Here, the bitstream includes parameters that indicate instructions for the computer 5000 to execute. The "parameters" may include parameters that cause the computer 5000 to perform processing, and / or parameters that switch the processing or other specific processing of the computer 5000.

[0239] The “parameter” may be any parameter that performs any decryption process exemplified in this disclosure as an example of a process to be performed. For example, it may be any parameter in the syntax described in this disclosure. The process to be performed and the process to be switched may be any decryption process exemplified in this disclosure as a process performed by obtaining the syntax.

[0240] [Examples of Parameters] In the above, for the bitstream generator 1000, "parameters that cause the decoding device 200 to execute processing, and / or parameters that switch the processing of the decoding device 200 or other specific processing" are described. Also, for the storage medium 4000, "parameters that cause the computer 5000 to execute processing, and / or parameters that switch the processing of the computer 5000 or other specific processing" are described. These parameters may be, for example, the following parameters.

[0241] The "parameters" may include, for example, parameters indicating the method of dividing the block. The computer 5000 may divide the block based on the parameters indicating the method of dividing the block and perform any of the processes illustrated in this disclosure on the divided blocks.

[0242] The "parameters" may include, for example, parameters indicating the prediction mode to be applied. The computer 5000 may determine the prediction mode to be applied based on the parameters indicating the prediction mode to be applied, and may perform any prediction process exemplified in this disclosure corresponding to the determined prediction mode.

[0243] The "parameters" may include, for example, a parameter indicating whether or not process y can be performed within range x. The computer 5000 may determine whether or not process y can be performed on a target block based on the parameter indicating whether or not process y can be performed within range x.

[0244] A flag (parameter) indicating whether or not process y can be performed within range x is shown, for example, as xxx_yyy_enabled_flag / xxx_yyy_disabled_flag. Here, yyy may represent process y, which is indicated by the flag as either or not. Process y may also be any process exemplified in this disclosure.

[0245] xxx may represent the level to which parameters are assigned. For example, xxx may correspond to sps, pps, ph, sh, cu (Coding Unit), or block, and this level may indicate the range x. More specifically, if it is sps, the range x is a sequence; if it is pps, the range x is a picture; if it is ph, the range x is a picture; and if it is sh, the range x is a slice. Note that the levels to which parameters are assigned are not limited to these.

[0246] If the parameter indicates that process y is not feasible, then process y will not be performed in the blocks included in range x. If the parameter indicates that process y is feasible, then process y is feasible in the blocks included in range x. In other words, if the parameter indicates that process y is feasible, then process y may or may not be performed in the blocks included in range x.

[0247] The flag indicating whether or not process y can be performed may be defined for multiple headers. For example, process y may be permitted for a sequence, but not for a particular picture within that sequence.

[0248] In the above case, the sps_yyy_enabled_flag (or sps_yyy_disabled_flag) for the sequence may have a value indicating that process y can be performed. Furthermore, the ph_yyy_enabled_flag (or ph_yyy_disabled_flag) for a certain picture included in the sequence may have a value indicating that process y cannot be performed.

[0249] As described above, the levels correspond to sps, pps, ph, sh, cu (Coding Unit), or blocks, etc. An example definition for each level is shown below. Note that the definitions for each level can be changed.

[0250] The description of `sps` (Sequence Parameter Set) corresponds to a syntax structure containing syntax elements that apply to zero or more CLVS (Coded Layer Video Sequences). Here, the number of zero or more CLVSs is determined by the content of the syntax elements contained in the PPS referenced by the syntax elements contained in each picture header. In other words, `sps` corresponds to the sequence level.

[0251] The description of pps (Picture Parameter Set) corresponds to a syntax structure containing syntax elements that apply to zero or more encoded pictures. Here, zero or more encoded pictures are determined by the syntax elements contained in each picture header. In other words, pps corresponds to the picture level.

[0252] ph (PH: Picture Header) corresponds to a syntax structure containing syntax elements that apply to all slices of an encoded picture. In other words, ph corresponds to the picture level.

[0253] The entry for sh (SH: Slice Header) corresponds to the portion of the encoded slice that contains all tiles or data elements related to CTU rows within a tile. In other words, sh corresponds to the slice level.

[0254] The notation `cu` (Coding Unit) corresponds to the coding block of the sample and the syntax structure used to encode that sample. In other words, `cu` corresponds to the coding unit level or the block level.

[0255] Here, the above coding blocks correspond to (i) the coding block for the luminance sample and the two corresponding coding blocks for the chrominance sample of a picture having three sample sequences in single-tree mode, (ii) the coding block for the luminance sample of a picture having three sample sequences in dual-tree mode, (iii) the two coding blocks for the chrominance sample of a picture having three sample sequences in dual-tree mode, or (iv) the coding block for the sample of a monochrome picture.

[0256] Although a flag indicating whether or not process y can be performed has been described above, a flag indicating whether or not to perform process y (xxx_yyy_flag) may be used in a similar manner. Furthermore, the flag indicating whether or not process y can be performed and the flag indicating whether or not to perform process y may be used in combination.

[0257] [Data Structure] Figure 16 shows an example of the hierarchical structure of data in a stream. A stream includes, for example, a video sequence. This video sequence includes, for example, a VPS (Video Parameter Set), an SPS (Sequence Parameter Set), a PPS (Picture Parameter Set), an SEI (Supplemental Enhancement Information), and multiple pictures, as shown in Figure 16(a).

[0258] VPS includes encoding parameters common to multiple layers in a video composed of multiple layers, and encoding parameters related to the multiple layers included in the video, or to individual layers.

[0259] The SPS includes parameters used for the sequence, i.e., encoding parameters that the decoding device 200 refers to in order to decode the sequence. For example, the encoding parameters may indicate the width or height of the picture. Multiple SPSs may exist.

[0260] The PPS includes parameters used for the picture, i.e., encoding parameters that the decoding device 200 references to decode each picture in the sequence. For example, the encoding parameters may include a reference value for the quantization width used to decode the picture and a flag indicating the application of weighted prediction. There may be multiple PPSs. Also, the SPS and PPS are sometimes simply referred to as parameter sets.

[0261] The picture may include a picture header and one or more slices, as shown in Figure 16(b). The picture header includes encoding parameters that the decoding device 200 refers to in order to decode the one or more slices.

[0262] A slice includes a slice header and one or more Coding Tree Units (CTUs), as shown in Figure 16(c). The slice header includes coding parameters that the decoding device 200 references to decode the one or more CTUs.

[0263] A picture may not contain slices, but instead contain tile groups. In this case, a tile group may contain one or more tiles, and each tile may contain one or more CTUs. Furthermore, a tile may contain one or more slices, and a slice may contain one or more tiles.

[0264] A CTU is also called a superblock or basic partitioning unit. Such a CTU includes a CTU header and one or more CUs (Coding Units), as shown in Figure 16(d). The CTU header contains coding parameters that the decoding device 200 refers to in order to decode one or more CUs.

[0265] A CU may be divided into multiple smaller CUs. Furthermore, as shown in Figure 16(e), a CU includes a CU header, prediction information, and residual coefficient information. The prediction information is information for predicting the CU, and the residual coefficient information is information indicating the predicted residual, which will be described later.

[0266] Note that a CU is basically the same as a PU (Prediction Unit) and a TU (Transform Unit), but in SBT, for example, as described later, it may include multiple TUs smaller than the CU. Also, a CU may be processed for each VPDU (Virtual Pipeline Decoding Unit) that constitutes that CU. A VPDU is a fixed unit that can be processed in one stage when performing pipeline processing in hardware, for example.

[0267] Note that a stream does not necessarily have to have some of the hierarchical levels shown in Figure 16. Also, the order of these hierarchical levels may be changed, and any hierarchical level may be replaced by another hierarchical level.

[0268] Furthermore, the picture that is currently being processed by a device such as the encoding device 100 or the decoding device 200 is called the current picture. If the processing is encoding, the current picture is synonymous with the picture to be encoded; if the processing is decoding, the current picture is synonymous with the picture to be decoded.

[0269] Furthermore, a block, such as CU or CU, that is currently being processed by a device such as an encoding device 100 or a decoding device 200 is called the current block. If the processing is encoding, the current block is synonymous with the block to be encoded; if the processing is decoding, the current block is synonymous with the block to be decoded.

[0270] [Picture Composition: Slices / Tiles] To decode pictures in parallel, pictures may be composed of slices or tiles.

[0271] A slice is the basic encoding unit that makes up a picture. A picture is composed of, for example, one or more slices. A slice consists of one or more consecutive CTUs.

[0272] Figure 17 shows an example of a slice configuration. For example, a picture contains 11 x 8 CTUs and is divided into four slices (slices 1-4). Slice 1 consists of, for example, 16 CTUs, slice 2 consists of, for example, 21 CTUs, slice 3 consists of, for example, 29 CTUs, and slice 4 consists of, for example, 22 CTUs. Here, each CTU in the picture belongs to one of the slices.

[0273] The shape of a slice is a horizontal division of the picture. The boundaries of a slice do not have to be at the edges of the screen, but can be anywhere among the CTU boundaries within the screen. The processing order (encoding order or decoding order) of the CTUs within a slice is, for example, the raster scan order. A slice also includes a slice header and encoded data. The slice header may describe the characteristics of the slice, such as the CTU address of the beginning of the slice and the slice type.

[0274] A tile is a rectangular area that makes up a picture. Each tile may be assigned a number called a TileId in the order of the raster scan.

[0275] Figure 18 shows an example of a tile configuration. For example, a picture contains 11 x 8 CTUs and is divided into four rectangular tile regions (tiles 1-4). When tiles are used, the processing order of the CTUs is changed compared to when tiles are not used.

[0276] If tiles are not used, multiple CTUs within a picture are processed, for example, in raster scan order. If tiles are used, at least one CTU in each of the multiple tiles is processed, for example, in raster scan order. For example, as shown in Figure 18, the processing order of the multiple CTUs contained in tile 1 is from the left end of the first column of tile 1 to the right end of the first column of tile 1, and then from the left end of the second column of tile 1 to the right end of the second column of tile 1.

[0277] Note that one tile may contain one or more slices, and one slice may contain one or more tiles.

[0278] A picture may be composed of tilesets. A tileset may contain one or more tile groups, or one or more tiles. A picture may consist of only one of a tileset, a tile group, or a tile. For example, the order in which multiple tiles are scanned in raster order for each tileset is defined as the basic coding order of the tiles. Within each tileset, a collection of one or more tiles whose basic coding order is consecutive is defined as a tile group. Such a picture may be composed of the division unit 102 (see Figure 3) described later.

[0279] [Temporal Scalable Encoding] Figure 19 shows an example of a temporally scalable stream configuration.

[0280] The encoding device 100 may generate a temporally scalable stream by encoding multiple pictures in multiple layers, as shown in Figure 19. For example, the encoding device 100 achieves scalability by encoding each picture in its own layer, with enhancement layers existing above the base layer. This type of encoding of each picture is called temporally scalable encoding.

[0281] This allows the decoding device 200 to switch the frame rate of the image displayed by decoding the stream. In other words, the decoding device 200 decides which layers to decode based on internal factors such as its own performance and external factors such as the state of the communication bandwidth.

[0282] As a result, the decoding device 200 can freely switch between decoding the same content in low-frame-rate and high-frame-rate formats. For example, a user of the stream can watch part of the video using their smartphone while on the go, and then watch the rest of the video using an internet TV or other device after returning home.

[0283] Each of the aforementioned smartphones and devices incorporates a decoding device 200, which may or may not have the same performance. In this case, if the device decodes up to the upper layers of the stream, the user can view high-frame-rate video after returning home. This eliminates the need for the encoding device 100 to generate multiple streams with the same content but different frame rates, thereby reducing the processing load.

[0284] In temporally scalable coding, layers are sometimes referred to as temporal layers or temporal sublayers.

[0285] [Multilayer Encoding] Figure 20 shows an example of a stream configuration using multilayer encoding. Each of AU0 to AU3 corresponds to an AU (Access Unit). Each of Layer0 to Layer3 corresponds to a layer in multilayer encoding. Each PU (Picture Unit) corresponds to a picture. Each of POC_1 to POC_3 corresponds to a POC (Picture Of Count) and indicates the display order.

[0286] As shown in Figure 20, the encoding device 100 may generate a stream in which spatial resolution, image quality, or multiplexed content can be scalably changed by encoding multiple pictures into multiple layers. For example, the encoding device 100 achieves scalability by encoding pictures layer by layer, with enhancement layers existing above the base layer. This type of encoding of each picture is called multi-layer encoding.

[0287] This allows the decoding device 200 to switch the spatial resolution, image quality, or multiplexed content of the image displayed by decoding the stream. In other words, the decoding device 200 decides which layers to decode based on internal factors such as its own performance and external factors such as the state of the communication bandwidth.

[0288] As a result, the decoding device 200 can freely switch between decoding low-resolution and high-resolution content, low-quality and high-quality content, and basic and customized content for the same content. For example, a user of the stream can watch part of the video on their smartphone while on the go, and then watch the rest of the video on an internet TV or other device after returning home.

[0289] Furthermore, each of the aforementioned smartphones and devices incorporates a decoding device 200 with identical or different performance characteristics. In this case, if the device decodes up to the upper layers of the stream, the user can view high-definition video after returning home. This eliminates the need for the encoding device 100 to generate multiple streams with the same content but different image quality, thereby reducing the processing load.

[0290] [Metadata] Each layer of the stream may include metadata based on statistical information of the image. The decoding device 200 may generate high-resolution video by super-resolution the pictures of each layer based on the metadata. Super-resolution may be either an improvement in the signal-to-noise ratio (SN) at the same resolution, or an increase in resolution. The metadata may include information for identifying linear or nonlinear filter coefficients used in the super-resolution process, or information for identifying parameter values ​​in the filtering process, machine learning, or least-squares operation used in the super-resolution process.

[0291] Alternatively, the picture may be divided into tiles or the like, depending on the meaning of each object within it. In this case, the decoding device 200 may decode only a portion of the picture by selecting the tiles to be decoded.

[0292] Furthermore, object attributes (such as person, car, or ball) and their position within the picture (such as their coordinate position within the same picture) may be stored as metadata. In this case, the decoding device 200 can identify the position of a desired object based on the metadata and determine the tile containing that object. For example, the metadata is stored using a data storage structure different from pixel data, such as SEI in HEVC. This metadata may indicate, for example, the position, size, or color of the main object.

[0293] Furthermore, metadata may be stored in units consisting of multiple pictures, such as streams, sequences, or random access units. This allows the decoding device 200 to obtain information such as the time when a specific person appears in the video, and by using that time and the information in the picture units, it can identify the picture in which the object exists and the position of the object within that picture.

[0294] [Formatting of Encoded Data, etc.] The multiplexing, formatting, transmission method, and storage of encoded data will be explained below with reference to Figures 21A to 24.

[0295] Figure 21A shows the processing flow from encoding to formatting when formatting is performed. Figure 21B shows the processing flow from reverse formatting to decoding when formatting is performed.

[0296] As shown in Figure 21A, the encoding device encodes data such as video, audio, three-dimensional (3D) data (e.g., point cloud, mesh, 3D Gaussian splatting, NeRF (Neural Radiance Field)), neural network models, metadata (e.g., parameter sets, control information), and SEI using a predetermined encoding method. The encoded data is stored in the encoding unit, and the encoded data is output from the encoding device. Neural network models, metadata (e.g., parameter sets, control information), and SEI are examples of model information. Encoded data is also referred to as a bitstream or encoded bitstream. SEI is also referred to as an SEI message.

[0297] Examples of encoding units include the Video NAL (Network Abstraction Layer) unit in video encoding, the TLV unit in G-PCC (Geometry-based Point Cloud Compression), and the V3C (Video-based Volumetric Coding) unit for storing video-based Volumetric Media. Note that the encoding unit may also be other units or data units.

[0298] The formatting device generates formatted data by formatting the encoded data in a predetermined manner, and transmits the generated formatted data to the reverse formatting device.

[0299] As shown in Figure 21B, the deformatting device generates encoded data by deformatting the formatted data in a predetermined way (i.e., returning it to the data before formatting), and transmits the generated encoded data to the decoding device.

[0300] The decoding device decodes encoded data to obtain data such as video, audio, 3D data, neural network models, metadata, and SEI. The obtained data is then used, for example, in applications.

[0301] Here, format data refers to data in the form of, for example, a file format for storage or a packet format for transmission. The format data is output to the outside by input / output means (communication interface) or stored in internal memory or storage unit.

[0302] In formatting, one or more media such as video, audio, 3D data, subtitles, applications, or files, or reference time information, are stored (multiplexed). In addition, encoded data such as sensor information or camera information, or metadata related to applications, are stored in the formatting process. Examples of multiplexing methods or file formats include, but are not limited to, ISOBMFF (ISO Based Media File Format) or ISOBMFF-based transmission methods such as MPEG-DASH (Dynamic Adaptive Streaming over HTTP), MMT, AVI, MPEG-2 TS Systems, RTP, glTF, and USD.

[0303] The following primarily shows an example of storing encoded data in ISOBMFF, but the process is similar for other formats.

[0304] Next, we will explain how to store the encoding unit in ISOBMFF, referring to Figure 22. Figure 22 shows an example of storing a bitstream in a system format (in this case, ISOBMFF).

[0305] ISOBMFF is a file format standard defined in ISO / IEC 14496-12. It specifies a format that can store various media such as video, audio, and text in multiplexed format, and is a media-independent standard. Furthermore, the method of storing each type of media in ISOBMFF is specified separately. For example, the method of storing AVC (Advanced Video Coding) video or HEVC (High Efficiency Video Coding) video is specified in ISO / IEC 14496-15. Also, the method of storing 3D data is specified in ISO / IEC 23090-10 and ISO / IEC 23090-18.

[0306] Next, the basic structure of the ISOBMFF will be explained with reference to Figure 23. Figure 23 is a diagram showing the box structure of the ISOBMFF.

[0307] The basic unit of ISOBMFF is a box. A box consists of type, length, and data, and a file is a collection of boxes of various types.

[0308] ISOBMFF mainly consists of boxes such as a file box (ftyp) that indicates the file brand with 4CC, a movie box (moov) that stores metadata such as control information, and a media data box (mdat) that stores data.

[0309] The movie box displays information specific to each media type in the track box, including the media type (hdlr, stsd, tref) or the data storage location (stco).

[0310] The data box stores sample-level encoded data corresponding to each media track in moov.

[0311] The sample contains either an access unit in the encoded data, or a unit of encoded data for a frame (a frame at the same time). The sample may also contain subsamples, such as a portion of an access unit or a portion of a frame.

[0312] Next, an example of storing encoded data will be described. The metadata of encoded data described herein (e.g., parameter sets, control information, SEI, etc.), parts of the metadata, syntax structure, or header of the encoded data may be defined in a box structure. The boxes may be contained in either moov or mdat. If the encoded data is frame-specific metadata, a new metadata track may be defined and stored in sample entries (lists of metadata for each sample) within the metadata track.

[0313] Metadata may be read as additional information. Furthermore, the encoded data for video or 3D data described herein may be defined in a box structure. The encoded data may be stored in mdat as a sample or subsample. The header may be stored in moov and the payload in mdat. Also, the SEI described herein may be defined in a box structure. The SEI may be stored in moov or mdat. The encoded data may be stored as units, or parts of the units or with modified syntax structures.

[0314] Next, we will explain an example of using 3D metadata included in an image codec, referring to Figure 24. Figure 24 shows a configuration in which two-dimensional (2D) images and viewpoint information used for training to generate 3D information are transmitted using a video encoding scheme.

[0315] As shown in Figure 24, the terminal 6000 includes a 3D generative model decoding device 6010, a 3D generative model encoding device 6020, and a 2D image encoding device 6030.

[0316] The 3D model generation and decoding device 6010 decodes a 3D model from 2D moving images from multiple viewpoints and information from multiple viewpoints.

[0317] The 3D generative model encoding device 6020 transmits 3D data as a 3D data encoded bitstream. In other words, the 3D generative model encoding device 6020 encodes 3D data into a 3D data encoded bitstream. 3D data is an example of input data and image data. 3D data may be generated using a 3D generative model (for example, a model using AI or a neural network). The process of generating 3D data is an example of a conversion process.

[0318] The 2D image encoding device 6030 transmits the 2D image as a video encoding bitstream. In other words, the 2D image encoding device 6030 encodes the 2D image into a video encoding bitstream.

[0319] Furthermore, 2D images may be generated using AI or a neural network (for example, a model using AI or a neural network). The process for generating 2D images may include at least one of restoration, correction, enhancement, and transformation (restoration process, correction process, enhancement process, and transformation process).

[0320] In such a terminal 6000, the viewpoint information used in training (multiple viewpoint information), data indicating the learning contribution for each viewpoint used in training, or images of the viewpoints used in training (2D moving images of multiple viewpoints) may be included in the bitstream for 2D image encoding, rather than being included in the 3D data encoding bitstream.

[0321] For example, the 2D image encoding device 6030 may encode 2D video images from multiple viewpoints into a 2D video encoding bitstream and transmit it as a video encoding bitstream. It may also encode the multiple viewpoint information and data indicating the learning contribution for each viewpoint used in learning as video encoding metadata or SEI, and include them in the video encoding bitstream.

[0322] In this specification, "additional information" refers to information associated with any data. "Data" here includes not only encoded data, but also all types of digital data, such as unencoded data, formatted data, metadata, application data, user-generated content (UGC), artificial intelligence (AI) generated data, sensor data, log data, structured data, and unstructured data. AI-generated data includes data generated using AI (e.g., image data).

[0323] Furthermore, the additional information only needs to be directly or indirectly related to the data in question, and there are no particular limitations on how it is stored or how it is combined. For example, the following types of associations are possible.

[0324] (a) It is contained within the same structure as the data (for example, embedded in the bitstream as a NAL unit or SEI).

[0325] (b) Multiplexed within the same file or stream as the data in question (e.g., ISOBMFF moov / mdat box, glTF extensions, etc.).

[0326] (c) The data is transmitted and stored using a different structure, file, channel, or protocol layer, and linked by external references (e.g., JSON metafile, manifest, URL (Uniform Resource Locator) link, etc.).

[0327] (d) The data is stored after undergoing processes such as encryption, compression, splitting, tagging, and indexing.

[0328] (e) Dynamically generated and added through cloud processing, AI processing, sensor integration, etc.

[0329] (f) Stored in an extended field or reserved area included in the encoding parameter set (e.g., VPS, SPS, PPS, etc.).

[0330] (g) Stored as signaling information, metadata descriptors, or control information in the system layer (e.g., MPEG-2 Systems, ISOBMFF, MMT, MPEG-DASH, etc.) or application layer.

[0331] Furthermore, the additional information may be defined in any structure, such as a box structure, tag structure, extended header, chunk, marker, or external reference structure, and may be stored on a sample-by-sample, subsample-by-subsample, or media track-by-media track basis. The term "additional information" may also be called "metadata," "auxiliary information," "extended information," "attribute information," "control information," or "SEI," depending on the implementation, and additional information may be composed as part of metadata, or conversely, metadata may be composed as part of additional information. Regardless of the name or structure, the additional information only needs to contain information about the corresponding data.

[0332] Furthermore, additional information associated with one set of data may be reused or shared as additional information for other data. For example, one configuration is illustrated in which auxiliary information (e.g., input data, parameters, environmental conditions, contribution, identifiers, etc.) used in the generation, learning, transformation, or other processing of one set of data (the first set) is stored in association with another set of data (the second set). The first set and the second set may be of the same media type or of different media types.

[0333] Furthermore, the first data and the second data may belong to the same processing system or may span different processing systems. For example, an example configuration is given in which additional information about one media data (e.g., image, audio, 3D model, text, sensor data, etc.) is stored in the encoded bitstream, metadata area, or external reference structure of another media data. This makes it possible to share and reuse additional information among multiple data, thereby improving data consistency, processing efficiency, reusability, and traceability.

[0334] (Embodiment 1) Currently, UGC may be re-encoded and redistributed on the servers of each platform (for example, YouTube (registered trademark, hereinafter the same)) after posting. In this case, the codec of the downloaded bitstream (for example, HEVC or AV1) may be different from the codec used when the user uploaded it to the server.

[0335] In such cases, if the original content to be processed is of high quality (for example, content provided by professionals such as content production companies), having information that clearly identifies the quality difference between the high-quality content to be processed and the image quality after conversion, or the origin of any resulting noise, would be useful in troubleshooting, rights verification, and objectively proving the cause of low quality. Furthermore, real-time information sharing between encoder companies and content providers, analysis of the impact of uplink / downlink during live streaming, and detection of scene changes during re-encoding may be required. The content to be processed is the content that will undergo transcoding. In the following, the content to be processed will also be simply referred to as "content."

[0336] Therefore, by adding information related to UGC, such as that described below, as metadata such as SEI to the bitstream, it may be possible to improve the quality of applications that utilize UGC. In the following, such metadata will also be referred to as UGC SEI. In this embodiment, UGC is used for explanation, but it is not limited to UGC, and any type of content may be applied. For example, the SEI and its usage method described in this embodiment may be applied to content produced by video production companies, game content produced by game companies, etc. Furthermore, the SEI and its usage method described in this embodiment may be applied not only to 2D content but also to 3D content. This makes it possible to improve the quality of services using various types of content, not just UGC. The information included in SEI will be described later.

[0337] The following describes content processing systems that can improve the quality of applications utilizing UGC by adding UGC-related information to the bitstream as metadata such as SEI, with reference to Figures 25 to 28. The following description shows a series of processes from UGC content generation to distribution and post-processing, and in particular, metadata management using SEI is explained.

[0338] [1-1. System Configuration] Figure 25 is a diagram showing the configuration of the content processing system according to this embodiment.

[0339] As shown in Figure 25, the content processing system comprises a content generation system 6110, a content conversion and distribution system 6120, a relay and reprocessing system 6130, and a user device 6140. In this configured content processing system, content (e.g., video) generated by the content generation system 6110 is uploaded to the content conversion and distribution system 6120 in a first encoding format, where it is transcoded into another encoding format (second encoding format). At this time, the SEIs generated in each process are managed integrally as a nesting structure. Finally, the relay and reprocessing system 6130 analyzes all the SEIs, generates new traceable SEIs, and transfers them to the next process, so that the content processing system has a mechanism that allows for the unified tracking and evaluation of the entire history from the generation of video to the final processing. Furthermore, the content processing system enables the integrated retention of video history information by having each system generate SEIs at different encoding stages and managing them by nesting them. Note that if the SEIs can be managed, it is not necessary to nest them. Note that nesting structures are just one example of data structures.

[0340] The content generation system 6110 generates content (e.g., video) and collects information about the time of shooting (shooting location, shooting time, camera parameters, etc.). The content generation system 6110 may generate video using a device for shooting video (e.g., an in-vehicle camera, a mobile device, a smartphone, etc.). The original content generated by the content generation system 6110 is also referred to as original content or original data. Furthermore, if the original content is an image, the content generated by the content generation system 6110 is also referred to as the original image or original image data.

[0341] The content generation system 6110 encodes the generated video in a first encoding format and uploads it to the next system, the content conversion and distribution system 6120. The content generation system 6110 also generates various information at the time of video generation (i.e., information related to data generation by its own device) and the encoded information in the first encoding format as SEI (first SEI) and adds it to the metadata. The first encoding format is not particularly limited, but HEVC is an example.

[0342] Figure 26 shows the structure of SEI generated by each system according to this embodiment.

[0343] As shown in Figure 26, the content generation system 6110 generates SEI6111 (the first SEI), which includes system1_SEI() containing information about the video generated in the content generation system 6110. This SEI6111 includes information about the video generation (e.g., shooting location, shooting time, camera parameters, etc.) and encoding information about the first encoding format. This information is extremely important as basic data when transmitted to a subsequent system (or device).

[0344] Referring again to Figure 25, the content conversion and distribution system 6120 receives the video uploaded from the content generation system 6110 and transcodes it into a second encoding format. The second encoding format is different from the first encoding format. The second encoding format is not particularly limited, but AV1 is an example.

[0345] When transcoding to a second encoding format, the content conversion and distribution system 6120 adds information from the video generation process or encoding information related to the first encoding format (e.g., a first SEI) to the metadata. The content conversion and distribution system 6120 generates detailed information regarding transcoding or distribution (e.g., changed encoding parameters, distribution conditions, etc.) as a new SEI (a second SEI), and stores the SEI generated by the content generation system 6110 (the first SEI, which in this case is a past SEI) within a nesting structure.

[0346] As shown in Figure 26, when the content conversion and distribution system 6120 transcodes the video uploaded from the content generation system 6110 into a second encoding format, it generates SEI6121 (the second SEI), which includes system2_SEI() containing detailed information about the transcoding or distribution. SEI6121 is generated by nesting system1_SEI(). This allows for systematic management of historical information from video generation to conversion and distribution, and facilitates smooth information transmission to subsequent systems (or devices).

[0347] Referring again to Figure 25, the relay / reprocessing system 6130 receives video images encoded in the second encoding format from the content conversion / distribution system 6120, and analyzes and aggregates all SEI 6121 (including nesting structures) generated by the content generation system 6110 and the content conversion / distribution system 6120.

[0348] The relay / reprocessing system 6130 includes a relay device within a video distribution network (for example, a device that transmits video) or a reprocessing device used in the post-processing of a broadcasting station. Based on the received SEI including a nesting structure (nested SEI), the relay / reprocessing system 6130 generates a new SEI for tracing (a third SEI) as needed and transfers (transmits) it to the next process (in this case, a user device 6140) or another system. The nesting SEI is an SE that nests and retains past SEIs during transcoding, enabling generation management. This makes it possible to track which SEI was added in which generation.

[0349] As shown in Figure 26, when the relay / reprocessing system 6130 transcodes the video distributed from the content conversion / distribution system 6120 into a third encoding format, it generates SEI6131 (the third SEI), which includes system3_SEI(), a new SEI for tracing. SEI6131 is generated by nesting system1_SEI() and system2_SEI(). This allows the processing, encoding, and distribution history of the video to be tracked, so that a device receiving the third SEI can evaluate the quality status of the original content or the impact of transcoding, and perform further processing and analysis.

[0350] The user device 6140 receives video (encoded content) encoded in a third encoding format from the relay / reprocessing system 6130, decodes it, and plays it back. The user device 6140 may also have a function to analyze a third SEI as needed.

[0351] The configuration of the content processing system is not limited to the configuration shown in Figure 25. For example, it may not include a relay / reprocessing system 6130, and the system may be configured to directly deliver encoded content from the content conversion / distribution system 6120 to the user device 6140. Also, SEI may not be added to at least one of the systems.

[0352] Furthermore, the SEI structure described above plays a crucial role, particularly in managing transcoding history, as it ensures quality assurance of UGC content and transparency of information. The SEI generated by each system is nested in the next process and maintained as integrated metadata, thus maintaining information consistency throughout the system and making it easier to track the history of video and images.

[0353] Furthermore, when using a nesting structure for SEI as shown in Figure 26, the number of nesting levels may be limited by the standard. For example, the number of nesting levels may be specified in the standard's profile / level / tier. For instance, if the number of nesting levels is limited to one, the above system2_SEI() will not violate the standard, but if the bitstream includes system3_SEI(), it may be judged as a violation of the standard (standard conformance violation). This prevents an increase in the amount of code in the SEI.

[0354] Furthermore, information such as the maximum number of nesting operations allowed may be added to the bitstream. This allows the decoder 200 to determine compliance with the standard if the number of nesting operations of the SEI is less than the number of operations added to the bitstream, and to determine a violation of the standard otherwise.

[0355] Furthermore, the metadata may have an integrated metadata structure through SEI nesting. The integrated metadata structure includes a mechanism for encompassing multiple payloads within an SEI. In the integrated metadata structure, existing information such as Source Picture Timing SEI and Camera Parameter SEI is nested as a single integrated SEI. This allows for centralized management of the original image capture information, encoded information, and transcoding history, ensuring information consistency at each stage. Additionally, since multiple related pieces of information are transmitted to the decoding device 200 as a single package, there are advantages such as easier parsing on the decoding device 200 side and faster and more efficient information matching or quality verification across the entire system.

[0356] Here, we will explain a detailed example of SEI (e.g., UGC SEI). SEI is an example of additional information.

[0357] SEI includes information about the input data before encoding. The information before encoding includes at least one of the following: information about the conversion process performed before encoding in the encoding device 100 (conversion process information), information about the original content (an example of information about the content to be processed), information used for encoding (if the previous generation device is a device that performs encoding or transcoding), and information obtained by analyzing the received data (information about processing in the previous generation device).

[0358] Information regarding the conversion process may include at least one of the following: the conditions used in the conversion process, information contained in the SEI message of the content to be processed, information regarding the transcoding process for the content to be processed, and information indicating the type of input data after the conversion process. The conversion process may also include encoding, and information regarding the conversion process may include the encoding format, encoding parameters, etc. The input data may be data that has undergone transcoding. The conversion process may also include the generation of input data using a generative model. For example, the conversion process may include processing using AI or a neural network. In this case, information regarding the conversion process may include, for example, information regarding the generation or conversion of image data corresponding to encoded image data using AI or a neural network. The information before encoding may include information regarding the content to be processed, prediction information for parameters related to the process of encoding the input data into a bitstream, or information that was attached to the input data (i.e., information attached by a previous generation device).

[0359] Information regarding the original content includes information from the time of content creation. For example, information regarding the original content may include at least one of the following: basic information of the original content (content before re-encoding), quality metrics, next-generation data identification information, information from the time of video generation (e.g., information from the time of shooting), access control information, and copy control information. Information regarding the original content may also include information about the generative model (e.g., machine learning model) that generated the content to be processed.

[0360] The basic information of the original content includes identification information of the original content, and includes, for example, at least one of the encoding format of the original content, encoding conditions of the original content, picture timing information, information corresponding to the QP (Quantization Parameter) value or bitrate, and encoding tool information.

[0361] The encoding format of the original content includes the codec type and the encoding format before re-encoding. Information indicating the encoding format of the original content may, for example, be information (flags, identifiers) indicating whether the codec type of the content before re-encoding is AVC, HEVC, VVC (Versatile Video Coding), or another codec (such as AV1 / VP9). For example, if the encoding format of the content before re-encoding is HEVC, and that content is re-encoded (transcoded) with VVC, a UGC SEI may be added to the VVC bitstream after re-encoding, and information indicating HEVC may be added as the encoding format information before re-encoding within that UGC SEI.

[0362] This allows an application that receives a VVC bitstream to recognize that the original content before re-encoding by VVC was encoded in HEVC by referring to the UGC SEI attached to the VVC bitstream. Therefore, it becomes possible to determine, or obtain hints for determining, whether encoding distortion (an example of noise) that occurs when decoding a bitstream re-encoded by VVC is distortion that occurred during the VVC re-encoding process or whether it was included in the original content.

[0363] Furthermore, the SEI may include information indicating "uncompressed" as the encoding format before re-encoding. This allows the decoding device 200 to recognize that the received bitstream is a bitstream generated by encoding uncompressed data. This clarifies the conversion history at the receiving end or in subsequent processes, which can be used for quality comparison or root cause analysis.

[0364] Furthermore, the type of codec stored in the SEI is not limited to encoding formats for 2D images. For example, the encoding format for 3D data may be added to the SEI. For instance, if the 3D data to be encoded in the content before re-encoding is point cloud data, a point cloud data encoding format such as G-PCC or V-PCC (Video-based Point Cloud Compression) may be added to the SEI. Also, for example, if the 3D data to be encoded in the content before re-encoding is mesh data, a mesh data encoding format such as V-DMC (Video-based Dynamic Mesh Coding) or Draco may be added to the SEI. In this way, by adding the encoding format of 3D data before re-encoding as the SEI, not limited to 2D images, it becomes possible to trace the re-encoding or transcoding information.

[0365] The encoding conditions of the original content include the encoding conditions of the encoded content before re-encoding. For example, the original encoding conditions include information indicating the GOP (Group of Picture) structure.

[0366] Information indicating the GOP structure includes the GOP length, the type of I / P / B frame, and information indicating the encoding structure, such as the RA (Random Access) structure or the LD (Low Delay) structure.

[0367] For example, by including information indicating the GOP structure in the SEI, high image quality can be maintained during transcoding by matching the GOP structure before and after re-encoding. Also, since image quality may deteriorate if the GOP structure changes, such as when selecting an I / P / B picture, including the type of I / P / B frame in the SEI makes it possible to check whether a change in the GOP structure is the cause of any image quality degradation.

[0368] Picture timing information includes the insertion timing of the picture, the frame rate, and other details.

[0369] Including information equivalent to the QP value or bitrate in the SEI makes it easier to determine in later stages whether the noise occurred during the original content encoding or during re-encoding. Furthermore, including quantization information such as the QP value in the SEI allows for maintaining high image quality by matching this quantization information before and after re-encoding. Additionally, tracing the bitrate information added to the UGC SEI allows for analysis of when the bitrate was significantly reduced, impacting image quality.

[0370] Encoding tool information indicates the encoding tool used to encode the content before re-encoding. Adding encoding tool information to the SEI (Systematic Encoding Indicator) makes it easier to identify the source of distortion after re-encoding by analyzing this information. Furthermore, matching the encoding tools used before and after re-encoding helps maintain high image quality.

[0371] The encoding tool information includes at least one of profile / level / tier information, size information, and loop filter information. The profile / level / tier information is the profile, level, or tier information used in encoding the content before re-encoding. This allows for hints for analyzing the factors causing image quality degradation by referring to the profile, level, or tier information in the content before re-encoding. For example, by referring to the profile information, it is possible to find out what encoding tool was used, and such information can be a hint for analyzing the factors causing image quality degradation.

[0372] The size information may include encoded block size or orthogonal transform size information, such as the maximum encoded block size or orthogonal transform size used in the encoding process for the content before encoding. This allows for the identification of block distortion occurring at boundaries larger than the maximum encoded block size or orthogonal transform size used in the encoding of the content before re-encoding, for example, indicating that the block distortion occurred during re-encoding. Alternatively, it may provide clues for analyzing the factors causing image quality degradation.

[0373] Loop filter information is the loop filter information used in encoding the content before re-encoding. This information may include applied filter information, such as deblock, SAO, and ALF. This allows us to determine, for example, the strength of the deblock filter applied to block boundaries of a given size by referring to the deblock information in the content before re-encoding. Alternatively, it can provide clues for analyzing factors contributing to image quality degradation.

[0374] Next, quality metrics include QPS (Quality Parameter Set), etc. By recording information that quantifies and compares image quality indicators with the original content in this way, it becomes possible to objectively evaluate the deviation from the processed state.

[0375] Furthermore, the original SEI and traceability information that were added during input may also be included in the SEI.

[0376] The original SEI attached at the time of input includes the SEI attached to the encoded content before re-encoding (past SEI). The original SEI may include noise or other auxiliary information contained in the input content itself. The original SEI is an example of the first SEI.

[0377] The SEI (System Information Index) attached to the encoded content before re-encoding may be attached to the encoded content after re-encoding. This allows for the identification of processing or improvements that occurred in subsequent processes; for example, by referring to the SEI attached for each re-encoding, it is possible to know the history of how the original content was re-encoded.

[0378] Traceability information includes the transcoding history. This information may also include, for example, encoding parameters, software versions used, and processing node information. Such information contributes to identifying quality status or the cause of problems.

[0379] Next, the next-generation data identification information indicates the identification information of the data of the generation following the current generation, and includes, for example, at least one of the next-generation content identifier, serial number, and management ID.

[0380] Next, the metadata at the time of shooting includes at least one of the original content's VUI (Video Usability Information) information, camera parameters, and access information to the original image. Note that the access information to the original image may be included in the original content's identification information.

[0381] VUI information includes the VUI information attached to the encoded content before re-encoding (the VUI information of the original content). VUI information includes, for example, information indicating the video specifications of the encoded content before re-encoding, such as color format, color space, and luminance range. VUI information is used to accurately reproduce the characteristics of the content during video playback.

[0382] Camera parameters include the shooting conditions (shooting rate, exposure conditions, ISO, lens information, lens distortion) and shooting date and time when the original content was captured. Camera parameters serve as evidence that the encoded content at the time of input (the time of reception), or the original content, was in a high-quality state.

[0383] Access information to the original image is access information to the original image (i.e., uncompressed content) and includes at least one of the following: URL, file ID, serial number (SN), and management ID.

[0384] The URL information (the URL indicating the location where the uncompressed original image content is stored) includes the URL where the uncompressed content before encoding is stored. The URL may also include link information indicating the destination for accessing the original high-quality content. If a URL indicating the location of the uncompressed content is available, the original content can be accessed when performing signal-to-noise ratio calculation, authenticity verification (authenticity confirmation process), or reprocessing using the uncompressed content as the original image. Note that the original high-quality content does not need to be uncompressed content; for example, it may be compressed content that has been encoded to high quality. Furthermore, by linking with secure access management, the risk of unintentional leakage of original images can be reduced.

[0385] The serial number or management ID can be used by content providers as a check to prevent the leakage of original artwork or to verify rights. Access information to the original artwork is important from the perspective of rights management and preventing the leakage of original artwork. The serial number (SN) or management ID may also include the serial number or management information of the encoded content before re-encoding.

[0386] Next, the information used in the encoding process (e.g., including detailed parameters of the transcoding process) includes the encoding conditions used in the encoding process (e.g., GOP structure, frame rate changes, recording of temporal hierarchy, QP or bitrate changes, and at least one of the encoding parameters in each step), the SEI of the original content (e.g., quality metrics), and at least one of the information indicating the type after conversion or encoding.

[0387] Furthermore, if, for example, "important pictures" and "unimportant pictures" are not correctly labeled in the temporal hierarchy, image quality may deteriorate. Therefore, it is desirable that the temporal hierarchy be recorded in the supplementary information. Also, high image quality can be maintained by matching the temporal hierarchy before and after re-encoding.

[0388] By including QP or bitrate fluctuations, as well as encoding parameters at each stage, in the SEI, it becomes easier to pinpoint the cause of image quality degradation at each stage.

[0389] The overall transcoding history management information includes each processing node, software version, error history, and at least one indicator showing the retransmission history or network environment (uplink / downlink) status. This allows for real-time identification of the cause of image quality degradation during delivery (e.g., the cause in either the transmission environment or the processing stage).

[0390] Furthermore, the overall transcoding history management information may include, along with or in lieu of, the above information, at least one record of parameters for each process, software used, and processing nodes. This information can be extremely useful for troubleshooting or root cause analysis.

[0391] Next, the information obtained through the analysis of the received data includes information reconstructed from the pre-transformation information based on the analysis of the received, transformed bitstream. The reconstructed information includes information used in past encoding processes (encoding conditions, information indicating the type (encoding format) before transformation).

[0392] Furthermore, the information obtained through the analysis of the received data may include at least one of the following: quality metrics of the original content, details of the transcoding process (i.e., changes in each transcoding process (e.g., changed parameters, algorithms used, processing nodes, software versions, etc.)), and predictive information regarding future fluctuations (e.g., prediction of the arrival of the next I-frame, bitrate fluctuations, temporal hierarchy information, film grain information). The predictive information is an example of predictive information regarding parameters related to the process of encoding the input data into a bitstream.

[0393] Thus, coding conditions, quality metrics, etc., may be obtained from previous generation equipment, or they may be obtained from the results of analyzing information obtained from previous generation equipment.

[0394] Furthermore, by nesting it with existing SEIs such as Source Picture Timing SEI or Camera Parameter SEI, and enabling the inheritance of either of the above information, it becomes possible to handle both the original (pre-re-encoding) shooting information and the encoding information (post-re-encoding) together. This allows for real-time monitoring of changes in GOP structure or timing during transcoding, contributing to improvements in real-time encoding, such as preventing scene changes or tempo discrepancies.

[0395] For example, when re-encoding encoded content A uploaded by a client in real time on the server, by checking the insertion timing information of I-pictures in the UGC SEI attached to encoded content A in advance, the timing of encoding with I-pictures during real-time re-encoding can be synchronized, and the overall encoding efficiency can be improved by encoding I-pictures with high quality. In addition, regardless of I-pictures, by referring to the GOP structure information described in the UGC SEI, the GOP structure can be synchronized during real-time re-encoding, further improving the overall encoding efficiency.

[0396] In addition to the above information, the following additional information may be added as SEI in order to more reliably achieve the intended effects (such as rights verification, prevention of leaks of original artwork, and improvement of traceability).

[0397] For example, the hash value or checksum of the original image data may be added as SEI (Secondary Information) as information such as a fixed-length digital signature to verify the integrity or tampering of the original image. This allows for rigorous verification of authenticity by comparing the original content with the current file.

[0398] Furthermore, for example, the exact time of the original image or each transcoding process (transcoding step) (e.g., date and time of capture, date and time of encoding, date and time of modification) may be added as SEI. For example, timestamp information may be added as SEI. This makes it easier to track who (which encoding processing device) was responsible for which process (when and which transcoding process) and when, by linking it with a chronological processing history. Also, for example, information indicating when the SEI can be deleted, such as the SEI expiration date, may be added as SEI. This reduces the overhead of SEI.

[0399] Furthermore, detailed information such as the content rights holder, terms of use, license ID, and expiration date may be added as SEI (System Information). This allows for integration with a rights management system to automate the checking of rights or verification of legality.

[0400] Furthermore, for example, signatures (e.g., digital signatures) for the original image or each conversion step, authentication certificates (an example of authentication information), security tokens, etc., may be added as SEIs. This can reinforce security functions to prevent tampering, unauthorized disclosure, or unauthorized use.

[0401] Furthermore, metadata of the input content may be added as SEI (System Information Index). The metadata of the input content may include information indicating the production background of the original image, such as shooting conditions, equipment information, resolution, and color space. This allows the metadata to be used as a reference to reproduce the quality or feel of the original content.

[0402] Furthermore, detailed information regarding the transcoding process, such as encoding parameters, algorithms used, software versions, and processing node information, may be added as SEI (System Information Index). This allows for accurate recording of which transformations were performed at which stage, which can be used as a basis for decision-making in subsequent processes or during troubleshooting.

[0403] Furthermore, to strengthen the link with a management system or archive, for example, a unique ID (e.g., a content identifier) ​​or serial number may be assigned to each piece of content, and this ID or serial number may be added as an SEI. This, along with the referenced URL or historical information, facilitates the verification of the content's authenticity and historical management.

[0404] Furthermore, access control information, such as access rights settings or authentication methods (e.g., OAuth token, certificate ID, etc.) on the original image repository side, may be added as SEI. By including the authentication information required for access (an example of access control information) in the SEI, for example, as reference metadata, access control can be implemented, which can help prevent unauthorized access. Authentication method information is an example of authentication information.

[0405] By including this additional information in SEI, the following benefits can be expected for UGC users or professional users.

[0406] This enables accurate rights verification and guarantees of authenticity, further reducing the risk of misuse or leakage of original artwork. Furthermore, the clarity of processing details and history at each stage enhances traceability and quality control. Additionally, the ability to quickly and accurately access original content during re-encoding or remastering reduces the user's workload. Integration with content management or rights management systems ensures an overall efficient workflow and high operational reliability. Moreover, this additional information improves the comprehensiveness, security, and transparency of the information provided by SEI, making it easier to resolve various challenges in actual work environments (e.g., rights verification, prevention of original artwork leakage, troubleshooting, and streamlining reprocessing).

[0407] The above-mentioned identification information of the original content, encoding conditions of the original content, shooting information of the original data, and linking information between the original data and the current data (described later) are necessary information for subsequent encoding processing. In addition, the transcoding history, traceability information, metadata at the time of shooting, detailed information regarding the transcoding process, and predictive information regarding future changes are information that improves the accuracy of subsequent encoding processing. Furthermore, the hash value or checksum of the original image data, the creation date and time / timestamp information of the original image data, rights information and license information (described later), digital signature and certification information, access control information, and copy control information are useful information for history management (information that does not need to be used in subsequent encoding processes).

[0408] [1-2. Operation] Next, the operation of the content processing system configured as described above will be explained with reference to Figures 27 and 28. Figure 27 is a flowchart showing an example of encoding processing performed by the encoding device 100 according to this embodiment. The processing shown in Figure 27 is the processing performed by the content conversion / distribution system 6120 or the relay / reprocessing system 6130.

[0409] As shown in Figure 27, the encoding device 100 receives the first image and the first additional information (S11). The first image is an example of input data and may be encoded content generated by performing an encoding process on the original content, or converted content generated by performing a predetermined conversion process on the original content. The first image may also be the original content itself.

[0410] The first additional information corresponds to metadata such as the SEI (e.g., the first SEI) mentioned above. The first additional information is additional information that has been added to the original content in the past.

[0411] Next, the encoding device 100 encodes the first image (image data) into a bitstream (S12). In step S12, the encoding device 100 generates encoded image data by encoding the first image, for example, and outputs the generated encoded image data as a bitstream. If the encoding device 100 is implemented by the content conversion and distribution system 6120, it encodes the first image from the content generation system 6110 into a bitstream and transmits it to the relay and reprocessing system 6130. If the encoding device 100 is implemented by the relay and reprocessing system 6130, it encodes the first image from the content conversion and distribution system 6120 into a bitstream and transmits it to the user device 6140.

[0412] Next, the encoding device 100 generates second additional information including first additional information (S13), and encodes the second additional information into a bitstream (S14). In other words, the bitstream includes the encoded first image and the additional information. The additional information includes information about the input data before the encoding process. The information before the encoding process includes at least one of the following: information about the conversion process performed in the encoding device 100 before the encoding process, information about the original content, information used for the encoding process (if the previous generation device is a device that performs encoding or transcoding), and information obtained by analyzing the received data (information about the processing in the previous generation device).

[0413] The additional information may be associated with encoded image data on a picture-by-picture, picture-group, sequence-by-sequence, access-unit, sample-by-sample, or subsample-by-sample basis. Furthermore, the additional information may be linked to the encoded image data via NAL units, SEI messages, file format boxes, metadata tracks, or external reference structures.

[0414] When the encoding device 100 is implemented by the content conversion and distribution system 6120, SEI 6111 shown in Figure 26 is an example of first additional information, and SEI 6121 is an example of second additional information. The additional information includes information before transcoding to the second encoding format (for example, information related to content generation in the content generation system 6110, information about the first encoding format, etc.). Furthermore, when the encoding device 100 is implemented by the relay and reprocessing system 6130, SEI 6121 shown in Figure 26 is an example of first additional information, and SEI 6131 is an example of second additional information. The additional information includes information before transcoding to the third encoding format (for example, information related to content generation in the content generation system 6110, information about the first encoding format, information about the second encoding format, etc.).

[0415] The second additional information, for example, stores the first additional information within it. At least the first additional information may have a nesting structure.

[0416] Figure 28 is a flowchart showing an example of a decoding process performed by the decoding device 200 according to this embodiment.

[0417] As shown in Figure 28, the decoding device 200 decodes the first image from the bitstream (S21). The decoding device 200, for example, decodes encoded image data from the bitstream and generates the first image from the encoded image data.

[0418] Next, the decoding device 200 decodes the second additional information, which includes the first additional information, from the bitstream (S22). This allows the decoding device 200 to obtain the first additional information contained in the second additional information (S23). In other words, the first additional information can be obtained from the bitstream. When the encoding device 100 is implemented by the content conversion and distribution system 6120, the decoding device 200 is implemented by the relay and reprocessing system 6130, and the relay and reprocessing system 6130 can obtain previously added SEIs (first SEI and second SEI) as first additional information. Also, when the encoding device 100 is implemented by the relay and reprocessing system 6130, the decoding device 200 is implemented by the user device 6140, and the user device 6140 can obtain previously added SEIs (first SEI, second SEI, and third SEI) as first additional information.

[0419] Furthermore, if the additional information includes information regarding the conversion process, the decoding device 200 may output information indicating that the image data (first image) corresponding to the encoded image data was generated or converted by processing using AI or a neural network, based on the information regarding the conversion process. This information may, for example, be displayed or transmitted to an external device.

[0420] Furthermore, the decoding device 200 may perform at least one of the following processes on the image data (first image) corresponding to the encoded image data, based on the information regarding the conversion process: post-decoding processing, display processing, quality verification processing, authenticity verification processing, and history verification processing.

[0421] Post-decryption processing involves processing the decrypted image data and includes, for example, quality improvement using an internal loop filter with a neural network (NN) as described later, or post-processing transformations.

[0422] The display process is the process of outputting the decoded image data as a displayable image, and includes, for example, the process of generating a high-resolution video by super-resolution the pictures of each layer based on the metadata described above.

[0423] The quality verification process is a process that evaluates the quality of image data, and includes, for example, the process of evaluating quality based on information related to the conversion process, as described later.

[0424] Authenticity verification is a process that verifies the authenticity or whether the current file has been tampered with by comparing it with the original content, etc., and includes, for example, the process of comparing the original content and the current file as described above.

[0425] The history verification process is a process that checks the history of the conversion process, and includes, for example, the process of checking the history related to transcoding, which will be described later.

[0426] [1-3. Use Cases] Here, we will explain the use of the above content processing system in professional use cases, general user use cases (for example, in the case of UGC), and use cases for encoder vendors and authoring tool providers, illustrating these with examples.

[0427] A professional use case involves a content provider, such as a video production company or studio, possessing high-quality content (e.g., high-quality original footage), providing this high-quality content to an encoding company, which then encodes it for a low-rate system (e.g., for a specific distribution destination). In this case, detailed information about the original high-quality footage (shooting rate, management ID, URL of the original footage, etc.) is recorded in SEI, which directly contributes to preventing the leakage of original footage, managing rights, and ensuring quality.

[0428] For example, information linking the original high-quality content may be added as an SEI (Secondary Information Identifier). This makes it easier to verify rights and other related information. Alternatively, the management ID of the original high-quality content may be added as an SEI. This prevents the original high-quality content from being leaked and makes content management easier.

[0429] Furthermore, if, for example, the original high-quality content information and its encoding conditions are attached as SEI (System Information Index), the encoder provider can provide information such as whether the source of encoding distortion was originally present in the high-quality original image, or can use that information as evidence. Rights management or content management (including management IDs) makes it possible to prove that "this was the original state" in the event of trouble such as the leakage of original images. In addition, if detailed parameters of the input data are available to the encoder provider, it becomes possible to optimize the transcoding process or quickly identify defective areas.

[0430] A use case for general users involves a user possessing content (e.g., original image), providing it to an encoder provider, and the encoder provider encoding it for the system. For example, this would involve encoding a video uploaded by a general user to YouTube for the system. If the video uploaded by a general user to YouTube experiences a decrease in quality after distribution, the original encoding conditions (before re-encoding) or original image information recorded in the SEI can be used to identify the cause of the quality degradation (e.g., uplink, platform-side encoding, network environment issues, etc.). Furthermore, linking the network (uplink / downlink) status with the transcoding processing history makes it easier for general users to understand the cause of the quality degradation. Additionally, clearly displaying the original high-quality information can improve the authenticity and transparency of the content provided to viewers.

[0431] For example, if high-quality state information at the time of input (e.g., shooting rate, color space, bitrate (bitrate of the original content before upload)) is attached as SEI, then if the distributed video becomes low quality after uploading (i.e., if the quality deteriorates during playback), general users can refer to the SEI to determine whether the problem is due to the network environment (uplink / downlink) or the platform's encoding. General users can then provide evidence that the original was high quality (i.e., proof that the quality deterioration is a problem on the distribution side) or clearly report the cause of the problem to support. In other words, by using the information attached to the SEI as evidence, it becomes possible to respond smoothly to the platform's support desk or network service provider. Furthermore, if possible, a mechanism to compare or switch between the original high-quality video and the converted (or re-encoded) video depending on the viewing environment (for example, a mechanism to switch to a playback option at the original bitrate if the connection is sufficient) will improve the user experience of viewers who are accessing the original content. In addition, if it is possible to access the original content as a tool to verify distribution quality issues, the optimization of the viewing environment will be promoted.

[0432] For encoder vendors and authoring tool providers, a real-time monitoring system that utilizes detailed input data (e.g., various shooting parameters, encoding parameters, management IDs, etc.) to automatically optimize the transcoding process can be built. This allows for rapid feedback on which stage a problem occurred even if processing quality deteriorates.

[0433] [1-4. Effects] The effects of some aspects of this embodiment, such as the effect of adding a URL indicating the location where the original image is stored as an SEI, and the effect of adding noise information that was present in the input content before encoding as an SEI, will be described below.

[0434] By adding a URL indicating the location where the original image is stored before encoding or processing as the SEI (System Information Index), the following effects can be expected.

[0435] (i) General users will be able to easily verify whether the video they are watching is provided from a reliable, legitimate original source. In other words, general users will be able to easily verify the reliability and authenticity of the content. Furthermore, general users will feel that the risk of unauthorized processing or alteration is low when the information is backed by evidence, and will be able to enjoy the content with peace of mind.

[0436] (ii) When viewing on a smartphone or tablet device, compressed video is usually displayed. However, if the URL of the original video is provided, users can select and view the original high-quality video on a compatible device or under the appropriate network conditions. This provides an upgrade option to high-quality video. As a result, the viewing experience is improved, and general users can enjoy even the finest details of image quality and color.

[0437] (iii) Through links to the location where the original drawings are stored, users will be able to access related content such as making-of videos, additional explanations, and background information tailored to specific users (e.g., fans). This will allow users interested in the behind-the-scenes aspects or production process of the content to enjoy it in a deeper way (e.g., a viewing experience with added value, or an interactive content experience) that goes beyond simply watching videos.

[0438] (iv) By combining this with transcoding history information, users will be able to track the process by which a video was generated, and if it is remastered or redistributed in the future. In other words, users will be able to understand the revision history or update information of the content. This will enable a system where, for example, users can always enjoy the "best possible" version of the video in an environment where the latest information is provided.

[0439] (v) The authenticity of the original artwork is verified via SEI, making it easier to distinguish it from counterfeit or illegally copied content on the internet, allowing users to use the content with peace of mind. By checking the SEI, users can confirm that the content they are currently viewing is the original and enjoy the content without suspicion. It also reduces users' vigilance against illegally leaked or counterfeit content.

[0440] (vi) When specific individuals (for example, a community or fans) share their impressions, analyses, and behind-the-scenes stories about content, having information that confirms the existence of original data (for example, images) can create a shared understanding of the content's reliability, leading to more enriched discussions and conversations. Furthermore, if its value as a digital asset becomes clear, it may also develop aspects of a fan collector's item. In this way, for general users, it is possible to provide a sense of security, added value, or an interactive experience without delving into the technical background, such as "this video is authentic and safe," "there are options for better image quality," or "you can access the backstory of the content."

[0441] (vii) The encoded video or image can be directly compared with the original content (in this case, the unprocessed, unencoded original image). In other words, the quality of the original image and the consistency of the content can be verified. This makes it easier to identify the cause (problems caused by the encoding process or processing process) if the quality has deteriorated or changed.

[0442] (viiii) If re-encoding, modification, or remastering becomes necessary in the future, the location of the original image can be immediately identified. This allows for modification work to be performed from a high-quality original source, making it easier to repeat the processing or transcoding process. In other words, it enables more efficient re-encoding or modification work.

[0443] (ix) Clearly indicating the location of the original artwork for each piece of content allows for effective management as a digital archive. For example, information on the location of the original artwork is useful in operational aspects such as version control, revision history, or license management.

[0444] (x) If a problem occurs after encoding, comparing it with the original image allows for immediate determination of whether the problem stems from the processing steps or from the input itself. This makes it easier for developers or operators to access the original image to resolve the problem and take appropriate measures. In other words, it enables more effective troubleshooting and debugging support.

[0445] By providing URL information as (xi)SEI, equivalent referencing functionality can be achieved without including the actual original image data within the stream. In other words, additional functionality can be implemented simply by adding lightweight supplemental information.

[0446] (xi) This allows for flexible operation through integration with external original artwork repositories while minimizing the overhead of additional data.

[0447] By including the location information (URL) of the original image as the SEI, various operational challenges such as quality comparison after encoding, future reprocessing, efficient content management, rapid debugging, and rapid troubleshooting can be resolved, while also improving the overall flexibility and reliability of the system.

[0448] Furthermore, as explained above, noise information present in the input content before encoding may be added as SEI. The effects of adding noise information present in the input content before encoding as SEI will be explained below.

[0449] (i) In moving images or still images, noise (or film grain) generated during shooting may sometimes be evaluated as part of "natural" image quality or texture. By including noise information in the SEI, if the encoding device 100 side performs noise reduction processing (denoising) too strongly, the original noise characteristics can be reproduced during playback or post-processing, and natural image quality with little discomfort can be maintained.

[0450] (ii) By transmitting information such as the pattern, intensity, and distribution of noise included in the input content as SEI, the decoding device 200 can utilize this information as reference data for correcting video artifacts (for example, removal of excessive smoothing or unnatural blocks). As a result, the decoding device 200 can compensate for information loss due to encoding and achieve reproducibility close to the original content. In other words, it is possible to improve the fidelity of the video generated by the decoding device 200 to the original content.

[0451] (iii) If the noise information itself (for example, a noise map or parameters) is separately encoded as SEI, it can be handled as auxiliary information rather than the image bitstream itself, and as a result, the bitrate of the main image data can be suppressed (that is, bitrate efficiency can be achieved). In addition, on the playback side (for example, the decoding device 200 side), flexible post-processing such as regenerating noise (for example, synthesizing film grain) becomes possible according to the user's preference or display environment.

[0452] (iv) By adding noise information, in post-processing algorithms (for example, sharpening, contour reinforcement, noise reduction, etc.), processing that takes into account the originally intended noise level or noise pattern can be performed, so overall image quality consistency is improved. For example, when performing film grain synthesis simultaneously with denoising, more accurate synthesis may be achieved based on the noise parameters included in the SEI.

[0453] As described above, in the image codec, when noise information of input content before encoding is added as SEI, it is possible to correct unnecessary artifacts caused by encoding, improve bit rate efficiency, and further improve the accuracy of post-processing while maintaining natural texture during reproduction or reproducibility close to the original content.

[0454] It should be noted that information indicating whether or not information such as film grain is included in the input content before encoding may be added as SEI. Then, the SEI may be continuously added every time transcoding is performed. For example, when the decoding apparatus 200 wants to reproduce film grain at a reproduction terminal, the decoding apparatus 200 reproduces a decoded image in which film grain is reproduced by using the film grain information continuously added to the SEI, and when the reproduction terminal wants to reproduce without reproducing film grain, the decoded image may be reproduced without referring to the film grain information continuously added to the SEI. As a result, the content can be switched and reproduced on the decoding device 200 side according to the user's request (preference) as to whether or not to reproduce the film grain, so that the quality of the service is improved.

[0455] (Embodiment 2) Hereinafter, a content processing system according to the present embodiment will be described with reference to FIGS. 29 to 37. The following description will focus on differences from the first embodiment. In the present embodiment, an example will be described in which information on the generation of conversion processing (for example, information on the generation of encoding processing) and information before conversion processing are associated and added as SEI. The generation information of the conversion process includes, for example, information indicating the generation of the SEI in the SEI (for example, information indicating the number of times of encoding / decoding). It should be noted that the SEI may include a past SEI before the encoding process and be added as one SEI, or may be generated and added as a separate SEI for each generation.

[0456] [2-1. System Configuration] FIG. 29 is a diagram showing the structure of SEI generated by each system according to the present embodiment.

[0457] As shown in Figure 29, the content processing system comprises a first encoding device 7010, a second encoding device 7020, a third encoding device 7030, and a decoding device 7040.

[0458] The first encoding device 7010 encodes the received video into a bitstream and transmits it to the second encoding device 7020. Furthermore, the first encoding device 7010 collects predetermined information during video generation to generate SEI, encodes the generated SEI into a bitstream, and transmits it to the second encoding device 7020.

[0459] The generated SEI includes information about a first encoding format (e.g., HEVC) that indicates the format of the encoding process performed by the first encoding device 7010. Such information plays an important role as basic data necessary for subsequent transcoding processes. The generated SEI may also include information about the time of shooting (e.g., shooting location, shooting time, camera parameters).

[0460] In the example shown in Figure 29, the generated stream 7011 of the first encoding device 7010 includes existing SEI1_1, existing SEI1_2, and new SEI1_1. Existing SEI1_1 and existing SEI1_2 can be any SEI, for example, a Source Picture Timing SEI is exemplified, but is not limited to this. New SEI1_1 may be a UGC SEI, such as an SEI containing encoding information about the first encoding format in the first encoding device 7010. New SEI1_1 is used, for example, during transcoding in the second encoding device 7020, but is not limited to this.

[0461] The second encoding device 7020 performs transcoding (i.e., re-encoding) on ​​the bitstream received from the first encoding device 7010. The second encoding device 7020 re-encodes the received bitstream without decoding it, but it may also decode the received bitstream before re-encoding it. In this specification, the device that performs transcoding (transcoding process) (transcoder) is also referred to as a conversion device.

[0462] Specifically, the second encoding device 7020 performs transcoding while holding the bitstream received from the first encoding device 7010 and the nested SEI. In this process, the second encoding device 7020 may nest (hierarchically hold) the SEI received from the first encoding device 7010 (the original SEI), and may also add new SEIs generated by the second encoding device 7020. In the example in Figure 29, the second encoding device 7020 generates and adds three new SEIs: existing SEI2_1, existing SEI2_2, and new SEI2_1. The number of SEIs added by the second encoding device 7020 is not particularly limited and can be one or more.

[0463] The newly generated SEI may include detailed information about transcoding (e.g., SN information, GOP information, updated coding parameters, distribution conditions, etc.). The output of the second coding device 7020 (the generated stream 7021 of the second coding device 7020 shown in Figure 29) includes the original SEI and the SEI newly added by the second coding device 7020. In the example in Figure 29, a total of five SEIs are added to the generated stream 7021. "Nested SEI2_1" holds the SEI generated by the first coding device 7010 in a nested state. The second coding device 7020 may generate the generated stream 7021 by adding the newly generated SEI to this information and provide the information necessary for the next process to the third coding device 7030 all at once.

[0464] This enables a system for systematically managing historical information, ensuring that necessary information is maintained without loss at each stage of transcoding, thus facilitating efficient transcoding.

[0465] Furthermore, the second encoding device 7020 may choose not to add a predetermined original SEI (for example, new SEI1_1 in the example in Figure 29) to the bitstream after transcoding in the second encoding device 7020. For example, dynamic change information, copy control parameters, etc., may be nested, while fixed or static metadata, etc., may not be nested and may be deleted or disabled at unnecessary times. This reduces the amount of bits. The types of SEIs to be deleted or disabled are predetermined. Disabling means that the SEI in question is not added to the bitstream for the next-generation device.

[0466] The third encoding device 7030 performs transcoding (i.e., re-encoding) on ​​the bitstream received from the second encoding device 7020. The third encoding device 7030 re-encodes the received bitstream without decoding it, but it may also decode the received bitstream before re-encoding it. Transcoding is also referred to as conversion processing.

[0467] Specifically, the third encoding device 7030 may copy the bitstream and nested SEI received from the first encoding device 7010 and generate a new SEI. The third encoding device 7030 may, for example, add additional information while maintaining the previous history information (held as nested SEI2_1). The third encoding device 7030 may generate an SEI that includes information useful for quality evaluation or troubleshooting in the next decoding stage. Such an SEI can be utilized in subsequent processes.

[0468] In the example shown in Figure 29, the third encoding device 7030 newly generates two SEIs: existing SEI3_1 and existing SEI3_2. Furthermore, "nesting SEI3_1" holds the SEI generated by the second encoding device 7020 in a nested state. In total, seven SEIs are added to the generation stream 7031 of the third encoding device 7030 shown in Figure 29.

[0469] Furthermore, the third encoding device 7030 may choose not to add a predetermined original SEI (for example, new SEI2_1 in the example of Figure 29) to the bitstream after transcoding by the second encoding device 7020. This reduces the number of bits. The predetermined original SEI may be deleted or invalidated. The type of SEI to be deleted or invalidated is predetermined.

[0470] The decoding device 7040 decodes the bitstream received from the third encoding device 7030 and plays the content. The decoding device 7040 may also analyze the received bitstream and all nested SEIs from previous transcoding processes to gain a detailed understanding of the entire video processing, encoding, and distribution history. Furthermore, the decoding device 7040 may refer to all nested SEIs to evaluate the quality state of the original content or the impact of each transcoding process, and use this information for reprocessing or problem solving.

[0471] Furthermore, the analysis and evaluation of the information are not limited to being performed by the decoding device 7040, but may also be performed, for example, by a monitoring device that monitors the content processing system.

[0472] Each encoding device manages historical information integrally through SEI nesting and transmits the information to the next process. In particular, the second encoding device 7020 implements a mechanism to add a total of five SEIs by holding both the original SEI and the newly generated SEI. This ensures that the necessary information is accurately maintained at each stage of transcoding, and enables centralized tracking and evaluation.

[0473] [2-2. Operation] Next, the operation of the content processing system configured as described above will be explained with reference to Figures 30 and 31. Figure 30 is a flowchart showing an example of the encoding process performed by the encoding device 100 according to this embodiment. The encoding device 100 may be implemented by, for example, a second encoding device 7020 or a third encoding device 7030.

[0474] As shown in Figure 30, the encoding device 100 receives the first image and first additional information, which includes generation information and information before the conversion process (S31). The generation information is information indicating the generation of the conversion process and is information indicating the execution order of the conversion process. For example, the generation information may be information indicating the generation of the encoding process (i.e., information indicating the execution order of the encoding process). The first additional information is additional information that has been added to the original content in the past.

[0475] Next, the encoding device 100 encodes the first image into a bitstream (S12). If the encoding device 100 is implemented by the second encoding device 7020, it encodes the first image from the first encoding device 7010 into a bitstream and transmits it to the third encoding device 7030. If the encoding device 100 is implemented by the third encoding device 7030, it encodes the first image from the second encoding device 7020 into a bitstream and transmits it to the decoding device 7040.

[0476] Next, the encoding device 100 generates second additional information including nested first additional information (S13). The encoding device 100 nests and holds the received first additional information and then generates second additional information by adding newly generated SEI.

[0477] Next, the encoding device 100 encodes second additional information, which includes at least generation information for the input data (in this case, the first image), into a bitstream (S34). The generation information may include at least one of the number of generations of the conversion process, information indicating the generation number, and the completion time of the conversion process. The generation information may also include information indicating the type of conversion process (for example, the type of codec).

[0478] Furthermore, the second additional information may include information prior to the conversion process in addition to the generation information. The information prior to the conversion process includes one or more additional information elements (one or more SEIs per generation) associated with each generation of the conversion process. The second additional information may include, for example, information used for control to disable or delete at least one of the multiple additional information elements composed of additional information elements for each generation of the conversion process.

[0479] When the encoding device 100 is implemented by the second encoding device 7020, the generated stream 7011 illustrated in FIG. 29 is an example of the first additional information, and the generated stream 7021 is an example of the second additional information. Furthermore, when the encoding device 100 is implemented by the third encoding device 7030, the generated stream 7021 illustrated in FIG. 29 is an example of the first additional information, and the generated stream 7031 is an example of the second additional information.

[0480] The second additional information stores, for example, the first additional information included therein. At least the first additional information has a nesting structure.

[0481] FIG. 31 is a flowchart illustrating an example of decoding processing executed by the decoding device 200 according to the present embodiment. The decoding device 200 may be implemented by a decoding device 7040.

[0482] As illustrated in FIG. 31, the decoding device 200 decodes the first image from the bitstream (S21).

[0483] Next, the decoding device 200 decodes, from the bitstream, the second additional information including at least the generation information (S42). Thereby, the decoding device 200 can acquire the generation information included in the second additional information (S43). The decoding device 200 acquires, for example, the nested first additional information and the SEI newly generated by the immediately preceding encoding device 100. For example, when the decoding device 200 performs tracing, the decoding device 200 copies the nested first additional information, nests the newly generated SEI, and can generate third additional information including the newly generated SEI.

[0484] When the encoding device 100 is implemented by the second encoding device 7020, the decoding device 200 is implemented by the third encoding device 7030, and when the encoding device 100 is implemented by the third encoding device 7030, the decoding device 200 is implemented by the decoding device 7040.

[0485] [2-3. Use Cases] Here, the use cases in which the above content processing system is used for archiving personal content, for content storage and network distribution, and for the distribution of content to an unspecified number of users (for example, SNS (Social Networking Service) distribution) will be explained with reference to Figures 32 to 34.

[0486] The first use case for archiving personal content envisions a scenario where an individual user encodes their own content, uploads it to a server, archives it through transcoding, and finally decodes and views it themselves. A version control or transcoder-assisted SEI mechanism is suitable for this first use case. A transcoder-assisted SEI is an SE that can improve processing accuracy and efficiency by achieving optimal transcoding settings through additional metadata.

[0487] Figure 32 shows the configuration of a content processing system in a use case for archiving personal content. In the example in Figure 32, the individual user can fully control the software of the first encoding device 7110 and the decoding device 7140, creating an environment where the operation of the entire system (for example, the first encoding device 7110, the second encoding device 7120, and the decoding device 7140) can be controlled uniformly.

[0488] As shown in Figure 32, the content processing system in the first use case comprises a first encoding device 7110, a second encoding device 7120, cloud storage 7130, and a decoding device 7140. The first encoding device 7110 and the decoding device 7140 are information processing devices owned by user A (information processing devices in which user A can completely control the software).

[0489] The first encoding device 7110 performs the processing when user A encodes content. The first encoding device 7110 transmits a bitstream containing SEI (first bitstream) to the second encoding device 7120. During encoding, the first encoding device 7110 adds metadata such as shooting location, shooting time, camera parameters, and encoding information as SEI. A nesting mechanism that enables generation management allows for quality control or tracing in subsequent processes.

[0490] The first bitstream is the initial bitstream transmitted from the first encoding device 7110 to the second encoding device 7120, and includes the SEI. The first bitstream holds encoding information as basic data used in subsequent transcoding processes.

[0491] The second encoding device 7120 is implemented, for example, by a server and performs transcoding. The second encoding device 7120 receives the first bitstream and converts it to a different format. The second encoding device 7120 holds the received SEI and adds new SEI as needed to generate transcoded video data (second bitstream). The second bitstream may include transcoder-assisted SEI. This allows for optimization of the decoding process in the next step.

[0492] The second bitstream is the bitstream after transcoding by the second encoding device 7120. The second bitstream is output in a new format and stored in cloud storage. The second bitstream holds information (e.g., generation information) that is essential for quality evaluation in the final decoding process.

[0493] The cloud storage 7130 is a cloud storage that stores transcoded video data. The cloud storage 7130 securely stores the data for user A to decode later and, if necessary, provides user A (specifically, the decoder 7140) with a second bitstream including the SEI.

[0494] The decoding device 7140 is an information processing device that performs decoding when user A views video data stored in cloud storage 7130. The decoding device 7140 may use the SEI included in the second bitstream to refer to the original encoding information or transcoding history to manage and trace video quality and perform a final quality evaluation during viewing.

[0495] The SEI generated during encoding can be used in subsequent processes (transcoding and decoding). For example, by referencing the SEI added during encoding during decoding, it is possible to obtain the original encoding information or quality control information, allowing the user to trace or evaluate the quality of the entire system.

[0496] This mechanism is highly compatible with the concepts of the "generation-manageable SEI nesting mechanism" or "transcoder-supported SEI" described in this embodiment, and information can be passed on without loss throughout the entire process. Therefore, information management can be easily performed at each stage (individual transcoding processes), enabling quality maintenance or history tracking.

[0497] Furthermore, provided that the necessary SEIs are reliably added and correctly utilized in each process, individual users will be able to manage the entire system (encoding device, server, transcoder, decoding device).

[0498] Next, we will explain the use case for content storage and network distribution, referring to Figure 33. The use case for content storage and network distribution (second use case) assumes a case where content is encoded, transcoded, stored, and distributed in a broadcasting company, an in-vehicle system for automobiles, or an in-house system. In the second use case, we assume an environment in which each piece of equipment or system, including encoding devices, in a broadcasting company, an in-vehicle system for automobiles, or an in-house system, is controlled to a certain extent in a unified manner. In such an environment, the operation of the entire system is carried out according to certain rules or specifications, and the operation of individual encoding devices or transcoders is reliably managed and monitored, so necessary metadata (e.g., SEI) is also added in a planned manner.

[0499] Figure 33 shows the configuration of a content processing system in a use case for content storage and network distribution.

[0500] As shown in Figure 33, the content processing system in the second use case comprises a first encoding device 7110, a second encoding device 7120, cloud storage 7130, and a decoding device 7240. The first encoding device 7110 and the decoding device 7240 are information processing devices owned by different users.

[0501] The first encoding device 7110 performs the processing when user A encodes content. The first encoding device 7110 has the same functions as the first encoding device 7110 shown in Figure 32.

[0502] The first bitstream holds the same information as the first bitstream shown in Figure 32.

[0503] The second encoding device 7120 is implemented, for example, by a server and performs transcoding processing. The second encoding device 7120 has the same functions as the second encoding device 7120 shown in Figure 32.

[0504] The second bitstream holds the same information as the second bitstream shown in Figure 32.

[0505] The cloud storage 7130 is a cloud storage that stores transcoded video data. The cloud storage 7130 securely stores the data for user B to decode later and, if necessary, provides user B (specifically, the decoder 7240) with a second bitstream including the SEI.

[0506] The decoding device 7240 is an information processing device that performs decoding when user B views video data stored in cloud storage 7130. The decoding device 7240 performs processing to select the video stream that user B will view from cloud storage 7130. By selecting the optimal stream according to user B's needs, the viewing experience can be improved.

[0507] Furthermore, the decoding device 7240 may use the SEI included in the second bitstream to refer to the original encoding information or transcoding history, thereby enabling video quality management and tracing, and performing a final quality evaluation (quality confirmation process) during viewing.

[0508] In the content processing system for the second use case described above, a mechanism can be realized in which generational SEIs are passed on without loss during the transcoding or decoding process. For example, this mechanism can be implemented in a controllable enterprise system or broadcasting system.

[0509] In this second use case, since the system (broadcaster, in-vehicle system for automobiles, or corporate system) can be controlled in-house, the entire system (first encoding device 7110, second encoding device 7120, decoding device 7240) can be controlled uniformly. As a result, each encoding device adds appropriate SEI (e.g., unique ID, serial number, GOP information for encoding device 100), enabling a mechanism in which generational SEI is carried over without loss during transcoding or decoding. Therefore, in subsequent processes, this information (e.g., SEI nesting or additional information) can be used to optimize or trace video quality.

[0510] Furthermore, as a result, the first SEI is more reliably retained in video quality control or tracing, which is expected to improve reliability in network distribution or content storage and facilitate the overall processing flow.

[0511] Also, as in the case of personal use, consistent SEI management within the system is required. However, in the operational environment of companies or businesses, such as broadcasting or automotive applications, the premise that the system can be controlled is further strengthened, so the effects of the SEI generation management mechanism and the addition of transcoder-supporting SEI are more reliably exhibited.

[0512] Next, a case where the present technology is used in a use case for distributing unspecified user content (e.g., SNS distribution) will be described with reference to FIG. 34. The use case for distributing unspecified user content (third use case) is assumed for SNS platforms such as YouTube, and assumes a case where various users generate content using individual encoding devices and upload it to SNS or cloud services for distribution, where the encoding devices or coding schemes of each user are diverse and uniform control is difficult. In an environment where such unspecified users use their own encoding devices, control based on unified rules cannot be achieved, and it is assumed that the content or quality of SEI added by each encoding device is not uniform. Therefore, a case may occur in which SEI for tracing (e.g., ID unique to the encoding device, serial number, GOP information, etc.) that should be originally inserted at the time of encoding is not sufficiently added, and necessary information may be lost in subsequent processes (transcoding process, decoding process). For example, history management or quality tracing using nested SEI may not be sufficiently performed.

[0513] FIG. 34 is a diagram illustrating a configuration of a content processing system in a use case for distributing unspecified user content.

[0514] As shown in Figure 34, the content processing system in the third use case comprises a first encoding device 7310, a second encoding device 7120, cloud storage 7130, and a decoding device 7240. The first encoding device 7310 and the decoding device 7240 are information processing devices owned by different users.

[0515] The first encoding device 7310 is an encoding device used by user A. The first encoding device 7310 performs the initial steps of generating content to be uploaded to the SNS platform. Because different encoding devices are used by each user, it is unclear which bitstream will be generated and what kind of SEI will be attached. As a result, consistent information may not be attached as SEI.

[0516] Because the output from each first encoding device differs, the first bitstream may not have a uniform quality or SEI content. In this case, information necessary for subsequent transcoding may be lost.

[0517] In the second encoding device 7120, optimizing the transcoding process can be difficult because there is no unified SEI (for example, the original content information is missing).

[0518] The cloud storage 7130 selects and provides streams as needed, but if the SEI is missing, limitations arise in quality evaluation by the decoding device 7240. If the original SEI is insufficient, it may be difficult for the decoding device 7240 to make the optimal selection when selecting streams. Also, if the original SEI is insufficient, the decoding device 7240 may not be able to process according to the SEI as proposed herein, making it difficult to grasp the original encoding state or changes. For example, even if a user notices a decrease in image quality, if it is difficult to trace the cause due to insufficient SEI, quality control may become difficult.

[0519] In this case, a mechanism may be applied on the server side (for example, the second encoding device 7120) to detect missing SEIs and re-encode them or automatically add new trace SEIs (for example, a mechanism to add minimum quality control information based on the original data).

[0520] However, if the encoding device (for example, the first encoding device 7310) does not add the necessary information, it may be difficult for the server to accurately reconstruct information about the original data, potentially leading to a decrease in the accuracy of tracing or quality evaluation.

[0521] Therefore, uploads from users may be restricted, for example, by preventing the uploading of bitstreams that do not have a predetermined SEI, such as a trace SEI, to the server. For example, the second encoding device 7120 may restrict (e.g., prohibit) the uploading of a second bitstream based on the first bitstream to the cloud storage 7130 if the first bitstream does not have a predetermined SEI attached to it. This prevents untraced bitstreams from being uploaded to the server, thereby improving the quality of service.

[0522] The above described the three use cases, from the first to the third use case. The contents of each use case are summarized below.

[0523] In an environment where the generation and retention of SEI are uniformly performed in each process, such as the encoding device, the transcoder, and the decoding device (first and second use cases), optimization of processing in the next process can be achieved by implementing a generation-manageable nesting mechanism (a mechanism that allows tracing or quality evaluation later without losing information from each process by nesting the first SEI) and by newly generating and adding new SEI blocks with transcoder support information (additional information necessary during transcoding processing). In the first and second use cases, the nesting of SEI or the addition of new SEI functions effectively and contributes to system optimization or quality improvement.

[0524] On the other hand, in a third use case involving a large number of unspecified users, consistency in encoding processing or SEI addition may not be ensured, potentially preventing the full benefits of these mechanisms from being realized and making overall system quality control or tracing difficult. Therefore, for example, it may be possible to determine whether a predetermined SEI (e.g., a trace SEI) has been added to the received bitstream, and if it has not been added, restrict uploads from users by preventing the bitstream from being uploaded to the server.

[0525] [2-4. Applications of SEI] Next, three cases will be explained as examples of applications of SEI, with reference to Figures 35 to 37: when performing optimal encoding settings according to the proposed SEI (the SEI proposed in this specification), when tracing the factors causing image quality issues, and when performing processing according to the SEI added to the bitstream of the original content.

[0526] First, we will explain the case where optimal encoding settings are made according to the proposed SEI, referring to Figure 35. Figure 35 is a diagram showing the configuration of the content processing system when optimal encoding settings are made according to the proposed SEI.

[0527] As shown in Figure 35, the content processing system comprises a first encoding device 7410, a second encoding device 7420, a third encoding device 7430, and a decoding device 7440.

[0528] The first encoding device 7410 adds an SEI to the bitstream that includes an encoding device-specific ID, encoding parameters (e.g., optimal encoding parameters), GOP information, etc. In the example in Figure 35, the first encoding device 7410 generates a new SEI1_1 and adds it to the bitstream, thereby generating the first encoding device 7410's generated stream 7411.

[0529] The second encoding device 7420 can use the SEI received from the first encoding device 7410 to apply more optimal encoding settings during transcoding. The second encoding device 7420 also generates a new SEI (new SEI2_1). In the example in Figure 35, the second encoding device 7420 generates the new SEI2_1 and adds it to the bitstream to generate the second encoding device 7420's generated stream 7421. The new SEI2_1 is used in the next transcoding process.

[0530] The third encoding device 7430 receives the bitstream from the second encoding device 7420 and converts it to an optimized format or bitrate. The third encoding device 7430 can utilize the new SEI (new SEI2_1) generated by the second encoding device 7420 to perform more efficient transcoding. This allows for consistent encoding quality to be maintained and high-quality reproduction in the final decoding process. Alternatively, the third encoding device 7430 may generate its own generated stream 7431 by copying the new SEI2_1.

[0531] The decoding device 7440 uses the SEI optimized in each process up to the third encoding device 7430 to perform high-quality video playback based on the original encoding information or transcoding history.

[0532] When multi-stage transcoding is performed, the original content's SEI (first SEI) can become buried under new SEIs, potentially making it difficult to optimize encoding settings or reference trace information in subsequent processes. Therefore, it is crucial to manage (nest) the SEIs added by the encoding device in each transcoding process. In other words, it is important to manage the generation of SEIs for each transcode.

[0533] With "Nesting SEI," the original SEI is nested (hierarchically maintained) for each transcode, ensuring that information about the original content is not lost in subsequent processes. This allows for the reference of the original data and encoding information, and also enables the acquisition of generation information.

[0534] By adding information useful for tracing (such as codec type, QP / rate, quality metrics, encoding device identification number, and original material identification information) to the new SEI, it is possible to provide information to determine the optimal encoding process for subsequent steps.

[0535] This allows for more efficient transcoding, improving compression efficiency or video quality. In other words, subsequent processing units can understand the characteristics of the original data and perform optimal conversion processing (e.g., GOP adjustment).

[0536] Note that "Nesting SEI" and "New SEI" may be treated as the same SEI, or they may be treated separately for simplicity.

[0537] Furthermore, the SEI may be extracted and updated at any point during each transcoding process. The format of the extracted and updated information may also be defined in advance. Consistency with existing operational practices or standards may also be considered.

[0538] Many parameters may be added to the new SEI added in each transcoding process, such as the codec type, QP / rate, quality metrics, encoding device identification number, and information about the original material. A uniform configuration or description format may be defined for this purpose.

[0539] "Nesting SEI" and "New SEI" may be separated. Alternatively, they may be integrated into a simpler configuration. While double nesting is also possible, individual nesting methods may be simpler and easier to understand, and may be selected as the optimal configuration.

[0540] Next, we will explain the case of tracing the factors causing image quality issues, referring to Figure 36. Figure 36 is a diagram showing the configuration of the content processing system when tracing the factors causing image quality issues.

[0541] As shown in Figure 36, the content processing system comprises a first encoding device 7510, a second encoding device 7520, a third encoding device 7530, and a decoding device 7540. The first encoding device 7510 has the same functions as the first encoding device 7410 shown in Figure 35, and the generated stream 7511 contains the same information as the generated stream 7411.

[0542] The second encoding device 7520 nests (nested SEI2_1) the SEI received from the first encoding device 7510 and stores it, and then adds a new SEI (new SEI2_1) to generate the second encoding device 7520's generated stream 7521. The nested SEI has a mechanism to hierarchically store the original SEI for each transcoding process. This makes it easier to access information about the original content in post-processing and allows tracking at which stage quality degradation occurred. In addition, new SEI2_1 contains information to track at which stage (which transcoding process) quality degradation occurred, and newly added information such as the codec type, QP / rate, quality metrics, encoding device identification number, original material or stream information before transcoding.

[0543] The third encoding device 7530 receives the bitstream from the second encoding device 7520 and converts it to an optimized format or bitrate. The third encoding device 7530 also copies the nesting information (nested SEI2_1) from the second encoding device 7520 and nests the SEI (new SEI2_1) generated by the second encoding device 7520 to generate the third encoding device 7530's generated stream 7531. As a result, the SEI is nested for each generation, allowing for generation identification. Furthermore, it is possible to prepare for the final decoding process while retaining the information necessary for quality tracing.

[0544] The decoding device 7540 uses the SEI optimized in the processes up to the third encoding device 7530 to perform high-quality video playback based on the original encoding information or transcoding history. Furthermore, the decoding device 7540 uses the SEI added in each process to analyze quality changes or degradation factors from encoding to transcoding, identifies the cause when a problem occurs, and performs quality control based on trace information.

[0545] Furthermore, since a simple SEI management method directly impacts operational reliability and processing efficiency in subsequent stages, multiple methods may be used, switching between them as needed for the service. Examples of multiple methods include, but are not limited to, a method that integrates nested SEI and new SEI, a method that separates nested SEI and new SEI, a method that double-nestes nested SEI and new SEI (a method that maintains information in multiple stages), and a method that nests individually for each process.

[0546] Next, we will explain the case where processing is performed according to the SEI (first SEI) attached to the bitstream of the original content, with reference to Figure 37. Figure 37 is a diagram showing the configuration of the content processing system when processing is performed according to the SEI attached to the bitstream of the original content.

[0547] In transcoding, the SEI (System Information Index) added during encoding may be lost or altered in subsequent processes. Therefore, a mechanism is needed to preserve the original SEI (including, for example, the SEI of the original content), and adopting a nesting (hierarchical preservation) method is a viable option. There may be differences in ease and accuracy of referencing or tracing in subsequent processes between simply preserving the original SEI as is and managing it hierarchically through nesting. In particular, when the content of the SEI changes due to transcoding, the nesting method is important to ensure that the state of the original content can be accurately referenced. Therefore, the following describes a mechanism for preserving the original SEI (initial information added by the encoding device) by nesting (hierarchically) it in each transcoding process. This allows for the accurate acquisition of the original content's SEI (the first SEI) in subsequent processes, which can then be used as "evidence" during quality evaluation or reprocessing. Therefore, the following describes the nesting structure.

[0548] As shown in Figure 37, the content processing system comprises a first encoding device 7610, a second encoding device 7620, a third encoding device 7630, and a decoding device 7640.

[0549] The first encoding device 7610 encodes the original content. The first encoding device 7610 also generates the generated stream 7611 of the first encoding device 7610 by adding a first SEI (existing SEI1_1 and existing SEI1_2) to the bitstream. Existing SEI1_1 and existing SEI1_2 include the encoding device's ID or serial number, codec type, QP / rate, quality metrics, etc. This information functions as "evidence" to verify the state of the original content in later processes.

[0550] The second encoding device 7620 performs the first transcoding process. Specifically, the second encoding device 7620 receives a bitstream from the first encoding device 7610 and converts it to a new format or bitrate. The second encoding device 7620 also nests (nested SEI2_1) the first SEIs (existing SEI1_1 and existing SEI1_2) and holds them, and adds newly generated SEIs (existing SEI2_1 and existing SEI2_2) to generate the second encoding device 7620's generated stream 7621. This ensures that the information of the original content can be referenced in subsequent processes. The second encoding device 7620 may also add information indicating the number of SEIs contained in nested SEI2_1, which is a single data structure, to the additional information.

[0551] The third encoding device 7630 performs a second transcoding process after the first transcoding process. Specifically, the third encoding device 7630 receives a bitstream from the second encoding device 7620 and converts it to an optimized format or bitrate. The third encoding device 7630 also copies the nested SEI (nested SEI2_1) from the second encoding device 7620 and then nests the SEI (existing SEI2_1 and existing SEI2_2) generated by the second encoding device 7620 (generating nested SEI3_1), thereby generating the generated stream 7631 of the third encoding device 7630. This ensures that the original encoded information is not lost even after multiple transcoding processes. The third encoding device 7630 may also add information to the additional information indicating the number of SEIs contained in nested SEI2_1 and nested SEI3_1, which are separate data structures.

[0552] The decoding device 7640 decodes the bitstream for the user to view the content. The decoding device 7640 also uses nested SEIs at each stage to verify the state of the original data from encoding to transcoding, and, if necessary, tracks the state or change history of the original content for quality evaluation or reprocessing. The SEIs may also be used for processing such as display.

[0553] Furthermore, information contained in the original content bitstream (e.g., the generated stream 7611) that should not be deleted (e.g., camera parameters, lens distortion, camera rotation, etc.) may be processed so as not to be deleted when the SEI is updated, such as during transcoding or re-encoding. For example, a specific SEI that specifies "do not delete" data in advance may be added to the bitstream in the first encoding device 7610. This prevents the data from being removed by subsequent encoding devices such as the second encoding device 7620, and thus allows for tracking or tracing of information during the transcoding process without employing a nesting structure.

[0554] Furthermore, SEIs that you wish to continue adding to the bitstream may be continuously added to the bitstream, for example, by copying nesting SEI2_1 from the second encoding device 7620 to the third encoding device 7630. This allows, for example, SEIs that were included in the bitstream of the original content to be continued in subsequent processes.

[0555] Furthermore, SEIs such as the following may be nested and added to subsequent bitstreams. Examples of such SEIs include those to which (i) history information that changes with each transcoding process (encoding parameters, quality metrics, event information, etc. that are updated at each stage), (ii) data that makes it possible to compare both the basic information of the original content and the change information added in later stages (for example, the initial rate-fit example and the history of subsequent changes), and (iii) copy control information, which is management information for copyright protection or copy control (for example, control parameters similar to ARIB (Association of Radio Industries and Businesses) descriptors, such as the number of generations that can be copied, expiration dates, and copy prohibition rules).

[0556] The ARIB broadcasting standard defines copy control rules in the descriptors used for managing broadcast content. For example, there are items that indicate "how many generations of copying are allowed" or "conditions for prohibiting copying." A mechanism similar to the ARIB descriptor is used in the management of live content. In other words, in the management of live content, there are control settings such as how many generations of copying are allowed from the original, or whether copying is prohibited.

[0557] Such control information may be used as management data within the system, and a wider variety of control parameters (e.g., number of copyable generations, expiration date, copyright protection settings, etc.) may be added to the SEI or system information. Applying such copy control rules allows for more flexible and stringent content management across the entire system.

[0558] Furthermore, the following SEIs may be copied and added to subsequent bitstreams. Examples of such SEIs include: (i) information that is fixedly set on the encoding device and does not need to be updated (e.g., initial bitrate setting, camera settings at the time of shooting, etc.); (ii) static metadata that can be adequately handled by existing management methods within the system (e.g., fixed scene description, shooting conditions of the original content, etc.); and (iii) auxiliary information that does not need to be updated, such as SEIs that include information indicating whether or not the content to be processed was generated by AI.

[0559] [2-5. Issues related to uncertainty about future information] This section explains the problems that arise when future information is unknown, such as during real-time transcoding.

[0560] For example, because the bitrate 10 seconds ahead is unknown, there is a risk that the image quality may suddenly deteriorate during transcoding. Also, with encoding information from one generation ago, sufficient correction is not possible, and if the information from two generations ago (the original source image) is missing, optimal transcoding becomes difficult. Furthermore, in situations where timely information provision is required, such as real-time processing, the lack of future change information may lead to delays in response.

[0561] Therefore, future information, including future fluctuations in difficulty or data volume, may be pre-embedded as a new SEI. For example, by adding the bitrate for each GOP of the encoded content before transcoding as an SEI, that SEI can be referenced during transcoding. This allows for the estimation of the complexity of the GOP to be processed, and high-quality transcoding can be performed by encoding with appropriate quantization values. For example, embedding future information in the SEI can prevent a sudden decrease in image quality after transcoding and enable optimal processing in advance. This is particularly effective in situations where there are significant future fluctuations in the transcoding process and concerns about sudden changes in bitrate or image quality.

[0562] Furthermore, a nesting structure may be introduced to retain encoding information or original image information from multiple generations (especially two generations prior). The nesting structure allows for referencing detailed information from two generations prior, enabling more advanced correction and adjustment. For example, it is particularly effective when encoding information spanning multiple generations exists and its history is used in subsequent processes to perform optimal corrections.

[0563] Furthermore, to compensate for quality differences between encoding devices, SEI (System Information Indicator) may be added to record original noise information such as film grain in detail. By retaining original noise information such as film grain in this way, it becomes easier to reproduce the original texture or atmosphere of the image. For example, this is particularly effective in real-time processing (e.g., live streaming) when preceding future information contains information that significantly impacts a quick response.

[0564] Furthermore, a system could be introduced that preserves the resolution information of the original content and uses AI or other means to perform upsampling for restoration. This allows for higher quality restoration during the upsampling process, leading to an overall improvement in video quality. This is particularly effective when high-quality restoration is required, such as for archival footage where the original texture of the video (e.g., film grain, noise, etc.) is important, for restoration work, and for film reproduction.

[0565] When offline, a method can be adopted in which SEIs are aggregated at the beginning of the bitstream. For example, in the case of a file format, a method can be adopted in which a single SEI is aggregated at the beginning of the bitstream. Because it is a static operation, it is possible to refer to the information of the entire segment later.

[0566] Here, both offline and online / real-time operation use cases exist. In the case of offline operation, control information is fixed, and dynamic information such as the next I-frame or bitrate fluctuations may not be reflected in real time during transcoding. For example, if there is a change in the GOP structure, the leading SEI alone may not provide sufficient control information. In this case, it is considered that the existing method (aggregating SEI at the beginning of the bitstream) can adequately address the issue.

[0567] In online and real-time operations, instead of using one SEI per sequence, it is sometimes possible to insert an SEI for each GOP (Group of Processors) and update it dynamically in real time. In this case, it is necessary to accurately understand and communicate future information for each segment (e.g., I-frame timing, bitrate fluctuations, etc.), so it may be possible to notify in advance of the arrival of the next I-frame via an SEI and reflect this in the control logic. For example, by communicating information such as "the next I-frame will appear in 10 frames" via an SE at the beginning of a GOP, control such as bitrate adjustment becomes easier.

[0568] In real-time processing, transcoding is performed multiple times, requiring the insertion of SEIs (System Information Interfaces) into each sequence (or GOP / I-wrap) and monitoring and controlling their state each time. Multiple SEIs are scattered throughout the bitstream, and control information (e.g., timing of the next I-frame, bitrate fluctuation information, etc.) that is dynamically updated for each sequence must be acquired and processed in real time. A method that places only one SEI at the beginning cannot reflect differential information when the GOP structure changes, thus requiring operational flexibility. Furthermore, the system load due to real-time updates or the complexity of communication control become challenges.

[0569] Therefore, for example, SEIs are inserted at each GOP (Group of Processors) to provide advance notification of when the next I-frame will arrive (e.g., after 10 frames, after 10 seconds). Based on this information, control signals such as bitrate adjustments are generated to optimize the transcoding control logic. Considering operational examples such as YouTube's DASH distribution, a method may be applied in which SEIs are aggregated in a separate area from the data, while still updating the control information for each segment in real time.

[0570] [2-6. Other Information Regarding SEI] First, (i) the SEI nesting mechanism that enables generation management will be explained. Instead of simply overwriting the SEI generated in the initial stage (for example, an SEI containing encoding information of the imaging parameters or first encoding format generated by the first encoding device) in subsequent transcoding processes, it is maintained as a nested (hierarchical) structure.

[0571] The first SEI generated (the initial SEI) is copied and recorded as a nesting. During subsequent transcoding (conversion to the second encoding format), the original SEI is maintained within the nesting, along with any changed parameters or newly added information.

[0572] This generation management mechanism ensures that historical information from each encoding stage (such as serial numbers (SN), GOP structure, or other encoding parameters) is never lost and is always accessible to subsequent processing systems.

[0573] This improves the overall transparency and reliability of the system because quality evaluation, troubleshooting, and history to be referenced during future reprocessing are centrally managed at each stage from video generation, transcoding, and reprocessing.

[0574] Next, (ii) a new SEI block that adds transcoder support information will be described. We propose a new SEI block that generates additional information useful for transcoding (for example, parameters that are helpful for the next stage of encoding) that was difficult to convey with conventional SEI.

[0575] Based on the SEI generated by the encoding device or initial transcoding device, information required for the next transcoding process (e.g., optimal encoding parameters, operating conditions to be communicated between systems, etc.) is added. This new SEI block is integrated with the original SEI through a nesting structure and used as a source of information for optimizing processing in the next stage. As a result, the transcoding device (transcoder) can achieve higher quality transcoding, improving the overall output quality of the system.

[0576] In this way, the additional SEI allows subsequent processing systems to have a detailed understanding of the original encoding state and the changes made at each stage. This information enables optimization during transcoding, minimizing quality degradation or inconsistencies.

[0577] The above-mentioned (i) SEI nesting mechanism capable of generational management, and (ii) new SEI block technology that adds transcoder support information, not only retain information for each process, but also make it easier to utilize that information in subsequent processing.

[0578] (i) The SEI nesting mechanism technology, which enables generational management, allows each encoding history from video generation to final playback to be managed for each generation, and lost information can be recovered and referenced, dramatically improving quality evaluation or fault analysis.

[0579] (ii) The new SEI block technology that adds transcoder support information provides additional metadata to support optimization in the transcoding process, thereby contributing to improved accuracy and efficiency of the overall process.

[0580] These features ensure the retention of initial SEIs, which tend to be discarded in conventional systems, and significantly improve the reliability of video quality assurance and troubleshooting by employing integrated metadata management technology that adds necessary additional information between each process.

[0581] (Embodiment 3) In this embodiment, the syntax structures and other aspects when nesting SEIs will be described with reference to Figures 38 to 51.

[0582] [3-1. Examples of Syntax Structures] Figure 38 shows an example of a syntax structure when nested individually. The SEI shown in Figure 38 is added each time transcoding is performed.

[0583] "transcode_nesting_inc_idc" is an index (i.e., identification information) that makes it possible to identify which nesting SEI was generated during which transcoding. For example, the value may be incremented by 1 each time transcoding is performed. In addition, the SEI may also maintain information that links "transcode_nesting_inc_idc" with information about the server that performed the transcoding process or the date and time of execution. This makes it possible to identify, for example, the implementer (implementing entity) that performed the transcode_nesting_inc_idc-th transcode.

[0584] For example, if the value "2" is specified as "transcode_nesting_inc_idc", this may indicate that this SEI is the third nesting (since counting starts from 0, the value "2" = third). The value of "transcode_nesting_inc_idc" may also be used as identification information attached to each transcode, in the sense of "increment".

[0585] The value "num_nesting_seis_minus1" contains the number of nested SEIs minus 1. For example, if the value is set to "1", it indicates that there are a total of (1 + 1), or 2 nested SEIs. The upper limit of the loop processing is managed as "number - 1", and the same index representation as arrays or lists is used, but not limited to.

[0586] "nesting_message()" indicates the payload byte of the nesting SEI. This byte does not contain the nesting SEI. For example, "nesting_message()" may contain "num_nesting_seis_minus1" + 1 existing SEIs. For example, if "num_nesting_seis_minus1" = 1, it indicates that two SEIs are nested, and as information, "nesting_message()" may contain information such as source picture timing SEI or quality metrics SEI.

[0587] This allows SEIs that were attached to the bitstream before transcoding to be added to the bitstream after transcoding as nesting SEIs, enabling the transfer of past SEIs to subsequent processes. Additionally, "trace_info_sei()" shown in Figure 39, "quality_metrics_sei()" shown in Figure 40, and "original_data_reference_sei()" shown in Figure 42 may be added to "nesting_message()". This enables the transfer of past SEIs to subsequent processes, such as trace information and original content information.

[0588] The expression "for(i=0;i<=num_nesting_seis_minus1;i++){nesting_message()}" indicates that the number of nesting SEI payloads specified within the loop will be output sequentially. Specific payload information (e.g., encoding device ID, encoding parameters, etc.) is embedded in the bitstream as information retained at each transcoding stage.

[0589] Figure 39 shows an example of the syntax structure when adding a trace SEI.

[0590] As shown in Figure 39, "encoder_id" is a value used to uniquely identify the encoding device. For example, it may be set to 12345. This makes it possible to trace which encoding device was used.

[0591] "serial_number" indicates a serial number used to identify individual encoding processes. For example, it might be set to 987654321. This allows the history of encoding processes to be traced.

[0592] "codec_type" indicates the type of codec used. For example, a value such as 3 is set. The values ​​and codec types are predetermined; for example, 3 corresponds to H.264 and 4 corresponds to HEVC.

[0593] "qp_value" indicates the value of the quantization parameter (QP), which has a significant impact on video quality. For example, it might be set to 28.

[0594] "bitrate" indicates the bitrate information during encoding. For example, a value such as 1500 is set. Note that the unit of the numerical value (in this case, 1500) is not limited to kbps, although it may be kbps.

[0595] "quality_metrics" is a numerical value that indicates metrics useful for quality evaluation. For example, it lists the value of quality indicators such as the PSNR (Peak Signal to Noise Ratio) value (e.g., 45.67). The PSNR value is an indicator used to evaluate image quality degradation after compression.

[0596] Figure 40 shows an example of the syntax structure when the Quality Metrics SEI is divided.

[0597] As shown in Figure 40, "psnr" indicates the PSNR value. For example, a value such as 42.5 may be listed.

[0598] The "ssim" (Structural Similarity Index) indicates a value that shows the similarity of image quality. For example, a value such as 0.95 may be listed.

[0599] "VMAF" (Video Multi-Method Assessment Fusion) represents a comprehensive quality assessment based on visuals. The VMAF score is a value assigned to the comprehensive quality assessment based on visuals, and a value such as 90.0 is displayed.

[0600] Figure 41 shows an example of a syntax structure when performing multiple levels of nesting.

[0601] As shown in Figure 41, "outer_nesting_id" indicates the outer nesting identifier and is used when multiple outer nesting groups exist. For example, a value such as 1 is entered.

[0602] The value "num_outer_nesting_seis_minus1" indicates the number of nesting SEIs contained within the outer group minus 1. For example, if 1 is entered, it indicates that there are two SEI entries in the outer group.

[0603] The `inner_nesting_id` within `inner_nesting_sei()` indicates the inner nesting identifier, which is used for identification within the outer group. For example, a value such as 0 is entered.

[0604] "num_inner_nesting_seis_minus1" indicates the number of SEI entries contained in the inner nesting section. For example, if 2 is listed, it indicates that there are 3 SEI entries in the inner nesting section.

[0605] "nesting_message()" is where the actual payload data is inserted, and each inner nesting entry holds detailed data such as source information.

[0606] Figure 42 shows an example of the syntax structure when adding an SEI for original data reference.

[0607] As shown in Figure 42, "original_data_id" is an ID used to uniquely identify the original data, and a value such as 1024 is entered.

[0608] "original_file_name" indicates the original file name or material name and is used, for example, as identification information for re-referencing. For example, a string such as "video_source.mov" is written there.

[0609] "original_resolution" indicates the resolution (e.g., the number of pixels in height or width) of the original video (e.g., the content to be processed), and a value such as 1080 is listed.

[0610] "original_duration" indicates the duration of the original stream (in seconds, for example), and a value such as 120 is listed.

[0611] Figure 43 shows an example of the syntax structure when adding an SEI that includes information about the transcoded subject.

[0612] As shown in Figure 43, "transcode_system_id" indicates the ID of the registered system provider, and 0 is entered if the system provider is not registered.

[0613] "transcode_system_label" is a string representing the name of the system provider performing the transcoding.

[0614] "transcode_system_service_type" indicates the service provided by the system provider. For example, 0 may correspond to broadcasting, 1 to real-time communication, 2 to non-real-time communication, 3 to storage, and 4 to multicast.

[0615] [3-2. Configuration of the Content Processing System] Figure 44 is a diagram illustrating an example of using nesting of SEI. Specifically, Figure 44 shows the content processing system and the generated bitstream. In each transcoding process, a mechanism is used to nest (layer) the original SEI (initial information added by the encoding device, etc.) and retain it.

[0616] As shown in Figure 44, the content processing system comprises a first encoding device 8010, a second encoding device 8020, and a decoding device 8030. The first encoding device 8010 is owned by user A, and the decoding device 8030 is owned by user B. User A and user B are different users. In particular, when the content of the SEI changes due to transcoding, a nesting method is important in order to accurately refer to the state of the original content.

[0617] The first encoding device 8010 encodes the original content and generates a first bitstream. The first encoding device 8010 also generates a generated stream 8011 by adding a first SEI (trace_info_sei()_1 and existing SEI1_2).

[0618] trace_info_sei()_1 contains the encoding format and encoding parameters of the content generated by user A. Specifically, trace_info_sei()_1 includes the ID or serial number of the first encoding device 8010, the codec type, QP / rate, quality metrics, etc. trace_info_sei()_1 may also indicate, for example, that it was encoded using HEVC. The following describes an example where the first encoding device 8010 encoded using HEVC.

[0619] This information will be used as "evidence" to verify the state of the original content in later stages of the process.

[0620] The second encoding device 8020 performs the first transcoding process. The second encoding device 8020 receives the bitstream from the first encoding device 8010 and converts it to a new format or bitrate. The second encoding device 8020 also nests (nested SEI2_1) the first SEI (trace_info_sei()_1 and existing SEI1_2) and adds newly generated SEI (trace_info_sei()_2 and existing SEI2_2) to generate the second encoding device 8020's generated stream 8021. This ensures that the information of the original content can be referenced in subsequent processes.

[0621] Furthermore, trace_info_sei()_2 contains information about the encoding format, encoding parameters, etc., related to the transcoding process performed by the second encoding device 8020 (for example, the server). For example, it may state that the data was encoded in VVC. In this case, the second encoding device 8020 indicates that it transcoded from HEVC to VVC.

[0622] In the example shown in Figure 44, the generated stream 8021 is the final transcoded bitstream. Such a bitstream may contain an optimized SEI.

[0623] The decoding device 8030 performs decoding processing so that user B, the end user, can view the bitstream. The decoding device 8030 can also use nested SEIs at each stage to check the state of the original data from encoding to transcoding, and, if necessary, track the state or change history of the original content. The decoding device 8030 can then utilize the results during quality evaluation or reprocessing.

[0624] Specifically, the decoding device 8030 can, by referring to "trace_info_sei()_1" within nesting SEI2_1, determine, for example, that the encoding format of the received content before it was encoded by the second encoding device 8020 was HEVC, and also determine its encoding parameters. Furthermore, the decoding device 8030 can, by referring to "trace_info_sei()_2", determine, for example, that the received content has been transcoded from HEVC to VVC by the second encoding device 8020.

[0625] This allows, for example, user B of the decoding device 8030 to obtain clues for analyzing whether the distortion in the received bitstream occurred before transcoding by the second encoding device 8020 or after transcoding by the second encoding device 8020.

[0626] [3-3. Operation] Next, the operation of the content processing system configured as described above will be explained with reference to Figures 45 and 46. Figure 45 is a flowchart showing an example of the encoding process performed by the encoding device 100 according to this embodiment. For example, the following operations are performed by the second encoding device 8020.

[0627] As shown in Figure 45, the encoding device 100 receives the first image and the first additional information (S11). The first additional information includes information contained in the SEI message for the input data (in this case, the first image), and for example, it includes information contained in the SEI message that was added before the encoding process, as past additional information added before the encoding process. The encoding device 100 receives this information, for example, from the first encoding device 8010. trace_info_sei()_1 and existing SEI1_2 shown in Figure 44 are examples of the first additional information.

[0628] Next, the encoding device 100 encodes the first image into a bitstream (S12).

[0629] Next, the encoding device 100 generates second additional information which is stored within the data structure containing the first additional information (S53). Nesting SEI2_1 shown in Figure 44 is an example of second additional information. The second additional information for the first image includes past additional information (in this case, the first additional information) that was added before the encoding process of the first image. In other words, the SEI for the first image includes past SEIs that were added before the encoding process of the first image. For example, the first image is data obtained by performing a conversion process on the content to be processed, and the past additional information may include information about the conversion process performed on the content to be processed.

[0630] Next, the encoding device 100 encodes the second additional information into a bitstream (S14).

[0631] Figure 46 is a flowchart showing an example of a decoding process performed by the decoding device 200 according to this embodiment. For example, the following operations are performed by the decoding device 8030.

[0632] As shown in Figure 46, the decoding device 200 decodes the first image from the bitstream (S21).

[0633] Next, the decoding device 200 obtains the first additional information (S23) by decoding the second additional information, which is stored within the data structure, from the bitstream (S62). In other words, the decoding device 200 obtains the nested first additional information.

[0634] [3-4. Other System Configurations] Other system configurations besides the content processing system shown in Figure 44 will be explained with reference to Figures 47 to 51.

[0635] Figure 47 shows another first example of the configuration of the content processing system according to this embodiment.

[0636] As shown in Figure 47, the content processing system comprises a first encoding device 8110, a second encoding device 8120, a third encoding device 8130, and a decoding device 8140.

[0637] The first encoding device 8110 collects initial information such as location information, time, and camera parameters when creating a video, and generates a bitstream and an initial SEI (first SEI) based on this information. The first encoding device 8110 generates existing SEI1_1, existing SEI1_2, and new SEI1_1 as initial SEIs, and generates the first encoding device 8110's generated stream 8111.

[0638] Existing SEI1_1 and existing SEI1_2 may be any SEI, such as a Source Picture Timing SEI. New SEI1_1 may be an SEI that includes information about the encoding process at the first encoding device 8110 (e.g., initial encoding format (e.g., HEVC)), such as a UGC SEI. New SEI1_1 plays an important role as basic data used in subsequent transcoding processes.

[0639] The second encoding device 8120 performs transcoding while retaining the SEIs attached to the bitstream received from the first encoding device 8110. In this process, the second encoding device 8120 copies and retains the original SEIs (in this case, existing SEI1_1 and existing SEI1_2), and further adds new SEIs (existing SEI2_1, existing SEI2_2, and new SEI2_1) to generate the second encoding device 8120's generated stream 8121. This allows for systematic management of historical information and enables the provision of all information necessary for the next process at once.

[0640] Furthermore, the second encoding device 8120 may choose not to add the new SEI1_1 to the generated stream 8121 after transcoding. This reduces the number of bits.

[0641] The new SEI may include detailed information about the transcoding (e.g., SN information, GOP information, modified coding parameters, distribution conditions, etc.). Of particular importance, the output of the second coding device 8120 includes the original SEI and the new SEI added by the second coding device 8120, resulting in a total of five SEIs. This ensures that the necessary information is preserved without loss at each stage of the transcoding process, enabling efficient transcoding.

[0642] The third encoding device 8130 copies the SEIs contained in the bitstream received from the second encoding device 8120 and adds new SEIs (existing SEI3_1 and existing SEI3_2) to generate the third encoding device 8130's generated stream 8131. In this way, the third encoding device 8130 generates a bitstream that includes multiple generations of SEIs, such as the current generation SEIs (existing SEI3_1 and existing SEI3_2), the previous generation SEIs (existing SEI2_1 and existing SEI2_2, etc.), and the SEIs from two generations ago (existing SEI2_1 and existing SEI2_2, etc.). Furthermore, information indicating the generation of each SEI may be added to the bitstream, or SEIs containing linking information that links each SEI to the identification information of the encoding device to which it was added may be added to the bitstream.

[0643] The new SEI generated by the third encoding device 8130 contains information useful for quality evaluation or troubleshooting in the next decoding stage and may be utilized in subsequent processes.

[0644] The decoding device 8140 may analyze the SEIs (e.g., all SEIs) held in each transcoding process included in the received bitstream to gain a detailed understanding of the entire processing, encoding, and distribution history of the video. The decoding device 8140 may also refer to all nesting SEIs to evaluate the quality state of the original content or the impact of each transcoding process, and use them for reprocessing or problem solving.

[0645] In this way, each encoding device comprehensively manages historical information through the SEI copying operation and transmits the information to the next process. In particular, the second encoding device 8120 has a mechanism that adds a total of five SEIs by holding both the original SEI and the new SEI, so that the information necessary at each stage of transcoding is accurately maintained and can be centrally tracked and evaluated.

[0646] Figure 48 shows an example of the syntax structure when adding an SEI that includes linking information.

[0647] As shown in Figure 48, "num_seis_minus1" indicates the number of SEIs contained within "accumulate_sei()". The number of SEIs may also indicate the number of one or more SEIs per generation of the conversion process.

[0648] "encoder_id" indicates the identification information of the encoding device to which the i-th SEI was added, and may also be information used for SEI generation management (generation information). However, the SEI generation information is not limited to this, and any information that indicates the generation may be used.

[0649] "sei_id" indicates information for identifying the i-th SEI. "encoder_id" and "sei_id" may be linked to an SEI. This allows the SEI "sei_info()" to which "encoder_id" has been added to be identified using "sei_id". Alternatively, "sei_info()" may be written in "accumulate_sei()" instead of "sei_id". This allows "encoder_id" and "sei_info()" to be directly linked.

[0650] This allows the decryption device 8140 to determine which SEI was added and at what timing by checking the information of `accumulate_sei()`.

[0651] Figure 49 shows another second example of the configuration of the content processing system according to this embodiment.

[0652] As shown in Figure 49, the content processing system comprises a first encoding device 8210, a second encoding device 8220, a third encoding device 8230, and a decoding device 8240. The first encoding device 8210 has the same functions as the first encoding device 8110 shown in Figure 47, and the decoding device 8240 has the same functions as the decoding device 8140 shown in Figure 47. In addition, the generated stream 8211 contains the same information as the generated stream 8111 shown in Figure 47.

[0653] The second encoding device 8220 performs transcoding while retaining the original SEI contained in the bitstream received from the first encoding device 8210. In this process, the second encoding device 8220 generates the generated stream 8221 of the second encoding device 8220 by nesting the original SEI (generating nested SEI2_1) and adding new SEIs (existing SEI2_1, existing SEI2_2, and new SEI2_1). Nesting means hierarchically retaining SEIs, and may, for example, be structured and re-stored.

[0654] "Nesting SEI2_1" is a mechanism that holds SEIs generated by the first encoding device 8210 in a nested state and systematically manages historical information. The second encoding device 8220 may provide all the information necessary for the next process at once by adding new SEIs to this information.

[0655] The new SEI may include detailed information about the transcoding (e.g., SN information, GOP information, modified coding parameters, distribution conditions, etc.). Of particular importance, the output of the second coding device 8220 includes the original SEI and the new SEI added by the second coding device 8220, resulting in a total of five added SEIs. This ensures that the necessary information is preserved without loss at each stage of the transcoding process, enabling efficient transcoding.

[0656] The third encoding device 8230 copies the nested SEI (nested SEI2_1) contained in the bitstream received from the second encoding device 8220 and generates new SEIs (existing SEI3_1 and existing SEI3_2). Here, existing SEI2_1, existing SEI2_2, and new SEI2_1, which are SEIs from one generation or more ago for the third encoding device 8230, are added (inserted) to the nested SEI2_1, which is the history information from the previous stage (held as nested SEI2_1).

[0657] Thus, in this content processing system's method for managing SEI generations, SEIs are categorized according to whether or not they are one generation or older. SEIs that are one generation or older are kept within nested SEIs, while all others are kept and managed outside of nested SEIs (outside the nesting).

[0658] In this way, the third encoding device 8230 generates a generation stream 8231 which includes nesting SEI2_1, an SEI that stores SEIs from one or more generations ago, and a new SEI (the current generation SEI) generated by the third encoding device 8230. Nesting SEI2_1 stores multiple generations of SEIs (additional information elements) in a single SEI based on information indicating the number (see Figure 48). It can also be said that nesting SEI2_1 stores the additional information elements in a repeating structure based on information indicating the number.

[0659] This allows for the identification of whether the SEI attached to the bitstream is an SEI from one or more generations ago, or a current-generation SEI, using a simple configuration.

[0660] Furthermore, the third encoding device 8230 may insert the current generation SEI into the nesting SEI when the current generation SEI becomes one generation or more older. This allows the SEI of one generation or more older to be properly retained within the nesting SEI.

[0661] Furthermore, the method for categorizing SEIs is not limited to using generation information; any method may be used. For example, the third encoding device 8230 may add importance information to the SEIs and categorize them according to their importance. This allows, for example, when it is necessary to delete SEIs to reduce the amount of code, SEIs included in low-importance categories can be deleted preferentially, thereby reducing overhead while minimizing the impact on subsequent processing.

[0662] Furthermore, the new SEI includes information that can be used for quality evaluation or troubleshooting in the subsequent decoding stage, and may be utilized in later processes.

[0663] The decoding device 8240 may analyze the nested SEIs (e.g., all SEIs) in each transcoding process contained in the received bitstream to gain a detailed understanding of the entire processing, encoding, and distribution history of the video. The decoding device 8240 may then refer to all nested SEIs to evaluate the quality state of the original content or the impact of each transcoding process, and use this information for reprocessing or problem solving.

[0664] In this way, each encoding device manages historical information integrally through SEI nesting operations and transmits the information to the next process. In particular, the second encoding device 8220 has a mechanism that adds a total of five SEIs by holding both the original SEI and the new SEI, so that the information necessary at each stage of transcoding is accurately maintained and can be centrally tracked and evaluated.

[0665] [3-5. Example of using UGC SEI] UGC SEI will be explained with reference to Figures 50 and 51. Figure 50 is a diagram showing an example of the syntax structure when generating UGC SEI.

[0666] As shown in Figure 50, the syntax structure includes the following syntax elements.

[0667] "pre_codec_type" indicates the encoding format of the original content (content before re-encoding) (codec type, encoding format before re-encoding, etc.). For example, it contains information (flags / identifiers) indicating whether the content before re-encoding is AVC, HEVC, VVC, or another codec (e.g., AV1 / VP9). For example, if the encoding format of the content before re-encoding is HEVC, and that content is re-encoded (transcoded) with VVC, a UGC SEI may be added to the VVC bitstream after re-encoding, and information indicating HEVC may be added as information about the encoding format before re-encoding within that UGC SEI.

[0668] This allows an application that receives a VVC bitstream to, for example, understand that the original content before re-encoding by VVC was HEVC-encoded by referring to the "pre_codec_type" of the UGC SEI appended to the VVC bitstream. For example, it can estimate, or obtain hints for estimation, whether the encoding distortion occurring during decoding of a VVC-re-encoded bitstream is distortion that occurred during the VVC re-encoding process or distortion that was present in the original HEVC content encoded by HEVC.

[0669] Furthermore, the encoding format before re-encoding may include information such as "uncompressed." This allows the decoding device to know that the received bitstream was generated by encoding uncompressed data. In addition, this clarifies the conversion history at the receiving end or in subsequent processes, which can be used for quality comparison or root cause analysis.

[0670] "pre_codec_parameter_info()" indicates the original encoding conditions (encoding conditions of the encoded content before re-encoding). It contains at least one of the following: GOP structure (encoding structure such as GOP length, I / P / B frame type, RA structure or LD structure), picture timing information (I-picture insertion timing, frame rate, etc.), information equivalent to the QP value, and bitrate.

[0671] With this information, the decoding device can determine, for example, whether the noise originated during the HEVC encoding process or during the subsequent VVC re-encoding process.

[0672] "pre_vui()" indicates the VUI information of the original content (VUI information that was attached to the encoded content before re-encoding), and for example, it describes the video specifications of the encoded content before re-encoding, such as the color format, color space, and luminance range. This makes it possible to reproduce the characteristics accurately when playing back the video.

[0673] "pre_sei_info()" indicates the original SEI that was attached at the time of input (for example, the SEI attached to the encoded content before re-encoding), and contains noise or other auxiliary information that was included in the input content itself. For example, the SEI attached to the encoded content before re-encoding may be attached as the SEI of the encoded content after re-encoding. This allows the SEI to be used to identify processing or improvements that occurred in subsequent processes. For example, by referring to the SEI attached for each re-encoding, it is possible to know the history of how the original content was re-encoded.

[0674] The "pre_encoder_id" value uniquely identifies the encoding device that encoded the bitstream before re-encoding. This allows tracing which encoding device was used.

[0675] "pre_serial_number" indicates the serial number (SN) of the input image and the management ID (such as the serial number or management information of the encoded content before re-encoding). Such information is useful from the perspective of original management or rights management as it indicates the uniqueness of each piece of content, and can also be used by content providers as checking material when preventing the leakage of original images or verifying rights. In addition, "pre_serial_number" may also contain the serial number of each encoding process. This makes it easier to track the history of the process.

[0676] "Original_url_info()" indicates the URL where the uncompressed content is stored (such as URL information where the uncompressed content before encoding is stored), and may contain link information that leads to the original high-quality content. This allows access to the original content later on for signal-to-noise ratio calculations, authenticity verification, or reprocessing using the uncompressed content as the source image.

[0677] Furthermore, the original high-quality content does not need to be uncompressed; for example, it could be compressed content encoded with high quality. Additionally, by integrating with secure access management, the risk of unintentional leakage of original images can be reduced.

[0678] Figure 51 shows a third example of the configuration of the content processing system according to this embodiment.

[0679] As shown in Figure 51, the content processing system comprises a first encoding device 8310, a second encoding device 8320, and a decoding device 8330. The first encoding device 8310 is owned by user A, and the decoding device 8330 is owned by user B. User A and user B are different users.

[0680] The first encoding device 8310 encodes the original content. The first encoding device 8310 generates a first bitstream. Although Figure 51 shows an example where the first encoding device 8310 does not add the initial SEI to the bitstream, the initial SEI may be added to the bitstream.

[0681] The second encoding device 8320 performs the first transcoding process. The second encoding device 8320 receives the bitstream from the first encoding device 8310 and converts it to a new format or bitrate. The second encoding device 8320 also analyzes the bitstream received from the first encoding device 8310 to obtain information such as the encoding format and encoding parameters before re-encoding or transcoding, and records the obtained information in ugc_sei().

[0682] For example, if the bitstream before re-encoding (the bitstream received from user A) was encoded in HEVC, the second encoding device 8320 may write information indicating HEVC in "pre_codec_type" of ugc_sei(). Alternatively, the second encoding device 8320 may write the encoding parameters of the bitstream before re-encoding in "pre_codec_parameter_info()" of ugc_sei(). The second encoding device 8320 may also calculate the encoding format or encoding parameters before re-encoding by decoding the bitstream before re-encoding and write that information in ugc_sei().

[0683] The second encoding device 8320 generates the generated stream 8321 of the second encoding device 8320 by adding the generated ugc_sei() as the SEI of the bitstream encoded by the second encoding device 8320, and distributes it to the decoding device 8330. This ensures that the information before re-encoding can be referenced in subsequent processes.

[0684] The decoding device 8330 performs decoding processing so that user B, the end user, can view the bitstream. The decoding device 8330 can also use UGC SEI to check the state of the original data from the encoding process to the conversion process, and, if necessary, track the state or change history of the original content. The decoding device 8330 can then utilize the results during quality evaluation or reprocessing.

[0685] The decoding device 8330 can, for example, know that the encoding format of the received content before it was encoded by the server (e.g., the second encoding device 8320) is HEVC, and its encoding parameters, by referring to "pre_codec_type" or "pre_codec_parameter_info()" of "ugc_sei()". Also, for example, if the received content is a bitstream in VVC format, the decoding device 8330 can know that it has been transcoded from HEVC to VVC by the server (e.g., the second encoding device 8320).

[0686] This allows, for example, user B of the decoding device 8330 to determine or obtain clues for analyzing whether the distortion in the received bitstream occurred before or after transcoding at the server.

[0687] [Methods for managing generations other than nesting] While embodiments 1 to 3 above mainly showed methods for managing generations by nesting, the method for managing generations is not limited to nesting and may be implemented by, for example, the following methods.

[0688] (i) Integration method for functions: Functions may be integrated by adding necessary generation management information such as codec information (e.g., codec type) or bitrate information to an existing SEI (e.g., quality metrics SEI). This method allows for "nesting" (or "resting") functionality within a single SEI without issuing separate SEIs. Centralized management of the entire system may lead to a simpler data structure.

[0689] (ii) Function division method: This method treats the nesting SEI and the SEI containing individual information such as bitrate or codec information as separate SEIs. By managing each independently, the control information necessary for each sequence can be added. As a result, each module is separated, making it easy to update or reuse each function and increasing the flexibility of the system.

[0690] (iii) Re-nesting (multi-level nesting) This method involves "nesting nesting further," meaning that information from each generation is recursively stored in a nested structure. This allows information from each generation to be referenced sequentially, making it easier to compare past and present states and ensuring the integrity of control information.

[0691] (iv) Method for preserving the state of the original content: This method preserves the state of the original content (original SEI) without nesting. It is simple, easy to implement, and allows the use of existing data.

[0692] [Various Conversion Methods] In embodiments 1 to 3 described above, transcoding was used as an example of conversion processing, but conversion processing is not limited to transcoding. In this specification, conversion processing refers to the entire series of data processing, including any form of conversion, optimization, compression, reformatting, metadata addition, editing, processing and redistribution, as well as relay transmission, performed on input digital data. Various processing examples and implementations on the platform are described below. Note that the examples shown below are merely examples, and conversion processing may be performed with combinations of data before and after conversion other than those shown herein. Furthermore, the entire series of continuous pipeline processing and integrated processing of multiple processes may be called conversion processing, or only a part of the overall processing may be called conversion processing.

[0693] First, as an example, let's explain media format conversion.

[0694] Media format conversion includes at least one of video, audio, and image conversion. Video conversion, for example, converts video files such as MOV and AVI to MP4 (H.264 / H.265) format, which is optimized for streaming or smartphones. Furthermore, for high-resolution videos, compression techniques such as Draco or KTX2 are used, along with readjustment of resolution and bitrate, to optimize them for web display.

[0695] Audio conversion involves converting uncompressed audio, such as WAV or AIFF, to compressed formats like MP3, AAC, or OGG. Furthermore, audio conversion may include features such as improved playback compatibility, reduced data size, and optimization of encoding parameters for streaming applications.

[0696] Image conversion involves converting high-resolution, editable images such as PSD and TIFF into formats suitable for web display or social media posting, such as PNG, JPEG, and WebP. Furthermore, image conversion may include features such as size reduction, optimization of transparency and color information, and embedding of copyright or creator information through the addition of metadata such as EXIF ​​or XMP.

[0697] Next, as a second example, we will explain 3D and CAD (Computer-Aided Design) data conversion.

[0698] 3D and CAD data conversion includes at least one of 3D model conversion, CAD data conversion, and point cloud to mesh conversion.

[0699] 3D model conversion involves converting from conventional 3D model formats such as OBJ, STL, PLY, 3DS, COLLADA, and FBX to glTF / GLB for web display, and USDZ or VRM for AR display.

[0700] GUI tools such as MeshLab, CloudCompare, Blender, and Instant Meshes are used to edit, clean, and reformat 3D models.

[0701] Additionally, command-line tools or libraries such as Assimp (Open Asset Import Library), Open3D, pymeshlab, FBX2glTF, and usdcat can be used, enabling conversion through scripting or automated pipelines.

[0702] CAD data conversion involves converting design data formats such as STEP, IGES, Parasolid, and ACIS to STL for 3D printing or glTF for visualization and web sharing. Tools such as FreeCAD, CAD Exchanger, Autodesk Inventor, and Fusion 360 may be used.

[0703] In the point cloud to mesh conversion process, LiDAR scan data or point cloud data (PLY, LAS, E57, etc.) is processed using CloudCompare or Open3D to reconstruct a 3D mesh model. Subsequently, the point cloud to mesh conversion process involves optimization or LOD (Level of Detail) generation, and conversion to a format suitable for the Web or VR / AR environment (e.g., glTF, USD).

[0704] Next, as a third example, we will explain the conversion process for AI-generated content.

[0705] The conversion process for AI-generated content includes at least one of NeRF and Gaussian Platting conversion, 3D generation using natural language, 3D reconstruction from images, and VRM avatar conversion.

[0706] NeRF and Gaussian Splatting conversion first converts AI-generated 3D representation data (.npy, .splat, .ckpt, etc.) into a mesh or point cloud, and then exports it to glTF or USD format, making the generated content reusable as a standard 3D asset. Examples of Gaussian Splatting-related formats include, but are not limited to, .ply, .splat, .spz, .rdnc, .parquet, .csv, .json, .bin, .obj, and .fbx.

[0707] In natural language-based 3D generation, the AI ​​automatically generates a 3D model from the input natural language (for example, "cat robot") and converts it to a predetermined format such as glTF, USD, or VRM.

[0708] In 3D reconstruction from images, the 3D shape is estimated from a single photograph using NeRF technology or a mesh generation method, and the result is converted to a standard 3D format (glTF, USD, etc.).

[0709] VRM avatar conversion converts avatars generated in VRM format into formats suitable for various platforms, such as FBX, glTF, and USDZ.

[0710] Next, as a fourth example, we will explain the multimodal transformation process.

[0711] The multimodal transformation process includes at least one of the following: animation generation using audio and text, and integrated transformation of sensor data.

[0712] In voice and text-based animation generation, lip-sync and facial expression control data, as well as gesture information, are generated from voice data, and character animations are automatically generated based on these. In addition, in voice and text-based animation generation, natural language descriptions (e.g., emote generation instructions) are analyzed and converted into motion data or animation sequences.

[0713] Sensor data integration and conversion integrates various sensor data acquired from IoT devices, LiDAR, cameras, etc., and reconstructs it as a semantic 3D model, or digital twin.

[0714] Next, as a fifth example, we will explain the simulation-related transformation process.

[0715] Simulation-related conversion processes include at least one of the following: conversion from a 3D model to a simulation model, conversion of simulation settings using natural language, and conversion of simulation results for visualization.

[0716] The conversion from 3D models to simulation models involves converting from formats such as glTF to URDF or SDF formats necessary for physics calculations or simulations, and further to dedicated physics calculation formats.

[0717] In natural language simulation setting conversion, natural language information such as instructions like "rotate the rotor blades at a wind speed of 10 m / s" is converted into simulation parameters.

[0718] In the visualization conversion of simulation results, numerical data obtained from the simulation in CSV, JSON, and HDF5 formats is converted into formats for graphs, animations, or AR / VR display (glTF, USD).

[0719] Next, as the sixth example, we will explain metadata conversion and addition processing.

[0720] The metadata conversion and addition process includes at least one of the following: format conversion of copyright information, AI-automatic tagging and description generation, and metadata conversion for cross-platform use.

[0721] In the copyright information format conversion process, EXIF ​​image metadata is converted to XMP, and then to glTF extensions format, with copyright and creator information added.

[0722] In AI-based automatic tagging and description generation, AI is used to automatically classify or label content, and the results are attached as metadata.

[0723] Cross-platform metadata conversion enables the mutual conversion of metadata formats (e.g., JSON, XML, custom formats) used across multiple social networking services or content distribution platforms, thereby achieving unified information management.

[0724] Next, as the seventh example, we will describe the conversion process for documents, office documents, and e-learning content.

[0725] The conversion process for documents, office documents, and e-learning content includes at least one of office document conversion and e-learning content conversion.

[0726] Office document conversion converts Microsoft Office® files such as Word (.doc, .docx), Excel (.xls, .xlsx), and PowerPoint (.ppt, .pptx) into PDF, HTML, ePub, and other formats, optimizing them for web display or as ebooks. For example, office document conversion includes automatic reformatting from PDF documents to HTML or XML format.

[0727] The e-learning content conversion service converts PowerPoint or Keynote presentation files into HTML5-based slideshows. It also integrates video, slides, audio, and text, converting them into a package compliant with SCORM or TinCan API (Experience API).

[0728] Next, as the eighth example, we will explain GIS (Geographic Information System) and the conversion process of geographic information data.

[0729] The conversion process for GIS and geographic information data includes the conversion process for GIS data.

[0730] In GIS data conversion processing, GIS data such as shapefiles (.shp), KML, and GeoTIFF are converted to formats such as GeoJSON, GML, and KMZ, and then applied to web mapping services or mobile GIS applications. In GIS data conversion processing, for example, remote sensing data such as satellite images or aerial photographs are subjected to color correction, geometric correction, and compression processing, and then converted to JPEG2000 and ECW formats for analysis or web display.

[0731] Next, as the ninth example, we will explain the transformation process of deep learning models and web content.

[0732] The transformation process for deep learning models and web content includes deep learning model transformation and at least one of web page and API data transformation.

[0733] Deep learning model conversion enables high-speed inference across different platforms (e.g., mobile, cloud, edge devices) by converting TensorFlow (.pb, SavedModel) or PyTorch (.pt, .pth) models to ONNX, Core ML, TensorRT, and other formats.

[0734] Web page and API data conversion compresses and reconstructs HTML, CSS, and JavaScript, and converts them to AMP (Accelerated Mobile Pages) or PWA (Progressive Web App) format. Furthermore, the web page and API data conversion performs an optimization conversion that quantizes the FP32 model to INT8 or FP16. In addition, the web page and API data conversion performs mutual conversion processing between API data formats such as CSV, XML, and JSON, optimizing their use in various web services.

[0735] Next, as the tenth example, we will describe other special data transformation processes.

[0736] Other special data conversion processes include at least one of the following: conversion of program code or scripts, conversion of document encodings, conversion of fonts and vector graphics, conversion of email or text log structures, and conversion of file encoding and compression.

[0737] In program code or script conversion, automatic code transpilation (code transpilation) is performed from one programming language (e.g., C++) to another language (e.g., Python).

[0738] Document encoding conversion involves dynamic conversion between different character encodings such as Shift_JIS, EUC-JP, and UTF-8.

[0739] Font and vector graphics conversion converts Adobe Illustrator (.ai) or CorelDRAW (.cdr) formats to open formats such as SVG, EPS, and PDF.

[0740] The structure conversion of emails or text logs involves reorganizing unorganized text data or log files into CSV, JSON, or XML formats for analysis.

[0741] File encoding and compression conversion converts the character encoding, compression format, encryption format, etc., of binary or text files according to the purpose.

[0742] Next, as the eleventh example, we will describe the transformation process related to UGC billing and monetization. On platforms such as Roblox, the transformation process is not limited to technical transformations, but also includes economic and semantic transformations.

[0743] The conversion processes related to UGC billing and monetization include at least one of the following: conversion from UGC to billable assets, asset bundling, conversion of free assets to paid assets, conversion to in-game currency, conversion of billing insights from user behavior logs, and conversion of AI-generated assets for commercialization.

[0744] The conversion from UGC to monetizable assets involves, for example, importing a user-generated 3D model or avatar from Blender's FBX format into Roblox Studio, converting it to .rbxm format, and then adding monetization settings (price, license, access restrictions).

[0745] The asset bundling process involves, for example, integrating individual assets (such as costumes, animations, and voices) into a single "product" and selling it as a premium avatar set.

[0746] When converting free assets to paid assets, for example, user-generated content (UGC) that was previously offered for free is switched to a paid service, and paid access controls such as Robux purchases are added.

[0747] In the in-game currency conversion process, for example, the sales price of UGC is converted to Robux, and then the conversion to real currency based on the platform's revenue sharing rules is automatically processed.

[0748] In converting user behavior logs into billing insights, for example, the process involves analyzing a user's play history or purchase history to extract the popularity or target audience (e.g., popular among teenage female users) of a particular asset, and then using this information for marketing strategies.

[0749] In the commercialization conversion of AI-generated assets, for example, an AI-generated avatar or 3D model is converted to FBX format, and then further converted to a monetizable format such as rbxm format, in order to generate revenue.

[0750] Furthermore, conversion processes related to UGC billing and monetization may be performed on the following platforms:

[0751] Fortnite Creative (Epic Games) allows users to create their own maps or game modes and monetize them through the Creator Rewards Program. 3D models or other assets are imported into Unreal Editor for Fortnite (UEFN), converted into a playable format, and integrated with in-game currency (V-Bucks).

[0752] Minecraft Marketplace (Mojan / Microsoft) sells user-generated content (UGC) such as skins, worlds, add-ons, and texture packs through Minecraft Coins, returning revenue to creators. This includes 3D model conversion using external tools and conversion to add-on formats (.mcpack, .mcworld) using JSON + PNG + scripts.

[0753] VRChat allows users to upload avatars in VRM or FBX format via Unity and the VRChat SDK, and performs optimization (e.g., polygon reduction, material count adjustment) and conversion processing as needed. For example, future integration with official billing features is envisioned.

[0754] Rec Room creates user-generated content (UGC), such as games, rooms, and items, which are then sold using the in-game currency, "Tokens." Rec Room also handles everything from room design to conversion into marketable game formats and asset bundling for commercialization.

[0755] ZEPETO (NAVER Z) allows users to create 3D avatar outfits, accessories, worlds, etc., and sell them for ZEM (currency), with revenue sharing among creators. 3D models in FBX format are converted to ZEPETO Studio format, and physical settings, pricing, and metadata for billing are added.

[0756] Spatial.io generates 3D spaces, avatars, NFT art, and other content, and monetizes them through NFT sales or ticketed events. Spatial.io also includes a process for converting glTF / GLB assets into the Spatial space and optimizing them for sales.

[0757] Next, as the twelfth example, we will describe image and video codec conversion processing using a neural network (NN). Image codec conversion processing using an NN is also an example of conversion processing in this specification. Specifically, it includes the following processes. Each model described below is an example of the generative model described above.

[0758] Image and video codec conversion processing using NNs includes denoising, super-resolution, compression artifact removal, style transfer, edge enhancement / feature extraction, semantic filtering, NN loop filtering, NN post filtering, and at least one of the advanced conversion processes in NGVC (Next Generation Video Codec).

[0759] Denoising is performed, for example, to remove compression artifacts or sensor noise, and models such as DnCNN, FFDNet, Noise2Noise, and Noise2Void are used. Denoising converts noisy image data into clean images through a trained neural network (NN). DnCNN, FFDNet, Noise2Noise, and Noise2Void are examples of NN model names.

[0760] Super-resolution is performed to convert low-resolution images to high-resolution images and impart information, using models such as SRCNN, EDSR, ESRGAN, and Real-ESRGAN. In super-resolution, the process involves converting a low-resolution image to a high-resolution image by adding impartial information. SRCNN, EDSR, ESRGAN, and Real-ESRGAN are examples of NN model names.

[0761] Compression artifact removal is performed to remove block noise or ring-shaped artifacts that occur during compression, such as with JPEG. Models such as ARCNN and DnCNN (JPEG-compatible version) are used. Compression artifact removal involves the following steps: compressed image data → restoration by NN → conversion to a high-quality image.

[0762] Style transfer is performed to transform an image into a specific art style (e.g., painterly style) while preserving its content. Models such as Fast Neural Style Transfer and AdaIN (Adaptive Instance Normalization) are used for this purpose. In style transfer, the process is as follows: content image → style transfer by neural network → transformation to an image of a different style.

[0763] Edge enhancement and feature extraction are performed to enhance the contours or structure of an image, improving visibility or analytical accuracy. Examples of models used include the initial layer of a CNN (similar to a Sobel filter) and Guided Filtering with CNN. Edge enhancement and feature extraction involve converting the input image into a feature map.

[0764] Semantic filtering is performed to filter images based on their semantic structure (e.g., segmentation of background and people), and models such as U-Net and DeepLab are used. Semantic filtering involves converting the input image into a semantic region map or segmentation result.

[0765] NN loop filters are used in video encoding and decoding processes to optimize the quality of the restored image. Examples of models used include Google's Learned Image Compression (LIC), Meta's Hyperprior-Based Compression, and JPEG AI (currently being standardized by ITU-T). In an NN loop filter, the process involves restoring the image → quality improvement using an internal loop filter with a NN → conversion to the final output image.

[0766] NN post-filtering is performed to further improve the quality of the decoded image (e.g., super-resolution or denoising), and methods such as Content-Adaptive Post Filter, Residual Block, and filtering using Attention mechanisms are used. NN post-filtering performs a post-processing transformation from the decoded image to a high-quality image.

[0767] Other advanced conversion processes in NGVC include NN-based residual coding, which compresses and reconstructs prediction errors (residuals) using an NN; variable bitrate control using an NN to optimize bit allocation for important regions within an image; coding mode prediction using an NN to select block size, intra / inter prediction, and conversion mode; multiscale representation conversion, which supports high-definition, HDR, and 360-degree video by representing images at multiple scales and integrating them with an NN; visual quality evaluation, which estimates a subjective quality score of the restored image using an NN and reflects it in the optimization process as feedback; and pre-processing before encoding, which improves coding efficiency by performing image processing with an NN for edge enhancement or redundancy removal.

[0768] In the 12th example, we described an example where the conversion process is an image / video codec conversion process using a neural network (an example of processing using a neural network), but the process is not limited to this, and processing using AI may also be used.

[0769] [Detailed example of the 12th example: Correspondence between AI-involved display information and detailed conversion processing information] As explained in the above example 12, the conversion process may include processing using AI or a neural network. For example, the conversion process may include generation processing, restoration processing, correction processing, enhancement processing, processing, conversion processing, noise reduction processing, super-resolution processing, compression artifact removal processing, style conversion processing, feature extraction processing, semantic filtering processing, neural network loop filtering processing, neural network post-filtering processing, pre-encoding processing, or post-decoding processing using AI or a neural network.

[0770] In the following, we will describe an example in which at least a portion of the information from the above conversion process is treated as detailed conversion process information, and this detailed conversion process information is associated with image data, image data corresponding to encoded image data, pictures, or groups of pictures, and AI involvement indication information indicating that these are related to processing using AI or a neural network.

[0771] Detailed conversion processing information may be at least a part of the conversion processing information described in Example 12 above. That is, detailed conversion processing information may include information indicating the content of the processing using AI or neural networks, processing type, model information, algorithm, software, libraries, processing conditions, processing stages, processing nodes, execution environment, or version.

[0772] The detailed conversion processing information may be information that includes the conversion processing information described in Example 12 above, or it may be a part of the conversion processing information relating to processing using AI or a neural network.

[0773] [Example 12-1: Basic embodiment without detailed information availability information] In one example, the additional information may include AI involvement display information, detailed conversion processing information, and correspondence information.

[0774] AI involvement indication information may also be information indicating that image data, image data corresponding to encoded image data, a picture, or a group of pictures is related to processing using AI or a neural network.

[0775] AI-involved information may indicate, for example, that image data, a picture, or a group of pictures was generated by AI, modified by AI, generated or modified by AI-assisted processing, enhanced by a neural network, or related to processing including machine learning-based processing.

[0776] AI-involved display information may be represented as descriptive information, display information, label information, tag information, identification information, string information, text description information, AI marking information, or AI-involved identification information. AI-involved display information may be a human-recognizable string, or a machine-processable identifier, code value, index, flag, parameter, or enumerated value.

[0777] Detailed conversion processing information may include information indicating the content of the generation or conversion process using AI or a neural network, the type of processing, the purpose of processing, the processing stage, the target of processing, the input format, the output format, the input resolution, the output resolution, the processing conditions, the processing parameters, the processing intensity, the scaling factor, the quality indicators, the algorithm used, the model used, the model name, the neural network model name, the model version, the type of model, the software, the library, the processing node, the execution environment, the processing date and time, or the version.

[0778] Correspondence information may also be information that shows the correspondence between AI-involved display information and detailed conversion processing information.

[0779] Corresponding information may include, for example, an identifier, index, string index, descriptive information identifier, usage information, display information identifier, tag identifier, detailed conversion processing information identifier, processing identifier, processing number, process ID, model identifier, group identification information, sequence information, or information indicating the positional relationship within the same additional information.

[0780] For example, the additional information may include, as AI involvement display information, a string indicating that the target picture is related to enhancement processing based on a neural network; as detailed conversion processing information, the name of the neural network model used for super-resolution processing, the model version, the input resolution, the output resolution, and the scale multiplier; and as correspondence information, a processing identifier that associates the string with the detailed conversion processing information.

[0781] In this example, even without using detailed information availability information, the correspondence between AI involvement display information and detailed conversion processing information can be shown using AI involvement display information, detailed conversion processing information, and correspondence information.

[0782] For example, the additional information may have the following syntax structure.

[0783] 『ai_process_description_info(){ num_ai_display_info_minus1 for(i=0;i<=num_ai_display_info_minus1;i++){ ai_involvement_display_info_id[i] ai_involvement_display_info_type[i] ai_involvement_display_info_string[i] } num_detailed_process_info_minus1 for(j=0;j<=num_detailed_process_info_minus1;j++){ detailed_process_info_id[j] process_type[j] model_info_present_flag[j] if(model_info_present_flag[j]){ model_name[j] model_version[j] model_type[j] } process_stage[j] process_parameter_info_present_flag[j] if( process_parameter_info_present_flag[j]){ process_parameter_info[j] } } num_mapping_info_minus1 for(k=0;k<=num_mapping_info_minus1;k++){ ai_involvement_display_info_id_ref[k] detailed_process_info_id_ref[k] }}』

[0784] num_ai_display_info_minus1 may indicate the number of AI-related display information items included in the additional information. For example, the number of AI-related display information items may be indicated by num_ai_display_info_minus1+1.

[0785] ai_involvement_display_info_id[i] may be an identifier for identifying the i-th AI involvement display information.

[0786] ai_involvement_display_info_type[i] may indicate the i-th type of AI involvement display information. The type of AI involvement display information may indicate, for example, involvement in AI generation, AI modification, AI-assisted processing, neural network-based enhancement processing, neural network-based restoration processing, or machine learning-based processing.

[0787] ai_involvement_display_info_string[i] may be a string representing the i-th AI involvement display information.

[0788] num_detailed_process_info_minus1 may indicate the number of detailed conversion processing information items included in the additional information. For example, the number of detailed conversion processing information items may be indicated by num_detailed_process_info_minus1+1.

[0789] detailed_process_info_id[j] may be an identifier for identifying the j-th detailed conversion process information.

[0790] process_type[j] may indicate the type of conversion process corresponding to the j-th detailed conversion process information.

[0791] model_info_present_flag[j] may indicate whether the j-th detailed conversion processing information includes model information relating to an AI model or a neural network model.

[0792] model_name[j], model_version[j], and model_type[j] may indicate the model name, model version, and model type corresponding to the j-th detailed conversion processing information.

[0793] process_stage[j] may indicate the processing stage corresponding to the j-th detailed conversion processing information.

[0794] process_parameter_info_present_flag[j] may indicate whether the j-th detailed conversion processing information includes information about processing conditions or processing parameters.

[0795] process_parameter_info[j] may indicate processing conditions or processing parameters corresponding to the j-th detailed conversion processing information.

[0796] num_mapping_info_minus1 may indicate the number of correspondence information entries that show the correspondence between AI-involved display information and detailed conversion processing information. For example, the number of correspondence information entries may be indicated by num_mapping_info_minus1 + 1.

[0797] ai_involvement_display_info_id_ref[k] may represent an identifier of the AI ​​involvement display information referenced in the k-th corresponding information.

[0798] detailed_process_info_id_ref[k] may indicate an identifier for detailed conversion processing information referenced in the k-th correspondence information.

[0799] The correspondence between AI involvement display information and detailed conversion processing information may be shown by ai_involvement_display_info_id_ref[k] and detailed_process_info_id_ref[k].

[0800] Here, we will describe an example of the encoding process flow related to Example 12-1. The encoding device, bitstream generation device, or transmission device may perform the following processing, for example.

[0801] In the first step, the encoding device 100 may acquire image data. The image data may be image data generated or transformed by processing using AI or a neural network.

[0802] In the second step, the encoding device 100 may encode the image data to generate encoded image data.

[0803] In the third step, the encoding device 100 may generate AI involvement indication information indicating that the image data, image data corresponding to the encoded image data, picture, or group of pictures are related to processing using AI or a neural network.

[0804] In the fourth step, the encoding device 100 may generate detailed conversion processing information relating to generation or conversion processing using AI or a neural network.

[0805] In the fifth step, the encoding device 100 may generate correspondence information that shows the correspondence between AI-involved display information and detailed conversion processing information.

[0806] In the sixth step, the encoding device 100 may generate additional information including AI-involved display information, detailed conversion processing information, and correspondence information.

[0807] In step 7, the encoding device 100 may generate a bitstream that includes encoded image data and additional information corresponding to the encoded image data.

[0808] The above steps are merely an example; the steps may be performed in any order or in parallel. Furthermore, the AI ​​involvement display information, detailed conversion processing information, and corresponding information may be included in the same supplementary information, or they may be included in multiple supplementary information files.

[0809] Next, an example of the decoding-side processing flow related to Example 12-1 will be described. The decoding device, receiving device, playback device, analysis device, or application may perform the following processing, for example.

[0810] In the first step, the decoding device 200 may acquire a bitstream that includes encoded image data and additional information corresponding to the encoded image data.

[0811] In the second step, the decoding device 200 may decode encoded image data from the bitstream.

[0812] Next, in the third step, the decoding device 200 may acquire additional information from the bitstream.

[0813] Next, in the fourth step, the decoding device 200 may acquire AI involvement display information, detailed conversion processing information, and correspondence information from the additional information.

[0814] Next, in the fifth step, the decoding device 200 may identify detailed conversion processing information corresponding to the AI-involved display information based on the ...

Claims

An encoding device comprising a processor and memory, Using the memory, the processor Acquire image data, The aforementioned image data is encoded to generate encoded image data. Additional information is generated that includes information about the conversion process related to the generation or conversion of the image data corresponding to the encoded image data. A bitstream is generated that includes the encoded image data and the additional information corresponding to the encoded image data. The aforementioned conversion process includes processing using AI (Artificial Intelligence) or a neural network. Encoding device.   The conversion process includes a process for generating the image data using the AI ​​or the neural network. The encoding device according to claim 1.   The conversion process includes a process of restoring, correcting, enhancing, processing, or converting the image data using the AI ​​or the neural network. The encoding device according to claim 1.   The conversion process includes at least one of denoising, super-resolution, compression artifact removal, style transfer, feature extraction, and semantic filtering. The encoding device according to claim 1.   The information of the conversion process includes information indicating at least one of the algorithms, software, libraries, processing nodes, execution environments, and versions used in the conversion process. The encoding device according to any one of claims 1 to 4.   The information from the conversion process includes model information relating to the AI ​​or the neural network. The encoding device according to any one of claims 1 to 4.   The aforementioned model information includes information indicating at least one of the model name, NN model name, model version, and model type. The encoding device according to claim 6.   The aforementioned additional information is included in the bitstream as an SEI (Supplemental Enhancement Information) message, metadata, auxiliary information, extension information, attribute information, or control information. The encoding device according to any one of claims 1 to 4.   The additional information is associated with the encoded image data on a picture-by-picture, picture-group, sequence-by-sequence, access-unit, sample-by-sample, or subsample-by-subsample basis. The encoding device according to any one of claims 1 to 4.   The aforementioned additional information is associated with the encoded image data by a NAL (Network Abstraction Layer) unit, an SEI (Supplemental Enhancement Information) message, a file format box, a metadata track, or an external reference structure. The encoding device according to any one of claims 1 to 4.   A decoding device comprising a processor and memory, Using the memory, the processor A bitstream is obtained that includes encoded image data and additional information corresponding to the encoded image data. The encoded image data is decoded from the bitstream. The additional information is obtained from the bitstream, The additional information includes information on conversion processing related to the generation or conversion of image data corresponding to the encoded image data, The aforementioned conversion process includes processing using AI (Artificial Intelligence) or a neural network. Decoding device.   The conversion process includes a process of generating image data corresponding to the encoded image data using the AI ​​or the neural network. The decoding device according to claim 11.   The conversion process includes a process of restoring, correcting, enhancing, processing, or converting image data corresponding to the encoded image data using the AI ​​or the neural network. The decoding device according to claim 11. The conversion process includes at least one of denoising, super-resolution, compression artifact removal, style transfer, feature extraction, and semantic filtering. The decoding device according to claim 11.   The information of the conversion process includes information indicating at least one of the algorithms, software, libraries, processing nodes, execution environments, and versions used in the conversion process. A decoding device according to any one of claims 11 to 14.   The information from the conversion process includes model information relating to the AI ​​or the neural network. A decoding device according to any one of claims 11 to 14.   The aforementioned model information includes information indicating at least one of the model name, NN model name, model version, and model type. The decoding device according to claim 16.   The aforementioned additional information is included in the bitstream as an SEI (Supplemental Enhancement Information) message, metadata, auxiliary information, extension information, attribute information, or control information. A decoding device according to any one of claims 11 to 14.   The processor performs at least one of the following processes on the image data corresponding to the encoded image data, based on the information from the conversion process: post-decoding processing, display processing, quality verification processing, authenticity verification processing, and history verification processing. A decoding device according to any one of claims 11 to 14.   The processor outputs information indicating that, based on the information of the conversion process, the image data corresponding to the encoded image data was generated or converted by processing using the AI ​​or the neural network. A decoding device according to any one of claims 11 to 14.   The aforementioned additional information is, AI involvement indication information indicating that the image data is related to processing using the AI ​​or the neural network, Detailed conversion processing information, which is information about the aforementioned conversion process, This includes correspondence information showing the correspondence between the AI ​​involvement display information and the detailed conversion processing information, The encoding device according to any one of claims 1 to 4.   The AI ​​involvement indication information includes text description information indicating that the image data is related to processing using the AI ​​or the neural network. The additional information includes usage information indicating the use of the text description information, The aforementioned usage information indicates that the text description information is the AI ​​involvement display information. The encoding device according to claim 21.   The additional information includes detailed information availability information indicating whether or not the detailed conversion processing information corresponding to the AI ​​involvement display information exists, or whether or not it can be referenced within the same bitstream. If the availability information for detailed information indicates the existence of the detailed conversion processing information or its referentiality within the same bitstream, the additional information includes reference information that identifies the detailed conversion processing information or other additional information containing the detailed conversion processing information. The encoding device according to claim 21.   The aforementioned additional information is, AI involvement indication information indicating that the image data corresponding to the encoded image data is related to processing using the AI ​​or the neural network, Detailed conversion processing information, which is information about the aforementioned conversion process, This includes correspondence information showing the correspondence between the AI ​​involvement display information and the detailed conversion processing information, The processor identifies the detailed conversion processing information corresponding to the AI ​​involvement display information based on the correspondence information. A decoding device according to any one of claims 11 to 14.   The AI ​​involvement indication information includes text description information indicating that the image data corresponding to the encoded image data is related to processing using the AI ​​or the neural network. The additional information includes usage information indicating the use of the text description information, The processor determines, based on the application information, that the text description information is the AI-involved display information. The decoding device according to claim 24.   The additional information includes detailed information availability information indicating whether or not the detailed conversion processing information corresponding to the AI ​​involvement display information exists, or whether or not it can be referenced within the same bitstream. The processor determines, based on the availability of detailed information, whether to obtain reference information that identifies the detailed conversion processing information or other additional information including the detailed conversion processing information. The decoding device according to claim 24 or 25.   Acquire image data, The aforementioned image data is encoded to generate encoded image data. Additional information is generated that includes information about the conversion process related to the generation or conversion of the image data corresponding to the encoded image data. A bitstream is generated that includes the encoded image data and the additional information corresponding to the encoded image data. The aforementioned conversion process includes processing using AI (Artificial Intelligence) or a neural network. Encoding method. A bitstream is obtained that includes encoded image data and additional information corresponding to the encoded image data. The encoded image data is decoded from the bitstream. The additional information is obtained from the bitstream, The additional information includes information on conversion processing related to the generation or conversion of image data corresponding to the encoded image data, The aforementioned conversion process includes processing using AI (Artificial Intelligence) or a neural network. Decryption method.   A program for causing a computer to execute the encoding method described in claim 27.   A program for causing a computer to execute the decoding method described in claim 28.