Intra block copy decoding using dynamic remapping of on-chip memory

Through dynamic mapping technology, the virtual memory address is mapped to on-chip memory in video decoding, which solves the problems of high memory requirements and low performance during IBC decoding, and realizes efficient video decoding.

CN118891876AActive Publication Date: 2024-11-01QUALCOMM INC

Patent Information

Application Number
CN202380026300.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-18
Filing Date
2023-03-16
Publication Date
2024-11-01
Estimated Expiration
2043-03-16

AI Technical Summary

Technical Problem

During the intra-block copy (IBC) decoding process, existing video decoding technology requires buffering a large amount of previously decoded pixel data, resulting in high on-chip SRAM cost and increased power consumption, and the off-chip storage device using cached DMA causes performance degradation and Delay time.

Method used

Through dynamic mapping technology, the target address of virtual memory is mapped to the specific address of on-chip memory, reducing memory requirements, and performing IBC buffering on chip to avoid delay bottlenecks in off-chip storage, while merging other data buffers to reduce the overall memory volume .

Benefits of technology

It realizes the complete execution of IBC buffering on chip, reduces memory requirements and power consumption, avoids performance reduction caused by off-chip storage, and improves the performance and efficiency of the decoder.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118891876A_ABST
    Figure CN118891876A_ABST
Patent Text Reader

Abstract

An apparatus includes a decoder configured to identify, during an intra block copy (IBC) decoding process on at least a portion of a coding unit of video data, a target virtual address for data access associated with a particular operation of the IBC decoding process. The target virtual address is generated according to an addressing scheme of a virtual memory used by the IBC decoding process. The decoder is configured to dynamically map the target virtual address to a particular memory address of a portion of the on-chip memory. The on-chip memory is configured to store a reconstructed block of the video data and has a second size less than the first size of the virtual memory. The decoder is also configured to access the on-chip memory using the particular memory address to perform the particular operation of the IBC decoding process.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] I. Cross-Reference to Related Applications

[0002] This application claims the benefit of priority from commonly owned U.S. non-provisional patent application No. 17 / 655,393 filed on March 18, 2022, the contents of which are expressly incorporated herein by reference in their entirety.

[0003] II. Technical field

[0004] The present disclosure generally relates to decoding video data.

[0005] III. Related Fields

[0006] Digital video capabilities may be incorporated into a wide variety of devices, including digital televisions, digital live broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, digital recording devices, digital media players, video game devices, video game consoles, cellular or satellite wireless telephones (so-called "smart phones"), video teleconferencing devices, video streaming devices, etc. Digital video devices implement video coding techniques, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264 / MPEG-4 (Part 10), Advanced Video Coding (AVC), ITU-T H.265 / High Efficiency Video Coding (HEVC), ITU-T H.266 / Versatile Video Coding (VVC), and extensions of such standards. By implementing such video coding techniques, such video devices may more efficiently send, receive, encode, decode, and / or store digital video information.

[0007] Video coding techniques include spatial (intra-picture) prediction to reduce or remove redundancy inherent in video sequences. For block-based video coding, a video slice (e.g., a video picture or a portion of a video picture) may be divided into video blocks, which may also be referred to as coding tree units (CTUs), coding units (CUs), and / or coding nodes. Video blocks in an intra-coded slice of a picture are encoded using spatial prediction relative to reference samples in neighboring blocks in the same picture. Generally speaking, in an intra-block copy (IBC) coding mode, a video encoder may determine a prediction block for a current block, where the prediction block is in the same frame (picture) as the current block. The prediction block may be identified by a motion vector (also referred to as a block vector).

[0008] During decoding, previously decoded pixels identified by one or more motion vectors are used to generate predicted pixels for the current block. For example, a VVC IBC implementation specifies access to a relatively large number of previously decoded pixels (e.g., 256x128 pixels or 61 kilobytes (Kbytes)) that were decoded before the current decoding unit was decoded so that they can be obtained after reconstruction. This access requirement can be met by making the previously decoded pixel data locally available on-chip (such as buffering the previously decoded pixel data in a static random access memory (SRAM) or using a cache direct memory access (DMA) to store the previously decoded pixel data in an off-chip dynamic random access memory (DRAM)). This on-chip and off-chip solution is expensive in terms of area, and a specific implementation of an on-chip 61Kbyte SRAM may be too expensive. However, off-chip storage using cache DMA also causes higher power consumption and increased access latency compared to on-chip storage, and thus reduces performance.

[0009] IV. Summary of the Invention

[0010] According to a specific implementation of the technology disclosed herein, a device includes a decoder configured to identify a target virtual address for data access associated with a specific operation of an intra-block copy (IBC) decoding process for at least a portion of a decoding unit of video data during the IBC decoding process. The target virtual address is generated according to an addressing scheme of a virtual memory used by the IBC decoding process. The decoder is configured to dynamically map the target virtual address to a specific memory address of a portion of an on-chip memory. The on-chip memory is configured to store a reconstructed block of the video data and has a second size that is less than a first size of the virtual memory. The decoder is also configured to access the on-chip memory using the specific memory address to perform the specific operation of the IBC decoding process.

[0011] According to a specific implementation of the technology disclosed herein, a method for decoding video data includes: during an intra-block copy (IBC) decoding process for at least a portion of a decoding unit of the video data, identifying, at one or more processors, a target virtual address for data access associated with a specific operation of the IBC decoding process, the target virtual address being generated according to an addressing scheme of a virtual memory used by the IBC decoding process. The method includes: dynamically mapping the target virtual address to a specific memory address of a portion of an on-chip memory at the one or more processors, the on-chip memory having a second size that is less than a first size of the virtual memory. The method also includes: using the specific memory address to access the on-chip memory to perform the specific operation of the IBC decoding process.

[0012] According to a specific implementation of the technology disclosed herein, a non-transitory computer-readable medium includes instructions that, when executed by one or more processors, cause the one or more processors to: identify a target virtual address for data access associated with a specific operation of an intra-block copy (IBC) decoding process during at least a portion of a decoding unit of video data, the target virtual address being generated according to an addressing scheme of a virtual memory used by the IBC decoding process. When executed by one or more processors, the one or more processors dynamically map the target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory having a second size that is less than a first size of the virtual memory. When executed by one or more processors, the instructions also cause the one or more processors to access the on-chip memory using the specific memory address to perform the specific operation of the IBC decoding process.

[0013] Other implementations, advantages, and features of the present disclosure will become apparent upon review of the entire application including the Brief Description of the Drawings, Detailed Description, and Claims.

[0014] V. Description of the Figures

[0015] Figure 1 is a block diagram illustrating an example of a specific implementation of a system operable to access on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0016] Figure 2 is an example of dynamically mapping virtual memory addresses to memory addresses that can be used in accordance with some examples of the present disclosure. Figure 1 A diagram of a specific implementation of various portions of on-chip memory used in a system.

[0017] Figure 3 is an example of some examples of the present disclosure that can be Figure 1 A block diagram of an example of components of a decoder implemented in a system.

[0018] Figure 4 is an example of some examples of the present disclosure that can be Figure 1 A block diagram of another example of components of a decoder implemented in a system.

[0019] Figure 5 is a block diagram illustrating a specific implementation of an integrated circuit operable to access on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0020] Figure 6is a diagram of a specific implementation of a portable electronic device operable to access on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0021] Figure 7 is a diagram of a camera operable to access on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0022] Figure 8 is a diagram of a wearable electronic device operable to access on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0023] Fig. 9 is a diagram of a voice controlled speaker system operable to access on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0024] Fig.10 is a diagram of a head mounted device, such as a virtual reality or augmented reality head mounted device, operable to use dynamic mapping to access on-chip memory to perform IBC decoding according to some examples of the present disclosure.

[0025] Fig.11 is a diagram of a first example of a vehicle operable to access on-chip memory using dynamic mapping to perform IBC decoding in accordance with some examples of the present disclosure.

[0026] Fig.12 is a diagram of a second example of a vehicle operable to access on-chip memory using dynamic mapping to perform IBC decoding in accordance with some examples of the present disclosure.

[0027] Fig.13 is a diagram of a specific implementation of a method for accessing on-chip memory using dynamic mapping to perform IBC decoding according to some examples of the present disclosure.

[0028] Fig.14 is a block diagram of a specific illustrative example of a device operable to access on-chip memory using dynamic mapping to perform IBC decoding in accordance with some examples of the present disclosure.

[0029] VI. Specific Implementation Methods

