Simplified Shader Replacement for Faster, Lower-Power Image Rendering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The increased complexity of shading operations in image rendering leads to higher time and power consumption, causing frame loss and frame freezing in image display processes.

Innovation Solution

An image processing method that involves determining a simplified shader with reduced code amount and replacing the original shader with it, ensuring the same shading function is performed efficiently, thereby reducing time and power consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If accurate shading is performed on a model in the image, then image rendering quality is improved, but running time and power overheads of the shader are increased

Engineering Contradiction:
Improveimage rendering qualityVSAvoidrunning time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent creates a simplified shader that copies the essential shading functionality of the original shader but with reduced code complexity. The simplified shader is generated by analyzing the original shader code and removing unnecessary operations while preserving the core shading effects, thereby maintaining image rendering quality with lower computational overhead

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent transforms the original shader into a simplified version by changing its structural parameters - reducing the number of instructions, simplifying control flow, and optimizing data access patterns. This parameter transformation maintains the shader's functional output while significantly reducing execution time and power consumption

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If accurate shading is performed on a model in the image, then image rendering quality is improved, but power overheads of the shader are increased

Engineering Contradiction:
Improveimage rendering qualityVSAvoidpower overheads
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The simplified shader serves as a lightweight copy of the original shader, retaining only the essential shading operations needed for quality rendering. By eliminating redundant code and operations in the copied shader, the patent reduces the computational workload and corresponding power consumption while preserving visual fidelity

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts and removes unnecessary shading operations from the original shader code, keeping only the critical rendering operations. This extraction process eliminates wasteful computational steps that consume power without contributing to image quality, thereby reducing overall power overheads

Inventive Principle:
Principle #2Taking out (Extraction)

3Loss of time

If a simplified shader with reduced code amount is used, then running time and power overheads are reduced, but shading function accuracy may be affected

Engineering Contradiction:
Improverunning timeVSAvoidshading function accuracy
Core Design Contradiction:
Loss of timeVSManufacturing precision

Solution Approach 1:

The patent employs feedback mechanisms to validate the simplified shader's output against the original shader's rendering results. By comparing the visual output and adjusting the simplified shader's parameters iteratively, the system ensures that shading accuracy is maintained within acceptable tolerances while achieving the desired performance improvements

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The simplified shader performs a partial version of the original shader's operations - focusing on the most visually critical shading effects while omitting less significant computations. This selective execution of shading operations maintains perceived rendering quality while reducing overall computational complexity and execution time

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentEP4235562B1Image processing method and electronic device
Publication Date: 2025.11.05 HONOR DEVICE CO LTD
  • EP4235562B1 patent drawingFigure 1~2
  • EP4235562B1 patent drawingFigure 3
  • EP4235562B1 patent drawingFigure 4

AI summary

Embodiments of this application provide an image processing method and an electronic device, and relate to the image processing field, so as to simplify a shading operation by running a corresponding simplified shader, thereby reducing running duration and power overheads. A specific solution is: determining an original shader based on a rendering instruction stream; performing matching on the original shader to determine a simplified shader corresponding to the original shader; and binding the simplified shader to a first program indicated by the rendering instruction stream. In this way, when the first program is subsequently invoked, the simplified shader can be invoked to perform a corresponding high shading operation.