Motion estimation based on region discontinuities
Patent Information
- Application Number
- JP2023525074
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-11-02
- Filing Date
- 2021-10-05
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2041-10-05
AI Technical Summary
Existing graphics processing technologies face challenges in accurately performing motion estimation across frames due to discontinuities, leading to inaccurate frame extrapolation and unintended distortions, particularly in power and performance-constrained devices like smartphones and tablets.
A method and apparatus that identify frame discontinuities exceeding a threshold, allowing for the skipping of motion estimation in affected regions to prevent incorrect motion vectors and distortions, utilizing techniques such as lightweight hashes and image pyramids for efficient frame processing.
Enhances frame processing accuracy and reduces power consumption by selectively performing motion estimation only in continuous regions, improving resource efficiency and reducing latency in graphics processing.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] Cross - reference to Related Applications
[0001] This application claims the benefit of U.S. Patent Application No. 17 / 087,528, filed on November 2, 2020, entitled "METHODS AND APPARATUS FOR MOTION ESTIMATION BASED ON REGION DISCONTINUITY", which is hereby incorporated by reference in its entirety.
[0002]
[0002] The present disclosure generally relates to a processing system, and more particularly, to one or more techniques for image or frame processing.
Background Art
[0003] Introduction
[0003] Computing devices often utilize a graphics processing unit (GPU) to accelerate the rendering of graphical data for display. Such computing devices can include, for example, computer workstations, mobile phones such as so - called smart phones, embedded systems, personal computers, tablet computers, and video game consoles. The GPU executes a graphics processing pipeline that includes one or more processing stages that operate together to execute graphics processing commands and output a frame. The central processing unit (CPU) can control the operation of the GPU by issuing one or more graphics processing commands to the GPU. Modern CPUs are generally capable of concurrently executing multiple applications, each of which may need to utilize the GPU during execution. Devices that provide content for visual presentation on a display generally include a GPU.
[0004]
[0004] Generally, the GPU of a device is configured to perform processes in the graphics processing pipeline. However, with the advent of wireless communication and smaller handheld devices, there has been an increased need for improved graphics processing. [Overview of the Initiative]
[0005]
[0005] The following provides a simplified overview of one or more embodiments in order to provide a basic understanding of such embodiments. This overview is not a comprehensive overview of all intended embodiments, nor does it identify the main elements of all embodiments, nor does it define the scope of any or all embodiments. Its sole purpose is to present some concepts of one or more embodiments in a simplified form as a prelude to more detailed descriptions to be presented later.
[0006]
[0006] In one aspect of the present disclosure, a method, a computer-readable medium, and an apparatus are provided. The apparatus may be a GPU, a CPU, an image processor, a frame processor, a display processing unit (DPU), and / or any apparatus capable of performing image or frame processing. The apparatus may receive a second frame after a first frame has been received. The apparatus may also compare at least one first region of the first frame with at least one second region of the second frame. The apparatus may also identify a discontinuity between at least one first region of the first frame and at least one second region of the second frame, where at least one first region corresponds to at least one second region, the first frame includes a plurality of first regions, the second frame includes a plurality of second regions, and the first and second frames are related to a plurality of frames. Furthermore, the device can determine whether the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold. The device can also skip motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold. Moreover, the device can perform motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is less than a motion estimation threshold. The device can also construct a third frame based on the performed motion estimation, where the constructed third frame may be related to a frame extrapolation process.
[0007]
[0007] Details of one or more examples of the present disclosure are described in the accompanying drawings and the following description. Other features, purposes, and advantages of the present disclosure will become apparent from the description and drawings and the claims. [Brief explanation of the drawing]
[0008] [Figure 1]
[0008] A block diagram illustrating an exemplary content generation system using one or more techniques of the present disclosure. [Figure 2]
[0009] A diagram illustrating an exemplary GPU using one or more of the techniques of this disclosure. [Figure 3]
[0010] A diagram showing an exemplary image or surface created by one or more techniques of the present disclosure. [Figure 4A]
[0011] A diagram illustrating an exemplary frame using one or more techniques of the present disclosure. [Figure 4B] A diagram illustrating an exemplary frame using one or more techniques of the present disclosure. [Figure 5]
[0012] An illustrative diagram of image processing using one or more techniques of the present disclosure. [Figure 6]
[0013] An illustrative diagram of image processing using one or more techniques of the present disclosure. [Figure 7]
[0014] An illustrative diagram of an image processing component using one or more techniques of the present disclosure. [Figure 8]
[0015] An exemplary flowchart of an exemplary method using one or more techniques of the present disclosure. [Modes for carrying out the invention]
[0009]
[0016] Extended reality (XR), augmented reality (AR), or virtual reality (VR) applications may be used with certain devices, such as mobile devices or smartphones, which may be subject to strict power and performance efficiency constraints. To alleviate these constraints, motion estimation may be performed on previously rendered content and / or used to extrapolate frames. While motion estimation can sometimes work well, content may be discontinuous when transitioning between frames, such as frame by frame. In these cases, performing motion estimation can result in inaccurate data based on discontinuous content between frames, such as inaccurate or false motion estimation data. This inaccurate data can lead to poor or incomplete frame extrapolation based on motion estimation. In some cases, motion estimation and / or frame extrapolation applied across these discontinuous frames can produce random or incorrect motion vectors. Furthermore, these random or incorrect motion vectors generated from discontinuous frames can result in strong, unintended distortion in the extrapolated frame or portion of the extrapolated frame. For example, discontinuities between frames based on frame content or brightness can produce inaccurate motion estimates. Aspects of the disclosure may skip or bypass performing motion estimation for some frames or regions of frames to avoid incorrect motion vectors and / or unintended distortion. For example, aspects of the disclosure may identify discontinuities or differences between some frames or regions of frames. Furthermore, aspects of the disclosure may determine whether the discontinuities or differences between some frames or regions of frames exceed a threshold, and then, if the discontinuities or differences exceed the threshold, skip or bypass performing motion estimation.
[0010]
[0017] Various embodiments of the systems, apparatus, computer program products, and methods are described more fully below with reference to the accompanying drawings. However, this disclosure can be implemented in many different forms and should not be construed as being limited to any particular structure or function presented throughout this disclosure. Rather, these embodiments are provided so that this disclosure may be thorough and complete and so as to convey the scope of this disclosure to those skilled in the art. Based on the teachings herein, those skilled in the art should understand that the scope of this disclosure covers any embodiment of the systems, apparatus, computer program products, and methods disclosed herein, whether implemented independently of other embodiments of this disclosure or in combination with other embodiments of this disclosure. For example, an apparatus can be implemented or a method can be practiced using any number of embodiments described herein. Furthermore, the scope of this disclosure shall cover any such apparatus or method practiced using other structures, functions, or structures and functions in addition to or in addition to the various embodiments of this disclosure described herein. Any embodiment disclosed herein may be implemented by one or more elements of the claims.
[0011]
[0018] Various embodiments are described herein, but many variations and substitutions of these embodiments fall within the scope of this disclosure. While some potential benefits and advantages of embodiments of this disclosure are stated, the scope of this disclosure is not limited to any particular benefit, use, or purpose. Rather, embodiments of this disclosure are broadly applicable to different wireless technologies, system configurations, networks, and transmission protocols, some of which are shown, for example, in the figures and in the following description. The embodiments and drawings for carrying out the invention are illustrative, not limiting, of this disclosure, and the scope of this disclosure is defined by the appended claims and their equivalents.
[0012]
[0019] Several embodiments of various devices and methods are presented. These devices and methods are described in the following detailed description and are illustrated in the accompanying drawings by various blocks, components, circuits, processes, algorithms, etc. (collectively referred to as "elements"). These elements may be implemented using electronic hardware, computer software, or any combination thereof. Whether such elements are implemented as hardware or software depends on the specific application and the design constraints imposed on the overall system.
[0013]
[0020] For example, an element, or any part of an element, or any combination of elements, may be implemented as a “processing system” comprising one or more processors (sometimes called processing units). Examples of processors include microprocessors, microcontrollers, graphics processing units (GPUs), general-purpose GPUs (GPGPUs), central processing units (CPUs), application processors, digital signal processors (DSPs), reduced instruction set computing (RISC) processors, systems on a chip (SOC), baseband processors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), programmable logic devices (PLDs), state machines, gate logic, discrete hardware circuits, and other suitable hardware configured to perform the various functions described throughout this disclosure. One or more processors in a processing system may execute software. Regardless of the names used, such as software, firmware, middleware, microcode, and hardware description language, the term "software" can be broadly interpreted to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software components, applications, software applications, software packages, routines, subroutines, objects, executable files, execution threads, procedures, functions, and so on. The term "application" can refer to software. As described herein, one or more techniques can refer to an application, i.e., software configured to perform one or more functions. In such examples, an application may be stored in memory, for example, on-chip memory of a processor, system memory, or any other memory. Hardware described herein, such as a processor, can be configured to run an application. For example, an application can be described as containing code that, when executed by hardware, causes the hardware to perform one or more techniques described herein.As an example, hardware may access code from memory and execute the code accessed from memory in order to implement one or more techniques described herein. In some examples, components are identified in this disclosure. In such examples, components may be hardware, software, or a combination thereof. Components may be separate components or sub-components of a single component.
[0014]
[0021] Accordingly, in one or more examples described herein, the functions described may be implemented in hardware, software, or any combination thereof. If implemented in software, the functions may be stored on a computer-readable medium or encoded on a computer-readable medium as one or more instructions or codes. Computer-readable medium includes computer storage medium. Storage medium may be any available medium that can be accessed by a computer. Such computer-readable medium may include, but not limited to, random access memory (RAM), read-only memory (ROM), electrically erasable programmable ROM (EEPROM®), optical disk storage, magnetic disk storage, other magnetic storage devices, combinations of the computer-readable mediums of the types described above, or any other medium that can be used to store computer executable code in the form of instructions or data structures that can be accessed by a computer.
[0015]
[0022] In general, this disclosure describes techniques for improving the rendering of graphical content and / or reducing the load on processing units, i.e., any processing unit configured to implement one or more techniques described herein, such as a GPU, which have a graphics processing pipeline in one or more devices. For example, this disclosure describes techniques for graphics processing in any device that utilizes graphics processing. Other exemplary benefits are described throughout this disclosure.
[0016]
[0023] As used herein, instances of the term “content” may refer to “graphical content” or “image,” and vice versa. This is true whether the term is used as an adjective, a noun, or any other part of speech. In some instances, the term “graphical content” as used herein may refer to content produced by one or more processes in a graphics processing pipeline. In some instances, the term “graphical content” as used herein may refer to content produced by a processing unit configured to perform graphics processing. In some instances, the term “graphical content” as used herein may refer to content produced by a graphics processing unit.
[0017]
[0024] In some examples, the term "display content" as used herein may refer to content generated by a processing unit configured to perform display processing. In some examples, the term "display content" as used herein may refer to content generated by a display processing unit. Graphical content may be processed to become display content. For example, a graphics processing unit may output graphical content, such as a frame, to a buffer (sometimes called a frame buffer). A display processing unit may read graphical content, such as one or more frames from the buffer, and perform one or more display processing techniques on it to generate display content. For example, a display processing unit may be configured to perform composition on one or more rendered layers to generate a frame. As another example, a display processing unit may be configured to combine, blend, or otherwise combine two or more layers into a single frame. A display processing unit may be configured to perform scaling on a frame, such as upscaling or downscaling. In some examples, a frame may refer to a layer. In other examples, a frame may refer to two or more layers that have already been blended together to form a frame, i.e., a frame includes two or more layers, and a frame including two or more layers may then be blended.
[0018]
[0025] Figure 1 is a block diagram showing an exemplary content generation system 100 configured to implement one or more techniques of the present disclosure. The content generation system 100 includes a device 104. The device 104 may include one or more components or circuits for performing various functions described herein. In some examples, one or more components of the device 104 may be components of a System of Control (SOC). The device 104 may include one or more components configured to perform one or more techniques of the present disclosure. In the illustrated example, the device 104 may include a processing unit 120, a content encoder / decoder 122, and a system memory 124. In some embodiments, the device 104 may include several optional components, such as a communication interface 126, a transceiver 132, a receiver 128, a transmitter 130, a display processor 127, and one or more displays 131. References to displays 131 may refer to one or more displays 131. For example, displays 131 may include a single display or multiple displays. Displays 131 may include a first display and a second display. The first display may be a left-eye display, and the second display may be a right-eye display. In some examples, the first and second displays may receive different frames for presentation on them. In other examples, the first and second displays may receive the same frame for presentation on them. In further examples, the results of graphics processing may not be displayed on the device; for example, the first and second displays may not receive frames for presentation on them. Instead, the frames or graphics processing results may be transferred to another device. In some embodiments, this is sometimes called split-rendering.
[0019]
[0026] The processing unit 120 may include an internal memory 121. The processing unit 120 may be configured to perform graphics processing, such as in the graphics processing pipeline 107. The content encoder / decoder 122 may include an internal memory 123. In some examples, the device 104 may include a display processor, such as a display processor 127, to perform one or more display processing techniques on one or more frames generated by the processing unit 120 prior to presentation by one or more displays 131. The display processor 127 may be configured to perform display processing. For example, the display processor 127 may be configured to perform one or more display processing techniques on one or more frames generated by the processing unit 120. One or more displays 131 may be configured to display or otherwise present frames processed by the display processor 127. In some examples, one or more displays 131 may include one or more of a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, a projection display device, an augmented reality display device, a virtual reality display device, a head-mounted display, or any other type of display device.
[0020]
[0027] External memories, such as the system memory 124, external to the processing unit 120 and the content encoder / decoder 122 may be accessible to the processing unit 120 and the content encoder / decoder 122. For example, the processing unit 120 and the content encoder / decoder 122 may be configured to read from and / or write to an external memory, such as the system memory 124. The processing unit 120 and the content encoder / decoder 122 may be communicatively coupled to the system memory 124 over a bus. In some examples, the processing unit 120 and the content encoder / decoder 122 may be communicatively coupled to each other over a bus or different connection.
[0021]
[0028] The content encoder / decoder 122 may be configured to receive graphical content from any source, such as the system memory 124 and / or the communication interface 126. The system memory 124 may be configured to store the received encoded or decoded graphical content. The content encoder / decoder 122 may be configured to receive encoded or decoded graphical content from, for example, the system memory 124 and / or the communication interface 126, in the form of encoded pixel data. The content encoder / decoder 122 may be configured to encode or decode any graphical content.
[0022]
[0029] The internal memory 121 or system memory 124 may include one or more volatile or non-volatile memory or storage devices. In some examples, the internal memory 121 or system memory 124 may include RAM, SRAM, DRAM, erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic data medium or optical storage medium, or any other type of memory.
[0023]
[0030] The internal memory 121 or system memory 124 may, in some examples, be a non-temporary storage medium. The term “non-temporary” may indicate that the storage medium is not carried out in a carrier wave or propagating signal. However, the term “non-temporary” should not be interpreted as meaning that the internal memory 121 or system memory 124 is immobile or that its contents are static. For example, system memory 124 may be removed from device 104 and moved to another device. For another example, system memory 124 may not be removable from device 104.
[0024]
[0031] The processing unit 120 may be a central processing unit (CPU), a graphics processing unit (GPU), a general-purpose GPU (GPGPU), or any other processing unit that can be configured to perform graphics processing. In some examples, the processing unit 120 may be integrated into the motherboard of device 104. In some examples, the processing unit 120 may reside on a graphics card installed in a port in the motherboard of device 104, or may be incorporated into a peripheral device configured to interact with device 104. The processing unit 120 may include one or more processors, such as one or more microprocessors, GPUs, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), arithmetic logic units (ALUs), digital signal processors (DSPs), discrete logic, software, hardware, firmware, other equivalent integrated or discrete logic circuits, or any combination thereof. If the technique is partially implemented in software, the processing unit 120 may store instructions for the software in a suitable non-temporary computer-readable storage medium, such as internal memory 121, and may use one or more processors to execute those instructions in hardware in order to carry out the technique of the present disclosure. Any of the above, including hardware, software, or a combination of hardware and software, may be considered as one or more processors.
[0025]
[0032] The content encoder / decoder 122 may be any processing unit configured to perform content decoding. In some examples, the content encoder / decoder 122 may be integrated into the motherboard of device 104. The content encoder / decoder 122 may include one or more processors, such as one or more microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), arithmetic logic units (ALUs), digital signal processors (DSPs), video processors, discrete logic, software, hardware, firmware, other equivalent integrated or discrete logic circuits, or any combination thereof. If the technique is partially implemented in software, the content encoder / decoder 122 may store instructions for the software in a suitable non-temporary computer-readable storage medium, such as internal memory 123, and may use one or more processors to execute those instructions in hardware to perform the technique of the Disclosure. Any of the above, including hardware, software, and combinations of hardware and software, may be considered one or more processors.
[0026]
[0033] In some embodiments, the content generation system 100 may include an optional communication interface 126. The communication interface 126 may include a receiver 128 and a transmitter 130. The receiver 128 may be configured to perform any receiving functions described herein with respect to device 104. Furthermore, the receiver 128 may be configured to receive information from another device, such as eye or head position information, rendering commands, or location information. The transmitter 130 may be configured to perform any transmitting functions described herein with respect to device 104. For example, the transmitter 130 may be configured to transmit information to another device, which may include requests for content. The receiver 128 and the transmitter 130 may be combined to form a transceiver 132. In such an example, the transceiver 132 may be configured to perform any receiving and / or transmitting functions described herein with respect to device 104.
[0027]
[0034] Referring again to Figure 1, in some embodiments, the graphics processing pipeline 107 may include a decision component 198 configured to receive a second frame after a first frame has been received. The decision component 198 may also be configured to compare at least one first region of the first frame with at least one second region of the second frame. The decision component 198 may also be configured to identify discontinuities between at least one first region of the first frame and at least one second region of the second frame, where at least one first region corresponds to at least one second region, the first frame contains a plurality of first regions, the second frame contains a plurality of second regions, and the first and second frames are related to a plurality of frames. The decision component 198 may also be configured to determine whether the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold. The decision component 198 may also be configured to skip motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold. The decision component 198 may also be configured to perform motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is less than a motion estimation threshold. The decision component 198 may also be configured to construct a third frame based on the performed motion estimation, where the constructed third frame may be related to a frame extrapolation process.
[0028]
[0035] As described herein, a device, such as device 104, may refer to any device, apparatus, or system configured to perform one or more techniques described herein. For example, a device could be a server, base station, user equipment, client device, station, access point, computer, such as a personal computer, desktop computer, laptop computer, tablet computer, computer workstation, or mainframe computer, end product, apparatus, phone, smartphone, server, video game platform or console, handheld device, such as a portable video game device or personal digital assistant (PDA), wearable computing device, such as a smartwatch, augmented reality device, or virtual reality device, non-wearable device, display or display device, television, television set-top box, intermediate network device, digital media player, video streaming device, content streaming device, in-vehicle computer, any mobile device, any device configured to generate graphical content, or any device configured to perform one or more techniques described herein. While the processes described herein may be described as being performed by a particular component (e.g., a GPU), in further embodiments, they may be performed using other components (e.g., a CPU) according to the disclosed embodiments.
[0029]
[0036] A GPU can process multiple types of data or data packets in the GPU pipeline. For example, in some embodiments, a GPU can process two types of data or data packets, such as context register packets and draw call data. A context register packet can be a set of global state information that can control how the graphics context is processed, such as information about global registers, shading programs, or constant data. For example, a context register packet may contain information about a color format. In some embodiments of a context register packet, there may be bits indicating which workloads belong to the context register. There may also be multiple functions or programs running simultaneously and / or in parallel. For example, a function or program may describe a certain operation, such as a color mode or color format. Thus, context registers can define multiple states of the GPU.
[0030]
[0037] Contextual states can be used to determine how individual processing units, such as a vertex fetcher (VFD), vertex shader (VS), shader processor, or geometry processor, function and / or in what mode a processing unit operates. To do so, the GPU can use context registers and programming data. In some embodiments, the GPU can generate workloads, such as vertex or pixel workloads, in the pipeline based on the context register definitions of modes or states. Some processing units, such as a VFD, can use these states to determine how certain functions, such as vertices, are assembled. Since these modes or states can change, the GPU may need to change the corresponding context. Furthermore, the workloads corresponding to a mode or state may follow the changing mode or state.
[0031]
[0038] Figure 2 shows an exemplary GPU 200 according to one or more techniques of the present disclosure. As shown in Figure 2, the GPU 200 includes a command processor (CP) 210, a draw call packet 212, a VFD 220, a VS 222, a vertex cache (VPC) 224, a triangle setup engine (TSE) 226, a rasterizer (RAS) 228, a Z process engine (ZPE) 230, a pixel interpolator (PI) 232, a fragment shader (FS) 234, a render backend (RB) 236, an L2 cache (UCHE) 238, and system memory 240. Figure 2 shows that the GPU 200 includes processing units 220-238, but the GPU 200 may include several additional processing units. Furthermore, processing units 220-238 are merely examples, and according to this disclosure, any combination or order of processing units may be used by the GPU. The GPU 200 also includes a command buffer 250, a context register packet 260, and a context state 261.
[0032]
[0039] As shown in Figure 2, the GPU may utilize a CP, e.g., CP210, or a hardware accelerator to parse the command buffer into context register packets, e.g., context register packet 260, and / or draw call data packets, e.g., draw call packet 212. CP210 can then send the context register packet 260 or the draw call data packet 212 to a processing unit or block in the GPU via a separate path. Furthermore, the command buffer 250 can alternate between different states of context registers and draw calls. For example, the command buffer may be structured in the following manner: context registers for context N, (one or more) draw calls for context N, context registers for context N+1, and (one or more) draw calls for context N+1.
[0033]
[0040] GPUs can render images in a variety of different ways. In some cases, GPUs can render images using rendering or tiled rendering. In tiled rendering GPUs, an image can be divided or separated into different sections or tiles. After the image is divided, each section or tile can be rendered separately. A tiled rendering GPU can divide a computer graphics image into a grid format so that each part of the grid, i.e., the tile, is rendered separately. In some embodiments, during a binning pass, an image can be divided into different bins or tiles. In some embodiments, during a binning pass, a visibility stream can be constructed in which visible primitives or draw calls can be identified.
[0034]
[0041] In some embodiments, the GPU can apply a drawing or rendering process to different bins or tiles. For example, the GPU can render to a bin and perform all drawing for primitives or pixels within that bin. During the rendering process to a bin, the render target may be in GMEM. In some cases, after rendering to a bin, the contents of the render target may be moved to system memory, and GMEM may be freed up to render the next bin. Furthermore, the GPU can render to another bin and perform drawing for primitives or pixels within that bin. Thus, in some embodiments, there may be a small number of bins, for example, four bins, covering all drawing on a single surface. Furthermore, the GPU can iterate through all drawing in a single bin but perform drawing for visible draw calls, i.e., draw calls that include visible geometry. In some embodiments, a visibility stream may be generated, for example, in a binning pass, to determine the visibility information of each primitive in the image or scene. For example, this visibility stream can identify whether a particular primitive is visible or not. In some embodiments, this information can be used, for example, to remove invisible primitives in the rendering pass. At least some of the primitives identified as visible can also be rendered in the rendering pass.
[0035]
[0042] In some embodiments of tile rendering, there may be multiple processing phases or passes. For example, rendering may be performed in two passes, e.g., a visibility or bin visibility pass and a rendering or bin rendering pass. During the visibility pass, the GPU can input the rendering workload, record the positions of primitives or triangles, and then determine which primitives or triangles belong to which bins or areas. In some embodiments of the visibility pass, the GPU can also identify or mark the visibility of each primitive or triangle in the visibility stream. During the rendering pass, the GPU can input the visibility stream and process one bin or area at a time. In some embodiments, the visibility stream may be analyzed to determine which primitives, or primitive vertices, are visible or invisible. Thus, only visible primitives, or primitive vertices, can be processed. By doing so, the GPU can reduce the unnecessary workload of processing or rendering invisible primitives or triangles.
[0036]
[0043] In some embodiments, several types of primitive geometry, such as position-only geometry, may be processed during the visibility pass. Furthermore, depending on the position or location of the primitive or triangle, the primitive may be classified into different bins or areas. In some cases, classifying primitives or triangles into different bins may be done by determining visibility information for those primitives or triangles. For example, the GPU may determine or write visibility information for each primitive in each bin or area, for example, in system memory. This visibility information may be used to determine or generate a visibility stream. In the rendering pass, primitives in each bin may be rendered separately. In these cases, the visibility stream may be fetched from memory used to drop primitives that are not visible for that bin.
[0037]
[0044] Some aspects of a GPU or GPU architecture can offer several different options for rendering, such as software rendering and hardware rendering. In software rendering, the driver or CPU can duplicate the entire frame geometry by processing each view once. In addition, several different states may be modified depending on the view. Thus, in software rendering, the software can duplicate the entire workload by modifying several states that can be used to render for each viewpoint in the image. In some aspects, the GPU may submit the same workload multiple times for each viewpoint in the image, so there may be an increased amount of overhead. In hardware rendering, the hardware or GPU may be responsible for duplicating or processing the geometry for each viewpoint in the image. Thus, the hardware can manage the duplication or processing of primitives or triangles for each viewpoint in the image.
[0038]
[0045] Figure 3 shows an image or surface 300 containing multiple primitives divided into multiple bins. As shown in Figure 3, the image or surface 300 includes an area 302 containing primitives 321, 322, 323, and 324. Primitives 321, 322, 323, and 324 are divided or placed in different bins, for example, bins 310, 311, 312, 313, 314, and 315. Figure 3 shows an example of tile rendering using multiple viewpoints for primitives 321-324. For example, primitives 321-324 are in a first viewpoint 350 and a second viewpoint 351. Thus, a GPU processing or rendering the image or surface 300 containing area 302 can utilize multiple viewpoint or multiview rendering.
[0039]
[0046] As described herein, a GPU or graphics processor unit may use a tile rendering architecture to reduce power consumption or conserve memory bandwidth. As further stated above, this rendering method may divide the scene into multiple bins and include a visibility pass that identifies the visible triangles in each bin. Thus, in tile rendering, the full screen may be divided into multiple bins or tiles. The scene may then be rendered multiple times, for example, once or multiple times for each bin.
[0040]
[0047] In some aspects of graphics rendering, a graphics application may render to a single target, i.e., a render target, once or multiple times. For example, in graphics rendering, a frame buffer in system memory may be updated multiple times. The frame buffer may be a portion of memory or random access memory (RAM) that contains, for example, bitmaps or storage to help store display data for the GPU. The frame buffer may also be a memory buffer that contains a complete frame of data. Furthermore, the frame buffer may be a logical buffer. In some aspects, updating the frame buffer may be done in bin or tile rendering, where, as described above, the surface is divided into multiple bins or tiles, and then each bin or tile may be rendered separately. Furthermore, in tile rendering, the frame buffer may be divided into multiple bins or tiles.
[0041]
[0048] As described herein, in some embodiments, such as in bin or tile rendering architectures, a frame buffer can repeatedly store or write data to the frame buffer, for example, when rendering from different types of memory. This is sometimes referred to as resolving and unresolving the frame buffer or system memory. For example, when storing or writing to one frame buffer and then switching to another frame buffer, the data or information on the frame buffer can be resolved from the GPU's internal memory (GMEM) to system memory, i.e., memory in double data-rate (DDR) RAM or dynamic RAM (DRAM).
[0042]
[0049] In some embodiments, system memory may also be, for example, system-on-a-chip (SoC) memory or another chip-based memory for storing data or information on a device or smartphone. System memory may also be physical data storage shared by the CPU and / or GPU. In some embodiments, system memory may be, for example, a DRAM chip on a device or smartphone. Thus, SoC memory may be a chip-based form for storing data.
[0043]
[0050] In some embodiments, GMEM may be on-chip memory in a GPU, which may be implemented by static RAM (SRAM). Furthermore, GMEM may be stored in a device, such as a smartphone. As shown herein, data or information may be transferred between system memory or DRAM and GMEM in a device, for example. In some embodiments, system memory or DRAM may be in the CPU or GPU. Furthermore, data may be stored in DDR or DRAM. In some embodiments, such as in bin or tile rendering, a small portion of memory may be stored in the GPU, for example, in GMEM. In some cases, storing data in GMEM may take advantage of a greater processing workload and / or power consumption compared to storing data in a frame buffer or system memory.
[0044]
[0051] Some aspects of image or frame processing may be relevant to different types of applications, such as Extended Reality (XR) applications, Augmented Reality (AR) applications, or Virtual Reality (VR) applications. In some aspects, XR, AR, or VR applications or systems may be used with certain devices, such as mobile devices or smartphones, which may be subject to strict power and performance efficiency constraints. To alleviate these constraints, motion estimation may be performed on previously rendered content and / or used to extrapolate frames. For example, instead of rendering a frame, a previously rendered frame may be used to estimate the motion for that frame. Motion estimation can enable rendering operations to run at reduced frame rates. Frame extrapolation may also be used to stream remote game rendering, for example, to cover intermittent network problems and / or bandwidth constraints.
[0045]
[0052] While motion estimation can sometimes work well, content can be discontinuous when it transitions between frames, such as frame by frame. For example, some actions within an application, such as when a user teleports in a gaming application, can result in discontinuous content between frames. In these cases, performing motion estimation can lead to inaccurate data based on the discontinuous content between frames, such as inaccurate or false motion estimation data. This inaccurate data can lead to poor or incomplete frame extrapolation based on motion estimation.
[0046]
[0053] Several types of content can result in the aforementioned discontinuities between frames. For example, user interface (UI) elements or menus that quickly open or change content within a single frame can be discontinuous across consecutive frames. Also, some camera transitions that occur within a single frame, such as the common teleport XR locomotion mechanic, can be discontinuous from frame to frame. Furthermore, snap turns that rotate the camera a large amount within a single frame can be discontinuous across consecutive frames. Effects that add instant transparency overlays or brightness changes can also be discontinuous across frames. In addition, high-speed controller movement can be discontinuous across consecutive frames.
[0047]
[0054] In some cases, motion estimation and / or frame extrapolation applied across these discontinuous frames can produce random or incorrect motion vectors. As previously shown, the discontinuities in the content can span the entire frame or be within a region of the frame. Furthermore, these random or incorrect motion vectors generated from discontinuous frames can result in strong, unintended distortions in the extrapolated frame or a portion of the extrapolated frame.
[0048]
[0055] As described above, motion estimation can specify continuity between frames or regions within frames. For example, if there are discontinuities between frames based on the content or brightness of the frames, inaccurate motion estimations may be produced. Based on the above, it may be beneficial to skip or bypass motion estimation for some frames or regions within frames to avoid incorrect motion vectors and / or unintended distortions. For example, if discontinuities or differences are identified between some frames or regions within frames, it may be beneficial to skip or bypass performing motion estimation.
[0049]
[0056] Aspects of the present disclosure may skip or bypass performing motion estimation for some frames or regions of frames in order to avoid incorrect motion vectors and / or unintended distortions. For example, aspects of the present disclosure may identify discontinuities or differences between some frames or regions of frames. Furthermore, aspects of the present disclosure may determine whether the discontinuities or differences between some frames or regions of frames exceed a threshold, and then, if the discontinuities or differences exceed the threshold, skip or bypass performing motion estimation.
[0050]
[0057] As described above, motion estimation can produce several estimated vectors even when discontinuous content is provided, which can result in areas of low-quality estimation. Some aspects of this disclosure may utilize several components, such as lightweight hashes, to perform analysis to identify when content split between frames or regions of frames. For example, a frame may be divided into regions, and hash analysis is performed for each region of the frame. The lightweight hashes of this disclosure may compare the content of each frame region to determine or identify discontinuities between frame regions.
[0051]
[0058] In some cases, if there is too large a change or discontinuity between regions of a frame, a threshold may be triggered that causes motion estimation to be skipped or bypassed for a region or frame. Thus, the results for each frame region may be used to skip vector generation or to indicate a reliability metric for that particular region. Thus, aspects of the disclosure may determine or identify discontinuities between frames or frame regions where motion estimation may not be feasible, and then skip or bypass motion estimation for those frames or frame regions. Furthermore, the disclosure may determine or identify those discontinuities between frames or frame regions where motion estimation may not be feasible. In addition, some aspects of the disclosure may be used with some types of rendering, such as bin rendering or tile rendering.
[0052]
[0059] Figures 4A and 4B show the first frame 400 and the second frame 450, respectively. More specifically, Figure 4A shows the first frame 400, which includes regions 411–418, and Figure 4B shows the second frame 450, which includes regions 451–458. As shown in Figures 4A and 4B, the first frame 400 and the second frame 450 contain multiple regions with different patterns. Similar patterns between corresponding frame regions indicate correlated or continuous content. Similarly, dissimilar patterns between corresponding frame regions indicate uncorrelated or discontinuous content. For example, regions 411, 412, 415, 417, and 418 in the first frame 400 and regions 451, 452, 455, 457, and 458 in the second frame 450 each contain a dotted line pattern. Therefore, the corresponding frame regions, for example, regions 411 / 451, 412 / 452, 415 / 455, 417 / 457, and 418 / 458, contain correlated or continuous content. Furthermore, regions 413, 414, and 416 in the first frame 400 contain a horizontal pattern, and regions 453, 454, and 456 in the second frame 450 contain a vertical pattern. Therefore, the corresponding frame regions, for example, regions 413 / 453, 414 / 454, and 416 / 456, contain uncorrelated or discontinuous content.
[0053]
[0060] In some aspects of this disclosure, the detection of scene changes and the correction of the resulting motion estimation workload can be performed inline with, i.e., simultaneously with, the motion estimation process. In some cases, the motion estimation algorithms of this disclosure may utilize an image pyramid or partial image pyramid. This image pyramid may be a hierarchy containing a sequence of downscaled versions of an input image. In aspects of this disclosure, the image pyramid may be extended to lower resolution levels compared to general motion estimation. Thus, the disclosure may extend the image pyramid to some resolution, for example, 8x8 pixels, in order to perform the hash analysis described above for each frame region. This hash analysis may produce hash values for some discontinuity or delta calculations that can be compared to a motion estimation threshold.
[0054]
[0061] As described above, aspects of the Disclosure may use an image hash function to detect discontinuities in consecutive frame content, i.e., in interframe content. This image hash function of the Disclosure may be implemented at a lower resolution image pyramid level, which can be segmented into frame regions. In some aspects, when a region is detected to have discontinuity, the hash function shader pass may modify a mask that controls which regions of the surface can be subjected to motion estimation. Once the Disclosure identifies a frame region to which motion estimation should be performed, mask or masked motion estimation may be used to determine whether the search should be performed at the motion vector level. Thus, once a region of a frame is identified for motion estimation, this information may be provided to mask or masked motion estimation. If each region or portion of a region is identified or determined to contain discontinuous content, the Disclosure may bypass frame extrapolation.
[0055]
[0062] In some embodiments, the identification or determination of discontinuous content in a frame or frame region may be performed by a component, such as a GPU or CPU. For example, an embodiment of the disclosure may be performed by a GPU during the frame rendering process of an AR / XR / VR application. For example, an embodiment of the disclosure may be performed by a GPU or CPU on a host device or client device, such as a mobile device or smartphone.
[0056]
[0063] The aforementioned discontinuities between frame regions may relate to differences in content, brightness, and / or noise. Furthermore, the aforementioned discontinuities between frame regions may correspond to transparent overlays between regions. For example, a user may observe an object and activate a UI, which may result in a transparent overlay on the subsequent frame compared to the previous frame. In some embodiments, the disclosure may consider two frames when performing discontinuity identification. In other embodiments, the disclosure may consider three or more frames, for example, three, four, eight, sixteen, etc., when performing discontinuity identification.
[0057]
[0064] Figure 5 shows a 500 of image or frame processing according to the present disclosure. As shown in Figure 5, in 502, an aspect of the present disclosure may receive several input frames. In 504, an aspect of the present disclosure may divide each frame into regions or subregions. For each region or subregion of a frame, the present disclosure may perform steps 512 / 514 / 522 / 524. In 512, an aspect of the present disclosure may calculate hash values between regions or subregions of consecutive frames. In 514, an aspect of the present disclosure may compare the hash values to a threshold, for example, a motion estimation threshold. If the hash values do not exceed the threshold, in 522, an aspect of the present disclosure may perform motion estimation for the region or subregion of the frame. If the hash values exceed the threshold, in 524, an aspect of the present disclosure may not perform motion estimation for the region or subregion.
[0058]
[0065] Figure 6 shows an image or frame processing according to the present disclosure. As shown in Figure 6, in 602, an aspect of the present disclosure may utilize a high-resolution image pyramid. In 604, an aspect of the present disclosure may extend the high-resolution image pyramid to a low-resolution pyramid. In 606, an aspect of the present disclosure may utilize a mask, such as an application motion estimation mask. Based on 604 and 606, in 608, an aspect of the present disclosure may perform hash calculation, threshold comparison, and / or mask modification. Based on the detection of a partial frame region in 602 and / or 608, in 610, an aspect of the present disclosure may perform masked motion estimation. Furthermore, in 612, an aspect of the present disclosure may perform frame extrapolation. Based on the detection of a full frame in 602 and / or 608, in 614, an aspect of the present disclosure may skip or bypass frame extrapolation.
[0059]
[0066] As previously shown, in some embodiments, for example, when the user teleports an incorrect motion estimate, the lack of scene change detection can result in high distortion on subsequent frames. In contrast, embodiments of the disclosure that include scene change detection can identify and remove low-quality motion vectors for consecutive frames. This removal of low-quality motion vectors can result in clean extrapolated frames and / or increased accuracy.
[0060]
[0067] Figure 7 shows Figure 700 of an image, frame, or graphics processing component. As shown in Figure 7, Figure 700 includes a central processing unit (CPU) 710, a graphics processing unit (GPU) 720, and a display 730 including a display processing unit (DPU). Figure 700 shows several components that may be used by a client or host device, such as a mobile device or smartphone, in an XR, AR, or VR application. For example, the CPU 710, GPU 720, and display 730 may be used to implement the skipping motion estimation technique described herein.
[0061]
[0068] Figures 4A to 7 illustrate examples of the methods and processes described above for skipping motion estimation. As shown in Figures 4A to 7, in aspects of the present disclosure, the CPU and GPU of this specification, for example, CPU 710 and / or GPU 720, may perform several different steps or processes for skipping motion estimation to increase the accuracy of image processing. For example, the CPU and GPU of this specification may skip motion estimation for a first frame region and a second frame region when the discontinuity between the first region and the second region is greater than or equal to a motion estimation threshold.
[0062]
[0069] A GPU according to this specification, for example, GPU 720, may receive a second frame, for example, a second frame 450, after a first frame, for example, a first frame 400, where the first and second frames may be associated with multiple frames. For example, this process may be carried out by step 502 in Figure 5. The first frame, for example, the first frame 400, and the second frame, for example, the second frame 450, may be associated with at least one of an augmented reality (AR) application, an extended reality (XR) application, or a virtual reality (VR) application. The multiple frames associated with the first and second frames may also correspond to a video stream.
[0063]
[0070] The GPUs of this specification, for example, GPU720, may also compare at least one first region of a first frame, for example, region 413, with at least one second region of a second frame, for example, region 453.
[0064]
[0071] The GPU of this specification, for example, GPU720, can also identify discontinuities between at least one first region of a first frame, for example, region 413, and at least one second region of a second frame, for example, region 453, wherein at least one first region corresponds to at least one second region, and the first frame includes a plurality of first regions, for example, regions 411 to 418, and the second frame includes a plurality of second regions, for example, regions 451 to 458, and the first and second frames are related to a plurality of frames.
[0065]
[0072] In some embodiments, a discontinuity between at least one first region, e.g., region 413, and at least one second region, e.g., region 453, may correspond to non-contiguous content between the at least one first region and the at least one second region. Furthermore, the discontinuity may be related to at least one difference between content, brightness, or noise between the at least one first region, e.g., region 413, and at least one second region, e.g., region 453. The discontinuity between at least one first region, e.g., region 413, and at least one second region, e.g., region 453, may also be related to multiple motion vectors. Furthermore, the discontinuity between at least one first region, e.g., region 413, and at least one second region, e.g., region 453, may be identified by a graphics processing unit (GPU), e.g., GPU720.
[0066]
[0073] The GPUs of this specification, for example, GPU 720, can also determine whether the discontinuity between at least one first region, for example, region 413, and at least one second region, for example, region 453, is greater than or equal to a motion estimation threshold. For example, this process may be carried out by step 608 in Figure 6.
[0067]
[0074] The GPUs of this specification, for example, GPU720, may also skip motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region, for example, region 413, and at least one second region, for example, region 453, is greater than or equal to a motion estimation threshold. For example, this process may be carried out by step 524 in Figure 5. In some cases, at least one of the skipped motion estimations or identified discontinuities may be related to at least one of the masked or masked motion estimations, such as in step 610 in Figure 6. Also, at least one of the skipped motion estimations or identified discontinuities may be related to at least one of the image pyramids, for example in steps 602 and 604 in Figure 6, or, for example, in step 608 in Figure 6.
[0068]
[0075] The GPUs of this specification, for example, GPU 720, may also perform motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region, for example, region 413, and at least one second region, for example, region 453, is less than a motion estimation threshold. For example, this process may be performed by step 522 in Figure 5. In some embodiments, the performed motion estimation may correspond to multiple motion vectors.
[0069]
[0076] The GPUs of this specification, for example, GPU720, may also construct a third frame based on the motion estimation performed, where the constructed third frame may be related to a frame extrapolation process, such as in step 612 in Figure 6.
[0070]
[0077] Figure 8 shows a flowchart 800 of an exemplary method using one or more techniques of the present disclosure. The method may be carried out by an apparatus such as a GPU, CPU, image processor, frame processor, display processing unit (DPU), or apparatus for processing images, frames, or graphics.
[0071]
[0078] In 802, the device may receive a second frame after a first frame has been received, as illustrated in the examples in Figures 4A, 4B, 5, 6, and 7, where the first and second frames may relate to multiple frames. As illustrated in the examples in Figures 4A, 4B, 5, 6, and 7, the first and second frames may relate to at least one of an augmented reality (AR) application, an extended reality (XR) application, or a virtual reality (VR) application. Also, as illustrated in the examples in Figures 4A, 4B, 5, 6, and 7, the multiple frames related to the first and second frames may correspond to a video stream.
[0072]
[0079] In 804, the apparatus may compare at least one first region of a first frame with at least one second region of a second frame, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7.
[0073]
[0080] In 806, the apparatus can identify discontinuities between at least one first region of a first frame and at least one second region of a second frame, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7, wherein at least one first region corresponds to at least one second region, the first frame includes a plurality of first regions, the second frame includes a plurality of second regions, and the first and second frames are related to a plurality of frames.
[0074]
[0081] In some embodiments, as illustrated with the examples in Figures 4A, 4B, 5, 6, and 7, a discontinuity between at least one first region and at least one second region may correspond to non-adjacent content between the at least one first region and at least one second region. Furthermore, as illustrated with the examples in Figures 4A, 4B, 5, 6, and 7, the discontinuity may be related to at least one difference among content, brightness, or noise between the at least one first region and at least one second region. As illustrated with the examples in Figures 4A, 4B, 5, 6, and 7, the discontinuity between at least one first region and at least one second region may also be related to multiple motion vectors. Furthermore, as illustrated with the examples in Figures 4A, 4B, 5, 6, and 7, the discontinuity between at least one first region and at least one second region may be identified by a graphics processing unit (GPU).
[0075]
[0082] In 808, the apparatus can determine whether the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7.
[0076]
[0083] In 810, the device may skip motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7. In some cases, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7, at least one of the skipped motion estimations or identified discontinuities may be related to at least one of the masked or masked motion estimations. Also, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7, at least one of the skipped motion estimations or identified discontinuities may be related to at least one of the image pyramid or image hash function.
[0077]
[0084] In 812, the apparatus may perform motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is less than a motion estimation threshold, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7. In some embodiments, the performed motion estimation may correspond to multiple motion vectors, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7.
[0078]
[0085] In 814, the apparatus may configure a third frame based on the motion estimation performed, as described with respect to the examples in Figures 4A, 4B, 5, 6, and 7, where the configured third frame may be related to a frame extrapolation process.
[0079]
[0086] In one configuration, a method or apparatus for image, frame, or graphics processing is provided. The apparatus may be a GPU, CPU, image processor, frame processor, display processing unit (DPU), or any other processor capable of performing image, frame, or graphics processing. In one embodiment, the apparatus may be a processing unit 120 in device 104, or any other hardware in device 104 or another device. The apparatus may include means for identifying a discontinuity between at least one first region of a first frame and at least one second region of a second frame, where at least one first region corresponds to at least one second region, the first frame includes a plurality of first regions, the second frame includes a plurality of second regions, and the first and second frames are related to a plurality of frames. The apparatus may also include means for determining whether the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold. The apparatus may also include means for skipping motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold. The apparatus may also include means for performing motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is less than a motion estimation threshold. The apparatus may also include means for constructing a third frame based on the performed motion estimation, wherein the constructed third frame relates to a frame extrapolation process. The apparatus may also include means for receiving a second frame after the first frame has been received. The apparatus may also include means for comparing at least one first region of the first frame with at least one second region of the second frame.
[0080]
[0087] The subject matter described herein may be implemented to achieve one or more benefits or advantages. For example, the described image, frame, or graphics processing techniques may be used by a GPU, CPU, image processor, frame processor, display processing unit (DPU), or any other processor capable of performing image, frame, or graphics processing to implement the motion estimation skipping techniques described herein. This may also be achieved at a lower cost compared to other image, frame, or graphics processing techniques. Furthermore, the image, frame, or graphics processing techniques described herein may improve or increase the speed of frame processing or execution. In addition, the image, frame, or graphics processing techniques described herein may improve resource or data utilization and / or resource efficiency. Furthermore, aspects of this disclosure may utilize motion estimation skipping techniques to increase accuracy, save power, improve processing time, reduce latency, and / or reduce performance overhead.
[0081]
[0088] According to this disclosure, unless the context otherwise specifies, the term “or” may be interrupted as “and / or.” Furthermore, phrases such as “one or more” or “at least one” may be used for some features disclosed herein but not for others, but any feature for which such phrasing is not used may be interpreted as having such implied meaning unless the context otherwise specifies.
[0082]
[0089] In one or more examples, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. For example, although the term “processing unit” is used throughout this disclosure, such processing units may be implemented in hardware, software, firmware, or any combination thereof. If any function, processing unit, technique, or other module described herein is implemented in software, such function, processing unit, technique, or other module may be stored on or transmitted via computer-readable media as one or more instructions or codes. Computer-readable media may include computer data storage media or communication media, including any media that enables the transfer of computer programs from one location to another. Thus, computer-readable media may generally correspond to (1) non-transient, tangible computer-readable storage media, or (2) communication media such as signals or carrier waves. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementing the techniques described herein. Such computer-readable media may include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices. The terms "disk" and "disc" as used herein include Compact Disc (CD), LaserDisc® (disc), Optical Disc (disc), Digital Multipurpose Disc (disc) (DVD), Floppy Disk (disk), and Blu-ray® Disc (disc), where a disk typically reproduces data magnetically and a disc optically reproduces data by laser. Combinations of the above should also be included within the scope of computer-readable media. Computer program products may include computer-readable media.
[0083]
[0090] The code may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), arithmetic logic units (ALUs), field-programmable logic arrays (FPGAs), or other equivalent integrated circuits or discrete logic circuits. Therefore, the term “processor” as used herein may refer to any of the above structures or any other structure suitable for implementing the techniques described herein. Furthermore, the techniques can be adequately implemented in one or more circuits or logic elements.
[0084]
[0091] The techniques of this disclosure can be implemented in a wide variety of devices or apparatus, including wireless handsets, integrated circuits (ICs) or sets of ICs, such as chipsets. While various components, modules, or units have been described in this disclosure to highlight the functional aspects of devices configured to implement the disclosed techniques, these components, modules, or units do not necessarily require implementation by different hardware units. Rather, as described above, the various units, along with suitable software and / or firmware, may be combined in any hardware unit, including one or more processors described above, or provided by a set of interoperable hardware units.
[0085]
[0092] Various examples were described. These and other examples fall within the scope of the following claims.
[0086]
[0093] The following embodiments are illustrative and not limiting, but may be combined with other embodiments or teachings described herein.
[0087]
[0094] Embodiment 1 is an image processing method. The method includes identifying a discontinuity between at least one first region of a first frame and at least one second region of a second frame, determining whether the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold, such that at least one first region corresponds to at least one second region, the first frame includes a plurality of first regions, the second frame includes a plurality of second regions, and the first and second frames relate to a plurality of frames, and skipping motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is greater than or equal to a motion estimation threshold.
[0088]
[0095] Embodiment 2 is the method according to Embodiment 1, wherein the discontinuity between at least one first region and at least one second region corresponds to non-adjacent content between the at least one first region and at least one second region.
[0089]
[0096] Embodiment 3 is the method according to any one of Embodiments 1 and 2, wherein the discontinuity relates to a difference of at least one of content, brightness, or noise between at least one first region and at least one second region.
[0090]
[0097] Embodiment 4 is the method according to any one of Embodiments 1 to 3, wherein at least one of the skipped motion estimates or identified discontinuities is associated with at least one of the masked or masked motion estimates.
[0091]
[0098] Embodiment 5 is the method according to any one of Embodiments 1 to 4, wherein at least one of skipped motion estimation or identified discontinuities is associated with at least one of image pyramids or image hash functions.
[0092]
[0099] Embodiment 6 is the method of any one of embodiments 1 to 5, further comprising performing motion estimation for at least one first region and at least one second region when the discontinuity between at least one first region and at least one second region is less than a motion estimation threshold.
[0093]
[0100] Embodiment 7 is the method of any one of embodiments 1 to 6, further comprising constructing a third frame based on the motion estimation performed, wherein the constructed third frame relates to a frame extrapolation process.
[0094]
[0101] Embodiment 8 is the method according to any one of Embodiments 1 to 7, wherein the motion estimation performed corresponds to a plurality of motion vectors.
[0095]
[0102] Embodiment 9 is the method of any one of embodiments 1 to 8, further comprising receiving a second frame after a first frame has been received.
[0096]
[0103] Embodiment 10 is the method of any one of embodiments 1 to 9, further comprising comparing at least one first region of a first frame with at least one second region of a second frame.
[0097]
[0104] Embodiment 11 is the method according to any one of Embodiments 1 to 10, wherein the discontinuity between at least one first region and at least one second region is related to a plurality of motion vectors.
[0098]
[0105] Embodiment 12 is the method according to any one of Embodiments 1 to 11, wherein the first frame and the second frame relate to at least one of an augmented reality (AR) application, an extended reality (XR) application, or a virtual reality (VR) application.
[0099]
[0106] Embodiment 13 is the method according to any one of Embodiments 1 to 12, wherein a discontinuity between at least one first region and at least one second region is identified by a graphics processing unit (GPU).
[0100]
[0107] Embodiment 14 is the method according to any one of Embodiments 1 to 13, wherein a plurality of frames related to the first frame and the second frame correspond to a video stream.
[0101]
[0108] Embodiment 15 is an apparatus for image processing, which includes means for implementing the method described in any of Embodiments 1 to 14.
[0102]
[0109] Embodiment 16 is an apparatus for image processing, comprising at least one processor coupled to memory and configured to implement the method described in any of Embodiments 1 to 14.
[0103]
[0110] Embodiment 17 is a computer-readable medium for storing computer executable code, wherein when the code is executed by a processor, the processor causes the processor to implement the method described in any of Embodiments 1 to 14.
Claims
1. 1. A method of image processing, comprising the steps of: identifying a discontinuity between at least one first region of a first frame and at least one second region of a second frame, the at least one first region corresponding to the at least one second region, the first frame including a plurality of first regions, the second frame including a plurality of second regions, the first frame and the second frame relating to a plurality of frames, wherein the discontinuity is identified by applying an image hash function to the first region and the second region to compare the first region and the second region; determining whether the discontinuity between the at least one first region and the at least one second region is greater than or equal to a motion estimation threshold; and skipping motion estimation for the at least one first region and the at least one second region when the discontinuity between the at least one first region and the at least one second region is greater than or equal to the motion estimation threshold. A method comprising:
2. 2. The method of claim 1 , wherein the discontinuity between the at least one first region and the at least one second region corresponds to non-adjacent content between the at least one first region and the at least one second region.
3. The method of claim 1 , wherein the discontinuity is related to a difference in at least one of content, brightness, or noise between the at least one first region and the at least one second region.
4. The method of claim 1 , wherein at least one of the skipped motion estimation or the identified discontinuity is associated with at least one of a mask or a masked motion estimation that controls to which of the regions motion estimation is applied.
5. 2. The method of claim 1 , wherein at least one of the skipped motion estimation or the identified discontinuity is associated with at least one of an image pyramid comprising a hierarchy that includes a sequence of downscaled versions of the first frame and the second frame.
6. performing motion estimation for the at least one first region and the at least one second region when the discontinuity between the at least one first region and the at least one second region is less than the motion estimation threshold. The method of claim 1 further comprising:
7. and constructing a third frame based on the performed motion estimation, wherein the constructed third frame is associated with a frame extrapolation process. The method according to claim 6.
8. The method of claim 6 , wherein the performed motion estimation corresponds to a plurality of motion vectors.
9. receiving the second frame after the first frame is received; The method of claim 1 further comprising:
10. Comparing the at least one first region of the first frame with the at least one second region of the second frame. and / or the discontinuity between the at least one first region and the at least one second region is associated with a plurality of motion vectors; and / or the first frame and the second frame are associated with at least one of an augmented reality (AR) application, an extended reality (XR) application, or a virtual reality (VR) application; and / or the discontinuity between the at least one first region and the at least one second region is identified by a graphics processing unit (GPU); and / or The method of claim 1 , wherein the plurality of frames associated with the first frame and the second frame correspond to a video stream.
11. 1. An apparatus for image processing, comprising: Memory, at least one processor coupled to the memory; wherein the at least one processor: identifying a discontinuity between at least one first region of a first frame and at least one second region of a second frame, the at least one first region corresponding to the at least one second region, the first frame including a plurality of first regions, the second frame including a plurality of second regions, the first frame and the second frame relating to a plurality of frames, wherein the discontinuity is identified by applying an image hash function to the first region and the second region to compare the first region and the second region; determining whether the discontinuity between the at least one first region and the at least one second region is greater than or equal to a motion estimation threshold; skipping motion estimation for the at least one first region and the at least one second region when the discontinuity between the at least one first region and the at least one second region is greater than or equal to the motion estimation threshold; An apparatus configured to:
12. the discontinuity between the at least one first region and the at least one second region corresponds to non-adjacent content between the at least one first region and the at least one second region; and / or the discontinuity is related to a difference in at least one of content, brightness, or noise between the at least one first region and the at least one second region; and / or At least one of the skipped motion estimation or the identified discontinuities is associated with at least one of a mask or a masked motion estimation that controls to which of the regions motion estimation is applied; and / or At least one of the skipped motion estimation or the identified discontinuity is associated with at least one of an image pyramid comprising a hierarchy including a sequence of downscaled versions of the first frame and the second frame; and / or The at least one processor performing motion estimation for the at least one first region and the at least one second region when the discontinuity between the at least one first region and the at least one second region is less than the motion estimation threshold. The apparatus of claim 11 , further configured to:
13. The at least one processor:
13. The apparatus of claim 12, further configured to construct a third frame based on the performed motion estimation, wherein the constructed third frame is associated with a frame extrapolation process and / or the performed motion estimation corresponds to a plurality of motion vectors.
14. The at least one processor receiving the second frame after the first frame is received; and / or The at least one processor: Comparing the at least one first region of the first frame with the at least one second region of the second frame. and / or the discontinuity between the at least one first region and the at least one second region is associated with a plurality of motion vectors; and / or the first frame and the second frame are associated with at least one of an augmented reality (AR) application, an extended reality (XR) application, or a virtual reality (VR) application; and / or the discontinuity between the at least one first region and the at least one second region is identified by a graphics processing unit (GPU); and / or The apparatus of claim 11 , wherein the plurality of frames associated with the first frame and the second frame correspond to a video stream.
15. 1. A computer readable medium storing computer executable code for image processing, the code, when executed by a processor, causing the processor to: identifying a discontinuity between at least one first region of a first frame and at least one second region of a second frame, the at least one first region corresponding to the at least one second region, the first frame including a plurality of first regions, the second frame including a plurality of second regions, the first frame and the second frame relating to a plurality of frames, wherein the discontinuity is identified by applying an image hash function to the first region and the second region to compare the first region and the second region; determining whether the discontinuity between the at least one first region and the at least one second region is greater than or equal to a motion estimation threshold; and skipping motion estimation for the at least one first region and the at least one second region when the discontinuity between the at least one first region and the at least one second region is greater than or equal to the motion estimation threshold. A computer-readable medium for causing a