[0030] Systems and methods are disclosed for accessing on-chip memory using dynamic mapping to perform IBC decoding. Conventional video decoding techniques (such as VVC IBC implementations) using intra-block copy (IBC) decoding modes specify buffering of a relatively large number of previously decoded pixels (e.g., 256x128 pixels or 61 kilobytes (Kbytes)) that are decoded before the current decoding unit is decoded so that they are available for retrieval after reconstruction. While on-chip and off-chip solutions for this access requirement are expensive in terms of area, and an on-chip 61Kbyte SRAM implementation may be too expensive, off-chip storage using cache DMA also results in higher power consumption and increased access latency. Therefore, off-chip storage using cache DMA may also result in reduced performance compared to on-chip storage.

[0031] The disclosed systems and methods include techniques for dynamically remapping virtual addresses of unused segments of an IBC decoded pixel buffer during decoding based on a window of reconstructed pixels eligible for acquisition as decoding progresses, thereby enabling on-chip storage to be used to access reconstructed pixels. In a VVC IBC implementation, the remapping can reduce the memory requirements of the buffer by 50% (e.g., reducing the required memory to 30.5Kbytes), thereby enabling IBC buffering to be performed entirely on-chip. Performing IBC buffering entirely on-chip can eliminate the need for one or more other buffers associated with conventional methods that do not use dynamic remapping to on-chip memory, such as buffers (e.g., 15Kbyte buffers) used to support reciprocating DMA writes of reconstructed pixels in conventional methods that use cached DMA with larger (e.g., 61Kbyte) memory requirements. In addition, according to some aspects, one or more other buffers (such as buffers for reconstructing loop filter data) can be merged into the disclosed on-chip buffers, thereby further reducing the overall amount of memory used to implement video decoding.

[0032] By implementing dynamic mapping to reduce IBC buffer memory requirements, the IBC buffer can be implemented entirely on-chip, enabling 1-cycle latency access to buffered pixel data from SRAM and avoiding latency bottlenecks associated with off-chip accesses that would otherwise inhibit decoder performance. Additionally, reduced area can be achieved by merging other data buffers into the on-chip buffer. Additionally, using on-chip SRAM saves power compared to using cached DMA involving larger memory and additional input / output accesses.

[0033] The specific aspects of the present disclosure are described below with reference to the accompanying drawings. In this specification, shared features are designated by shared reference numerals. As used herein, various terms are only used for the purpose of describing a specific implementation, and are not intended to limit the specific implementation. For example, the singular forms "one", "an" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It can be further understood that the term "including" can be used interchangeably with "including". In addition, it should be understood that the term "wherein" can be used interchangeably with "wherein". As used herein, "exemplary" can indicate examples, specific implementations and / or aspects, and should not be understood as restrictive or indicating preferences or preferred specific implementations. As used herein, ordinal terms (e.g., "first", "second", "third", etc.) used to modify elements (such as, structures, components, operations, etc.) do not themselves indicate any priority or order of the element relative to another element, but only distinguish the element from another element with the same name (but using ordinal terms). As used herein, the term "set" refers to one or more specific elements, and the term "multiple" refers to multiple (e.g., two or more) specific elements.

[0034] As used herein, "coupling" may include "communicatively coupled", "electrically coupled", or "physically coupled", and may also (or alternatively) include any combination thereof. Two devices (or components) may be coupled (e.g., communicatively coupled, electrically coupled, or physically coupled) directly or indirectly via one or more other devices, components, wires, buses, networks (e.g., wired networks, wireless networks, or combinations thereof), etc. As illustrative, non-limiting examples, two electrically coupled devices (or components) may be included in the same device, or may be included in different devices, and may be connected via electronic devices, one or more connectors, or inductive coupling. In some specific implementations, two devices (or components) that are communicatively coupled (such as electrically connected) may transmit and receive signals (e.g., digital signals or analog signals) directly or indirectly via one or more wires, buses, networks, etc. As used herein, "direct coupling" may include two devices that are coupled (e.g., communicatively coupled, electrically coupled, or physically coupled) without intermediate components.

[0035] In the present disclosure, terms such as "determine", "calculate", "estimate", "shift", "adjust", etc. may be used to describe how to perform one or more operations. It should be noted that such terms should not be interpreted as limiting, and other technologies may be used to perform similar operations. In addition, as mentioned herein, "generate", "calculate", "estimate", "use", "select", "access", and "determine" may be used interchangeably. For example, "generating", "calculating", "estimating" or "determining" a parameter (or signal) may refer to actively generating, estimating, calculating or determining the parameter (or signal), or may refer to using, selecting or accessing a parameter (or signal) that has already been generated (such as by another component or device).

[0036] refer to Figure 1 , depicts certain illustrative aspects of a system 100 that includes a device 102 coupled to a display device 104 and configured to access on-chip memory using dynamic mapping to perform IBC decoding. The device 102 includes a memory 110 coupled to one or more processors 116 and configured to store instructions 112. The one or more processors 116 are configured to execute the instructions 112 to perform operations associated with decoding the encoded video data 122 at a decoder 124. In various implementations, some or all of the functionality associated with the decoder 124 is performed via execution of the instructions 112 by the processor 116, performed by processing circuitry of the processor 116 in a hardware implementation, or a combination thereof.

[0037] The one or more processors 116 include a decoder 124 coupled to an encoded data source 120. The decoder 124 is configured to obtain the encoded video data 122 from the encoded data source 120. For example, the encoded data source 120 may correspond to a portion of one or more of a media file (e.g., a media file including the encoded video data 122 retrieved from the memory 110), a game engine, one or more other sources of video information (such as a remote media server), or a combination thereof. In a particular implementation, the encoded video data 122 corresponds to VVC IBC encoded video data.

[0038] Device 102 also includes a modem 118 that is coupled to decoder 124 and is configured to enable communication with one or more other devices, such as via one or more wireless networks. According to some aspects, modem 118 is configured to receive encoded video data 122 from a second device, such as video data streamed from a remote server for playback at device 102.

[0039] The decoder 124 is configured to access the on-chip memory 150 via one or more operations 170, such as a write operation 172 or a read operation 174. In a particular implementation, the on-chip memory 150 and the decoder 124 are integrated into a single substrate 190 (e.g., a single chip). Although the on-chip memory 150 is illustrated as being distinct from and coupled to the decoder 124, in other implementations, the on-chip memory 150 is integrated into the decoder 124 as a local buffer. According to one aspect, the on-chip memory 150 includes a static random access memory (SRAM) IBC ring buffer.

[0040] According to one aspect, the decoder 124 is configured to perform an IBC decoding process 132 for each IBC-encoded decoding unit of the encoded video data 122 to generate a reconstructed block of the video data. The IBC decoding process 132 may be performed in conjunction with the IBC prediction engine 130 of the decoder 124. For illustration, the IBC prediction engine 130 may be configured to receive data extracted from the encoded video data 122 indicating one or more motion vectors associated with a current decoding unit 134. The IBC prediction engine 130 may initiate the IBC decoding process 132 to retrieve pixel data for one or more currently reconstructed blocks indicated by the one or more motion vectors, merge the reconstructed pixels to generate predicted pixels for the current decoding unit, and buffer the predicted pixels for further processing. The predicted pixels may be stored (e.g., buffered) in the on-chip memory 150 and may be accessed by the decoder 124 for further processing, such as to generate reconstructed pixels, to perform loop filtering, etc., as further referenced. Figure 3 as described.

[0041] The decoder 124 is configured to identify a target virtual address 138 for data access associated with a particular operation 170 of the IBC decoding process 132 (such as a read operation 174 for retrieving currently reconstructed pixel data or a write operation 172 for storing predicted pixel data) during an IBC decoding process 132 of at least a portion of a decoding unit 134 of the encoded video data 122. The target virtual address 138 is generated according to an addressing scheme 136 of a virtual memory 140 used by the IBC decoding process 132 (such as a VVC addressing scheme for IBC decoding).

[0042] In a particular implementation, the virtual memory 140 corresponds to a virtual buffer having a first size 142 according to the VVC specification, which is sufficient to store eight 64x64 blocks of pixel data in a rectangular layout having a row width of 256 pixels and a column height of 128 pixels, arranged as two block rows and four block columns (also referred to as "sub-rows" and "sub-columns", respectively). In an example in which 15 bits of combined luma and chroma data are associated with each pixel, storing pixel data associated with 256x128 pixels requires the first size 142 to be at least 61,440 bytes, which may be prohibitively expensive in terms of on-chip area. However, reading and writing pixel data at an off-chip memory (e.g., via DMA to DRAM) introduces much greater access latency than using an on-chip buffer, resulting in reduced decoder performance.

[0043] The decoder 124 includes a dynamic mapper 160 configured to dynamically map a target virtual address 138 to a particular memory address 168 of a portion of an on-chip memory 150. The on-chip memory 150 is configured to store a reconstructed block 154 of the video data 122 and is operable as an SRAM IBC ring buffer having a second size 152 that is less than a first size 142 of the virtual memory 140. In a particular implementation, the first size 142 of the virtual memory 140 is at least twice the second size 152 of the on-chip memory 150.

