Information processing device, information processing method, and computer-readable non-transitory storage medium
A common DNN architecture for both rendering SR and asset SR in game consoles addresses the cost and performance challenges of implementing SR processing, enabling efficient and high-quality video rendering by switching DNN coefficients and prioritizing texture SR based on scene urgency.
Patent Information
- Application Number
- PCT/JP2024/006133
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-02-20
- Publication Date
- 2024-09-06
AI Technical Summary
Implementing super-resolution (SR) processing for both 3D video rendering and asset textures in game consoles is costly and challenging due to hardware constraints, making it difficult to maintain real-time performance and high resolution without increasing hardware costs or reducing video quality.
A common Deep Neural Network (DNN) architecture is used for both rendering SR and asset SR, with DNN coefficients switched between the two processes to perform SR processing efficiently, minimizing additional hardware costs and maintaining real-time performance by prioritizing SR on textures based on scene proximity and urgency.
This approach allows for efficient SR processing of both 3D video rendering and asset textures, reducing implementation costs and maintaining high video quality by using a shared DNN architecture, ensuring real-time performance and efficient resource allocation.
Smart Images

Figure JP2024006133_06092024_PF_FP
Abstract
Description
Information processing device, information processing method, and computer-readable non-transitory storage medium
[0001] The present invention relates to an information processing device, an information processing method, and a computer-readable non-transitory storage medium.
[0002] Super-resolution (SR) processing is increasingly being introduced into game consoles and other devices. By applying SR processing to rendered images, high-resolution images can be displayed. On the other hand, by applying SR processing to images that are rendered at high speed at low resolution, it is possible to improve the frame rate (FPS) without reducing the resolution. This technique is common, and many engineers are still developing SR today.
[0003] International Publication No. 2021 / 193648
[0004] To improve video quality, not only the resolution of the rendered image but also the resolution of the asset texture itself is important. Asset SR (strictly speaking, increasing the resolution of texture images) is expected to further increase the resolution after rendering. Recently, ultra-high resolution textures such as 8K have begun to be used to improve the resolution of rendered images.
[0005] When using high-resolution textures such as 8K, the executable files for games, etc., become large. One way to reduce file size is to simply apply SR to the textures through online processing (background processing during rendering).
[0006] On the other hand, rendering processes are implemented in hardware on game consoles, and the inclusion of DNN-SR processing for rendering images is gradually becoming common. However, when a DNN-SR for rendering images is already installed, it is difficult to add a DNN-SR for textures and run them in parallel. This poses challenges in terms of implementation costs, strain on the hardware budget, and maintaining real-time performance.
[0007] Therefore, the present disclosure proposes an information processing device, an information processing method, and a non-transitory storage medium that are capable of performing SR processing for rendering and SR processing for assets at low cost.
[0008] According to the present disclosure, there is provided an information processing device having a DNN that implements a rendering SR that performs super-resolution processing on 3D video images and an asset SR that performs super-resolution processing on the texture of an asset related to the 3D video images using a common architecture, and a video processing control unit that outputs a switching command for switching between the DNN coefficients for the rendering SR and the DNN coefficients for the asset SR.The present disclosure also provides an information processing method in which information processing of the information processing device is executed by a computer, and a computer-readable non-transitory storage medium that stores a program that causes a computer to realize the information processing of the information processing device.
[0009] 1 is a diagram illustrating an overview of SR processing; FIG. 1 is a diagram illustrating an example of an asset; FIG. 2 is a diagram illustrating an example of applying asset SR to a game machine; FIG. 3 is a diagram illustrating an example of applying asset SR to a game machine; FIG. 4 is a diagram illustrating an overview of SR processing of the present disclosure; FIG. 5 is a diagram illustrating measures related to the amount of calculation; FIG. 6 is a diagram illustrating measures related to the amount of calculation; FIG. 7 is a diagram illustrating measures related to data capacity; FIG. 8 is a diagram illustrating measures related to data capacity; FIG. 9 is a diagram illustrating an example of texture management; FIG. 10 is an explanatory diagram regarding standardization of DNN architecture; FIG. 11 is an explanatory diagram regarding standardization of DNN architecture; FIG. 12 is an explanatory diagram regarding standardization of DNN architecture; FIG. 13 is a diagram illustrating an example of the configuration of a rendering system; FIG. 14 is a diagram illustrating an example of the processing flow of a game engine; FIG. 15 is a diagram illustrating an example of the processing flow of a game engine; FIG. 16 is a diagram illustrating an example of the hardware configuration of a game engine.
[0010] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the following embodiments, the same components are designated by the same reference numerals, and redundant description will be omitted.
[0011] The description will be given in the following order: [1. Super-resolution processing (SR processing)] [1-1. SR processing for 3D video (rendering SR)] [1-2. SR processing for asset texture (asset SR)] [1-3. Problems in introducing asset SR] [2. Overview of SR processing of the present disclosure] [2-1. Conversion of DNN for rendering SR to asset SR] [2-2. Measures related to the amount of calculation] [2-3. Measures related to data capacity] [2-4. Standardization of DNN architecture] [3. Rendering system] [3-1. System configuration example] [3-2. Information processing method] [4. Hardware configuration example] [5. Effects] [6. Modified example]
[0012] [1. Super-resolution Processing (SR Processing)] [1-1. SR Processing for 3D Images (Rendering SR)] FIG. 1 is a diagram for explaining an overview of SR processing.
[0013] The introduction of super-resolution (SR) processing into game consoles and other devices is progressing. SR processing of low-resolution 3D video readouts can provide high-resolution 3D video readouts. Furthermore, applying SR processing to 3D video readouts that are rendered at high speed at low resolution can improve the frame rate (FPS) without reducing the resolution.
[0014] For example, the 3D image RD before SR processing is a low-resolution image such as 1K or 2K (low-resolution rendering image I r The 3D image RD after SR processing is composed of a high-resolution image such as 4K or 8K (high-resolution rendering image I r,SR This technique is common, and various companies, including Nvidia, AMD, and Intel, are currently developing SR processing.
[0015] The terms "low resolution" and "high resolution" do not have absolute standards, but are relative terms that indicate the relationship between the input and output of the SR processing.
[0016] [1-2. SR Processing for Asset Textures (Asset SR)] SR processing of asset AS (strictly speaking, increasing the resolution of texture images) is expected to further increase the resolution after rendering. Asset AS refers to the material data used when producing 3D video RD. To improve rendering resolution, ultra-high-resolution texture TX such as 8K (see Figure 2) has recently begun to be used.
[0017] Hereinafter, SR processing of 3D video RD will be referred to as "rendering SR." SR processing of texture TX of asset AS will be referred to as "asset SR." The image of each frame of 3D video RD to which rendering SR is applied will be referred to as a "low-resolution rendering image." The image of each frame of 3D video RD that has been made high-resolution by rendering SR will be referred to as a "high-resolution rendering image." The texture TX to which asset SR is applied will be referred to as a "low-resolution texture." The texture TX that has been made high-resolution by asset SR will be referred to as a "high-resolution texture."
[0018] FIG. 2 is a diagram illustrating an example of the asset AS.
[0019] Assets AS include geometry data and texture data. Geometry data refers to data on the shape of a 3D object. The shape can be represented by a polygon mesh. Texture data refers to data on an image (texture TX) that is applied to the surface of a 3D object. Texture TX adjusts the texture and appearance of the surface of a 3D object.
[0020] 2 shows textures called "Albedo," "Specular," and "Normal" as examples of texture TX. However, texture TX is not limited to those shown in FIG. 2. In addition to the examples shown in FIG. 2, various textures TX such as "AO" and "Diffuse" can be used.
[0021] [1-3. Issues with Introducing Asset SR] General CG renderers are now able to use high-resolution texture TX, such as 8K. However, using high-resolution texture TX can result in large executable files for game software, etc., which can cause issues such as distribution and download loads, storage pressure, and the inability to write to Blu-ray discs.
[0022] One possible method for reducing the file size is to simply perform SR processing on the texture TX by online processing (background processing during rendering). Figures 3 and 4 show an example in which the asset SR is applied to a game machine. In the example of Figures 3 and 4, first, a low-resolution texture I read from the asset AS is t By applying Asset SR to the high-resolution texture I t,SR Then, rendering is performed using the geometry data and the texture data after asset SR. The low-resolution rendering image I obtained by rendering is r By applying rendering SR to r,SR is generated.
[0023] In game consoles, rendering processing is implemented as hardware. Recently, it has become common to install DNN-SR (Distributed Neural Network)-based SR processing for 3D video RD.
[0024] It is difficult to add a DNN-SR for texture TX to a system equipped with a DNN-SR for 3D video rendering and run them in parallel. This poses challenges in terms of implementation cost, strain on the hardware budget, and maintaining real-time performance. For example, implementing two DNNs simply doubles the cost. Implementing one DNN for rendering capable of real-time processing is usually not easy, and implementing an additional DNN for texture TX and running both in real time is also difficult from a hardware perspective.
[0025] 2. Overview of SR Processing of the Present Disclosure 2-1. Diversion of DNN for Rendering SR to Asset SR FIG. 5 is a diagram illustrating an overview of the SR processing of the present disclosure.
[0026] As described above, hardware implementation of the two high-resolution processes of rendering SR and asset SR puts a strain on the hardware cost and processing budget. Therefore, in this disclosure, the DNN for rendering SR is repurposed for asset SR, and high-resolution texture TX is implemented without additional hardware costs.
[0027] Repurposing means that the hardware processing structure (architecture: configuration of product-sum operation instructions) remains the same, but only the DNN weights (DNN coefficients) are switched. There is only one DNN, and only the DNN coefficients are switched as needed. This allows the rendering SR and asset SR to be switched depending on the situation.
[0028] 5 shows three processes: rendering SR, asset SR, and rendering after asset SR. When rendering SR is performed, the DNN coefficients for rendering SR are applied to the DNN. When asset SR is performed, the DNN coefficients are switched to DNN coefficients for asset SR before processing. In rendering after asset SR, the DNN coefficients are again switched to DNN coefficients for rendering SR.
[0029] When repurposing a DNN, some problems may arise in the computational processing. These problems can be improved by devising a processing method. Below, we will explain in detail the problems that may arise when repurposing a DNN and how to deal with them.
[0030] 2-2. Measures for the Amount of Computation FIGS. 6 and 7 are diagrams for explaining measures for the amount of computation.
[0031] In the present disclosure, the rendering SR and asset SR are performed by the same DNN. Therefore, it is necessary to reduce delays when repurposing and executing the DNN. Generally, DNN processing requires a large number of ALUs (Arithmetic Logic Units) and involves a large amount of calculations. While there would be no problem if two DNNs could be switched between at ultra-high speed within the time required for drawing one frame (e.g., 1 / 60 seconds in a game console), in reality, there is a risk of delays. Since the rendering SR is basically always running, it is difficult to simply switch to the asset SR (see FIG. 6 ).
[0032] For this reason, in the present disclosure, for example, the timing of switching from rendering SR to asset SR is limited to timing when execution of rendering SR is unnecessary (see FIG. 7 ). Timing when execution of rendering SR is unnecessary means, for example, timing when the required resolution for 3D video is low (such as during data loading). In scenes where the required resolution is low, rendering SR, which requires a high amount of calculation, is unnecessary. By switching to asset SR at this timing and increasing the resolution of texture TX in the background, the real-time nature of rendering SR is less likely to be impaired.
[0033] 2-3. Measures for Data Capacity FIGS. 8 and 9 are diagrams for explaining measures for data capacity.
[0034] Texture TX generally uses a resolution of about 1K to 2K. DNN-based SR processing stably enlarges the image by about 2 to 4 times, and can also obtain ultra-high resolution data such as 8K. Since a typical game has many assets (AS), it is recommended to use as many high-resolution textures (I) as possible. t,SR One asset AS has multiple textures TX (Albedo / Normal, etc.). When the texture TX has a high resolution such as 8K, the data becomes large, and how to store it in memory or on a hard disk can become an issue.
[0035] Therefore, in the present disclosure, for example, asset SR is preferentially performed only on texture TX for which SR processing is highly urgent. The priority is determined based on the proximity to the scene to which the texture TX is applied, etc. The priority is changed sequentially as the event progresses (e.g., as the game progresses).
[0036] For example, from the plurality of textures TX included in the asset AS, textures TX whose priority meets the management criteria are extracted as high-priority textures to be included in the asset SR. The management criteria are set arbitrarily by the system developer. In the example of FIG. 8, the management criteria is whether the priority is within the top three. The number of textures TX that can be set as high-priority textures is limited by the number of high-resolution textures I secured in advance. t,SR The upper limit is determined based on the storage capacity used.
[0037] In the examples of Figures 8 and 9, the processing of the present disclosure is applied to an adventure game. The player US moves through the space within the game as events progress. In the scene to which the player moves, textures TX of a type appropriate for the applicable scene, such as "concrete," "skin," "wood," "clouds," and "brick," are used. Each texture TX is assigned a higher priority in descending order of proximity to the player US. Then, asset SR is performed on multiple textures TX that have been assigned SR target flags within the loaded assets AS (assets AS for "Stage 1" and "Stage 2" in the examples of Figures 8 and 9) in order of priority.
[0038] The SR target flag is a flag that indicates that the asset SR is applicable to the texture TX. The texture TX to which the asset SR is applicable is set for each stage of the game. The system developer can specify, by using an API (Application Programming Interface) or the like in the implementation, that the asset SR is to be applied to the texture TX.
[0039] For example, the priority is determined taking into account the distance on the game route rather than the straight-line distance. If the player US is located at the position shown in FIG. 8, the highest priority is assigned to "concrete" which is applied to the scene closest to the player US. For the remaining textures TX, the priorities are set in descending order, in the order of "skin", "wood", "clouds" and "bricks". An SR target flag is assigned to the three textures TX with the highest priority ("concrete", "skin", and "wood"), and asset SR is implemented. "Clouds" and "bricks", which have low priorities, are not subject to asset SR. The image data of "concrete", "skin", and "wood" after asset SR is stored in the high-resolution textures I secured in advance. t,SR The data is stored in a buffer for
[0040] When the player US advances to the position shown in FIG. 9, "clouds" have the highest priority. "Wood," "brick," "skin," and "concrete" are set to have decreasing priorities in that order. The textures TX with the highest priority are "clouds," "wood," and "brick," but asset SR has already been performed on "wood" to obtain high-resolution image data. Therefore, only "clouds" and "bricks" are given SR target flags, and asset SR is performed. The image data of "clouds" and "bricks" after asset SR, and the image data of "wood" that has already been made high-resolution, are used as high-resolution textures I. t,SR The data is stored in a buffer for
[0041] The "concrete" and "skin" textures, which had high priorities in the stage shown in FIG. 8, have been lowered in priority because they are now farther away from the player US. The image data of the "concrete" and "skin" textures, which are farther away from the player US and have lower priorities, are now treated as textures TX with low reusability and are used as high-resolution textures I. t,SR When the priority of "concrete" or "skin" becomes higher due to the movement of the player US, the low-resolution texture I is again discarded from the asset AS. t It is necessary to read out the image and convert it to high resolution using Asset SR.
[0042] FIG. 10 is a diagram showing an example of managing texture TX.
[0043] The object ID is a number that indicates the type of texture TX, such as "wood," "brick," or "skin." Textures TX are managed by object IDs. Each texture is ranked by priority, and only textures TX with high priority are made high-resolution by asset SR. High-resolution texture I t,SR The number of textures TX that can be held as a high-resolution texture I t,SR The amount of buffer space allocated for high-resolution textures I t,SR In the example of Fig. 10, only three of the five textures TX are made high resolution.
[0044] "SR" in the "Processing" column means that asset SR is implemented. "-" in the "Processing" column means that asset SR is not implemented. In the initial state, high priority is given to texture TX with object IDs "1", "2", and "3". Asset SR is implemented for texture TX with object IDs "1", "2", and "3", and the high-resolution texture I obtained by asset SR is t,SR is stored in a buffer.
[0045] In the next state, high priority is given to textures TX with object IDs "1", "3", and "4". Textures TX with object IDs "1" and "3" have been made high-resolution by asset SR implemented in the previous state (initial state). Therefore, asset SR is implemented only for texture TX with object ID "4". In the buffer, high-resolution textures I with object IDs "1" and "3" obtained in the previous state are t,SR And the newly acquired high-resolution texture I with object ID "4" t,SR The high-resolution texture I whose object ID is "2" and whose priority has been lowered is stored. t,SR is discarded from the buffer.
[0046] Furthermore, in the next state, high priority is given to textures TX with object IDs "2", "4", and "5". Texture TX with object ID "4" has been made high-resolution by asset SR implemented in the previous state. Therefore, asset SR is implemented only for textures TX with object IDs "2" and "5". In the buffer, high-resolution textures I with object ID "4" obtained in the previous state are t,SR The newly acquired object IDs are "2" and "5" and the high-resolution texture I t,SR The high-resolution textures I with object IDs "1" and "3" that have been given lower priority are stored. t,SR is discarded from the buffer.
[0047] [2-4. Standardization of DNN Architecture] FIGS. 11 to 13 are explanatory diagrams relating to standardization of DNN architecture.
[0048] When converting a DNN for a rendering SR to an asset SR, it is desirable that the DNN architecture be common between the rendering SR and the asset SR. The architecture refers to the structure of the neural network layers (number and arrangement of ALUs) and the number of channels in each layer. If the architecture is not common, the implementation will be tailored to one of the DNNs with a larger calculation scale or memory usage. In this case, redundant hardware costs will be involved in the execution of the other DNN.
[0049] 11 shows an example of the structure of input data and output data (input / output data structure) of the rendering SR. The DNN for the rendering SR generates a low-resolution rendering image I of the frame to be processed (target frame). r The input data is the DNN output of the frame immediately before the target frame (the previous frame). The output data is a high-resolution rendering image I r,SRBy simultaneously inputting the DNN output of the target frame and the previous frame into the DNN, the temporal correlation between frames is obtained. This reduces flickering in the video. If R (red), G (green), and B (blue) are each one channel, the input data is six channels of data, and the output data is three channels of data.
[0050] FIG. 12 shows an example of a DNN architecture for rendering SR. DNN processing involves repeating product-sum operations using DNN coefficients (w, b) for input values (pixel values i_R, i_G, i_B). If the architecture is different, for example, if the input channel changes from three to nine, the number of i×w multiplications in the first layer changes from three to nine. In this example, the first-layer DNN structure has a 3-channel×N-number ALU configuration. Having redundant ALUs naturally increases hardware costs and complicates timing charts for reading and writing values, so it is better to have as few ALUs as possible.
[0051] The right side of Figure 11 shows an example of the input / output data structure of an asset SR. When using multiple textures TX, it is important to align the edges of each texture TX to create a structural correlation between the textures TX. If the SR process is applied to each texture TX separately, an edge representation is generated independently for each texture TX, resulting in misalignment of the edge positions between the textures TX. For example, if the edges of "Albedo" and "Normal" are misaligned, the rendering may not follow the object shape and may appear to have blurred colors.
[0052] Therefore, it is conceivable to input multiple textures TX to the DNN simultaneously so that the textures TX are correlated with each other. The output data is a high-resolution texture group that is the same as the input texture group. If R, G, and B each have one channel and the number of input textures is three, both the input data and the output data will have nine channels. The number of channels in the input data and output data varies depending on the number of textures TX. If the number of textures TX is large, the hardware structure (architecture) of the DNN will not match between the rendering SR and the asset SR.
[0053] In the present disclosure, in order to implement rendering SR and asset SR using a common DNN architecture, the processing of asset SR is made different from that shown in FIG. 11 . The left side of FIG. 13 shows an example of the input / output data structure of rendering SR. The right side of FIG. 13 shows an example of the input / output data structure of asset SR. In the example of FIG. 13 , the texture TX that is up-resolutioned by one asset SR is limited to one. Furthermore, the input data of asset SR includes data that has been subjected to SR processing for one of the textures TX. As a result, the input data of asset SR is also six-channel data, and the output data is three-channel data. The input / output data structure of the DNN for rendering SR is the same as the input / output data structure of the DNN for asset SR.
[0054] For example, the input data of the DNN for rendering SR is a rendering image of the target frame to be processed (a low-resolution rendering image I r ) and the SR-processed rendering image of the frame immediately before the target frame (high-resolution rendering image I r,SR The output data of the DNN for rendering SR is a rendering image (high-resolution rendering image I r,SR "Dummy" refers to a dummy image that is input only to align the data format.
[0055] The input data for the DNN for asset SR is the target texture to be processed (low-resolution texture I t ) and a texture that has been SR processed and is different from the target texture (high resolution texture I t,SR ) The high-resolution texture I included in the input data t,SR is reduced to match the resolution of the target texture. The output data of the DNN for asset SR is the SR-processed target texture (high-resolution texture I t,SR "Dummy" refers to a dummy image that is input only to align the data format.
[0056] 13, the input data includes the SR processed data of other textures TX as well as the target texture. This allows the DNN architecture to be shared between rendering SR and asset SR while correlating the processing results with other textures TX.
[0057] The correlation of the processing results means the correlation of the edge expression, etc. For example, in the example of FIG. 13, the other high-resolution texture I included in the input data t,SR The high-resolution texture of "Albedo" with a large amount of information is used as the texture to be processed. The SR process of the target texture is performed using the edges of the SR-processed "Albedo" as a guide.
[0058] The DNN coefficients for the rendering SR and the DNN coefficients for the asset SR are obtained by performing pre-learning so as to obtain the processing result of FIG.
[0059] 3. Rendering System 3-1. System Configuration Example FIG. 14 is a diagram showing an example of the configuration of the rendering system 1. As shown in FIG.
[0060] The rendering system 1 is a system that generates high-resolution 3D video images RD by using a combination of rendering SR and asset SR. In the example of Fig. 14, the rendering system 1 is used to generate CG video images for a game machine. The rendering system 1 has a game engine 10, an input unit 20, and an output unit 30.
[0061] The input unit 20 receives a signal S input by a user (a game player US) via a controller. i is input to the game engine 10. The game engine 10 receives the input signal S i The game engine 10 generates 3D video RD (low-resolution rendering image I) according to the required resolution of the game. r , High-resolution rendering image I r,SR The output unit 30 receives the generated 3D video from the game engine 10 and sends it to a display. When outputting the 3D video RD, the output unit 30 can perform general color space and output format conversion.
[0062] The game engine 10 includes a game event control unit 11, an asset holding unit 12, a renderer 13, a video processing control unit 14, an asset SR operation control unit 15, a DNN 16, a DNN coefficient switching unit 17, a high-resolution texture holding unit 18, a scaler 19, and a DNN coefficient holding unit ST C The game event control unit 11 and the asset holding unit 12 have a game data holding unit ST that holds various data (game data) necessary for the progression of the game and the generation of 3D video RD. D It functions as:
[0063] The game event control unit 11 stores game control data and flag data. Game control data refers to data that should generally be equipped for game progression, such as for the game UI and event control. Flag data refers to data regarding the presence or absence of an SR target flag for each texture TX.
[0064] The asset holding unit 12 holds a data group of assets AS that are read by the game event control unit 11 and used in the game. The data group includes geometry data (mesh / point cloud, etc.) and texture data. The asset holding unit 12 receives a transfer command S from the asset SR operation control unit 15. t In response, low-resolution texture I t The asset holding unit 12 transfers the high-resolution texture I obtained from the DNN 16. t,SR is linked to the corresponding geometry data based on the object ID.
[0065] The renderer 13 receives the input signal S i and Game Data D g The renderer 13 transfers the image obtained by rendering (rendered image) to the video processing control unit 14. The renderer 13 performs rendering based on the object ID S of the texture TX (target texture) having the SR target flag. o and the distance to the application position of the target texture (texture distance S d ) and is sent to the asset SR operation control unit 15. Texture distance S dmeans the distance on the game route between the position in the game space to which the texture TX is applied and the player US moving within the game space.
[0066] The DNN 16 is a video processing block that has a specific pre-configured layer structure as a hardware implementation. The DNN 16 is a block that implements the DNN coefficients D for rendering SR. r and the DNN coefficient D for asset SR t The DNN 16 uses a common architecture to implement the rendering SR that performs SR processing on the 3D video RD and the asset SR that performs SR processing on the texture TX of the asset AS related to the 3D video RD.
[0067] DNN16 is a low-resolution image (low-resolution rendering image I r , low-resolution texture I t ) is made high resolution and a high resolution image (high resolution rendering image I r,SR , High Resolution Texture I t,SR The DNN 16 generates a high-resolution rendering image I r,SR to the output unit 30. The DNN 16 outputs the high-resolution texture I t,SR is transferred to the high resolution texture storage unit 18.
[0068] DNN coefficient storage unit ST C is the DNN coefficient calculated by pre-learning (DNN coefficient for rendering SR D r , DNN coefficient for asset SR D t ) DNN coefficient for asset SR D t For , the DNN coefficients for each attribute of the texture TX may be retained.
[0069] The scaler 19 scales the resolution of the 3D video RD to a specified resolution that matches the specifications of the output unit 30. The scaling method may be a known method such as bicubic or sharpening processing.
[0070] The DNN coefficient switching unit 17 receives a DNN coefficient switching command S from the video processing control unit 14. c , and the application coefficient of DNN16 is set to the DNN coefficient D for rendering SR. r Or DNN coefficient D for asset SRt Change to.
[0071] The video processing control unit 14 sends an asset SR start / stop command S to the asset SR operation control unit 15. f The video processing control unit 14 sends a switching command S to the DNN coefficient switching unit 17 to switch between the DNN coefficients for rendering SR and the DNN coefficients for asset SR. c The image processing control unit 14 outputs the low-resolution rendering image I r is transferred to either the DNN 16, the scaler 19 or the output unit 30.
[0072] For example, the video processing control unit 14 may issue a command S for switching to the DNN coefficients for the asset SR at a timing when the execution of the rendering SR is not required. c The video processing control unit 14 detects a special situation in which the required resolution for the 3D video RD is lower than that in normal operating conditions as a timing when rendering SR does not need to be performed.
[0073] For example, the video processing control unit 14 detects the following unusual situations: data loading, display of the home screen, operation stop, video playback, implementation of a blur effect, and display of a scene with rapid movement. When the current stage ends and data for the next stage is being loaded, post-processing is not required. In such cases, processing by the scaler 19 is also not required, and the low-resolution 3D video RD output from the renderer 13 is output directly to the output unit 30.
[0074] For example, the processing of the video processing control unit 14 changes as follows based on the required resolution for rendering.
[0075] (i) When the required resolution is high, the video processing control unit 14 issues a start / stop command S f The video processing control unit 14 stops the asset SR by issuing the switching command S c The DNN coefficient is rendered by the SR DNN coefficient D r and the low-resolution rendering image I r is sent to DNN16.
[0076] (ii) When the required resolution is low (except when post-processing is not required), the video processing control unit 14 issues a start / stop command S f The video processing control unit 14 starts the asset SR by issuing a switching command S c The DNN coefficient is calculated as the DNN coefficient D for asset SR. t and the low-resolution rendering image I r is sent to the scaler 19.
[0077] (iii) When post-processing is not required, the video processing control unit 14 issues a start / stop command S f The video processing control unit 14 starts the asset SR by issuing a switching command S c The DNN coefficient is calculated as the DNN coefficient D for asset SR. t and the low-resolution rendering image I r is sent to the output unit 30.
[0078] The high-resolution texture storage unit 18 stores the high-resolution texture I obtained from the asset SR. t,SR The high-resolution texture storage unit 18 stores the acquired high-resolution texture I t,SR , object ID S o The high resolution texture holding unit 18 links the corresponding geometry data to the update command S of the asset SR operation control unit 15. m This reduces the priority of the saved high-resolution textures. t,SR The new high-resolution texture I is generated by discarding and raising the priority. t,SR Save the new file.
[0079] The asset SR operation control unit 15 determines the priority of the texture TX to be processed by the asset SR. For example, the asset SR operation control unit 15 detects the player US in a space reproduced by the 3D video RD. The asset SR operation control unit 15 assigns a higher priority to a texture TX that is applied to a position closer to the player US on a route set in the space. The asset SR operation control unit 15 determines the number of high-priority textures based on the capacity of a buffer reserved for updating the texture TX in the asset AS.
[0080] For example, the asset SR operation control unit 15 may set the object ID S of the texture TX having the SR target flag. o and the texture distance S for the texture TX. d and from the renderer 13. The asset SR operation control unit 15 receives the texture distance S d The texture TX having the smallest value is given a higher priority.
[0081] The asset SR operation control unit 15 sequentially changes the priority of the texture TX according to the progress of the event. The asset SR operation control unit 15 selectively designates a texture TX whose priority meets the management criteria as a high-priority texture to be processed by the asset SR. The asset SR operation control unit 15 stores and manages only the high-priority textures in the high-resolution texture storage unit 18. In response to the change in priority, the asset SR operation control unit 15 manages the texture TX in the asset AS designated as the high-priority texture as the high-resolution texture I obtained by the asset SR. t,SR Update by.
[0082] The asset SR operation control unit 15 generates a low-resolution texture I when the asset SR is started. t For example, the asset SR operation control unit 15 transfers a start / stop command S for switching to the asset SR from the video processing control unit 14. f The asset SR operation control unit 15 receives the SR processed data of the texture TX with a high priority (high resolution texture I t,SR ) is not held in the high-resolution texture holding unit 18, the data before SR processing of that texture TX (low-resolution texture I t ) to the DNN 16. t Issue.
[0083] The asset SR operation control unit 15 determines the high-resolution texture I to be stored in the high-resolution texture storage unit 18. t,SR and the high-resolution texture I in the high-resolution texture storage unit 18. t,SRFor example, the asset SR operation control unit 15 sends an update command S to the high resolution texture holding unit 18. m and the high-resolution texture I stored in the high-resolution texture storage unit 18. t,SR Updates are made based on priority.
[0084] 3-2. Information Processing Method FIGS. 15 to 17 are diagrams showing an example of the processing flow of the game engine 10. FIG.
[0085] When a game is executed, the asset SR operation control unit 15 allocates a buffer for storing the texture TX after the asset SR is applied in the high-resolution texture storage unit 18 (step S1). The video processing control unit 14 determines whether the scene to be displayed is a scene that does not require rendering (step S2).
[0086] If rendering is not required for the scene (step S2: Yes), the video processing control unit 14 displays a video appropriate for the scene, such as a load / home screen, video playback, or a paused frame (step S3). The asset SR operation control unit 15 determines the priority of textures TX in descending order of distance from the player US (step S4). The asset SR operation control unit 15 applies assets SR to textures TX to which no assets SR have been applied in descending order of priority (step S5).
[0087] The asset SR operation control unit 15 controls the texture TX (high resolution texture I) after SR processing. t,SR ) is stored in the buffer (step S6). The asset SR operation control unit 15 updates the texture data of the asset AS using the high-resolution texture stored in the buffer (step S7). The asset SR operation control unit 15 associates the geometry with the texture TX after SR processing based on the object ID, or releases the association of the discarded texture TX. Thereafter, the process returns to step S2, and the above-mentioned process is repeated.
[0088] Steps S4 to S7 are executed as background processing, and may be performed in parallel with the image rendering processing of step S3.
[0089] If the scene requires rendering (step S2: No), the renderer 13 acquires rendering information related to the asset AS data and the required resolution, etc. (step S11). The renderer 13 determines whether the required resolution is low or the rendering cost is low (step S12).
[0090] If the required resolution is low or the rendering cost is low (step S12: Yes), the renderer 13 performs low-cost rendering (step S13). The video processing control unit 14 applies low-cost SR processing or the scaler 19 to the 3D video RD obtained by rendering (step S14), and displays the rendering result via the output unit 30 (step S15). Then, the process returns to step S4, and the above-described process is repeated.
[0091] If the required resolution is high or the rendering cost is high (step S12: No), the image processing control unit 14 performs rendering SR to increase the resolution of the 3D image RD obtained by the rendering (step S21).The image processing control unit 14 then displays the rendering result via the output unit 30 (step S22).Then, the process returns to step S2, and the above-mentioned process is repeated.
[0092] 4. Example of Hardware Configuration FIG. 18 is a diagram showing an example of the hardware configuration of the game engine 10. As shown in FIG.
[0093] The information processing of the game engine 10 is realized by, for example, a computer 1000. The computer 1000 has a CPU (Central Processing Unit) 1100, a RAM (Random Access Memory) 1200, a ROM (Read Only Memory) 1300, a HDD (Hard Disk Drive) 1400, a communication interface 1500, and an input / output interface 1600. The components of the computer 1000 are connected by a bus 1050.
[0094] The CPU 1100 operates and controls each component based on a program (program data 1450) stored in the ROM 1300 or the HDD 1400. For example, the CPU 1100 loads the program stored in the ROM 1300 or the HDD 1400 into the RAM 1200 and executes processing corresponding to the various programs.
[0095] The ROM 1300 stores boot programs such as a Basic Input Output System (BIOS) that is executed by the CPU 1100 when the computer 1000 starts up, as well as programs that depend on the hardware of the computer 1000 .
[0096] The HDD 1400 is a non-transitory computer-readable recording medium that non-temporarily records programs executed by the CPU 1100 and data used by such programs. Specifically, the HDD 1400 is a recording medium that records an information processing program according to an embodiment as an example of program data 1450.
[0097] The communication interface 1500 is an interface for connecting the computer 1000 to an external network 1550 (e.g., the Internet). For example, the CPU 1100 receives data from other devices and transmits data generated by the CPU 1100 to other devices via the communication interface 1500.
[0098] The input / output interface 1600 is an interface for connecting the input / output device 1650 and the computer 1000. For example, the CPU 1100 receives data from an input device such as a keyboard or a mouse via the input / output interface 1600. The CPU 1100 also transmits data to an output device such as a display device, a speaker, or a printer via the input / output interface 1600. The input / output interface 1600 may also function as a media interface for reading programs recorded on a predetermined recording medium. Examples of media include optical recording media such as a DVD (Digital Versatile Disc) or a PD (Phase Change Rewritable Disc), magneto-optical recording media such as an MO (Magneto-Optical Disk), tape media, magnetic recording media, and semiconductor memories.
[0099] For example, when the computer 1000 functions as the game engine 10 according to the embodiment, the CPU 1100 of the computer 1000 executes an information processing program loaded onto the RAM 1200 to realize the functions of the aforementioned components. The information processing program, various models, and various data according to the present disclosure are stored in the HDD 1400. The CPU 1100 reads and executes program data 1450 from the HDD 1400, but as another example, the CPU 1100 may obtain these programs from another device via an external network 1550.
[0100] [5. Effects] The game engine 10 has a DNN 16 and a video processing control unit 14. The DNN 16 uses a common architecture to perform rendering SR, which performs SR processing on 3D video RD, and asset SR, which performs SR processing on textures TX of assets AS related to the 3D video RD. The video processing control unit 14 issues a switching command S for switching between DNN coefficients for rendering SR and DNN coefficients for assets SR. cIn the information processing method of the present disclosure, the processing of the game engine 10 is executed by the computer 1000. The computer-readable non-transitory storage medium of the present disclosure stores a program that causes the computer 1000 to implement the processing of the game engine 10.
[0101] According to this configuration, rendering SR and asset SR are performed by a common DNN 16. Since there is no need to prepare separate DNNs 16 for different types of SR processing, implementation costs can be reduced.
[0102] The input / output data structure of the DNN 16 for the rendering SR is the same as the input / output data structure of the DNN 16 for the asset SR.
[0103] This configuration enables efficient computational processing for both the rendering SR and the asset SR. When SR processing with different input / output data structures is performed using the same DNN 16, it is possible to implement it in accordance with one of the DNNs 16 with a larger computational scale or memory usage, but this would involve redundant hardware costs when executing the other DNN 16. By making the input / output data structures the same for both the rendering SR and the asset SR, this type of problem is less likely to occur.
[0104] The input data of the DNN 16 for rendering SR is a rendering image of the target frame to be processed and a rendering image of the frame immediately preceding the target frame that has undergone SR processing. The output data of the DNN 16 for rendering SR is a rendering image of the target frame that has undergone SR processing. The input data of the DNN 16 for asset SR is a target texture to be processed and a texture TX that is different from the target texture and has undergone SR processing. The output data of the DNN 16 for asset SR is the target texture that has undergone SR processing.
[0105] According to this configuration, if R (red), G (green), and B (blue) data are each one channel, both rendering SR and asset SR have six input channels and three output channels, and the input / output data structure is the same for both SR processes.
[0106] The video processing control unit 14 issues a command S for switching to the DNN coefficients for the asset SR at a timing when the execution of the rendering SR is not required. c Output.
[0107] This configuration minimizes the number of times the rendering SR is switched to the asset SR. Compared to when these SR processes are constantly switched at high speed, the amount of calculation is reduced and the real-time nature of the rendering SR is less likely to be impaired.
[0108] The video processing control unit 14 detects a special situation in which the required resolution for the 3D video RD is lower than that in normal operating conditions as a timing when rendering SR does not need to be performed.
[0109] According to this configuration, asset SR can be performed without significantly degrading the video quality.
[0110] The video processing control unit 14 detects the following peculiar situations: loading of data, display of the home screen, stopping of operation, video playback, implementation of a blur effect, and display of a scene with a lot of movement.
[0111] According to this configuration, asset SR can be performed without significantly degrading the video quality.
[0112] The game engine 10 has an asset SR operation control unit 15. The asset SR operation control unit 15 sequentially changes the priority of textures TX according to the progress of an event. The asset SR operation control unit 15 selectively designates textures whose priority meets the management criteria as high-priority textures to be processed by the asset SR.
[0113] According to this configuration, only the texture TX with high priority is made high-resolution. t,SR The amount of buffering required to generate and manage the
[0114] The asset SR operation control unit 15 detects the player US within the space reproduced by the 3D video RD. The asset SR operation control unit 15 assigns a higher priority to a texture TX that is applied to a position closer to the player US on a route set within the space.
[0115] According to this configuration, textures TX that are likely to be used are preferentially made high-resolution.
[0116] In response to the change in priority, the asset SR operation control unit 15 converts the texture TX in the asset AS designated as a high-priority texture into a high-resolution texture I obtained by the asset SR. t,SR Update by.
[0117] According to this configuration, the asset AS is updated sequentially in response to changes in priority.
[0118] The asset SR operation control unit 15 determines the number of high-priority textures based on the capacity of the buffer reserved for updating the texture TX in the asset AS.
[0119] According to this configuration, the texture TX is managed appropriately within the capacity of the buffer.
[0120] [6. Modification] When a scene contains many textures TX to which asset SR is to be applied, memory may be insufficient. In this case, it is possible to apply asset SR only to specific attributes. In other words, the asset SR operation control unit 15 can selectively designate one or more textures TX with specific attributes from among the multiple textures TX included in asset AS as targets for asset SR processing.
[0121] For example, the asset SR operation control unit 15 performs SR processing only on "Albedo" and "Normal," which have a large contribution to the visual perception of the resolution, and handles "AO" as it is at low resolution. The high-resolution texture storage unit 18 stores the SR results only for "Albedo" and "Normal," and reads "AO" as it is at low resolution from the game data side.
[0122] According to this configuration, the processing target of the asset SR is limited. t,SR The amount of buffering required to generate and manage the
[0123] The effects described in this specification are merely examples and are not limiting, and other effects may also be present.
[0124] [Additional Notes] The present technology may also be configured as follows: (1) An information processing device having: a DNN that implements a rendering SR that performs super-resolution processing on 3D video and an asset SR that performs super-resolution processing on the texture of an asset related to the 3D video using a common architecture; and a video processing control unit that outputs a switching command for switching between DNN coefficients for the rendering SR and DNN coefficients for the asset SR. (2) The information processing device described in (1) above, in which an input / output data structure of the DNN for the rendering SR is equal to an input / output data structure of the DNN for the asset SR. (3) The information processing device according to (2), wherein input data of the DNN for the rendering SR are a rendering image of a target frame to be processed and a rendering image of the frame immediately preceding the target frame that has been super-resolution processed, and output data of the DNN for the rendering SR is a rendering image of the target frame that has been super-resolution processed, and input data of the DNN for the asset SR are a target texture to be processed and a texture that is different from the target texture that has been super-resolution processed, and output data of the DNN for the asset SR is the target texture that has been super-resolution processed. (4) The information processing device according to any one of (1) to (3), wherein the video processing control unit outputs the switching command to the DNN coefficients for the asset SR at a timing when execution of the rendering SR is unnecessary. (5) The information processing device according to (4), wherein the video processing control unit detects a special situation in which the required resolution for the 3D video is lower than in normal operating situations as a timing when execution of the rendering SR is unnecessary. (6) The information processing device according to (5), wherein the video processing control unit detects, as the peculiar situation, a situation in which data is being loaded, a home screen is being displayed, an operation is stopped, a video is being played, a blur effect is being applied, or a scene with a lot of movement is being displayed.(7) The information processing device according to any one of (1) to (6), further comprising an asset SR operation control unit that sequentially changes the priority of the texture in accordance with the progress of an event and selectively designates a texture whose priority meets a management standard as a high-priority texture to be processed by the asset SR. (8) The information processing device according to (7), wherein the asset SR operation control unit detects a player in a space reproduced by the 3D video and assigns a higher priority to a texture that is applied to a position closer to the player on a route set in the space. (9) The information processing device according to (7) or (8), wherein the asset SR operation control unit updates a texture in the asset that has been designated as the high-priority texture with a high-resolution texture obtained by the asset SR in accordance with the change in priority. (10) The information processing device according to (9), wherein the asset SR operation control unit determines the number of high-priority textures based on the capacity of a buffer reserved for updating textures in the asset. (11) The information processing device according to any one of (7) to (10), wherein the asset SR operation control unit selectively designates one or more textures having a specific attribute from among a plurality of textures included in the asset as a processing target for the asset SR. (12) An information processing method executed by a computer, comprising: implementing a rendering SR that performs super-resolution processing on 3D video and an asset SR that performs super-resolution processing on textures of assets related to the 3D video using a common architecture, and outputting a switching command for switching between DNN coefficients for the rendering SR and DNN coefficients for the asset SR. (13) A computer-readable non-transitory storage medium storing a program that causes a computer to implement the steps of: implementing a rendering SR that performs super-resolution processing on 3D video and an asset SR that performs super-resolution processing on textures of assets related to the 3D video using a common architecture, and outputting a switching command for switching between DNN coefficients for the rendering SR and DNN coefficients for the asset SR.
[0125] 10 Game engine (information processing device) 14 Video processing control unit 15 Asset SR operation control unit 16 DNN AS Asset I t,SR High resolution texture RD 3D video S c Switch command TX Texture US Player
Claims
1. An information processing device having a DNN that implements a rendering SR that performs super-resolution processing on 3D images and an asset SR that performs super-resolution processing on the texture of an asset related to the 3D images using a common architecture, and a video processing control unit that outputs a switching command to switch between DNN coefficients for the rendering SR and DNN coefficients for the asset SR.
2. The information processing device according to claim 1, wherein the input / output data structure of the DNN for the rendering SR is equal to the input / output data structure of the DNN for the asset SR.
3. The information processing device of claim 2, wherein input data of the DNN for the rendering SR is a rendering image of the target frame to be processed and a rendering image of the frame immediately preceding the target frame that has been super-resolution processed; output data of the DNN for the rendering SR is a rendering image of the target frame that has been super-resolution processed; input data of the DNN for the asset SR is a target texture to be processed and a texture that is different from the target texture that has been super-resolution processed; and output data of the DNN for the asset SR is the target texture that has been super-resolution processed.
4. The information processing device according to claim 1, wherein the image processing control unit outputs the switching command to the DNN coefficient for the asset SR at a timing when execution of the rendering SR is not required.
5. The information processing device according to claim 4, wherein the image processing control unit detects a special situation in which the required resolution for the 3D image is lower than that in a normal operating situation as a timing when execution of the rendering SR is unnecessary.
6. The information processing device according to claim 5, wherein the image processing control unit detects as the peculiar situation the following situations: data loading, display of a home screen, stopping of operation, video playback, implementation of a blur effect, and display of a scene with a lot of movement.
7. An information processing device as described in claim 1, further comprising an asset SR operation control unit that sequentially changes the priority of the texture in accordance with the progress of an event, and selectively designates a texture whose priority meets a management standard as a high priority texture to be processed by the asset SR.
8. The information processing device according to claim 7, wherein the asset SR operation control unit detects the player within the space reproduced by the 3D video, and assigns a higher priority to textures applied to positions closer to the player on a route set within the space.
9. The information processing device according to claim 7, wherein the asset SR operation control unit updates the texture in the asset designated as the high priority texture with a high resolution texture obtained by the asset SR in response to the change in priority.
10. The information processing device according to claim 9, wherein the asset SR operation control unit determines the number of high priority textures based on the capacity of a buffer reserved for updating textures in the asset.
11. The information processing device according to claim 7, wherein the asset SR operation control unit selectively designates one or more textures having specific attributes from among a plurality of textures included in the asset as targets for processing of the asset SR.
12. An information processing method executed by a computer, comprising: implementing a rendering SR that performs super-resolution processing on 3D video images and an asset SR that performs super-resolution processing on the texture of an asset related to the 3D video images using a common architecture; and outputting a switching command for switching between DNN coefficients for the rendering SR and DNN coefficients for the asset SR.
13. A computer-readable non-transitory storage medium storing a program that causes a computer to implement a rendering SR that performs super-resolution processing on 3D images and an asset SR that performs super-resolution processing on the texture of an asset related to the 3D images using a common architecture, and output a switching command for switching between DNN coefficients for the rendering SR and DNN coefficients for the asset SR.
Citation Information
Patent Citations
Program and image generator
JP2020160651A
Deep learning based selection of samples for adaptive supersampling
JP2021197136A
Cited By
Modularized function scheduling distribution system for image production and product sales
CN121523866A
