In compression/decompression (codec) systems, compression efficiency and video quality are important performance criteria. For example, visual quality is an important aspect of the user experience in many video applications and compression efficiency impacts the amount of memory storage needed to store video files and/or the amount of bandwidth needed to transmit and/or stream video content. A video encoder compresses video information so that more information can be sent over a given bandwidth or stored in a given memory space or the like. The compressed signal or data is then decoded by a decoder that decodes or decompresses the signal or data for display to a user. In most implementations, higher visual quality with greater compression is desirable.
In transform coefficient quantization (e.g., quantizing transform coefficient to quantized transform coefficients), some codecs utilize dead-zone quantizer techniques that may be implemented using a rounding offset parameter. The rounding offset parameter is used during transform coefficient quantization to implement a dead-zone such that, within the dead-zone, transform coefficients are quantized as zero. A larger dead-zone quantizes more coefficients to zero reducing bitrate at the cost of reduced quality. In implementation, larger rounding offset parameters reduce the size of the dead-zone while smaller rounding offset parameters increase the size of the dead-zone such that larger rounding offset parameters generally cause larger bitrates and increased quality.
Such rounding offset parameters (e.g., rounding offsets) are typically fixed based on empirical results. In some traditional systems, intra picture and inter picture fixed rounding offsets are used. However, such rounding offsets are far from optimal particularly compared to rounding offsets determined using exhaustive searching techniques, which are extremely complex and unsuitable for implementation.
It may be advantageous to improve rounding offset selection to provide improved compression efficiency and/or video quality. It is with respect to these and other considerations that the present improvements have been needed. Such improvements may become critical as the desire to compress and transmit video data becomes more widespread.
The material described herein is illustrated by way of example and not by way of limitation in the accompanying figures. For simplicity and clarity of illustration, elements illustrated in the figures are not necessarily drawn to scale. For example, the dimensions of some elements may be exaggerated relative to other elements for clarity. Furthermore, where considered appropriate, reference labels have been repeated among the figures to indicate corresponding or analogous elements. In the figures:
One or more embodiments or implementations are now described with reference to the enclosed figures. While specific configurations and arrangements are discussed, it should be understood that this is done for illustrative purposes only. Persons skilled in the relevant art will recognize that other configurations and arrangements may be employed without departing from the spirit and scope of the description. It will be apparent to those skilled in the relevant art that techniques and/or arrangements described herein may also be employed in a variety of other systems and applications other than what is described herein.
While the following description sets forth various implementations that may be manifested in architectures such as system-on-a-chip (SoC) architectures for example, implementation of the techniques and/or arrangements described herein are not restricted to particular architectures and/or computing systems and may be implemented by any architecture and/or computing system for similar purposes. For instance, various architectures employing, for example, multiple integrated circuit (IC) chips and/or packages, and/or various computing devices and/or consumer electronic (CE) devices such as set top boxes, smart phones, etc., may implement the techniques and/or arrangements described herein. Furthermore, while the following description may set forth numerous specific details such as logic implementations, types and interrelationships of system components, logic partitioning/integration choices, etc., claimed subject matter may be practiced without such specific details. In other instances, some material such as, for example, control structures and full software instruction sequences, may not be shown in detail in order not to obscure the material disclosed herein.
The material disclosed herein may be implemented in hardware, firmware, software, or any combination thereof. The material disclosed herein may also be implemented as instructions stored on a machine-readable medium, which may be read and executed by one or more processors. A machine-readable medium may include any medium and/or mechanism for storing or transmitting information in a form readable by a machine (e.g., a computing device). For example, a machine-readable medium may include read only memory (ROM); random access memory (RAM); magnetic disk storage media; optical storage media; flash memory devices; electrical, optical, acoustical or other forms of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), and others.
References in the specification to “one implementation”, “an implementation”, “an example implementation”, etc., indicate that the implementation described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same implementation. Furthermore, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other implementations whether or not explicitly described herein. The terms “substantially,” “close,” “approximately,” “near,” and “about,” generally refer to being within +/−10% of a target value. The term “satisfies” when used in reference to a threshold indicates the value in question meets the condition established by the threshold. The terms “compares favorably” when used in reference to a threshold indicates the value in question is greater than or greater than or equal to the threshold. Similarly, the terms “compares unfavorably” when used in reference to a threshold indicates the value in question is less than or less than or equal to the threshold.
Methods, devices, apparatuses, computing platforms, and articles are described herein related to video coding and, in particular, to content adaptive quantization using picture level and/or block level rounding offset selection.
As described above, in modern video coding standards, transform coefficient quantization is an important feature that can provide improved efficiency and/or video quality. As discussed herein, techniques include determining, for an individual picture of a group of pictures (GOP) of a video sequence, a maximum coding bit limit and a quantization parameter (QP) for the individual picture. As used herein, a video sequence may include any number of video pictures or frames for coding. A group of pictures may include any number of pictures of the video sequence and may have a coding structure defining how each picture of the group of pictures is to be coded. A quantization rounding offset is determined for the individual picture based at least in part on a comparison of the maximum coding bit limit and the quantization parameter to first and second thresholds. As used herein, a quantization rounding offset is an offset for setting a dead-zone width during quantization of transform coefficients for the individual picture such that an increasing quantization rounding offset provides a decreasing dead-zone width for quantization of transform coefficients of the individual picture and decreasing the quantization rounding offset provides an increasing dead-zone width for quantization of transform coefficients of the individual picture. For example, the dead-zone width may be inversely proportional to the quantization rounding offset. The quantization rounding offset may also be characterized as a quantization rounding offset parameter, a quantization rounding parameter, a quantization rounding offset value, etc.
In some embodiments, the quantization rounding offset for the individual picture is set to a first quantization rounding offset in response to the maximum coding bit limit comparing unfavorably to the first threshold and the quantization parameter comparing favorably to the second threshold and, otherwise, to a second quantization rounding offset greater than the first value. As used herein, the term compares favorably with respect to a threshold and indicates a value is greater than (in some embodiments) or greater than or equal to (in other embodiments) the threshold. Similarly, the term compares unfavorably with respect to a threshold and indicates a value is less than (in some embodiments) or less than or equal to (in other embodiments) the threshold. As discussed, when both the maximum coding bit limit compares unfavorably to the first threshold and the quantization parameter compares favorably to the second threshold, the quantization rounding offset for the individual picture is set to a first value and otherwise (e.g., the maximum coding bit limit compares favorably to the first threshold or the quantization parameter compares unfavorably to the second threshold) the quantization rounding offset for the individual picture is set to a second value greater than the first value.
Based on the quantization rounding offset, the individual picture is coded to generate a bitstream. That is, the quantization rounding offset is used during quantization of at least some of the transform coefficients of the individual picture. For example, transform coefficient may be quantized by adding the quantization rounding offset to a ratio of an absolute value of a transform coefficient and a quantizer value to determine a first value, applying a floor function to the first value to determine a second value, and determining a quantized transform coefficient as a maximum of the second value or zero multiplied by the sign of the first transform coefficient. Such quantization may quantize transformed residual values or transformed pixel values. Furthermore, techniques discussed herein provide for the selection of a quantization rounding offset for scene change or intra pictures using one or more of the quantization parameter, a video resolution of the individual picture, and a size of the group of pictures and selection of a quantization rounding offsets for inter pictures using one or more of temporal correlation, look ahead analysis, and inter picture type. Also, techniques discussed herein provide for block level (e.g., transform block level) adjustment of the quantization rounding offset for further refinement.
The discussed techniques may be applied in the context of any codec, such as standardized codecs, that implement quantization rounding offsets. Although discussed with respect to particular quantization rounding offset implementations to adjust dead-zone quantization, such techniques may adjust dead-zones and quantization in any manner. In some embodiments, the discussed techniques are implemented within the context of an Alliance for Open Media (AOM) codec, such as the AOMedia Video 1 (AV1) video codec, the High Efficiency Video Coding (HEVC) video compression standard (also known as H.265 or MPEG-H Part 2), or the Advanced Video Coding (MPEG-4 AVC) standard (also known as H.264 or MPEG-4 Part 10). Although the discussed techniques may be implemented in the context of any suitable video compression standard.
The discussed techniques provide better compression efficiency with low computational complexity to improve the performance of a video encoder. In some embodiments, a picture level rounding offset decision estimates a picture level quantization rounding offset for intra and inter pictures, respectively, based on the picture type, GOP structure, temporal correlation, quantization parameter or quantizer value, and video resolution (e.g., maximum frame size). Block level adjustments may be applied to further adjust the rounding offset for each block.
Rate control module 101 and video analysis module 102 receive video 121. System 100 provides video compression and system 100 may be a video encoder implemented via a computer or computing device. For example, system 100 receives video 121 and generates a bitstream 129 that may be compatible with a video compression-decompression (codec) standard such as AOM AV1, HEVC, AVC, etc. System 100 may be implemented via any suitable device such as, for example, a personal computer, a laptop computer, a tablet, a phablet, a smart phone, a digital camera, a gaming console, a wearable device, a display device, an all-in-one device, a two-in-one device, or the like or platform such as a mobile platform or the like. For example, as used herein, a system, device, computer, or computing device may include any such device or platform.
System 100 may include other modules not shown for the sake of clarity of presentation. For example, system 100 may include a transform module, an intra prediction module, a motion estimation module, a motion compensation module, a reference picture buffer, a scanning module, etc., some of which are discussed herein with respect to
As discussed, rate control module 101 and video analysis module 102 receive video 121. Video 121 may include any suitable video frames, video pictures, sequence of video frames, group of pictures, groups of pictures, video data, or the like in any suitable resolution. For example, video 121 may be video graphics array (VGA), high definition (HD), Full-HD (e.g., 1080p), or 4K resolution video, or the like. For example, the video may be video graphics array (VGA), high definition (HD), Full-HD (e.g., 1080p), 4K resolution video, 5K resolution video, or the like, and the video may include any number of video frames, sequences of video frames, pictures, groups of pictures, or the like. Discussion is made with respect to pictures, slices, blocks, and transform blocks for the sake of clarity of presentation. However, such pictures may be characterized as frames, video pictures, sequences of pictures, video sequences, etc., such blocks may be characterized as largest coding units, coding units, coding blocks, macroblocks, sub-units, sub-blocks, etc. As used herein, the term transform block indicates a block of transform coefficients having any size and shape. A picture or frame of color video data may include a luminance plane or component and two chrominance planes or components at the same or different resolutions with respect to the luminance plane. Input video 121 may include pictures or frames that may be divided into blocks of any size, which contain data corresponding to blocks of pixels, blocks of residual values, blocks of transform coefficients, blocks of quantized transform coefficients, etc. Such blocks may include data from or determined from one or more planes or color channels of pixel data.
Notably, in some video encoding contexts, transform coefficients of video pictures 201-208 are quantized to quantized transform coefficients, which are entropy encoded into a bitstream. The number of encoded bits is highly correlated to the number of non-zero coefficients in the quantized transform coefficients and run length(s) of zeros in the quantized transform coefficients. Every time a run of zeros is broken, the bitrate increase is substantial. Since small coefficients (which will be either zero or one after quantization) play an important role in determining the final generated bits while having a minor role in improving video quality, dead-zone quantization techniques have been adopted by coding standards such as AVC, HEVC, AV1, etc.
Furthermore, as shown in
In contrast, dead-zone quantization 402 implements a broader or wider dead-zone 403 such that some values outside of −½Q and +½Q are quantized to zero (in the illustrated example, values of about −1.3Q to +1.3Q are quantized to zero). As discussed herein, the width of dead-zone 403 may be controlled via a rounding offset parameter that is used during transform coefficient quantization. As shown, larger dead-zone 403 quantizes more coefficients to zero, which reduces bitrate at the cost of reduced quality. A smaller dead-zone 403 quantizes fewer coefficients to zero, which increases quality at the cost of increased bitrate.
Such dead-zone quantization 402 may be implemented using any suitable technique or techniques. In some embodiments, dead-zone quantization is implemented using a quantization rounding offset parameter such that larger rounding offset parameters reduce the size of the dead-zone while smaller rounding offset parameters increase the size of the dead-zone. In some embodiments, a dead-zone quantizer is applied using Equation (1) as follows:
where w is the width of deadzone, 1-w/2Q is the quantization rounding offset, Q is the quantized value for an input value of x using a quantization step of Q, floor is the floor function that takes as input a number (e.g., a real number) and provides as output the greatest integer less than or equal to the input, max is the max function that provide a maximum value of the provided inputs, and sign is the sign function that extracts the sign of an input number (e.g., a real number). For example, in implementation, coding a picture may include quantizing a transform coefficient (e.g., x) by adding a quantization rounding offset (e.g., 1-w/2Q) to a ratio of an absolute value of the transform coefficient and a quantizer value (e.g., |x|/Q) to determine a first value (e.g., |x|/Q+1-w/2Q), applying a floor function to the first value to determine a second value, and determining a quantized transform coefficient for the first transform coefficient as a maximum of the second value or zero multiplied by the sign of the first transform coefficient (e.g., sign(x). In some embodiments, the deadzone size range is from Q to 2Q and the rounding offset range is from 0 to 0.5. As illustrated with respect to
Returning to
Rate control module 101 receives video 121 and video parameters 123. Rate control module 101 determines, for individual pictures of video 121, a maximum coding bit limit and a quantization parameter. Rate control module 101 provides a signal 122 including the maximum coding bit limit (e.g., MaxBits) and the quantization parameter (e.g., QP) for individual pictures of of video 121 to comparator module 103. As used herein, the term maximum coding bit limit is a maximum amount of allowed bits for coding a picture. The maximum coding bit limit may be characterized as maximum bits, maximum coding bits, a maximum coding bit limit, or the like for the current picture. In particular, each picture has a corresponding maximum coding bit limit as set by rate control module 101. The maximum coding bit limit for the current picture is determined using any suitable technique or techniques. In an embodiment, the maximum coding bit limit is based on current buffer conditions and/or an average target rate for coding each picture of video 121. In some examples, the maximum coding bit limit, for a current picture of video 121, is a sum of a hypothetical reference decoder buffer fullness (e.g., a current buffer condition) associated with an immediately prior encode picture and an average target rate for each picture of the group of pictures.
Furthermore, the quantization parameter may be a quantization parameter for compressing ranges of values to particular values for a picture. The quantization parameter may be determined using any suitable technique or techniques such as rate control techniques known in the art. Furthermore, during quantization, the quantization parameter or a quantizer determined based in part on the quantization parameter is used to quantize transform coefficients of the individual pictures of video 121.
Rounding offset decision module 111 (e.g., via comparator module 103) receives the maximum coding bit limit and the quantization parameter for the current picture (e.g., for each picture) via signal 122. Comparator module 103 determines whether, for any individual picture of video 121, whether the maximum coding bit limit compares unfavorably to a first threshold (T1) and the quantization parameter compares favorably to a second threshold (T2). If so, comparator module 103 provides a signal to rounding offset minimum set module 106. In response to the maximum coding bit limit comparing unfavorably to a first threshold (T1) and the quantization parameter comparing favorably to a second threshold (T2), rounding offset minimum set module 106 sets a quantization rounding offset for the picture to a minimum value (e.g., and provides a maximum dead-zone for the picture).
As discussed, the maximum coding bit limit for a current picture is compared to a first threshold via comparator module 103. The first threshold may be any suitable value and may be characterized as a maximum coding bit limit threshold. In an embodiment, the first threshold is an adaptive threshold based on picture resolution of the current picture such that the higher the resolution of the current picture, the higher the value of the first threshold. The first threshold may be adapted based on the resolution of the current picture using any suitable technique or techniques. In some examples, the first threshold is a product of a constant value and a total number of largest coding units in the current picture.
Also as discussed, the quantization parameter for a current picture is compared to a second threshold via comparator module 103. The second threshold may be any suitable value and may be characterized as a quantization parameter threshold or the like. In some examples, the second threshold may be a constant value. For example, the second threshold may be a value of about 46 to 51. For example, in some coding contexts, the available quantization parameter may range from 1 to 51 such that the second threshold is a relatively high quantization parameter threshold. In other coding contexts, the available quantization parameter may range from 0 to 255 and the second threshold is in the range of 235-245 with 240 being particularly advantageous. In an embodiment, the second threshold is a particular percentage of a maximum available quantization parameter (e.g., a maximum available quantization parameter allowed by a coding standard, coding profile, etc.). In an embodiment, the second threshold is not less than 90% of the maximum available quantization parameter. In an embodiment, the second threshold is not less than 94% of the maximum available quantization parameter.
The quantization rounding offset is provided as quantization rounding offset signal (QRO) 125 for implementation via quantization module 109 and encoding in bitstream 129 via entropy encoder 110. The minimum quantization rounding offset may be any suitable value such as zero. In an embodiment, any other quantization rounding offset generated by rounding offset decision module 111 is greater than the minimum quantization rounding offset. As shown, quantization module 109 receives transform coefficients 124 corresponding to video 121 for quantization using the pertinent quantization rounding offset as discussed herein.
Returning to comparator module 103, if either the maximum coding bit limit compares favorably to the first threshold (T1) or the quantization parameter compares unfavorably to a second threshold (T2), comparator module 103 provides a signal to scene change or intra picture determination module 104. Based on the received signal, scene change or intra picture determination module 104 determines whether the current picture is a scene change picture (e.g., whether the current picture is associated with a scene change in the content represented by video 121) or whether the current picture is an intra picture. Scene change or intra picture determination module 104 may determine whether the current picture is a scene change picture using any suitable technique or techniques. In some examples, scene change or intra picture determination module 104 determines whether the current picture is a scene change picture based on a comparison of the temporal complexity of the current picture (e.g., as determined via video analysis module 102) to the average temporal complexity of any number of previous pictures. For example, if the temporal complexity of the current picture is greater than the average temporal complexity by a threshold amount (e.g., the difference between the temporal complexity of the current picture and the average temporal complexity is greater than a threshold) or by a particular factor (e.g., the ratio of the temporal complexity of the current picture to the average temporal complexity is greater than a threshold) or the like, the current picture is deemed to be a scene change picture. Scene change or intra picture determination module 104 may determine whether the current picture is an intra picture using any suitable technique or techniques such as receiving such information from an encode controller, analyzing a GOP structure, etc. As used herein, the term intra picture indicates a picture reconstructed using only information from within the picture and without use of information from another picture.
If the current picture is determined to be a scene change picture or an intra picture, scene change or intra picture determination module 104 provides a signal to picture level intra rounding offset module 107. In response to the received signal, picture level intra rounding offset module 107 determines a picture level quantization rounding offset for the picture. In an embodiment, picture level intra rounding offset module 107 sets the quantization rounding offset to a particular value in response to the picture being a scene change picture or an intra picture. In an embodiment, the quantization rounding offset is set to a value greater than quantization rounding offsets used for inter pictures. In an embodiment, the quantization rounding offset for a scene change picture or an intra picture is set to a value in the range of 0.35 to 0.5. In other embodiments, the quantization rounding offset for a scene change picture or an intra picture is determined based on parameters corresponding to the scene change picture or intra picture.
Process 500 begins at operation 501, where a scene change picture or intra picture is received for processing. Processing continues at decision operation 502, where a determination is made as to whether a quantization parameter (QP) for the picture compares favorably to a first threshold (T1), a GOP size of a GOP corresponding to the picture (e.g., a GOP size for the GOP the picture is in) compares favorably to a second threshold (T2), and a resolution of the picture compares favorably to a third threshold (T3). If so, processing continues at operation 503 as discussed below. If any of the above parameters compare unfavorably to their respective thresholds, processing continues at decision operation 504 as discussed below.
The first threshold (T1) may be any suitable threshold value. In an embodiment, the first threshold (T1) is a relatively small QP value. For example, the first threshold may be a value of about 30 in the context of available quantization parameters that range from 0 to 255. In an embodiment, the first threshold is a particular percentage of a maximum available quantization parameter (e.g., a maximum available quantization parameter allowed by a coding standard, coding profile, etc.). In an embodiment, the first threshold is not less than 10% of the maximum available quantization parameter. In an embodiment, the second threshold is not less than 12% of the maximum available quantization parameter. The second threshold (T2) may also be any suitable threshold value. In an embodiment, the second threshold (T2) is a relatively large GOP size. In an embodiment, the second threshold may be a value of about 60 pictures. Furthermore, the third threshold (T3) may also be any suitable threshold value. In an embodiment, the third threshold (T3) is a resolution of 307,200 pixels2 (e.g., VGA resolution of 640×480) such that resolution is measured in the number of pixels in the picture.
When all three thresholds are met, processing continues at operation 503, where the quantization rounding offset is set to a maximum value for a picture level such as a quantization rounding offset in the range of 0.35 to 0.5. As used herein, the term maximum value for a quantization rounding offset indicates a maximum allowable value per the standard or a maximum value for the picture level quantization rounding offset based on the processing discussed herein. Processing continues from operation 503 at operation 510 as discussed below.
When any of the three thresholds are not met processing continues at decision operation 504, where a determination is made as to whether the QP for the picture compares unfavorably to the first threshold (T1), the GOP size corresponding to the picture compares favorably to the second threshold (T2), and the resolution of the picture compares favorably to the third threshold (T3). If so, processing continues at operation 505, where a QP based selection of the picture level quantization rounding offset is made.
The thresholds and quantization rounding offsets illustrated with respect to
Returning to
The thresholds and quantization rounding offsets illustrated with respect to
Returning to
Furthermore, when any two of QP, GOP size, and picture resolution fail to compare favorably to their respective thresholds (or when all three fail to), the quantization rounding offset may be set to a value less than the maximum value such as 0.35 or the quantization rounding offset may be reduced in a step wise manner as any of the failing parameters fall to a lower range. For example, if QP falls to the range of 26-30 and the GOP size falls to the range of 31-59, the quantization rounding offset may be twice reduced by 0.05 from 0.5 to 0.4 as the total number of dropped ranges is two.
After processing at operation 509, processing continues at operation 510. At operation 510, optional block level quantization rounding offset adjustments are made (e.g., via block level rounding offset adjustment module 108) as is discussed further herein. In any event, processing continues at operation 511, where the scene change or intra picture is encoded using the quantization rounding offset selected earlier in process 500 and the corresponding transform coefficients are encoded into a bitstream. When only a picture level quantization rounding offset is used, the picture level quantization rounding offset is used for all transform blocks of the picture. When block level adjustments are made, the picture level quantization rounding offset is used for those transform blocks without adjustment and, for those transform blocks with adjustment, the adjusted quantization rounding offset is used. Such encode includes use of the pertinent quantization rounding offset during quantization of the transform coefficients of the transform block to quantized transform coefficients as discussed herein, such as with respect to Equation (1).
Returning to
Furthermore, video picture 201 may have a temporal correlation 807 and/or a period of static subsequent pictures 808 and video picture 801 may have a temporal correlation 817 and/or a period of static subsequent pictures 818. Such parameters may be determined by video analysis module 102 for non-scene change inter pictures and they may be determined using any suitable technique or techniques. In an embodiment, the temporal correlation is determined as a percentage of intra coded blocks of a previous inter picture of the video picture. In another example embodiment, the temporal correlation is determined as a percentage of blocks with zero motion vector of the current inter picture. In an embodiment, a period of static subsequent frames is determined using a look ahead analysis at subsequent frame and is determined as the duration or number of subsequent frames that are static (e.g., have percentage of blocks with zero motion vector exceeding a threshold, etc.).
As shown in
In some embodiments, intra quantization rounding offsets 804, 814 are set and are not modified based on the temporal parameters of video pictures 201, 801 while picture level inter quantization rounding offsets 806, 816 are varied based on the temporal parameters of video pictures 201, 801 as discussed with respect to
Process 900 begins at operation 901, where a non-scene change inter picture is received for processing. Processing continues at operation 902, where an intra quantization rounding offset is set for the picture such that the intra quantization rounding offset is greater than a subsequent inter quantization rounding offset for the video picture. In an embodiment, the intra quantization rounding offset is in the range of 0.3 to 0.4. Processing continues at decision operation 903, where a determination is made as to whether a picture level temporal correlation for the picture compares favorably to a threshold (T). The picture level temporal correlation may be any suitable value or measure such as a percentage of intra coded blocks of a previous inter picture or a percentage of blocks with zero motion vector of the current inter picture and the threshold (T) may be any suitable value that indicates very strong temporal correlation such as 90% for either measure.
If very strong temporal correlation is detected for the video picture, processing continues at operation 904 where an inter quantization rounding offset is set to a low value. If not, processing continues at operation 905 where an inter quantization rounding offset is set to a high value greater than the value set at operation 904. The high and low values may be any suitable values such that the high value is greater than the low value. In an embodiment, the high value is in the range of 0.15 to 0.25 and the low value is 0.1. In an embodiment, the temporal correlation value is used to access a look up table such that larger temporal correlation values retrieve smaller inter quantization rounding offsets via a series of thresholds.
With reference to
Processing continues at operation 906 from operation 904 or operation 905. At operation 906, optional block level quantization rounding offset adjustments are made (e.g., via block level rounding offset adjustment module 108), the picture is encoded using the inter and intra quantization rounding offsets (optionally adjusted on a block level) and the corresponding transform coefficients are encoded into a bitstream.
Process 1000 begins at operation 1001, where a non-scene change inter picture is received for processing. Processing continues at operation 1002, where an intra quantization rounding offset is set for the picture such that the intra quantization rounding offset is greater than a subsequent inter quantization rounding offset for the video picture. In an embodiment, the intra quantization rounding offset is in the range of 0.3 to 0.4. Processing continues at decision operation 1003, where a determination is made as to whether a period of subsequent static pictures compares favorably to a threshold (T). The period of subsequent static pictures may be any suitable value or measure such as a number of subsequent static pictures, a time duration of subsequent static pictures or the like and the threshold (T) may be any suitable value that indicates a relatively long period such as 15 frames, 30 frames, 0.5 seconds, or 1 second.
If a relatively long period of subsequent static pictures is detected for the video picture, processing continues at operation 1004 where an inter quantization rounding offset is set to a low value. If not, processing continues at operation 1005 where an inter quantization rounding offset is set to a high value greater than the value set at operation 1004. The high and low values may be any suitable values such that the high value is greater than the low value. In an embodiment, the high value is in the range of 0.15 to 0.25 and the low value is 0.1. In an embodiment, the period of subsequent static pictures is used to access a look up table such that larger temporal correlation values retrieve smaller inter quantization rounding offsets via a series of thresholds.
With reference to
Processing continues at operation 1006 from operation 1004 or operation 1005. At operation 1006, optional block level quantization rounding offset adjustments are made (e.g., via block level rounding offset adjustment module 108), the picture is encoded using the inter and intra quantization rounding offsets (optionally adjusted on a block level) and the corresponding transform coefficients are encoded into a bitstream.
In an embodiment, both temporal correlation and period of static subsequent pictures are used to determine the picture level inter quantization rounding offsets. In an embodiment, only when both compare favorably to their respective thresholds, the picture level inter quantization rounding offset is set to a low value and, otherwise, the picture level inter quantization rounding offset is set to a high value.
In some embodiments, with reference to
Process 1100 begins at operation 1101, where a non-scene change inter picture is received for processing and continues at operation 1102, where an intra quantization rounding offset is set for the picture such that the intra quantization rounding offset is greater than a subsequent inter quantization rounding offset for the video picture. In an embodiment, the intra quantization rounding offset is in the range of 0.3 to 0.4. Processing continues at operation 1103, where an inter quantization rounding offset is set for the picture using any suitable technique or techniques such as setting to a preset value, setting based on temporal correlation and/or look ahead analysis, etc. For example, the inter quantization rounding offset may be set using any suitable technique or techniques discussed herein.
Processing continues at decision operation 1104, where a determination is made as to whether the picture is a P (predicted) picture or a reference B (bidirectional) picture. As used herein, a P picture is a picture encoded using information from other pictures (e.g., via motion estimation and compensation) and is a picture available as a reference for the encoding of other pictures. Furthermore a reference B picture is a picture that is also encoded using information from other pictures (e.g., via motion estimation and compensation) and is a picture available as a reference for the encoding of other pictures. As used herein, the term reference picture (of any type) indicates a picture that is used for motion estimation and compensation of a different picture. Notably a P picture is a reference picture. Furthermore, the term non-reference picture (of any type) indicates a picture that cannot be used for motion estimation and compensation of a different picture.
If the picture is a reference picture (e.g., P picture or reference B picture), processing continues at operation 1105, wherein the intra and inter quantization rounding offsets are increased by any amount such as 0.1. If not, processing continues at decision operation 1106, where a determination is made as to whether the picture is a non-reference B picture. If the picture is a non-reference picture (e.g., non-reference B picture), processing continues at operation 1107, wherein the intra and inter quantization rounding offsets are decreased by any amount such as 0.05 (e.g., an adjustment of −0.05 is made).
Processing continues at operation 1108 from operation 1105 or operation 1107. At operation 1108, optional block level quantization rounding offset adjustments are made (e.g., via block level rounding offset adjustment module 108), the picture is encoded using the inter and intra quantization rounding offsets (optionally adjusted on a block level) and the corresponding transform coefficients are encoded into a bitstream. For example, as discussed with respect to process 1100, when a hierarchical coding structure is used, P pictures and/or reference B pictures may use bigger rounding offsets and non-reference B pictures may use smaller rounding offsets. In an embodiment, a fixed positive value of 0.1 is added to the estimated quantization rounding offsets for P pictures and/or reference B pictures and a negative value −0.05 is added to the estimated quantization rounding offsets for non-reference B pictures.
Returning to
Such block level rounding offset adjustments may be made by block level rounding offset adjustment module 108 using any suitable technique or techniques such as those discussed with respect to
Process 1200 begins at operation 1201, where a transform block of transform coefficients is selected. The transform block of transform coefficients may be generated using any suitable technique or techniques such as intra or inter prediction to generate a predicted block, differencing the predicted block with an actual block to determine a residual block and transforming the residual block or a sub-block thereof to the frequency domain generate the transform block of transform coefficients. Alternatively, an actual block of pixel values or a sub-block thereof may be transformed to the frequency domain to generate the transform block of transform coefficients.
Processing continues at operation 1202, where the transform block of transform coefficients is quantized using a picture level quantization rounding offset to generate a quantized transform block of quantized transform coefficients. The picture level quantization rounding offset may be selected using any suitable technique or techniques discussed herein. The quantization may be performed using any suitable technique or techniques that applies a quantization rounding offset, such as those discussed with respect to Equation (1).
Processing continues at operation 1203, where a number of non-zero quantized transform coefficients for the block is determined using any suitable technique or techniques such as analyzing each coefficient to determine if it is non-zero and, if so, incrementing a counter. Processing continues at decision operation 1204, where a determination is made as to whether the number of non-zero quantized transform coefficients compares unfavorably to a first threshold (T1). The first threshold (T1) may be any suitable value. In an embodiment, the first threshold (T1) is a variable threshold that varies based on the size of the transform block such that the threshold is a greater value for larger transform blocks. In an embodiment, for a 4×4 transform block, the first threshold is 4. In an embodiment, for an 8×8 transform block, the first threshold is 16. In an embodiment, the first threshold is a percentage of the number of quantized transform coefficients such as 25% of the number of quantized transform coefficients.
If so, processing continues at operation 1205, where a first negative adjustment is made to the picture level quantization rounding offset to determine a block level quantization rounding offset for the transform block. The first negative adjustment may be any suitable value such as an adjustment of about −0.14.
If not, processing continues at decision operation 1206, where a determination is made as to whether the number of non-zero quantized transform coefficients compares unfavorably to a second threshold (T2) that is greater than the first threshold. The second threshold (T2) may be any suitable value that is greater than the first threshold. In an embodiment, the second threshold (T2) is a variable threshold that varies based on the size of the transform block such that the threshold is a greater value for larger transform blocks. In an embodiment, for a 4×4 transform block, the second threshold is 6. In an embodiment, for an 8×8 transform block, the second threshold is 12. In an embodiment, the second threshold is a percentage of the number of quantized transform coefficients such as 37.5.
If the number of non-zero quantized transform coefficients compares unfavorably to the second threshold, processing continues at operation 1207, where a second negative adjustment is made to the picture level quantization rounding offset to determine a block level quantization rounding offset for the transform block such that the a second negative adjustment is not as large (in absolute value terms) as the first negative adjustment. The second negative adjustment may be any suitable value such as an adjustment of about −0.07. In some embodiments, additional thresholding and negative adjustments are made. For example, if the number of non-zero quantized transform coefficients compares unfavorably to a third threshold (larger than the second threshold), a third negative adjustment may be made to the picture level quantization rounding offset to determine a block level quantization rounding offset for the transform block such that the a third negative adjustment is not as large as the second negative adjustment.
As discussed, each block is first quantized by using the picture level rounding offset, then the number of non-zero quantized coefficients are counted for the block. The counted number of non-zero quantized coefficients is compared to two (or more) block size dependent thresholds. If the number of non-zero coefficients is less than T1, a negative adjustment is applied to the picture level rounding offset such that a smaller rounding offset is used for the block. If the number of non-zero coefficients is smaller than T2, another negative adjustment is applied to the picture level rounding offset such that smaller rounding offset (although not as small as the smaller rounding offset discussed with respect to T1) is used for the block, and so on.
Processing continues at operation 1208 from operation 1205 or 1207, where the transform block of transform coefficients selected at operation 1201 is quantized using the adjusted quantization rounding offset generated earlier in process 1200 to determine quantized transform coefficients. The quantization may be performed using any suitable technique or techniques such as the same operation(s) discussed with respect to operation 1202. Processing continues at operation 1209, where the quantized transform coefficients are encoded into a bitstream. Process 1200 may be repeated for all transform blocks of a video picture.
Process 1300 begins at operation 1301, where a transform block of transform coefficients is selected. The transform block of transform coefficients may be generated using any suitable technique or techniques such as those discussed with respect to operation 1201 of process 1200. Processing continues at operation 1302, where a measure of prediction residue is determined for the transform block based on the final mode selected for the transform block. The measure of prediction residue may be determined using any suitable technique or techniques. In an embodiment, the measure of prediction residue is a sum of absolute differences (SAD) of the error in the transform block.
Processing continues at decision operation 1303, where a determination is made as to whether the measure of prediction residue compares unfavorably to a first threshold (T1). The first threshold (T1) may be any suitable value. In an embodiment, the first threshold (T1) is a variable threshold that varies based on the size of the transform block such that the threshold is a greater value for larger transform blocks. If so, processing continues at operation 1304, where a first negative adjustment is made to the picture level quantization rounding offset to determine a block level quantization rounding offset for the transform block. The first negative adjustment may be any suitable value such as an adjustment of about −0.14.
If not, processing continues at decision operation 1305, where a determination is made as to whether the measure of prediction residue compares unfavorably to a second threshold (T2) that is greater than the first threshold. The second threshold (T2) may be any suitable value that is greater than the first threshold. In an embodiment, the second threshold (T2) is a variable threshold that varies based on the size of the transform block such that the threshold is a greater value for larger transform blocks. If the measure of prediction residue compares unfavorably to the second threshold, processing continues at operation 1306, where a second negative adjustment is made to the picture level quantization rounding offset to determine a block level quantization rounding offset for the transform block such that the a second negative adjustment is not as large (in absolute value terms) as the first negative adjustment. The second negative adjustment may be any suitable value such as an adjustment of about −0.07. In some embodiments, additional thresholding and negative adjustments are made. For example, if the measure of prediction residue compares unfavorably to a third threshold (larger than the second threshold), a third negative adjustment may be made to the picture level quantization rounding offset to determine a block level quantization rounding offset for the transform block such that the a third negative adjustment is not as large as the second negative adjustment.
As discussed, a measure of prediction residue is determined for each block and compared to a set of thresholds such that a negative adjustment is applied on top of the picture level quantization rounding offset such that smaller quantization rounding offsets are used for blocks with less prediction residue.
Processing continues at operation 1307 from operation 1304 or 1306, where the transform block of transform coefficients selected at operation 1301 is quantized using the adjusted quantization rounding offset generated earlier in process 1300 to determine quantized transform coefficients. The quantization may be performed using any suitable technique or techniques such as the same operation(s) discussed with respect to operation 1302. Processing continues at operation 1308, where the quantized transform coefficients are encoded into a bitstream. Process 1300 may be repeated for all transform blocks of a video picture.
Returning to
As shown, entropy encoder 110 receives quantized transform coefficients 128. Entropy encoder 110 encodes quantized transform coefficients 128 into a bitstream, such as a standards compliant bitstream, and transmits the bitstream to memory, to another device for storage, to another device for decode, etc.
As shown in
In some embodiments, as discussed with respect to
As shown, mode selection module 1513 (e.g., via a switch), may select, for a coding unit or block or the like between a best intra-prediction mode and a best inter-prediction mode based on minimum coding cost or the like. Based on the mode selection, a predicted portion of the video frame may be differenced via differencer 1511 with the original portion of the video frame (e.g., of input video 121) to generate a residual. The residual may be transferred to transform and quantization module 1504, which may transform (e.g., via a discrete cosine transform or the like) the residual to determine transform coefficients and quantize the transform coefficients using the picture level QP, picture level quantization rounding offset(s), and block level quantization rounding offset(s) discussed herein. The quantized transform coefficients may be encoded via entropy encoder 113 into encoded bitstream 129. Other data, such as motion vector residuals, modes data, transform size data, or the like may also be encoded and inserted into encoded bitstream 129 for the portion of the video frame.
Furthermore, the quantized transform coefficients may be inverse quantized and inverse transformed via inverse quantization and transform module 1505 to generate a reconstructed residual. The reconstructed residual may be combined with the aforementioned predicted portion at adder 1512 to form a reconstructed portion, which may be deblocked via deblocking module 1506 and optionally in-loop filtered via loop filter module 1514 to generate a reconstructed picture. The reconstructed picture is then saved to picture buffer 1507 and used for encoding other portions of the current or other video frames. Such processing may be repeated for each video frame of input video 121.
As shown, in some embodiments, rate control module 101, video analysis module 102, rounding offset decision module 111, quantization module 109, and entropy encoder 110 are implemented via video processor 1702. In other embodiments, one or more or portions of rate control module 101, video analysis module 102, rounding offset decision module 111, quantization module 109, and entropy encoder 110 are implemented via central processor 1701 or another processing unit such as an image processor, a graphics processor, or the like.
Video processor 1702 may include any number and type of video, image, or graphics processing units that may provide the operations as discussed herein. Such operations may be implemented via software or hardware or a combination thereof. For example, video processor 1702 may include circuitry dedicated to manipulate pictures, picture data, or the like obtained from memory 1703. Central processor 1701 may include any number and type of processing units or modules that may provide control and other high level functions for system 1700 and/or provide any operations as discussed herein. Memory 1703 may be any type of memory such as volatile memory (e.g., Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), etc.) or non-volatile memory (e.g., flash memory, etc.), and so forth. In a non-limiting example, memory 1703 may be implemented by cache memory.
In an embodiment, one or more or portions of rate control module 101, video analysis module 102, rounding offset decision module 111, quantization module 109, and entropy encoder 110 are implemented via an execution unit (EU). The EU may include, for example, programmable logic or circuitry such as a logic core or cores that may provide a wide array of programmable logic functions. In an embodiment, one or more or portions of rate control module 101, video analysis module 102, rounding offset decision module 111, quantization module 109, and entropy encoder 110 are implemented via dedicated hardware such as fixed function circuitry or the like. Fixed function circuitry may include dedicated logic or circuitry and may provide a set of fixed function entry points that may map to the dedicated logic for a fixed purpose or function.
Returning to discussion of
Processing continues at operation 1602, where a quantization rounding offset is determined for the individual picture based at least in part on a comparison of the maximum coding bit limit and the quantization parameter to first and second thresholds such that an increasing quantization rounding offset provides a decreasing dead-zone width for quantization of transform coefficients of the individual picture. In an embodiment, the quantization rounding offset for the individual picture is set to a first quantization rounding offset in response to the maximum coding bit limit comparing unfavorably to the first threshold and the quantization parameter comparing favorably to the second threshold and, otherwise, to a second quantization rounding offset greater than the first value.
In an embodiment, in response to the maximum coding bit limit comparing favorably to the first threshold or the quantization parameter comparing unfavorably to the second threshold, process 1600 further includes determining, in response to the individual picture being a scene change picture or an intra picture, the second quantization rounding offset as a picture level quantization rounding offset for the individual picture based on the quantization parameter, a video resolution of the individual picture, and a size of the group of pictures. In an embodiment, in response to the quantization parameter comparing favorably to a third threshold, the video resolution of the individual picture comparing favorably to a fourth threshold, and the size of the group of pictures comparing favorably to a fifth threshold, the picture level quantization rounding offset for the individual picture is set to a first value and, otherwise, to a second value less than the first value. In an embodiment, in response to the quantization parameter having a first value, the picture level quantization rounding offset is set to a third value, and, in response to the quantization parameter having a second value less than the first value, the picture level quantization rounding offset is set to a fourth value less than the third value. In an embodiment, in response to the quantization parameter having a third value less than the second value, the picture quantization rounding offset is set to the second quantization rounding offset.
In an embodiment, in response to the maximum coding bit limit comparing favorably to the first threshold or the quantization parameter comparing unfavorably to the second threshold, process 1600 further includes determining, in response to the individual picture being an inter picture, the second quantization rounding offset as an inter block quantization rounding offset for inter blocks of the individual picture and a third quantization rounding offset for intra blocks of the individual picture such that the third quantization rounding offset is greater than the second quantization rounding offset. In an embodiment, process 1600 further includes determining a first temporal correlation value for the individual picture, determining a second temporal correlation value for a second inter picture of the video sequence such that the second temporal correlation value exceeds the first temporal correlation value, and setting, in response to the second temporal correlation value exceeding a third threshold, a fourth quantization rounding offset for inter blocks of the second inter picture that is less than the second quantization rounding offset. In an embodiment, process 1600 further includes performing a look ahead analysis for the individual picture to determine a first period of subsequent static frames for the individual picture, performing a look ahead analysis for a second inter picture of the video sequence to determine a second period of subsequent static frames for the second inter picture, wherein the second period exceeds the first period, and setting, in response to the second period exceeding a third threshold, a fourth quantization rounding offset for inter blocks of the second inter picture that is greater than the second quantization rounding offset. In an embodiment, the individual picture is a P picture or a reference B picture and a second picture of the group of pictures is a non-reference B picture and process 1600 further includes setting, in response to the second picture being a non-reference B picture, a fourth quantization rounding offset for inter blocks of the second picture that is less than the second quantization rounding offset.
In an embodiment, the quantization rounding offset is a picture level quantization rounding offset and process 1600 further includes quantizing transform coefficients of first and second transform blocks of the individual picture using the picture level quantization rounding offset to generate first and second blocks of quantized transform coefficients, comparing first and second numbers of non-zero quantized transform coefficients of the first and second blocks of quantized transform coefficients to a third threshold and a fourth threshold greater than the third threshold, quantizing the transform coefficients of the first transform block using a first block level quantization rounding offset in response to the first number of non-zero quantized transform coefficients comparing unfavorably to the third threshold, and quantizing the transform coefficients of the second transform block using a second block level quantization rounding offset in response to the second number of non-zero quantized transform coefficients comparing favorably to the third threshold and unfavorably to the fourth threshold such that the first block level quantization rounding offset is less than the second block level quantization rounding offset.
In an embodiment, the quantization rounding offset is a picture level quantization rounding offset and process 1600 further includes comparing first and second prediction residue values for first and second transform blocks of the individual picture to a third threshold and a fourth threshold greater than the third threshold, quantizing transform coefficients of the first transform block using a first block level quantization rounding offset in response to the first prediction residue value comparing unfavorably to the third threshold, and quantizing transform coefficients of the second transform block using a second block level quantization rounding offset in response to the second prediction residue value comparing favorably to the third threshold and unfavorably to the fourth threshold such that the first block level quantization rounding offset is less than the second block level quantization rounding offset.
Processing continues at operation 1603, where the individual picture is coded based at least in part on the quantization rounding offset to generate a bitstream. In an embodiment, coding the individual picture includes quantizing a first transform coefficient by adding the quantization rounding offset to a ratio of an absolute value of the first transform coefficient and a quantizer value to determine a first value, applying a floor function to the first value to determine a second value, and determining a quantized transform coefficient for the first transform coefficient as a maximum of the second value or zero multiplied by the sign of the first transform coefficient. In an embodiment, the bitstream is a standard compliant bitstream and the first value is a minimum allowable frame level quantization rounding offset of the standard.
Process 1600 may be repeated any number of times either in series or in parallel for any number of pictures or video segments or the like. As discussed, process 1600 may provide for video encoding including constrained direction enhancement filter selection.
Various components of the systems described herein may be implemented in software, firmware, and/or hardware and/or any combination thereof. For example, various components of the systems or devices discussed herein may be provided, at least in part, by hardware of a computing System-on-a-Chip (SoC) such as may be found in a computing system such as, for example, a smart phone. Those skilled in the art may recognize that systems described herein may include additional components that have not been depicted in the corresponding figures. For example, the systems discussed herein may include additional components such as bit stream multiplexer or de-multiplexer modules and the like that have not been depicted in the interest of clarity.
While implementation of the example processes discussed herein may include the undertaking of all operations shown in the order illustrated, the present disclosure is not limited in this regard and, in various examples, implementation of the example processes herein may include only a subset of the operations shown, operations performed in a different order than illustrated, or additional operations.
In addition, any one or more of the operations discussed herein may be undertaken in response to instructions provided by one or more computer program products. Such program products may include signal bearing media providing instructions that, when executed by, for example, a processor, may provide the functionality described herein. The computer program products may be provided in any form of one or more machine-readable media. Thus, for example, a processor including one or more graphics processing unit(s) or processor core(s) may undertake one or more of the blocks of the example processes herein in response to program code and/or instructions or instruction sets conveyed to the processor by one or more machine-readable media. In general, a machine-readable medium may convey software in the form of program code and/or instructions or instruction sets that may cause any of the devices and/or systems described herein to implement at least portions of the operations discussed herein and/or any portions the devices, systems, or any module or component as discussed herein.
As used in any implementation described herein, the term “module” refers to any combination of software logic, firmware logic, hardware logic, and/or circuitry configured to provide the functionality described herein. The software may be embodied as a software package, code and/or instruction set or instructions, and “hardware”, as used in any implementation described herein, may include, for example, singly or in any combination, hardwired circuitry, programmable circuitry, state machine circuitry, fixed function circuitry, execution unit circuitry, and/or firmware that stores instructions executed by programmable circuitry. The modules may, collectively or individually, be embodied as circuitry that forms part of a larger system, for example, an integrated circuit (IC), system on-chip (SoC), and so forth.
In various implementations, system 1800 includes a platform 1802 coupled to a display 1820. Platform 1802 may receive content from a content device such as content services device(s) 1830 or content delivery device(s) 1840 or other similar content sources. A navigation controller 1850 including one or more navigation features may be used to interact with, for example, platform 1802 and/or display 1820. Each of these components is described in greater detail below.
In various implementations, platform 1802 may include any combination of a chipset 1805, processor 1810, memory 1812, antenna 1813, storage 1814, graphics subsystem 1815, applications 1816 and/or radio 1818. Chipset 1805 may provide intercommunication among processor 1810, memory 1812, storage 1814, graphics subsystem 1815, applications 1816 and/or radio 1818. For example, chipset 1805 may include a storage adapter (not depicted) capable of providing intercommunication with storage 1814.
Processor 1810 may be implemented as a Complex Instruction Set Computer (CISC) or Reduced Instruction Set Computer (RISC) processors, x86 instruction set compatible processors, multi-core, or any other microprocessor or central processing unit (CPU). In various implementations, processor 1810 may be dual-core processor(s), dual-core mobile processor(s), and so forth.
Memory 1812 may be implemented as a volatile memory device such as, but not limited to, a Random Access Memory (RAM), Dynamic Random Access Memory (DRAM), or Static RAM (SRAM).
Storage 1814 may be implemented as a non-volatile storage device such as, but not limited to, a magnetic disk drive, optical disk drive, tape drive, an internal storage device, an attached storage device, flash memory, battery backed-up SDRAM (synchronous DRAM), and/or a network accessible storage device. In various implementations, storage 1814 may include technology to increase the storage performance enhanced protection for valuable digital media when multiple hard drives are included, for example.
Graphics subsystem 1815 may perform processing of images such as still or video for display. Graphics subsystem 1815 may be a graphics processing unit (GPU) or a visual processing unit (VPU), for example. An analog or digital interface may be used to communicatively couple graphics subsystem 1815 and display 1820. For example, the interface may be any of a High-Definition Multimedia Interface, DisplayPort, wireless HDMI, and/or wireless HD compliant techniques. Graphics subsystem 1815 may be integrated into processor 1810 or chipset 1805. In some implementations, graphics subsystem 1815 may be a stand-alone device communicatively coupled to chipset 1805.
The graphics and/or video processing techniques described herein may be implemented in various hardware architectures. For example, graphics and/or video functionality may be integrated within a chipset. Alternatively, a discrete graphics and/or video processor may be used. As still another implementation, the graphics and/or video functions may be provided by a general purpose processor, including a multi-core processor. In further embodiments, the functions may be implemented in a consumer electronics device.
Radio 1818 may include one or more radios capable of transmitting and receiving signals using various suitable wireless communications techniques. Such techniques may involve communications across one or more wireless networks. Example wireless networks include (but are not limited to) wireless local area networks (WLANs), wireless personal area networks (WPANs), wireless metropolitan area network (WMANs), cellular networks, and satellite networks. In communicating across such networks, radio 1818 may operate in accordance with one or more applicable standards in any version.
In various implementations, display 1820 may include any television type monitor or display. Display 1820 may include, for example, a computer display screen, touch screen display, video monitor, television-like device, and/or a television. Display 1820 may be digital and/or analog. In various implementations, display 1820 may be a holographic display. Also, display 1820 may be a transparent surface that may receive a visual projection. Such projections may convey various forms of information, images, and/or objects. For example, such projections may be a visual overlay for a mobile augmented reality (MAR) application. Under the control of one or more software applications 1816, platform 1802 may display user interface 1822 on display 1820.
In various implementations, content services device(s) 1830 may be hosted by any national, international and/or independent service and thus accessible to platform 1802 via the Internet, for example. Content services device(s) 1830 may be coupled to platform 1802 and/or to display 1820. Platform 1802 and/or content services device(s) 1830 may be coupled to a network 1860 to communicate (e.g., send and/or receive) media information to and from network 1860. Content delivery device(s) 1840 also may be coupled to platform 1802 and/or to display 1820.
In various implementations, content services device(s) 1830 may include a cable television box, personal computer, network, telephone, Internet enabled devices or appliance capable of delivering digital information and/or content, and any other similar device capable of uni-directionally or bi-directionally communicating content between content providers and platform 1802 and/display 1820, via network 1860 or directly. It will be appreciated that the content may be communicated uni-directionally and/or bi-directionally to and from any one of the components in system 1800 and a content provider via network 1860. Examples of content may include any media information including, for example, video, music, medical and gaming information, and so forth.
Content services device(s) 1830 may receive content such as cable television programming including media information, digital information, and/or other content. Examples of content providers may include any cable or satellite television or radio or Internet content providers. The provided examples are not meant to limit implementations in accordance with the present disclosure in any way.
In various implementations, platform 1802 may receive control signals from navigation controller 1850 having one or more navigation features. The navigation features of may be used to interact with user interface 1822, for example. In various embodiments, navigation may be a pointing device that may be a computer hardware component (specifically, a human interface device) that allows a user to input spatial (e.g., continuous and multi-dimensional) data into a computer. Many systems such as graphical user interfaces (GUI), and televisions and monitors allow the user to control and provide data to the computer or television using physical gestures.
Movements of the navigation features of may be replicated on a display (e.g., display 1820) by movements of a pointer, cursor, focus ring, or other visual indicators displayed on the display. For example, under the control of software applications 1816, the navigation features located on navigation may be mapped to virtual navigation features displayed on user interface 1822, for example. In various embodiments, may not be a separate component but may be integrated into platform 1802 and/or display 1820. The present disclosure, however, is not limited to the elements or in the context shown or described herein.
In various implementations, drivers (not shown) may include technology to enable users to instantly turn on and off platform 1802 like a television with the touch of a button after initial boot-up, when enabled, for example. Program logic may allow platform 1802 to stream content to media adaptors or other content services device(s) 1830 or content delivery device(s) 1840 even when the platform is turned “off.” In addition, chipset 1805 may include hardware and/or software support for 5.1 surround sound audio and/or high definition 7.1 surround sound audio, for example. Drivers may include a graphics driver for integrated graphics platforms. In various embodiments, the graphics driver may include a peripheral component interconnect (PCI) Express graphics card.
In various implementations, any one or more of the components shown in system 1800 may be integrated. For example, platform 1802 and content services device(s) 1830 may be integrated, or platform 1802 and content delivery device(s) 1840 may be integrated, or platform 1802, content services device(s) 1830, and content delivery device(s) 1840 may be integrated, for example. In various embodiments, platform 1802 and display 1820 may be an integrated unit. Display 1820 and content service device(s) 1830 may be integrated, or display 1820 and content delivery device(s) 1840 may be integrated, for example. These examples are not meant to limit the present disclosure.
In various embodiments, system 1800 may be implemented as a wireless system, a wired system, or a combination of both. When implemented as a wireless system, system 1800 may include components and interfaces suitable for communicating over a wireless shared media, such as one or more antennas, transmitters, receivers, transceivers, amplifiers, filters, control logic, and so forth. An example of wireless shared media may include portions of a wireless spectrum, such as the RF spectrum and so forth. When implemented as a wired system, system 1800 may include components and interfaces suitable for communicating over wired communications media, such as input/output (I/O) adapters, physical connectors to connect the I/O adapter with a corresponding wired communications medium, a network interface card (NIC), disc controller, video controller, audio controller, and the like. Examples of wired communications media may include a wire, cable, metal leads, printed circuit board (PCB), backplane, switch fabric, semiconductor material, twisted-pair wire, co-axial cable, fiber optics, and so forth.
Platform 1802 may establish one or more logical or physical channels to communicate information. The information may include media information and control information. Media information may refer to any data representing content meant for a user. Examples of content may include, for example, data from a voice conversation, videoconference, streaming video, electronic mail (“email”) message, voice mail message, alphanumeric symbols, graphics, image, video, text and so forth. Data from a voice conversation may be, for example, speech information, silence periods, background noise, comfort noise, tones and so forth. Control information may refer to any data representing commands, instructions or control words meant for an automated system. For example, control information may be used to route media information through a system, or instruct a node to process the media information in a predetermined manner The embodiments, however, are not limited to the elements or in the context shown or described in
As described above, system 1800 may be embodied in varying physical styles or form factors.
Examples of a mobile computing device may include a personal computer (PC), laptop computer, ultra-laptop computer, tablet, touch pad, portable computer, handheld computer, palmtop computer, personal digital assistant (PDA), cellular telephone, combination cellular telephone/PDA, smart device (e.g., smart phone, smart tablet or smart mobile television), mobile internet device (MID), messaging device, data communication device, cameras, and so forth.
Examples of a mobile computing device also may include computers that are arranged to be worn by a person, such as a wrist computers, finger computers, ring computers, eyeglass computers, belt-clip computers, arm-band computers, shoe computers, clothing computers, and other wearable computers. In various embodiments, for example, a mobile computing device may be implemented as a smart phone capable of executing computer applications, as well as voice communications and/or data communications. Although some embodiments may be described with a mobile computing device implemented as a smart phone by way of example, it may be appreciated that other embodiments may be implemented using other wireless mobile computing devices as well. The embodiments are not limited in this context.
As shown in
Various embodiments may be implemented using hardware elements, software elements, or a combination of both. Examples of hardware elements may include processors, microprocessors, circuits, circuit elements (e.g., transistors, resistors, capacitors, inductors, and so forth), integrated circuits, application specific integrated circuits (ASIC), programmable logic devices (PLD), digital signal processors (DSP), field programmable gate array (FPGA), logic gates, registers, semiconductor device, chips, microchips, chip sets, and so forth. Examples of software may include software components, programs, applications, computer programs, application programs, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, procedures, software interfaces, application program interfaces (API), instruction sets, computing code, computer code, code segments, computer code segments, words, values, symbols, or any combination thereof. Determining whether an embodiment is implemented using hardware elements and/or software elements may vary in accordance with any number of factors, such as desired computational rate, power levels, heat tolerances, processing cycle budget, input data rates, output data rates, memory resources, data bus speeds and other design or performance constraints.
One or more aspects of at least one embodiment may be implemented by representative instructions stored on a machine-readable medium which represents various logic within the processor, which when read by a machine causes the machine to fabricate logic to perform the techniques described herein. Such representations, known as IP cores may be stored on a tangible, machine readable medium and supplied to various customers or manufacturing facilities to load into the fabrication machines that actually make the logic or processor.
While certain features set forth herein have been described with reference to various implementations, this description is not intended to be construed in a limiting sense. Hence, various modifications of the implementations described herein, as well as other implementations, which are apparent to persons skilled in the art to which the present disclosure pertains are deemed to lie within the spirit and scope of the present disclosure.
It will be recognized that the embodiments are not limited to the embodiments so described, but can be practiced with modification and alteration without departing from the scope of the appended claims. For example, the above embodiments may include specific combination of features. However, the above embodiments are not limited in this regard and, in various implementations, the above embodiments may include the undertaking only a subset of such features, undertaking a different order of such features, undertaking a different combination of such features, and/or undertaking additional features than those features explicitly listed. The scope of the embodiments should, therefore, be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.
This application is a continuation of and claims priority to U.S. patent application Ser. No. 16/195,531, filed on Nov. 19, 2018 and titled “CONTENT ADAPTIVE QUANTIZATION FOR VIDEO CODING”, which is incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 16195531 | Nov 2018 | US |
Child | 17125463 | US |