[0044] For illustration, although the VVC specification may specify access to eight blocks of virtual memory 140 via the virtual memory addressing scheme 136, one or more other aspects of the VVC specification may limit the motion vector size for intra block prediction such that at most four blocks of pixel data (e.g., the current block and the three most recently reconstructed blocks) are accessed during the IBC decoding process 132. Accordingly, the dynamic mapper 160 may map portions of the virtual memory 140 corresponding to the four accessible blocks of pixel data to four portions of the on-chip memory 150. As illustrated, the dynamic mapper 160 is configured to perform a dynamic mapping 144 that maps a target virtual address 138 associated with a particular block (e.g., “block 6”) of the eight blocks of the virtual memory 140 to a particular memory address 168 associated with another particular block (e.g., “block 2”) of the four blocks illustrated in the on-chip memory 150. Reference Figure 2 An example of the operation of the dynamic mapper 160 is further described.

[0045] The dynamic mapper 160 is configured to populate and update a data structure 162 that associates one or more virtual memory start addresses 164 with one or more portions 166 of the on-chip memory 150. For example, as an illustrative, non-limiting example, the data structure 162 may include one or more arrays, lists, or tables that associate the virtual memory start address of "block 6" of the virtual memory 140 with the "block 2" portion of the on-chip memory 150. Figure 2 Examples of populating and updating data structure 162 in conjunction with writing data to on-chip memory 150 are further described in .

[0046] The decoder 124 is configured to access the on-chip memory 150 using the specific memory address 168 to perform a specific operation 170 of the IBC decoding process 132. For example, in response to the specific operation 170 corresponding to a write operation 172 for writing a block of pixel data to an unused portion of the virtual memory 140, the decoder 124 (e.g., the dynamic mapper 160) is configured to store the virtual memory start address of the block of pixel data in the data structure 162. As another example, in response to the specific operation 170 corresponding to a read operation 174 for reading a block of pixel data from the virtual memory 140, the decoder 124 is configured to locate the virtual memory start address of the block of pixel data in the data structure 162 to identify the corresponding portion of the on-chip memory 150 from which the pixel data can be retrieved.

[0047] Decoder 124 may be configured to perform additional processing on the reconstructed blocks of encoded video data 122 to generate video data 126, such as further described in Figure 3 According to one aspect, video data 126 may be provided to display device 104 for viewing by a user of device 102 .

[0048] During operation, the encoded video data 122 is processed by the decoder 124 to generate video data 126. The intra-block decoded portion of the encoded video data 122 is processed by the IBC prediction engine 130 to generate predicted pixels for the current block based on pixels of a previously reconstructed block in the same frame as the current block. Each target virtual address 138 for the virtual memory 140 generated by the virtual memory addressing scheme 136 (such as for retrieving reconstructed pixels or for storing predicted pixels) is mapped by the dynamic mapper 160 to a corresponding specific memory address 168 in the on-chip memory 150. The dynamic mapper 160 may update the data structure 162 as each block is processed so that the on-chip memory 150 operates as a circular buffer that maintains pixel data corresponding to the current block and blocks within the permitted motion vector range for IBC decoding, and overwrites pixel data of reconstructed blocks that are no longer within the permitted motion vector range for the current block.

[0049] The size of the on-chip memory 150 is set to include the reconstructed blocks accessible by the motion vector of the current block, while ignoring the reconstructed blocks no longer accessible by the motion vector, which enables the on-chip memory 150 to be significantly smaller than the virtual memory 140 (e.g., half the size of the virtual memory). In addition, the use of the dynamic mapper 160 to map the virtual memory start address 164 provided by the virtual memory addressing scheme 136 to the portion 166 of the on-chip memory 150 enables read and write access to the IBC operation without modifying the virtual memory addressing scheme 136 (because modifying the virtual memory addressing scheme 136 may cause the decoder 124 to no longer comply with the video decoding standard). Therefore, the on-chip memory 150 can provide an on-chip storage device for accessible reconstructed blocks based on the virtual memory addressing scheme 136 without spending too much on chip area, and with reduced latency and power consumption compared to off-chip storage devices.

[0050] According to some aspects, decoder 124 and on-chip memory 150 are integrated into at least one of a mobile phone or a tablet computer device, such as Figure 6 According to some aspects, the decoder 124 and the on-chip memory 150 are integrated in Figure 8 The wearable electronic device shown in the example Fig. 9 The voice controlled speaker system shown, or Figure 7 In the illustrated camera device. According to some aspects, one or more processors 116 are integrated into Fig.10 The virtual reality head mounted device, mixed reality head mounted device, or augmented reality head mounted device, or Fig.11 and Fig.12 in the illustrated vehicle.

[0051] Although the display device 104 is illustrated as being included in (e.g., integrated with) the device 102, in other implementations, the display device 104 is coupled to the device 102 but is not included in the device. Although specific examples of the sizes and layouts of the virtual memory 140 and the on-chip memory 150 are described for illustrative purposes, it should be understood that the techniques described herein may be used in conjunction with virtual memories 140 of other sizes, on-chip memories 150 of other sizes, or both. For example, although a 50% reduction in memory size is described in conjunction with certain aspects of a VVC IBC implementation using dynamic mapping 114, other amounts of memory size reduction may be obtained in implementations using other IBC decoding standards (e.g., which may have different ranges of prediction blocks that can be accessed via motion vectors of the current block). Therefore, the examples presented herein should be considered illustrative and not limiting. In addition, although a graphical representation of the virtual memory 140 is depicted, it should be understood that the virtual memory 140 represents a logical model of memory used by the virtual memory addressing scheme 136, and according to the present disclosure, the virtual memory does not represent physical memory or any other physical device for data storage.

[0052] Figure 2 An example 200 is illustrated depicting the states of the virtual memory 140, on-chip memory 150, and data structure 162 after performing each write operation in a sequence of IBC write operations (e.g., when a sequence of Quad64x64 blocks are decoded and reconstructed to obtain a CTB size of 128x128 pixels). The state of the virtual memory 140 illustrates the location of stored data in the virtual memory as specified by the virtual memory addressing scheme 136, and the state of the on-chip memory 150 illustrates the location of stored data in physical memory using mapping performed by the dynamic mapper 160. In the example 200, each block in the virtual memory 140 and on-chip memory 150 represents a quad 64x64 of a 128x128 sized CTB. However, in other specific implementations, the illustrated sequence of states also represents CTB sizes of 64x64 and 32x32, but at the CTB level rather than the Quad 64x64 level.

[0053] Blocks in virtual memory 140 and on-chip memory 150 are illustrated as having one of three possible states: a "-1" state, indicating that the block cannot be accessed for retrieval (e.g., the block is outside the motion vector range); a shaded (diagonal line) state, indicating that the current Quad 64x64 is valid (e.g., prediction and reconstruction are in progress); and a dark state, indicating a Quad 64x64 for which reconstruction has been completed and can be accessed for retrieval.

[0054] The data structure 162 includes two current buffer indexes 202: CurrTop, which indicates which subcolumn of the top subrow of the on-chip memory 150 is current (or most recently used), where "0" indicates the left subcolumn and "1" indicates the right subcolumn; and CurrBot, which indicates which subcolumn of the bottom subrow of the on-chip memory 150 is current (or most recently used) subcolumn, where "0" indicates the left subcolumn and "1" indicates the right subcolumn. The data structure 162 also includes two start address arrays 204: TopStartAddr and BotStartAddr. TopStartAddr is a two-element array in which the left array element stores the starting address of the Quad64x64 stored in the left subcolumn of the top subrow of the on-chip memory 150 (as indicated in the addressing scheme of the virtual memory 140), and the right array element stores the starting address of the Quad64x64 stored in the right subcolumn of the top subrow of the on-chip memory 150. Similarly, BotStartAddr is a two-element array in which the left array element stores the starting address of the Quad 64x64 stored in the left subcolumn of the bottom subrow of on-chip memory 150 (as indicated in the addressing scheme of virtual memory 140), and the right array element stores the starting address of the Quad 64x64 stored in the right subcolumn of the bottom subrow of on-chip memory 150.

[0055] At slice initialization, all blocks of virtual memory 140 and on-chip memory 150 are set to -1, current buffer index 202 is set to 0, and elements of start address array 204 are set to 0. During processing of Quad #0 (e.g., the first Quad 64x64, also denoted as Q0), the top left block at row 0, column 0 of virtual memory 140 is indicated as valid, and the left block of the top sub-row of on-chip memory 150 is indicated as valid. Current buffer index 202 and start address array 204 remain unchanged because the left sub-column of the top sub-row of on-chip memory 150 is valid (e.g., CurrTop=0), and the start address of Quad #0 in the top sub-row of virtual memory 140 is 0 (e.g., TopStartAddr(0)=0).

