Method and apparatus for DC intra prediction of rectangular blocks using an aspect ratio
11546631 · 2023-01-03
Assignee
Inventors
- Alexey Konstantinovich FILIPPOV (Moscow, RU)
- Vasily Alexeevich RUFITSKIY (Moscow, RU)
- Jianle Chen (Santa Clara, CA)
Cpc classification
H04N19/42
ELECTRICITY
H04N19/159
ELECTRICITY
H04N19/105
ELECTRICITY
H04N19/157
ELECTRICITY
H04N19/119
ELECTRICITY
International classification
H04N19/159
ELECTRICITY
H04N19/119
ELECTRICITY
Abstract
A method for intra prediction of a current block of a picture is provided. The method includes obtaining an aspect ratio of the current block according to a width and a height of the current block; obtaining a weighting factor based on the aspect ratio, and determining an intra-prediction value of the current block based on the weighting factor. Intra-prediction value of a current block may be obtained with high accuracy or low computational complexity, so as to improve coding efficiency.
Claims
1. A method for calculating a DC value for DC intra prediction mode of a current block of a picture, the method implemented by a decoder comprising: obtaining an aspect ratio of the current block according to a width and a height of the current block; obtaining a weighting factor based on the aspect ratio; determining an intra-prediction value of the current block based on the weighting factor, wherein the current block is a rectangular block, and the intra-prediction value is a DC value; and reconstructing the current block based on the intra-prediction value, wherein the width W of the current block is W=2.sup.w and the height H of the current block is H=2.sup.h, wherein h and w are integer numbers; wherein when W>H, the aspect ratio R.sub.A is R.sub.A=2.sup.w−h, and wherein when H>W, the aspect ratio R.sub.A is R.sub.A=2.sup.h−w.
2. The method of claim 1, wherein determining the intra-prediction value of the current block is based on a multiplication involving the weighting factor and reference samples of the current block in the picture.
3. The method of claim 1, wherein the weighting factor is proportional to an inverse of a sum of the aspect ratio of the current block and 1.
4. The method of claim 3, wherein the weighting factor equals
5. The method of claim 3, wherein the weighting factor equals
6. The method of claim 1, wherein a value of the weighting factor is tabulated and stored in a look up table (LUT).
7. The method of claim 1, wherein the DC value is determined as:
8. The method of claim 1, wherein the DC value is determined as:
9. The method of claim 1, wherein the DC value is determined as:
10. The method of claim 1, wherein the DC value is determined as:
11. The method of claim 1, wherein: when W>f.sub.THR.Math.H, f.sub.THR is a threshold value, the width W of the current block W=2.sup.w and the height H of the current block H=2.sup.h, and w and h are integers, the DC value is determined as:
12. The method of claim 1, wherein when H>f.sub.THR.Math.W, f.sub.THR is a threshold value, the width W of the current block W=2.sup.w and a height H of the current block H=2.sup.h, and w and h are integers, the DC value is determined as:
13. A method for calculating a DC value for DC intra prediction mode of a current block of a picture, the method implemented by a decoder comprising: obtaining a width and a height of the current block; comparing the width with the height; when the width is greater than the height, determining a DC value of the current block based on reference samples only in a neighboring block on a top side of the current block, or when the height is greater than the width, determining a DC value of the current block based on reference samples only in a neighboring block on a left side of the current block; and reconstructing the current block based on the DC value, wherein the width W of the current block is W=2.sup.w and the height H of the current block is H=2.sup.h, wherein h and w are integer numbers; wherein when W>H, the aspect ratio R.sub.A is R.sub.A=2.sup.w−h, and wherein when H>W, the aspect ratio R.sub.A is R.sub.A=2.sup.h−w.
14. The method of claim 13, wherein when the width is greater than the height, the DC value is calculated by:
15. The method of claim 13, wherein when the height is greater than the width, the DC value is calculated by:
16. A decoder for calculating a DC value for DC intra prediction mode of a current block of a picture, comprising: one or more processors; and a non-transitory computer-readable storage medium coupled to the processors and storing programming for execution by the processors, wherein the programming, when executed by the processors, configures the decoder to carry out operations comprising: obtaining a width and a height of the current block; comparing the width with the height; when the width is greater than the height, determining a DC value of the current block based on reference samples only in a neighboring block on a top side of the current block, or when the height is greater than the width, determining a DC value of the current block based on reference samples only in a neighboring block on a left side of the current block; and reconstructing the current block based on the DC value, wherein the width W of the current block is W=2.sup.w and the height H of the current block is H=2.sup.h, wherein h and w are integer numbers; wherein when W>H, the aspect ratio R.sub.A is R.sub.A=2.sup.w−h, and wherein when H>W, the aspect ratio R.sub.A is R.sub.A=2.sup.h−w.
17. The decoder of claim 16, wherein when the width is greater than the height, the DC value is determined by:
18. The decoder of claim 16, wherein when the height is greater than the width, the DC value is determined by:
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) In the following exemplary embodiments are described in more detail with reference to the attached figures and drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF EMBODIMENTS
(11) In the following description, reference is made to the accompanying drawings, which form part of the disclosure, and in which are shown, by way of illustration, specific aspects in which the embodiments may be placed.
(12) For instance, it is understood that a disclosure in connection with a described method may also hold true for a corresponding device or system configured to perform the method and vice versa. For example, if a specific method step is described, a corresponding device may include a unit to perform the described method step, even if such unit is not explicitly described or illustrated in the figures. Further, it is understood that the features of the various exemplary aspects described herein may be combined with each other, unless specifically noted otherwise.
(13) Video coding typically refers to the processing of a sequence of pictures, which form the video or video sequence. The term picture, image or frame may be used/are used synonymously in the field of video coding as well as in this application. Each picture is typically partitioned into a set of non-overlapping blocks. The encoding/decoding of the picture is typically performed on a block level where e.g. inter frame prediction or intra frame prediction are used to generate a prediction block, to subtract the prediction block from the current block (block currently processed/to be processed) to obtain a residual block, which is further transformed and quantized to reduce the amount of data to be transmitted (compression) whereas at the decoder side the inverse processing is applied to the encoded/compressed block to reconstruct the block (video block) for representation.
(14) Intra-prediction is a mechanism used in many video coding frameworks to increase compression efficiency in cases where only a given frame can be involved. The DC mode is one of the most frequently selected intra-prediction modes. The basic idea behind this mode is to calculate the average value DC of adjacent pixels p.sub.i that are typically placed on the top and left sides of a block. In conventional methods, a division operation is used to calculate the DC value, which leads to a more complicated calculation. To avoid the division operation, two components DC values for the reference samples p.sub.i are calculated to obtain the DC value. Both components DC values contribute equally to the DC value, which leads to less accuracy. The present disclosure provides a mechanism to obtain the average value of adjacent pixels with high accuracy or less complicated, so as to improve coding efficiency. In the following, embodiments of a system, an encoder, a decoder, and corresponding methods are described, which may simplify the calculation of intra-prediction value. The term “sample” in this disclosure is used to include but not limited to sample, pixel, sub-pixel, etc.
(15)
(16) Destination device 104 may receive the encoded video data to be decoded via a link 112. Link 112 may include any type of medium or device capable of moving the encoded video data from source device 102 to destination device 104. In one example, link 112 may comprise a communication medium to enable source device 102 to transmit encoded video data directly to destination device 104 in real-time. The encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to destination device 104. The communication medium may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines. The communication medium may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet. The communication medium may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from source device 102 to destination device 104.
(17) Alternatively, encoded data may be output from output interface 110 to a storage device (not shown in
(18) In the example of
(19) The captured, pre-captured, or computer-generated video may be encoded by video encoder 108. The encoded video data may be transmitted directly to destination device 104 via output interface 110 of source device 102. The encoded video data may also (or alternatively) be stored onto the storage device for later access by destination device 104 or other devices, for decoding and/or playback.
(20) Destination device 104 includes an input interface 114, a video decoder 116, and a display device 118. In some cases, input interface 114 may include a receiver and/or a modem. Input interface 114 of destination device 104 receives the encoded video data over link 112. The encoded video data communicated over link 112, or provided on the storage device, may include a variety of syntax elements generated by video encoder 108 for use by a video decoder, such as video decoder 116, in decoding the video data. Such syntax elements may be included with the encoded video data transmitted on a communication medium, stored on a storage medium, or stored on a file server.
(21) Display device 118 may be integrated with, or external to, destination device 104. In some examples, destination device 104 may include an integrated display device and also be configured to interface with an external display device. In other examples, destination device 104 may be a display device. In general, display device 118 displays the decoded video data to a user, and may comprise any of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device.
(22) Video encoder 108 and video decoder 116 may operate according to any kind of video compression standard, including but not limited to MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), the High Efficiency Video Coding (HEVC), ITU-T H.266/Next Generation Video Coding (NGVC) standard.
(23) It is generally contemplated that video encoder 108 of source device 102 may be configured to encode video data according to any of these current or future standards. Similarly, it is also generally contemplated that video decoder 116 of destination device 104 may be configured to decode video data according to any of these current or future standards.
(24) Video encoder 108 and video decoder 116 each may be implemented as any of a variety of suitable encoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof. When the techniques are implemented partially in software, a device may store instructions for the software in a suitable, non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Each of video encoder 108 and video decoder 116 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
(25) In video coding specifications, a video sequence typically includes a series of pictures. However, it is noted that the present disclosure is also applicable to fields in case interlacing is applied. Video encoder 108 may output a bitstream that includes a sequence of bits that forms a representation of coded pictures and associated data. Video decoder 116 may receive a bitstream generated by video encoder 108. In addition, video decoder 116 may parse the bitstream to obtain syntax elements from the bitstream. Video decoder 116 may reconstruct the pictures of the video data based at least in part on the syntax elements obtained from the bitstream. The process to reconstruct the video data may be generally reciprocal to the process performed by video encoder 108.
(26)
(27) The video stream corresponds to a plurality of frames, wherein each frame is divided into blocks of a certain size that are either intra or inter coded. The blocks of for example the first frame of the video stream are intra coded by means of an intra prediction unit 209. An intra frame is coded using only the information within the same frame, so that it can be independently decoded and it can provide an entry point in the bit stream for random access. Blocks of other frames of the video stream are inter coded by means of an inter prediction unit 210: information from coded frames, which are called reference frames, are used to reduce the temporal redundancy, so that each block of an inter coded frame is predicted from a block of the same size in a reference frame. A mode selection unit 208 is adapted to select whether a block of a frame is to be processed by the intra prediction unit 209 or the inter prediction unit 210.
(28) For performing inter prediction, the coded reference frames are processed by an inverse quantization unit 204, an inverse transform unit 205, a filtering unit 206 (optional) so as to obtain the reference frames that are then stored in a frame buffer 207. Particularly, reference blocks of the reference frame can be processed by these units to obtain reconstructed reference blocks. The reconstructed reference blocks are then recombined into the reference frame.
(29) The inter prediction unit 210 comprises as input a current frame or picture to be inter coded and one or several reference frames or pictures from the frame buffer 207. Motion estimation and motion compensation are applied by the inter prediction unit 210. The motion estimation is used to obtain a motion vector and a reference frame based on certain cost function. The motion compensation then describes a current block of the current frame in terms of the transformation of a reference block of the reference frame to the current frame. The inter prediction unit 210 outputs a prediction block for the current block, wherein said prediction block minimizes the difference between the current block to be coded and its prediction block, i.e. minimizes the residual block. The minimization of the residual block is based e.g., on a rate-distortion optimization procedure.
(30) The difference between the current block and its prediction, i.e. the residual block, is then transformed by the transform unit 201. The transform coefficients are quantized and entropy coded by the quantization unit 202 and the encoding unit 203. The encoded video bit stream comprises intra coded blocks and inter coded blocks.
(31)
(32) The decoder 300 is adapted to decode the encoded video bit stream generated by the video encoder 200, and both the decoder 300 and the coder 200 generate identical predictions. The features of the frame buffer 307, the inter prediction unit 310 are similar to the features of the frame buffer 207, the inter prediction unit 210, of
(33) Particularly, the video decoder 300 comprises units that are also present in the video encoder 200 like e.g., an inverse quantization unit 304, an inverse transform unit 305, a filtering unit 306 (optional) and an intra prediction unit 309, which respectively correspond to the inverse quantization unit 204, the inverse transform unit 205, the filtering unit 206 and the intra prediction unit 209 of the video encoder 200. A decoding unit 303 is adapted to decode the received encoded video bit stream and to correspondingly obtain quantized residual transform coefficients. The quantized residual transform coefficients are fed to the inverse quantization unit 304 and an inverse transform unit 305 to generate a residual block. The residual block is added to a prediction block and the addition is fed to the filtering unit 306 to obtain the decoded video. Frames of the decoded video can be stored in the frame buffer 307 and serve as a reference frame for inter prediction.
(34) The video encoder 200 may split the input video frame into blocks before coding. The term “block” in this disclosure is used for any type block or for any depth block, for example, the term “block” is included but not limited to root block, block, sub-block, leaf node, and etc. The blocks to be coded do not necessarily have the same size. One picture may include blocks of different sizes and the block rasters of different pictures of video sequence may also differ.
(35) According to the HEVC/H.265 standard, 35 intra prediction modes are available. As shown in
(36) The disclosure proposes a mechanism to avoid a division operation with high accuracy while calculating an intra-prediction value, such as a DC value. The disclosure takes into account actual lengths of adjacent sides, which requires 1 multiplication per block, some other elementary arithmetic operations and a look up table (LUT). The size of the LUT is reduced as compared with a straightforward implementation of this approach. Multiplication operation and the LUT are not required for square blocks that can be important for the smallest blocks (4×4 for luma and 2×2 for chroma) to avoid such operations as a multiplication for the worst case when a picture or its part is subdivided into the smallest blocks. In addition, the proposed mechanism can be combined with the conventional methods and/or other simplifications. In this case, the proposed approach is used for larger blocks and/or elongated blocks. The technique based on conventional methods is applied to blocks of smaller sizes and with the shape close to square. Besides, DC value can be estimated by taking reference samples only along with a longer side for very elongated blocks (e.g., 64×4). Details on the calculation process are described below.
(37)
(38) when W=H,
W+H=2.sup.w+2.sup.h=2.sup.w+2.sup.w=2.sup.w+1. (1)
When W>H,
W+H=2.sup.h(2.sup.w−h+1). (2-1)
When H>W,
W+H=2.sup.w(2.sup.h−w+1). (2-2)
(39) When W>H, aspect ratios R.sub.A of horizontally and vertically oriented blocks is:
R.sub.A=2.sup.w−h (3-1)
(40) When H>W, aspect ratios R.sub.A of horizontally and vertically oriented blocks is:
R.sub.A=2.sup.h−w (3-2)
(41) Let m=min(w,h) then, formulas (2-1) and (2-2) can be rewritten as follows:
W+H=2.sup.m(R.sub.A+1). (4)
(42) The DC average value of adjacent pixels p.sub.i is calculated as formula (5):
(43)
(44) Substituting formula (4) into formula (5),
(45)
(46) Formula (6) can be rewritten as follows:
(47)
where << and >> are left and right shift operations, respectively.
(48) Since the partitioning depth is typically limited and known at both encoder and decoder sides a priori, in general, values of
(49)
can be tabulated using a LUT where the quantity of records is computed as follows:
(50)
where L.sub.min and L.sub.max are minimal and maximum lengths of a block side, respectively. According to the default settings of QuadTree plus Binary Tree (QTBT), L.sub.min=4 and L.sub.max=128, i.e.
(51)
For square blocks, the conventional method may be applied or one more records should be added to the LUT.
(52) Expression
(53)
takes the following values:
(54)
To keep the calculations of DC value accurate while computing
(55)
reformulate it as follows:
(56)
where q is an integer parameter that takes the maximum possible value that does not cause an overflow of the used data type. The formula (9) may provide a way to calculate DC value without division operation using fixed point multiplications and bit shift operation. Substituting expression (9) into formula (7):
(57)
Formula (10) can be simplified as follows:
(58)
Formula (11) can affect calculation accuracy but can reduce the computational complexity of formula (10). In either case,
(59)
may be tabulated and stored in the LUT. It is worth to note that the value of q can be different for different values of R.sub.A to maximize the accuracy of calculations.
(60) As shown above, a multiplication operation is required if formulas (10) or (11) is used. On the one hand, it can be critical if a picture or one of its regions is split into very small blocks (such as 4×4 for luma and 2×2 for chroma). In this situation (for example, the square block or close to a square block), the conventional approach may be used. On the other hand, the conventional DC calculation approach can adversely affect the coding efficiency of DC mode if a block is very asymmetric (e.g., 32×4). So, the proposed technique based on formulas (10) and (11) can be combined with the approach based on conventional DC calculation approach, for example, formulas (12)-(14).
(61)
where p.sub.i represent the reference samples above the current block and p.sub.j represent the reference samples left of the current block
(62) Another mechanism that keeps the design of DC mode computationally simple for elongated blocks (e.g., 64×4) is based on the assumption:
(63)
f.sub.THR is a threshold value (e.g., f.sub.THR=8). Formulas (15) and (16) may have different or same threshold value. So, only reference samples of the longest block side are used to calculate DC value.
(64) Another embodiment that only the longer side component is considered when calculating DC value is shown below:
(65)
where w=log.sub.2 (W), h=log.sub.2 (H), W, H are the width and height (respectively) of the predicted block. In these examples, the threshold value f.sub.THR is 1.
(66) An example for equation (17) is shown in
(67) Different exemplary values of
(68)
and q are shown in Tables 1 and 2.
(69) TABLE-US-00001 TABLE 1
(70) TABLE-US-00002 TABLE 2
(71)
(72) In the embodiment, three block shape cases are considered. One case is a square shape when width and height are equal, and two rectangular shape cases when the width is longer than height and vice versa.
(73) The first step 601 is to distinguish a case of a square shape by comparing width and height values. For the square shape case, DC value is computed conventionally at step 620 and the rest of the steps are skipped.
(74) The second step 602, which includes step 6021, step 6022 and step 6022′, is to distinguish between the rest two rectangular shape cases at step 6021 and store the result in “isHor” variable at step 6022 or 6022′. For both of these cases, values of aspect ratio R.sub.A, and larger side index s is assigned correspondingly.
(75) The third step 603 is to define whether the block is small by comparing s to a predefined threshold, e.g. 3, and the block is not elongated one. The latter condition is checked by thresholding R.sub.A by another threshold value (e.g. 2). If both of these conditions are fulfilled, at step 630, the DC value is calculated using formulas (12)-(14) described above and the rest of the steps are skipped.
(76) The forth step 604 is to define whether the block is elongated and large enough using the conditions shown in
(77) The last step 608 of
(78) Another embodiment considers the colorplane for which prediction is being performed. For example, condition “W==H?” in
(79)
(80) The CPU 710 may have any type of electronic data processor. The memory 720 may have, or be, any type of system memory such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), read-only memory (ROM), a combination thereof, or the like. In an embodiment, the memory 720 may include ROM for use at boot-up, and DRAM for program and data storage for use while executing programs. In embodiments, the memory 720 is non-transitory. The mass storage 730 includes any type of storage device that stores data, programs, and other information and to make the data, programs, and other information accessible via the bus. The mass storage 730 includes, for example, one or more of a solid state drive, hard disk drive, a magnetic disk drive, an optical disk drive, or the like.
(81) The video adapter 740 and the I/O interface 760 provide interfaces to couple external input and output devices to the apparatus 700. For example, the apparatus 700 may provide SQL command interface to clients. As illustrated, examples of input and output devices include a display 790 coupled to the video adapter 740 and any combination of mouse/keyboard/printer 770 coupled to the I/O interface 760. Other devices may be coupled to the apparatus 700, and additional or fewer interface cards may be utilized. For example, a serial interface card (not shown) may be used to provide a serial interface for a printer.
(82) The apparatus 700 also includes one or more network interfaces 750, which includes wired links, such as an Ethernet cable or the like, and/or wireless links to access nodes or one or more networks 780. The network interface 750 allows the apparatus 700 to communicate with remote units via the networks 780. For example, the network interface 750 may provide communication to database. In an embodiment, the apparatus 700 is coupled to a local-area network or a wide-area network for data processing and communications with remote devices, such as other processing units, the Internet, remote storage facilities, or the like.
(83) The advantages of the present disclose are as follows:
(84) Multiplication is used with high accuracy, for example formulas (7), (10) and (11), to replace a division operation in the conventional method;
(85) size of the required LUT is kept small;
(86) the proposed technique can be combined with other approaches to reduce the computational complexity of the worst case for DC mode, for example, combine with formulas (12)-(14). Different blocks may use same or different techniques, such as, block 1 may use formula (7), block 2 may use formula (10), block 3 may use formula (11), block 4 may use formulas (12)-(14), etc.; or blocks use same formula (7), or (10), or (11), or (15) or (16); or any combinations between the proposed techniques; or any combinations between the proposed techniques and conventional methods; and/or
(87) for very elongated blocks (e.g., 64×4), the shortest side can be skipped to simplify calculations, for example, formulas (15) and (16).
(88) The embodiments may be applied, for example, to other intra-prediction techniques such as DWDIP (Distance-Weighted Directional Intra-Prediction) or LIP (Linear Intra-Prediction), respectively. The step for gradual component of secondary reference samples for DWDIP uses the same mechanism.
(89) Implementations of the subject matter and the operations described in this disclosure may be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this disclosure and their structural equivalents, or in combinations of one or more of them. Implementations of the subject matter described in this disclosure may be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, encoded on computer storage medium for execution by, or to control the operation of, data processing apparatus. Alternatively or in addition, the program instructions may be encoded on an artificially-generated propagated signal, for example, a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to suitable receiver apparatus for execution by a data processing apparatus. A computer storage medium, for example, the computer-readable medium, may be, or be included in, a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. Moreover, while a computer storage medium is not a propagated signal, a computer storage medium may be a source or destination of computer program instructions encoded in an artificially-generated propagated signal. The computer storage medium may also be, or be included in, one or more separate physical and/or non-transitory components or media (for example, multiple CDs, disks, or other storage devices).
(90) In some implementations, the operations described in this disclosure may be implemented as a hosted service provided on a server in a cloud computing network. For example, the computer-readable storage media may be logically grouped and accessible within a cloud computing network. Servers within the cloud computing network may include a cloud computing platform for providing cloud-based services. The terms “cloud,” “cloud computing,” and “cloud-based” may be used interchangeably as appropriate without departing from the scope of this disclosure. Cloud-based services may be hosted services that are provided by servers and delivered across a network to a client platform to enhance, supplement, or replace applications executed locally on a client computer. The circuit may use cloud-based services to quickly receive software upgrades, applications, and other resources that would otherwise require a lengthy period of time before the resources may be delivered to the circuit.
(91) A computer program (also known as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages, declarative or procedural languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that holds other programs or data (for example, one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (for example, files that store one or more modules, sub-programs, or portions of code). A computer program may be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
(92) The processes and logic flows described in this disclosure may be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows may also be performed by, and apparatus may also be implemented as, special purpose logic circuitry, for example, an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
(93) Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for performing actions in accordance with instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, for example, magnetic, magneto-optical disks, or optical disks. However, a computer need not have such devices. Moreover, a computer may be embedded in another device, for example, a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device (for example, a universal serial bus (USB) flash drive), to name just a few. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, for example, EPROM, EEPROM, and flash memory devices; magnetic disks, for example, internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in, special purpose logic circuitry.
(94) While this disclosure contains many specific implementation details, these should not be construed as limitations on the scope of any implementations or of what may be claimed, but rather as descriptions of features specific to particular implementations. Certain features that are described in this disclosure in the context of separate implementations may also be implemented in combination in a single implementation. Conversely, various features that are described in the context of a single implementation may also be implemented in multiple implementations separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination may in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
(95) Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In certain circumstances, multitasking and parallel processing may be advantageous. Moreover, the separation of various system components in the implementations described above should not be understood as requiring such separation in all implementations, and it should be understood that the described program components and systems may generally be integrated together in a single software product or packaged into multiple software products.
(96) Thus, particular implementations of the subject matter have been described. Other implementations are within the scope of the following claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In certain implementations, multitasking and parallel processing may be advantageous.