[0056] During processing of Quad #1 (e.g., the second Quad 64x64, also denoted as Q1), the block in the top subrow, second subcolumn (row 0, column 64) of virtual memory 140 is indicated as valid, and the right block in the top subrow of on-chip memory 150 is indicated as valid. CurrTop is set to 1, and the starting address of Quad #1 in the top subrow of virtual memory 140 (e.g., column 64) is stored in TopStartAddr(1) (e.g., TopStartAddr(1)=64). Storing the block of Quad #0 is indicated as complete in virtual memory 140 and on-chip memory 150.

[0057] During processing of Quad#2, the block in the bottom subrow, first subcolumn (row 64, column 0) of virtual memory 140 is indicated as valid, and the left block of the bottom subrow of on-chip memory 150 is indicated as valid. CurrBot remains 0, and the starting address (e.g., column 0) of Quad#2 in the bottom subrow of virtual memory 140 is stored in BotStartAddr(0) (e.g., BotStartAddr(0)=0). Storing the block of Quad#1 is indicated as complete in virtual memory 140 and on-chip memory 150.

[0058] During processing of Quad#3, the block in the bottom subrow, second subcolumn (row 64, column 64) of virtual memory 140 is indicated as valid, and the right block in the bottom subrow of on-chip memory 150 is indicated as valid. CurrBot is set to 1, and the starting address of Quad#3 in the bottom subrow of virtual memory 140 (e.g., column 64) is stored in BotStartAddr(1) (e.g., BotStartAddr(1)=64). Storing the block of Quad#2 is indicated as complete in virtual memory 140 and on-chip memory 150.

[0059] During processing of Quad #4, the blocks in the top sub-row, third sub-column (row 0, column 128) of virtual memory 140 are indicated as valid, and the left blocks in the top sub-row of on-chip memory 150 are indicated as valid, where the reconstructed data of Quad #0 is replaced by Quad #4 in on-chip memory 150. CurrTop is set to 0, and the starting address of Quad #4 in the top sub-row of virtual memory 140 (e.g., column 128) is stored in TopStartAddr(0) (e.g., TopStartAddr(0)=128). The blocks storing Quad #3 are indicated as complete in virtual memory 140 and on-chip memory 150. Because Quad #0 is outside the motion vector range of Quad #4, the blocks associated with Quad #0 are set to -1 in virtual memory 140 (e.g., outside the acquisition range and therefore no longer used).

[0060] The states of virtual memory 140, on-chip memory 150, and data structure 162 are illustrated for continuing the pattern described above to process Quad #5 through Quad #11.

[0061] After processing Quad #7 associated with the lower right block (e.g., row 64, column 192) of virtual memory 140, the virtual memory addressing scheme 136 wraps around so that processing of Quad #8 is performed in the block in the top sub-row, first sub-column of virtual memory 140. The block in the top sub-row, first sub-column (row 0, column 0) of virtual memory 140 is indicated as valid, and the left block in the top sub-row of on-chip memory 150 is indicated as valid, where the reconstructed data of Quad #4 is replaced by Quad #8 in on-chip memory 150. CurrTop is set to 0, and the starting address of Quad #8 in the top sub-row of virtual memory 140 (e.g., column 0) is stored as TopStartAddr(0)=0. Because Quad #4 is outside the motion vector range of Quad #8, a portion 224 of virtual memory 140 associated with Quad #4 is set to -1 (e.g., outside the acquisition range and therefore no longer used).

[0062] Thus, in response to performing a write operation to write a pixel data block 210 (e.g., Quad #8) to an unused portion 212 of the virtual memory 140, the decoder 124 is configured to store a virtual memory start address 208 of the pixel data block 210 in the data structure 162 (e.g., in the TopStartAddr array). In a particular implementation, the virtual memory start address 208 of the pixel data block 210 is based on another stored virtual memory start address 218 associated with another portion 222 of the virtual memory 140 that has an increased block size (e.g., a block width of 64 pixels) (e.g., the start address (192) of the pixel data block 220 of Quad #5 in the top right block of the virtual memory 140 and the on-chip memory 150) and a modulus associated with a row size (e.g., 256) of the virtual memory 140. To illustrate, the virtual memory starting address 208 of Quad #8 may be calculated as: virtual memory starting address 208 = ((virtual memory starting address 218) + 64) % 256, where "%" indicates a modulo operator.

[0063] Figure 3 An illustrative example 300 of components that may be implemented in the decoder 124 is depicted. In the particular example 300, the decoder 124 includes a coded picture buffer (CPB) memory 320, an entropy decoding unit 302, a prediction processing unit 304, an inverse quantization unit 306, an inverse transform processing unit 308, a reconstruction engine 310, a loop filter 312, the on-chip memory 150, and a decoded picture buffer (DPB) 314. In a particular implementation, the CPB memory 320, the entropy decoding unit 302, the prediction processing unit 304, the inverse quantization unit 306, the inverse transform processing unit 308, the reconstruction engine 310, the loop filter 312, the DPB 314, or any combination thereof may be implemented in one or more processors or in processing circuitry.

[0064] The prediction processing unit 304 includes the IBC prediction engine 130 and the dynamic mapper 160. The prediction processing unit 304 may include additional units to perform predictions according to other prediction modes. As an example, the prediction processing unit 304 may include a motion compensation unit, an intra prediction unit, a palette unit, an affine unit, a linear model (LM) unit, one or more other units configured to perform predictions, or a combination thereof.

[0065] The CPB memory 320 may store video data to be decoded, such as the encoded video data 122 (e.g., an encoded video bitstream). The CPB memory 320 may include a CPB that stores the encoded video data (e.g., syntax elements), and may also store video data other than syntax elements of decoded pictures, such as temporary data representing outputs from various units of the decoder 124. The DPB 314 typically stores decoded pictures, which the decoder 124 may output as video data 126, use as reference video data when encoding subsequent data or pictures of the encoded video bitstream, or both. The CPB memory 320 and the DPB 314 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM) (including synchronous DRAM (SDRAM)), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. The CPB memory 320 and the DPB 314 may include the same memory device or separate memory devices.

[0066] Illustrated Figure 3 The various units shown are to help understand the operations performed by the decoder 124 according to some specific implementations. The unit can be implemented as a fixed-function circuit, a programmable circuit, or a combination thereof. A fixed-function circuit refers to a circuit that provides a specific functionality and is preset on an executable operation. A programmable circuit refers to a circuit that can be programmed to perform various tasks and provides flexible functionality in the executable operation. For example, a programmable circuit can execute software or firmware that causes the programmable circuit to operate in a manner defined by the instructions of the software or firmware. A fixed-function circuit can execute software instructions (for example, to receive parameters or output parameters), but the type of operation performed by the fixed-function circuit is generally immutable. In some examples, one or more of the units in the unit can be different circuit blocks (fixed-function circuit blocks or programmable circuit blocks), and in some examples, the one or more units can be integrated circuits.

[0067] The entropy decoding unit 302 receives the encoded video data from the CPB memory 320 and entropy decodes the encoded video data 122 to reproduce the syntax elements. The prediction processing unit 304, the inverse quantization unit 306, the inverse transform processing unit 308, the reconstruction engine 310, and the loop filter 312 may generate decoded video data based on the syntax elements extracted from the bitstream.

[0068] Generally speaking, the decoder 124 reconstructs the picture block by block. The decoder 124 may perform a reconstruction operation on each block individually (wherein the block currently being reconstructed (ie, decoded) may be referred to as a "current block").

[0069] The entropy decoding unit 302 may entropy decode syntax elements defining the quantized transform coefficients of the quantized transform coefficient block and transform information, such as a quantization parameter (QP) and / or a transform mode indication. The inverse quantization unit 306 may use the QP associated with the quantized transform coefficient block to determine a degree of quantization and determine a degree of inverse quantization to be applied by the inverse quantization unit 306. The inverse quantization unit 306 may, for example, perform a bitwise left shift operation to inverse quantize the quantized transform coefficients. The inverse quantization unit 306 may thereby form a transform coefficient block including the transform coefficients.

[0070] After inverse quantization unit 306 forms the transform coefficient block, inverse transform processing unit 308 may apply one or more inverse transforms to the transform coefficient block to generate a residual block associated with the current block. For example, inverse transform processing unit 308 may apply an inverse discrete cosine transform (DCT), an inverse integer transform, an inverse Karhunen-Loeve transform (KLT), an inverse rotational transform, an inverse directional transform, or another inverse transform to the coefficient block.

[0071] In addition, prediction processing unit 304 generates a prediction block based on the prediction information syntax element entropy decoded by entropy decoding unit 302. For example, if the prediction information syntax element indicates that the current block is inter-predicted, a motion compensation unit (not shown) may generate a prediction block. In this case, the prediction information syntax element may indicate a reference picture in DPB 314 from which to retrieve the reference block, and a motion vector that identifies the position of the reference block in the reference picture relative to the position of the current block in the current picture.

[0072] As another example, if the prediction information syntax element indicates that the current block is intra-predicted, the intra-prediction unit (not shown) may generate a prediction block according to the intra-prediction mode indicated by the prediction information syntax element. The intra-prediction unit 318 may retrieve data of neighboring samples of the current block from the DPB 314.

[0073] The prediction processing unit 304 may also determine to use an intra-block copy (IBC) mode to decode the video data block, which uses the IBC prediction engine 130. Generally speaking, in the IBC mode, the decoder 124 may determine a prediction block for a current block, where the prediction block is located in the same frame as the current block. The prediction block may be identified by a block vector (e.g., a motion vector) and is limited to the location of the decoded block. As previously described, the IBC prediction engine 130 may use the virtual memory addressing scheme 136 to generate a target virtual address 138 for the prediction block, and the dynamic mapper 160 may map the target virtual address 138 to a specific memory address 168 corresponding to a portion of the on-chip memory 150.

[0074] The reconstruction engine 310 may reconstruct the current block using the prediction block and the residual block. For example, the reconstruction engine 310 may add samples of the residual block to corresponding samples of the prediction block in the on-chip memory 150 to reconstruct the current block in the on-chip memory 150.

[0075] The loop filter 312 may perform one or more filtering operations on the reconstructed block. For example, the loop filter 312 may access the reconstructed block in the on-chip memory 150 and perform a deblocking operation to reduce blocking artifacts along the edges of the reconstructed block. Therefore, the decoder 124 is configured to access the on-chip memory 150 during the execution of the loop filtering operations performed by the loop filter 312 and associated with the IBC decoding process. The operations of the loop filter 312 are not necessarily performed in all examples.

[0076] The decoder 124 may store the reconstructed blocks in the DPB 314, which may be implemented as an off-chip memory to have a larger storage capacity than the on-chip memory 150. As discussed above, the DPB 314 may provide reference information (such as samples of the current picture for intra prediction and previously decoded pictures for subsequent motion compensation) to the prediction processing unit 304. In addition, the decoder 124 may output the decoded pictures from the DPB 314 for subsequent presentation on a display device, such as to a display device. Figure 1 The video data 126 is displayed on the display device 104.

[0077] Figure 4 4 is a block diagram illustrating an example 300 of components that may be implemented in decoder 124 according to a particular implementation. IBC prediction engine 130 is illustrated as including a fetch command generator 402 and an IBC data fetcher 404. IBC prediction engine 130 is coupled to a reconstruction engine 410 including on-chip memory 150.

[0078] The fetch command generator 402 is configured to receive the prediction command 408 (IBC_Pred) and generate one or more fetch commands 412 for the IBC data fetcher 404. The IBC data fetcher 404 includes a dynamic mapper 160 for mapping the virtual address received via the fetch command 412 to a memory address for reading the reconstructed pixel data from the on-chip memory 150. The reconstructed pixel data is retrieved from the on-chip memory 150 via one or more IBC reconstruction fetch operations 420. The IBC data fetcher 404 is further configured to generate predicted pixels based on the reconstructed pixel data and write the predicted pixels as IBC predicted pixels 422 to the on-chip memory 150.

[0079] Reconstruction engine 410 includes on-chip memory 150 and is configured to generate reconstructed pixels for a particular block based on IBC predicted pixels 422 for the particular block and residuals for the particular block. In a particular implementation, reconstruction engine 410 operates in a manner substantially similar to that described for reconstruction engine 310 .

[0080] Although the dynamic mapper 160 is illustrated in the IBC data fetcher 404, in other specific implementations, the dynamic mapper 160 may be implemented in the fetch command generator 402 to perform mapping of virtual memory addresses to memory addresses for accessing the on-chip memory 150, which memory addresses may be included in the fetch command 412 to the IBC data fetcher 404.

[0081] Figure 5 1 is a block diagram illustrating a specific implementation 500 of the device 102 as an integrated circuit 502 for accessing on-chip memory using dynamic mapping to perform IBC decoding. The integrated circuit 502 includes one or more processors 116, which include a decoder 124. The decoder 124 includes an on-chip memory 150 and a dynamic mapper 160. The integrated circuit 502 also includes a signal input terminal 504 (such as a bus interface) to enable receiving encoded video data 122. The integrated circuit 502 includes a signal output terminal 506 (such as a bus interface) to enable output of decoded video data 126. The integrated circuit 502 enables accessing on-chip memory using dynamic mapping to perform IBC decoding as a component in a system that performs video decoding playback, such as Figure 1 Described in.

[0082] As an illustrative, non-limiting example, Figure 6 A specific implementation 600 is depicted in which the device 102 includes a mobile device 602 (such as a phone or tablet). The mobile device 602 includes a display screen 604. Components of the one or more processors 116, including the decoder 124 and the on-chip memory 150, are integrated into the mobile device 602 and are illustrated using dashed lines to indicate internal components that are generally not visible to a user of the mobile device 602. In a specific example, the decoder 124 operates to access the on-chip memory 150 using dynamic mapping to perform IBC decoding. For example, the mobile device 602 can receive encoded video data from a remote device (e.g., a phone or computer device of another participant in a video conference), decode the encoded video data using the decoder 124 (including the on-chip memory 150 or coupled to the on-chip memory), and display the resulting decoded video at the display screen 604.

[0083] Figure 7An implementation 700 is depicted in which the device 102 includes a portable electronic device corresponding to a camera device 702. The decoder 124, the on-chip memory 150, a display device (e.g., not shown), or a combination thereof are included in the camera device 702. During operation, the decoder 124 uses dynamic mapping to access the on-chip memory 150 to perform IBC decoding during playback of video data (such as video data captured by the camera device 702 and stored as encoded video data at a memory of the camera device 702) via the display device.

[0084] Figure 8 A specific implementation 800 of a wearable electronic device 802 (illustrated as a "smart watch") is depicted. In a particular aspect, the wearable electronic device 802 includes the device 102. The decoder 124 is integrated into the wearable electronic device 802 and is coupled to or includes the on-chip memory 150. In a particular aspect, the wearable electronic device 802 is coupled to or includes a display screen 804 to display video data decoded by the decoder 124. In a particular example, the decoder 124 operates to access the on-chip memory 150 using dynamic mapping to perform IBC decoding. In a particular example, the wearable electronic device 802 includes a tactile device that provides a tactile notification (e.g., a vibration) associated with playback of decoded video data via the display screen 804. For example, the tactile notification may enable a user to view the wearable electronic device 802 to view video playback, such as a video announcement of an incoming video phone call or a video message received at the wearable electronic device 802.

[0085] Fig. 9 is a specific implementation 900 of a wireless speaker and voice activated device 902. In certain aspects, the wireless speaker and voice activated device 902 includes Figure 1The wireless speaker and voice activated device 902 may have wireless network connectivity and be configured to perform auxiliary operations. One or more processors 116 are included in the wireless speaker and voice activated device 902 and include a decoder 124, which includes (or is coupled to) an on-chip memory 150. In a particular aspect, the wireless speaker and voice activated device 902 includes one or more microphones 938 and one or more speakers 936, and also includes a display device 904 or is coupled to the display device for playback of video output by the decoder 124. During operation, the decoder 124 uses dynamic mapping to access the on-chip memory to perform IBC decoding during playback of video data via the display device 904. In response to receiving a verbal command via one or more microphones 938, the wireless speaker and voice activated device 902 may perform an auxiliary operation, such as via executing a voice activated system (e.g., an integrated auxiliary application). The auxiliary operation may include adjusting the temperature, playing media content (such as stored or streaming audio and video content), turning on the lights, etc. For example, an auxiliary operation is performed in response to receiving a command following a keyword or key phrase (eg, "Hello, assistant").

[0086] Fig.10 An implementation 1000 of a portable electronic device corresponding to a virtual reality, augmented reality, or mixed reality head mounted device 1002 is depicted. In certain aspects, the head mounted device 1002 includes Figure 1 The decoder 124 is integrated into the head mounted device 1002. In certain aspects, the decoder 124 includes or is coupled to an on-chip memory 150 and is configured to access the on-chip memory 150 using dynamic mapping to perform IBC decoding during playback of video data via a visual interface device 1004 (e.g., a display device 104). The visual interface device 1004 is positioned in front of the user's eyes to enable video associated with an augmented reality, mixed reality, or virtual reality scene to be displayed to the user while wearing the head mounted device 1002.

[0087] Fig.11 An implementation 1100 is depicted in which the device 102 corresponds to or is integrated within a vehicle 1102 (illustrated as a manned or unmanned aerial device (e.g., a package delivery drone)). In some implementations, one or more processors 116 (e.g., including the decoder 124) are integrated into the vehicle 1102.

[0088] During playback of video data decoded by the decoder 124 and played back via the display device 1104, the decoder 124 uses dynamic mapping to access the on-chip memory to perform IBC decoding. In some implementations, the vehicle 1102 is manned (e.g., carrying a pilot, one or more passengers, or both), the display device 1104 is located inside the cabin of the vehicle 1102, and the IBC decoding is used during playback to the pilot or passengers of the vehicle 1102. In another implementation, the vehicle 1102 is unmanned, the display device 1104 is mounted to an exterior surface of the vehicle 1102, and the IBC decoding is used during video playback to one or more viewers outside the vehicle 1102. For example, the vehicle 1102 may be moving (e.g., around an outdoor audience during a concert) while broadcasting a video (such as an advertisement or streaming video of a concert stage), and one or more processors 116 (e.g., including the decoder 124) may use dynamic mapping to access the on-chip memory to perform IBC decoding to generate video from an encoded video stream.

[0089] Fig.12 An implementation 1200 is depicted in which the device 102 corresponds to or is integrated within a vehicle 1202 (illustrated as an automobile that also includes a decoder 124, a display device 1220, and a speaker 1236). In some implementations, the decoder 124 and the on-chip memory 150 are integrated into the vehicle 1202, and the display device 1220 is configured to display video data output by the decoder 124. For example, the video data may correspond to streaming video data from a remote source (e.g., a remote media server), video stored at the vehicle 1202 (such as entertainment content or instructional videos regarding the operation of the vehicle 1202), or video captured via one or more camera sensors of the vehicle 1202 (such as a backup camera).

[0090] Fig.13 An example of a method 1300 for decoding video data is illustrated. As an illustrative, non-limiting example, one or more operations of the method 1300 may be performed by Figure 1 The system 100 (eg, the device 102, one or more processors 116, or the decoder 124) executes.

[0091] The method 1300 includes, at 1302, identifying, at one or more processors, a target virtual address for data access associated with a particular operation of an intra-block copy (IBC) decoding process during at least a portion of a decoding unit of video data. The target virtual address is generated according to an addressing scheme of a virtual memory used by the IBC decoding process. For example, a decoder 124 (e.g., an IBC prediction engine 130 executing an IBC decoding process 132) identifies a target virtual address 138 via a virtual memory addressing scheme 136 for performing one or more operations 170, such as a write operation 172 (e.g., storing a predicted pixel) or a read operation 174 (e.g., obtaining a reconstructed pixel for prediction). According to one aspect, the addressing scheme corresponds to a versatile video coding (VVC) addressing scheme for IBC decoding.

[0092] The method 1300 includes dynamically mapping, at one or more processors, a target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory having a second size that is smaller than a first size of the virtual memory, at 1304. For example, the dynamic mapper 160 performs the dynamic mapping 144 of mapping the target virtual address 138 to a specific memory address 168 of a portion of the on-chip memory 150. According to one aspect, the on-chip memory includes a static random access memory (SRAM) IBC ring buffer.

[0093] The method 1300 includes accessing the on-chip memory using the specific memory address to perform a specific operation of the IBC decoding process at 1306. For example, the decoder 124 accesses the on-chip memory 150 to perform one or more operations 170 associated with the IBC decoding process 132.

[0094] In some implementations, before dynamically mapping the target virtual address to the specific memory address, a previously used virtual address in the virtual memory is mapped to the specific memory address. Figure 2 , before portion 212 of virtual memory 140 (e.g., row 0, column 0) is dynamically mapped to the upper left portion of on-chip memory 150 for storing Quad #8, the address of portion 224 of virtual memory 140 associated with Quad #4 (e.g., row 0, column 128) is previously mapped to the upper left portion of on-chip memory 150.

[0095] In a particular implementation, the particular operation corresponds to a write operation for writing a block of pixel data to an unused portion of virtual memory, and dynamically mapping the target virtual address to the particular memory address includes storing a virtual memory start address of the block of pixel data in a data structure that associates the virtual memory start address with a portion of on-chip memory. The virtual memory start address of the block of pixel data is based on another stored virtual memory start address associated with another portion of the on-chip memory increased by a block size and a modulus associated with a row size of the virtual memory. For example, in writing Figure 2 During the pixel data 210 for Quad #8 in the on-chip memory 150, the virtual memory start address 208 (e.g., column 0 of the top row) of a portion 212 of the virtual memory 140 is written to a start address (e.g., TopStartAddr(0)) in the start address array 204. The virtual memory start address 208 is associated with the virtual memory start address 218 of the pixel data block 220 for Quad #5 stored in the top right block of the on-chip memory 150 via the following formula: Virtual memory start address 208 = ((virtual memory start address 218) + 64) % 256, as previously described with respect to Figure 2 Explained.

[0096] In a particular implementation, the particular operation corresponds to a read operation for reading a block of pixel data from a virtual memory, and dynamically mapping the target virtual address to the particular memory address includes locating the virtual memory start address of the block of pixel data in a data structure that associates the virtual memory start address with a portion of the on-chip memory. Figure 2 When pixel data block 220 associated with Quad #5 in , the target memory address of portion 222 of virtual memory 140 (e.g., row 0, column 192) is located in start address array 204 (e.g., "192" is located in the right element of the TopStartAddr array (TopStartAddr(1) = 192)) and is therefore mapped to the upper right portion of on-chip memory 150 that stores the pixel data for Quad #5.

[0097] Fig.13 The method 1300 may be implemented by a field programmable gate array (FPGA) device, an application specific integrated circuit (ASIC), a processing unit (such as a central processing unit (CPU)), a digital signal processor (DSP), a controller, another hardware device, a firmware device, or any combination thereof. As an example, Fig.13 The method 1300 may be performed by a processor executing instructions, such as reference Fig.14 as described.

[0098] refer to Fig.14, depicts a block diagram of a particular exemplary implementation of a device and generally designated as 1400. In various implementations, the device 1400 may have more than Fig.14 More or less components than those shown. In an exemplary implementation, device 1400 may be used with Figure 1 In an exemplary implementation, the device 1400 may execute the reference Figures 1 to 13 One or more operations described.

[0099] In certain implementations, device 1400 includes a processor 1406 (e.g., a CPU). Device 1400 may include one or more additional processors 1410 (e.g., one or more DSPs). Figure 1 The one or more processors 116 of the processor 1406 may correspond to the processor 1410, or a combination thereof. For example, the processor 1410 may include the decoder 124 and the speech and music coder-decoder (codec) 1408. The speech and music codec 1408 may include a speech coder ("vocoder") encoder 1436, a vocoder decoder 1438, or a combination thereof.

[0100] Device 1400 may include memory 1486 and codec 1434. Memory 1486 may include instructions 1456 that are executable by one or more additional processors 1410 (or processor 1406) to implement the functionality described with reference to decoder 124. In a specific example, memory 1486 corresponds to memory 110, and instructions 1456 correspond to Figure 1 The device 1400 may include a modem 118 coupled to an antenna 1452 via a transceiver 1450 .

[0101] Device 1400 may include a display 1428, such as display device 104, coupled to a display controller 1426. One or more speakers 1436, one or more microphones 1460, or a combination thereof may be coupled to codec 1434. Codec 1434 may include a digital-to-analog converter (DAC) 1402 and an analog-to-digital converter (ADC) 1404. In a particular implementation, codec 1434 may receive an analog signal from microphone 1460, convert the analog signal to a digital signal using analog-to-digital converter 1404, and transmit the digital signal to speech and music codec 1408. In a particular implementation, speech and music codec 1408 may provide the digital signal to codec 1434. Codec 1434 may convert the digital signal to an analog signal using digital-to-analog converter 1402 and may provide the analog signal to speaker 1436.

[0102] In a particular implementation, device 1400 can be included in a system-in-package or system-on-chip device 1422. In a particular implementation, memory 1486, processor 1406, processor 1410, display controller 1426, codec 1434, and modem 118 are included in the system-in-package or system-on-chip device 1422. In a particular implementation, input device 1430 (e.g., a keyboard, touch screen, or pointing device) and power supply 1444 are coupled to the system-in-package or system-on-chip device 1422. Additionally, in a particular implementation, as shown in FIG. Fig.14 As illustrated, the display 1428, input device 1430, speaker 1436, microphone 1460, antenna 1452, and power supply 1444 are external to the system-in-package or system-on-chip device 1422. In a particular implementation, each of the display 1428, input device 1430, speaker 1436, microphone 1460, antenna 1452, and power supply 1444 may be coupled to a component of the system-in-package or system-on-chip device 1422, such as an interface or a controller.

[0103] Device 1400 may include a smart speaker, a speaker bar, a mobile communication device, a smart phone, a cellular phone, a laptop, a computer, a tablet, a personal digital assistant, a display device, a television, a game console, a music player, a radio, a digital video player, a digital video disc (DVD) player, a tuner, a camera, a navigation device, a vehicle, a head-mounted device, an augmented reality head-mounted device, a mixed reality head-mounted device, a virtual reality head-mounted device, an aerial vehicle, a home automation system, a voice-activated device, a wireless speaker and voice-activated device, a portable electronic device, an automobile, a vehicle, a computing device, a communication device, an Internet of Things (IoT) device, a virtual reality (VR) device, a base station, a mobile device, or any combination thereof.

[0104] In conjunction with the described techniques, an apparatus includes means for identifying, during an intra-block copy (IBC) decoding process for at least a portion of a decoding unit of video data, a target virtual address for data access associated with a particular operation of an IBC decoding process, the target virtual address being generated according to an addressing scheme of a virtual memory used by the IBC decoding process. In one example, the means for identifying the target virtual address includes an IBC prediction engine 130, a decoder 124, one or more processors 116, a device 102, a prediction processing unit 304, one or more other circuits or devices for identifying, during an intra-block copy (IBC) decoding process for at least a portion of a decoding unit of a video signal, a target virtual address for data access associated with a particular operation of an IBC decoding process, or a combination thereof.

[0105] The apparatus includes means for dynamically mapping a target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory having a second size that is less than a first size of the virtual memory. In one example, the means for dynamically mapping includes a dynamic mapper 160, an IBC prediction engine 130, a decoder 124, one or more processors 116, a device 102, a prediction processing unit 304, a fetch command generator 402, an IBC data fetcher 404, one or more other circuits or devices for dynamically mapping a target virtual address to a specific memory address of a portion of an on-chip memory, or a combination thereof.

[0106] The apparatus also includes means for accessing the on-chip memory using a specific memory address to perform a specific operation of the IBC decoding process. In one example, accessing the on-chip memory includes the IBC prediction engine 130, the decoder 124, one or more processors 116, the device 102, the prediction processing unit 304, the reconstruction engine 310, the loop filter 312, the IBC data fetcher 404, the reconstruction engine 410, one or more other circuits or devices for accessing the on-chip memory using a specific memory address to perform a specific operation of the IBC decoding process, or a combination thereof.

[0107] In some implementations, a non-transitory computer-readable medium (e.g., a computer-readable storage device such as memory 110) includes instructions (e.g., instructions 112) that, when executed by one or more processors (e.g., one or more processors 116), cause the one or more processors to perform operations related to the referenced Figures 1 to 12 The technology described, Fig.13 Operations corresponding to at least a portion of any one of the methods, or any combination thereof.

[0108] Particular aspects of the disclosure are described below in the following collection of related clauses:

[0109] According to clause 1, a device includes: a decoder configured to: identify a target virtual address for data access associated with a specific operation of an intra-block copy (IBC) decoding process performed on at least a portion of a decoding unit of video data during an IBC decoding process, the target virtual address being generated based on an addressing scheme of a virtual memory used by the IBC decoding process; dynamically map the target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory being configured to store a reconstructed block of the video data and having a second size that is smaller than a first size of the virtual memory; and use the specific memory address to access the on-chip memory to perform the specific operation of the IBC decoding process.

[0110] Clause 2. A device according to clause 1, wherein in response to the particular operation corresponding to a write operation for writing a block of pixel data to an unused portion of the virtual memory, the decoder is configured to store the virtual memory start address of the block of pixel data in a data structure that associates the virtual memory start address with a portion of the on-chip memory.

[0111] Clause 3. An apparatus according to clause 2, wherein the virtual memory starting address of the pixel data block is based on a virtual memory starting address of another storage associated with another portion of the virtual memory with an increased block size and a modulus associated with a row size of the virtual memory.

[0112] Clause 4. A device according to clause 1, wherein in response to the particular operation corresponding to a read operation for reading a block of pixel data from the virtual memory, the decoder is configured to locate a virtual memory start address of the block of pixel data in a data structure that associates the virtual memory start address with a portion of the on-chip memory.

[0113] Clause 5. The apparatus of any one of clauses 1 to 4, wherein the on-chip memory and the decoder are integrated into a single substrate.

[0114] Clause 6. The apparatus of any one of clauses 1 to 5, wherein the first size is at least twice the second size.

[0115] Clause 7. The apparatus of any one of Clauses 1 to 6, wherein the on-chip memory comprises a static random access memory (SRAM) IBC ring buffer.

[0116] Clause 8. Apparatus as recited in any one of Clauses 1 to 7, wherein the addressing scheme corresponds to a Versatile Video Coding (VVC) addressing scheme for IBC decoding.

[0117] Clause 9. The apparatus of any one of Clauses 1 to 8, wherein the decoder is further configured to access the on-chip memory during performance of a loop filtering operation associated with the IBC decoding process.

[0118] Clause 10. The device of any one of Clauses 1 to 9, further comprising: a modem coupled to the decoder, the modem configured to receive the video data from a second device.

[0119] Clause 11. A device according to any one of clauses 1 to 10, wherein the decoder and the on-chip memory are integrated in at least one of the following: a mobile phone, a tablet computer device, a wearable electronic device, a camera device, a virtual reality head-mounted device, a mixed reality head-mounted device, or an augmented reality head-mounted device.

[0120] Clause 12. The apparatus of any one of Clauses 1 to 10, wherein the decoder and the on-chip memory are integrated in a vehicle, the vehicle further comprising a display device configured to display video data output by the decoder.

[0121] According to clause 13, a method for decoding video data includes: during an intra-block copy (IBC) decoding process of at least a portion of a decoding unit of the video data, identifying, at one or more processors, a target virtual address for data access associated with a specific operation of the IBC decoding process, the target virtual address being generated based on an addressing scheme of a virtual memory used by the IBC decoding process; dynamically mapping, at the one or more processors, the target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory having a second size that is smaller than a first size of the virtual memory; and using the specific memory address to access the on-chip memory to perform the specific operation of the IBC decoding process.

[0122] Clause 14. The method of clause 13, wherein prior to dynamically mapping the target virtual address to the specific memory address, a previously used virtual address in the virtual memory is mapped to the specific memory address.

[0123] Clause 15. A method according to clause 13 or clause 14, wherein: the specific operation corresponds to a write operation for writing a pixel data block to an unused portion of the virtual memory, and dynamically mapping the target virtual address to the specific memory address includes: storing the virtual memory start address of the pixel data block in a data structure that associates the virtual memory start address with a portion of the on-chip memory, and the virtual memory start address of the pixel data block is based on another stored virtual memory start address associated with another portion of the on-chip memory with an increased block size and a modulus associated with a row size of the virtual memory.

[0124] Clause 16. A method according to clause 13 or clause 14, wherein: the specific operation corresponds to a read operation for reading a pixel data block from the virtual memory, and dynamically mapping the target virtual address to the specific memory address includes: locating the virtual memory start address of the pixel data block in a data structure that associates the virtual memory start address with a portion of the on-chip memory.

[0125] Clause 17. The method of any one of Clauses 13 to 16, wherein the on-chip memory comprises a static random access memory (SRAM) IBC ring buffer.

[0126] Clause 18. The method of any one of clauses 13 to 17, wherein the addressing scheme corresponds to a Versatile Video Coding (VVC) addressing scheme for IBC decoding.

[0127] According to clause 19, an apparatus comprises: a memory configured to store instructions; and a processor configured to execute the instructions to perform the method according to any one of clauses 13 to 18.

[0128] According to clause 20, a non-transitory computer readable medium comprises instructions which, when executed by a processor, cause the processor to perform the method according to any one of clauses 13 to 18.

[0129] According to clause 21 , an apparatus comprises means for performing the method according to any one of clauses 13 to 18 .

[0130] According to clause 22, a non-transitory computer-readable medium includes instructions that, when executed by one or more processors, cause the one or more processors to: identify a target virtual address for data access associated with a specific operation of an intra-block copy (IBC) decoding process during an IBC decoding process of at least a portion of a decoding unit of video data, the target virtual address being generated based on an addressing scheme of a virtual memory used by the IBC decoding process; dynamically map the target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory having a second size that is smaller than a first size of the virtual memory; and use the specific memory address to access the on-chip memory to perform the specific operation of the IBC decoding process.

[0131] Clause 23. A non-transitory computer-readable medium according to clause 22, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to update a data structure associating a virtual memory start address with a portion of the on-chip memory in response to the particular operation corresponding to a write operation.

[0132] In one or more examples, the described functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on a computer-readable medium and executed by a hardware-based processing unit. A computer-readable medium may include a computer-readable storage medium or a communication medium, which corresponds to a tangible medium such as a data storage medium, and the communication medium includes, for example, any medium that facilitates the transfer of a computer program from one place to another according to a communication protocol. In this way, a computer-readable medium may generally correspond to (1) a non-transient tangible computer-readable storage medium or (2) a communication medium such as a signal or carrier wave. A data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in the present disclosure. A computer program product may include a computer-readable medium.

[0133] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, disk storage devices or other magnetic storage devices, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. In addition, any connector is appropriately referred to as a computer-readable medium. For example, if the instruction is sent from a website, server or other remote source using a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave), the coaxial cable, optical fiber cable, twisted pair, DSL or wireless technology (such as infrared, radio and microwave) is included in the definition of the medium. However, it should be understood that computer-readable storage media and data storage media do not include connectors, carriers, signals or other transient media, but are directed to non-transient tangible storage media. As used herein, disks and optical disks include compact discs (CDs), laser optical disks, optical disks, digital versatile discs (DVDs), floppy disks and blue-ray discs, wherein disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0134] Instructions 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), field-programmable gate arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Therefore, as used herein, the term "processor" may refer to any of the aforementioned structures or any other structures suitable for implementing the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. In addition, these techniques may be fully implemented in one or more circuits or logic elements.

[0135] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chipset). Various components, modules, or units are described in the present disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require implementation by different hardware units. Specifically, as described above, the various units may be combined in a codec hardware unit, or may be provided by a collection of interoperable hardware units (including one or more processors as described above) in combination with appropriate software and / or firmware.

[0136] Those skilled in the art will also recognize that the various exemplary logic blocks, configurations, circuits, and algorithmic steps described in conjunction with the specific implementations disclosed herein may all be implemented as electronic hardware, computer software executed by a processing device (such as a hardware processor), or a combination of the two. Various exemplary components, blocks, configurations, circuits, and steps have been generally described above around their functionality. Whether such functionality is implemented as hardware or executable software depends on the specific application and the design constraints imposed on the entire system. Those skilled in the art may implement the described functionality in different ways for each specific application, but such specific implementation decisions should not be interpreted as resulting in a departure from the scope of the present disclosure.

[0137] The steps of the method or algorithm described in conjunction with the specific implementation disclosed herein may be directly embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a memory device, such as a random access memory (RAM), a magnetoresistive random access memory (MRAM), a spin torque transfer MRAM (STT-MRAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a removable disk, a compact disc read-only memory (CD-ROM), or any other form of non-transitory storage medium known in the art. An exemplary memory device is coupled to a processor so that the processor can read information from the memory device and write information to the memory device. In an alternative, the memory device may be integrated with the processor. The processor and the storage medium may reside in an application specific integrated circuit (ASIC). The ASIC may reside in a computing device or a user terminal. In an alternative, the processor and the storage medium may reside in a computing device or a user terminal as discrete components.

[0138] The previous description of the disclosed implementations is provided to enable those skilled in the art to make or use the disclosed implementations. Various modifications to these implementations will be apparent to those skilled in the art, and the principles defined herein may be applied to other implementations without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the specific implementations shown herein, but should be given the broadest scope possible consistent with the principles and novel features as defined by the appended claims.

Claims

1. A device, the device include: A decoder, the decoder being configured to: identifying, during an intra block copy (IBC) decoding process for at least a portion of a decoding unit of video data, a target virtual address for a data access associated with a particular operation of the IBC decoding process, the target virtual address being generated according to an addressing scheme of a virtual memory used by the IBC decoding process; dynamically mapping the target virtual address to a particular memory address of a portion of an on-chip memory configured to store a reconstructed block of the video data and having a second size that is less than a first size of the virtual memory; as well as The on-chip memory is accessed using the specific memory address to perform the specific operation of the IBC decoding process.

2. The apparatus of claim 1 , wherein in response to the particular operation corresponding to a write operation for writing a block of pixel data to an unused portion of the virtual memory, the decoder is configured to store a virtual memory start address of the block of pixel data in a data structure associating the virtual memory start address with a portion of the on-chip memory.

3. The apparatus of claim 2 , wherein the virtual memory start address of the block of pixel data is based on a virtual memory start address of another storage associated with another portion of the virtual memory increased in block size and a modulus associated with a row size of the virtual memory.

4. The apparatus of claim 1 , wherein in response to the particular operation corresponding to a read operation for reading a block of pixel data from the virtual memory, the decoder is configured to locate a virtual memory start address of the block of pixel data in a data structure associating a virtual memory start address with a portion of the on-chip memory.

5. The apparatus of claim 1, wherein the on-chip memory and the decoder are integrated into a single substrate. The device of claim 1 , wherein the first size is at least twice the second size.

7. The apparatus of claim 1, wherein the on-chip memory comprises a static random access memory (SRAM) IBC ring buffer.

8. The apparatus of claim 1, wherein the addressing scheme corresponds to a Versatile Video Coding (VVC) addressing scheme for IBC decoding.

9. The apparatus of claim 1, wherein the decoder is further configured to access the on-chip memory during execution of a loop filtering operation associated with the IBC decoding process.

10. The device according to claim 1, further comprising: include: A modem is coupled to the decoder, the modem being configured to receive the video data from a second device.

11. The device of claim 1 , wherein the decoder and the on-chip memory are integrated into at least one of: a mobile phone, a tablet computer device, a wearable electronic device, a camera device, a virtual reality head-mounted device, a mixed reality head-mounted device, or an augmented reality head-mounted device.

12. The apparatus of claim 1, wherein the decoder and the on-chip memory are integrated in a vehicle, the vehicle further comprising a display device configured to display video data output by the decoder.

13. A method for decoding video data, the method include: During an intra block copy (IBC) decoding process on at least a portion of a decoding unit of the video data, identifying, at one or more processors, a target virtual address for a data access associated with a particular operation of the IBC decoding process, the target virtual address being generated according to an addressing scheme of a virtual memory used by the IBC decoding process; dynamically mapping, at the one or more processors, the target virtual address to a particular memory address of a portion of an on-chip memory, the on-chip memory having a second size that is less than a first size of the virtual memory; as well as The on-chip memory is accessed using the specific memory address to perform the specific operation of the IBC decoding process.

14. The method of claim 13, wherein before dynamically mapping the target virtual address to the specific memory address, a previously used virtual address in the virtual memory is mapped to the specific memory address.

15. The method according to claim 13, in: The specific operation corresponds to a write operation for writing a block of pixel data to an unused portion of the virtual memory, Dynamically mapping the target virtual address to the specific memory address includes storing a virtual memory start address of the block of pixel data in a data structure associating a virtual memory start address with a portion of the on-chip memory, and The virtual memory start address of the block of pixel data is based on another stored virtual memory start address associated with another portion of the on-chip memory increased in block size and a modulus associated with a row size of the virtual memory.

16. The method according to claim 13, in: The specific operation corresponds to a read operation for reading a pixel data block from the virtual memory, and Dynamically mapping the target virtual address to the particular memory address includes locating a virtual memory start address of the block of pixel data in a data structure associating a virtual memory start address with a portion of the on-chip memory.

17. The method of claim 13, wherein the on-chip memory comprises a static random access memory (SRAM) IBC ring buffer.

18. The method of claim 13, wherein the addressing scheme corresponds to a Versatile Video Coding (VVC) addressing scheme for IBC decoding.

19. A non-transitory computer readable medium comprising instructions that, when executed by one or more processors, cause the one or more processors to: identifying, during an intra block copy (IBC) decoding process for at least a portion of a decoding unit of video data, a target virtual address for a data access associated with a particular operation of the IBC decoding process, the target virtual address being generated according to an addressing scheme of a virtual memory used by the IBC decoding process; dynamically mapping the target virtual address to a specific memory address of a portion of an on-chip memory, the on-chip memory having a second size that is smaller than the first size of the virtual memory; as well as The on-chip memory is accessed using the specific memory address to perform the specific operation of the IBC decoding process.

20. The non-transitory computer-readable medium of claim 19, wherein the instructions, when executed by the one or more processors, further cause the one or more processors to update a data structure associating a virtual memory start address with a portion of the on-chip memory in response to the particular operation corresponding to a write operation.

Citation Information

Patent Citations

  • Device with virtual tilized image memory

    US20050105623A1

  • Concurrent virtual storage management

    US20170091118A1

  • Constraints on locations of reference blocks for intra block copy prediction

    US20190208217A1

  • Virtual search area for current picture referencing (CPR) and intra block copy (IBC)

    US20200204819A1

  • Buffer management for intra block copy in video coding

    US20210274201A1

Cited By

  • Inter-frame prediction reference frame data caching method based on SRAM (Static Random Access Memory)

    CN121644813A

  • A method for caching inter prediction reference frame data based on sram

    CN121644813B