Regrouping of video data in host memory

Information

  • Patent Grant
  • 11700414
  • Patent Number
    11,700,414
  • Date Filed
    Sunday, December 5, 2021
    3 years ago
  • Date Issued
    Tuesday, July 11, 2023
    a year ago
  • Inventors
  • Original Assignees
    • MEALANOX TECHNOLOGIES, LTD.
  • Examiners
    • Huang; Frank F
    Agents
    • Kligler & Associates Patent Attorneys Ltd.
Abstract
Apparatus for data communications includes a host interface, which is configured to be connected to a bus of a host computer having a processor and a memory. Processing circuitry, which is coupled to the host interface, is configured to receive video data with respect to a sequence of pixels, the video data including data words of more than eight bits per pixel for at least one pixel component of the pixels, and to write the video data, via the host interface, to at least one buffer in the memory while justifying the video data in the memory so that the successive pixels in the sequence are byte-aligned in the at least one buffer.
Description
FIELD OF THE INVENTION

The present invention relates generally to network data communications, and particularly to methods and apparatus for handling streams of video data transmitted over a network.


BACKGROUND

High-speed packet streaming schemes are commonly used in transmitting real-time video across a network. For professional applications, these schemes typically combine multiple pixels of raw (uncompressed) video data into large Internet Protocol (IP) packets. A number of standard protocols have been developed for this purpose. For example, the SMPTE 2022-6:2012 standard, entitled “Transport of High Bit Rate Media Signals over IP Networks (HBRMT)” specifies a format for transport of high bit-rate signals (including uncompressed video at bit rates of 3 Gbps) that are not encapsulated in MPEG-2 transport streams over IP networks using the Real-time Transport Protocol (RTP).


As another example, Request for Comments (RFC) 4175 of the Internet Engineering Task Force (IETF) defines an RTP payload format for uncompressed video. This payload format supports transport of pixel data in both RGB and various YCbCr (luminance/chrominance) formats. For instance, in YCbCr 4:2:2 format video, the Cb and Cr components are horizontally sub-sampled by a factor of two (so that each Cb and Cr sample corresponds to two Y components). Samples are assembled into packets in the order Cb0-Y0-Cr0-Y1, at 8, 10, 12 or 16 bits per sample.


The terms “luminance” and “chrominance” are used in the present description and in the claims to refer generically to component representations of video color space in which light intensity information, or luminance pixel component (often represented by Y or Y′), is separated from color information, or chrominance pixel components (represented, for example, as Cb/Cr, CB/CR, PB/PR, or U/V). Although there are some differences in computation of the different sorts of measures of luminance and chrominance and in the terminology used in referring to these measures, the principles of the present invention, as described below, are applicable to all such representations of video data.


SUMMARY

Embodiments of the present invention that are described hereinbelow provide improved methods and apparatus for handling video data in a host computer.


There is therefore provided, in accordance with an embodiment of the invention, apparatus for data communications, including a host interface, which is configured to be connected to a bus of a host computer having a processor and a memory. Processing circuitry, which is coupled to the host interface, is configured to receive video data including interleaved words of luminance data and chrominance data with respect to a sequence of pixels, and to separate the luminance data from the chrominance data and to write the luminance data, via the host interface, to a luminance buffer in the memory while writing the chrominance data, via the host interface, to at least one chrominance buffer in the memory, separate from the luminance buffer.


In a disclosed embodiment, the apparatus includes a network interface, which is configured to receive from a packet communication network data packets containing the video data.


In one embodiment, the chrominance data include Cr component data and Cb component data, and the at least one chrominance buffer includes separate first and second buffers, and the processing circuitry is configured to separate the Cr component data from the Cb component data and to write the Cr component data to the first buffer while writing the Cb component data to the second buffer.


Additionally or alternatively, when the interleaved pixel components include more than eight bits per component, the processing circuitry can be configured to justify at least the luminance data in the memory so that the luminance data with respect to successive pixels in the sequence are byte-aligned in the luminance buffer.


There is also provided, in accordance with an embodiment of the invention, apparatus for data communications, including a host interface, which is configured to be connected to a bus of a host computer having a processor and a memory. Processing circuitry, which is coupled to the host interface, is configured to receive video data with respect to a sequence of pixels, the video data including data words of more than eight bits per pixel for at least one pixel component of the pixels, and to write the video data, via the host interface, to at least one buffer in the memory while justifying the video data in the memory so that the successive pixels in the sequence are byte-aligned in the at least one buffer.


In some embodiments, the processing circuitry is configured to separate the data words into respective most significant bytes and remainders, and to justify the video data by writing the most significant bytes from the successive pixels to successive bytes in the buffer. In a disclosed embodiment, the processing circuitry is configured to separate the video data into subsequences including a predefined number of pixels in each subsequence, and to write the most significant bytes from the successive pixels in each subsequence to the predefined number of the successive bytes in the buffer, while grouping the remainders from the pixels in the subsequence into one or more further bytes in the buffer.


In an example embodiment, the data words include twelve bits per pixel component, and wherein the predefined number is four, and the processing circuitry is configured to separate each of the remainders into two most significant bits and two least significant bits, and to write the two most significant bits from all the remainders in each subsequence to a first one of the further bytes, while writing the two least significant bits from all the remainders in the subsequence to a second one of the further bytes.


Additionally or alternatively, the processing circuitry is configured to drop at least a predefined portion of the bits in the remainders without writing the predefined portion of the bits to the memory.


Further additionally or alternatively, when the video data include luminance data and chrominance data with respect to the sequence of pixels, the processing circuitry can be configured to write the luminance data and the chrominance data to separate, respective buffers in the memory while justifying the video data so that both the luminance data and the chrominance data are byte-aligned in the respective buffers.


There is additionally provided, in accordance with an embodiment of the invention, a method for data communications, which includes receiving in a peripheral device of a host computer video data including interleaved pixel components of luminance data and chrominance data with respect to a sequence of pixels. The peripheral device separates the luminance data from the chrominance data, and writes the luminance data to a luminance buffer in a memory of the host computer while writing the chrominance data to at least one chrominance buffer in the memory, separate from the luminance buffer.


There is further provided, in accordance with an embodiment of the invention, a method for data communications, which includes receiving in a peripheral device of a host computer video data with respect to a sequence of pixels, the video data including data words of more than eight bits per pixel for at least one pixel component of the pixels. The peripheral device writes the video data to at least one buffer in a memory of the host computer while justifying the video data in the memory so that the successive pixels in the sequence are byte-aligned in the at least one buffer.


The present invention will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is block diagram that schematically illustrates a system for video transmission and processing, in accordance with an embodiment of the invention;



FIG. 2 is a block diagram that schematically shows details of a host computer with a network interface controller (NIC) and a video processing accelerator, in accordance with an embodiment of the invention;



FIG. 3 is a block diagram that schematically illustrates a stream of video data; and



FIGS. 4A and 4B are block diagrams that schematically illustrate data buffers to which video data are written by a peripheral device, in accordance with an embodiment of the invention.





DETAILED DESCRIPTION OF EMBODIMENTS

The embodiments of the present invention that are described hereinbelow provide novel methods and apparatus for handling of video image data in a host computer, and specifically for storing such data in a computer memory in a manner that enables efficient access to and processing of the data. These methods are advantageously implemented in hardware logic by a peripheral device in the host computer, such as a NIC or a computational accelerator, although software-based implementations are also possible. In some of the disclosed embodiments, the data values of successive pixels in a video image are byte-aligned in a buffer in the computer memory.


In the context of the present description and in the claims, the term “byte-aligned” is used strictly to refer to storage of data, and more specifically video image data, in a memory. As is known in the art, each video image frame is divided into a matrix of pixels, which are arranged successively along rows and columns of the matrix. (The terms “video image data” and “video data” are used interchangeably in the context of the present description and in the claims to refer to this sort of pixel-based representation of images.) The intensity and color components of each pixel in the matrix (referred to collectively as “pixel components”) are represented by one or more data words. Examples of these intensity and color components include Y and C luminance and chrominance components, as well as red, green and blue “RGB” color intensity components. When these data words comprise more than eight bits per word, each data word can be divided into a most significant byte (MSB), containing the eight highest bits of the word, and a remainder, containing the remaining, less significant bits.


Computer memory is conventionally configured as a sequence of bytes, each having a successive address in the memory. The term “byte-aligned” is used in the context of the present description and in the claims to mean that the MSB of each of the data words representing the pixel components of each pixel in a given video image is stored entirely in one corresponding byte of the memory. The term “justifying” in reference to the video data means storing the video data in a buffer (i.e., in an assigned block of bytes in the memory) such that the MSBs of the pixel components of successive pixels in the image are byte-aligned in corresponding successive bytes of the buffer, at successive byte addresses. The remainders may be stored elsewhere in the memory or, in some cases, discarded. Pixel chrominance data may be separately byte-aligned in this fashion.


High-speed video streaming protocols, such as those mentioned above in the Background section, typically specify pixel data layouts in the packet payloads that conveniently support capture and streaming of digital images by camera hardware. Since such cameras commonly output interleaved digital luminance and chrominance values per pixel, the transmitted packets likewise contain luminance and chrominance data words in an interleaved format. The lengths of the data within a packet can vary among different standards and applications, but most commonly are 10 or 12 bits. It thus follows that data in the packet payloads are not byte-aligned, since the pixel components spread across byte boundaries. A given byte in the packet payload may contain, for example, two least significant bits of a 10-bit luminance component followed by the six most significant bits of the next chrominance component.


Although this format is widely used by camera manufacturers, it creates serious problems for host computers that are required to receive and process the data: Since luminance and chrominance are typically processed separately (for purposes of image enhancement, compression, and video encoding, for example), the receiving computer must first separate out the interleaved luminance and chrominance data and save them in separate buffers before processing the data. This need for rebuffering sets an upper limit on the rate at which a given computer (even a powerful computer) can accept a stream of video data and, in consequence, places a limit on the maximum output bandwidth of the cameras that collect and transmit the data.


Embodiments of the present invention that are described herein address these problems by offloading the steps of parsing and buffering incoming video data from the receiving host computer to a peripheral device, such as the network interface controller (NIC) that connects the computer to the network or a dedicated computational accelerator. The peripheral device receives video data, for example data delivered in packets from the network or data decompressed by a processor (such as the host CPU) and written to the host memory. (The term “receives,” in the context of the present description and in the claims, includes both cases in which the video data are delivered to the peripheral device and cases in which the peripheral device actively fetches the data from some location, such as a memory.) The peripheral device writes the data to buffers in the host memory by direct memory access (DMA), while hardware logic in the peripheral device rearranges the bits of video data on the fly using so as to place the data in the buffer in a format that is ready for processing by the host software. For example, the data may be rearranged in a format that enables host software to take advantage of the instruction set of the host processor, such as MMX™ instructions that enable Intel® Xeon® and other processors to operate on multiple successive bytes of data in the same clock cycle.


In some embodiments, the peripheral device separates the luminance data from the chrominance data in each packet and writes the luminance data to a luminance buffer in the host memory while writing the chrominance data to one or more chrominance buffers, separate from the luminance buffer. The chrominance data may all be written to the same buffer or, alternatively, the peripheral device may separate the Cr component data from the Cb component data and write each of these two chrominance components to its own buffer.


Additionally or alternatively, the peripheral device justifies the video data in the memory so that successive pixels in the sequence are byte-aligned in the buffer (or buffers, in the case of separate luminance and chrominance buffers), even when the data words are more than eight bits long. For this purpose, in some embodiments, the peripheral device separates each word of video data (luminance, chrominance, or both) into a most significant byte and a remainder. It then justifies the video data by writing the most significant bytes from successive components within a group of pixels to successive bytes in the buffer, while saving the remainders elsewhere. For example, the peripheral device may separate the video data into subsequences, each comprising a group of a predefined number of pixels, and then write the most significant bytes from the pixel components of the successive pixels in each subsequence to a corresponding number of successive bytes in the buffer, while grouping the remainders from the pixels in the subsequence into one or more further bytes in the buffer. In some embodiments, the peripheral device does not write all of the bits of the remainders to the buffer, but may rather drop some of the remainder bits (particularly the chrominance bits) when they are not needed by the host, and thus reduce consumption of bus bandwidth and memory, as well as the processing burden on the CPU.



FIG. 1 is block diagram that schematically illustrates a system 20 for video transmission over a network 24, in accordance with an embodiment of the invention. One or more video sources, such as cameras 22, capture and transmit color video data over network 24 to a receiving host computer (Rx HOST) 26. For this purpose, each camera 22 typically comprises an image sensor 30, which captures and digitizes a sequence of video frames and writes luminance and chrominance data to a buffer 32 in pixel order. A transmitting NIC 34 packetizes and transmits the data at the acquisition rate in a standard packet format, such as RTP packets in accordance with one of the formats cited above in the Background section. An example format of this sort is shown below in FIG. 3. Alternatively or additionally, computer 26 may receive streams of input video data from other sources.


Host computer 26 is connected to network 24 by a receiving NIC 36, which receives the incoming video data packets from cameras 22. As described further hereinbelow, in some embodiments, NIC 36 parses the packets and writes the data to a memory 38 of computer 26, while reordering the data in accordance with instructions received from the host computer. In an alternative embodiment, NIC 36 writes the packet payloads to memory 38, for parsing and reordering by other elements of the host computer 26, such as the CPU and/or a computational accelerator (as shown in FIG. 2). The data may arrive and/or may be stored in memory 38 in compressed form, in which case the CPU or another component of host computer 26 decompresses the data before reordering. Examples of reordered data formats are shown below in FIGS. 4A/B.



FIG. 2 is a block diagram that schematically shows details of host computer 26, including particularly the components of NIC 36 and the data structures in memory 38 that are used in receiving and processing video data, in accordance with an embodiment of the invention. Computer 26 comprises a central processing unit (CPU) 40, which communicates with peripheral devices, such as NIC 36 and a computational accelerator 72, via a bus 42, such as a Peripheral Component Interconnect (PCI) Express® bus.


CPU 40 in the present example runs a video application program 44, which processes video data that are received from network 24 and written by NIC 36 to memory 38. Application program 44 interacts with NIC 36 via a queue pair (QP) 48, which is assigned to the application program by a NIC driver program 46 running on CPU 40. (Typically, driver program 46 establishes multiple QPs to serve both application program 44 and other processes running on computer 26.) QP 48 comprises a send queue (SQ) 50 and a receive queue (RQ) 52, as are known in the art, with a QP context 54 containing metadata including, in the present case, information regarding the expected video packet format and data reordering format for this QP.


In order to receive video data from network 24, application program 44 allocates data buffers 58 and 60 in memory 38 and submits work requests to driver program 46 to receive data into these buffers. In the pictured example, buffers 58 and 60 include separate luminance (Y) buffers 58 and chrominance (C) buffers 60. In response to these work requests, driver program 46 posts work queue elements (WQEs) 56 in receive queue 52, pointing to respective buffers 58 and 60 to which NIC 36 is to write incoming video data.


Upon receiving a video packet or stream of packets over network 24 from one of cameras 22, NIC 36 reads one or more WQEs 56 from receive queue 52 of the appropriate QP 48 and then writes the pixel data, in the format and order indicated by QP context 54, to buffers 58 and 60 indicated by the WQE. NIC 36 performs these data writing and reordering functions by DMA over bus 42, without active involvement by CPU 40 in the actual data transfer. Once NIC 36 has finished writing a certain amount of video data (for example, a packet or group of packets, or possibly an entire frame) to buffers 58 and 60, it writes a completion report to a completion queue (not shown) in memory 38, in order to inform application program 44 that the data are ready for processing.


NIC 36 is connected to bus 42 by a host interface 64 and to network 24 by a network interface 62, which receives data packets containing video data comprising interleaved words of luminance data and chrominance data (as illustrated in FIG. 3). Packet processing circuitry 66, which is coupled between network interface 62 and host interface 64, both processes incoming packets received from network 24 and generates outgoing packets for transmission to the network. Typically, to maintain high throughput, packet processing circuitry 66 carries out these functions in dedicated hardware logic, although at least some of the processing and control operations of circuitry 66 may alternatively be implemented in software or firmware by an embedded programmable processor. The description that follows will focus on the specific functions of packet processing circuitry 66 that are involved in processing incoming video data packets. Other packet reception and transmission functions of NIC 36 will be familiar to those skilled in the art and are omitted from the present description for the sake of simplicity.


Packet processing circuitry 66 comprises packet parsing logic 68, which reads and analyzes the headers of incoming data packets. Upon receiving an incoming video packet from one of cameras 22, packet parsing logic 68 identifies the QP 48 to which the packet belongs and reads a receive WQE 56 from the appropriate receive queue 52 in order to identifying the buffers 58, 60 to which the packet data should be written. Based on the metadata in QP context 54, packet parsing logic 68 instructs a scatter engine 70 to write the luminance data in the packet payload to the designated luminance buffer 58 and to separately write the chrominance data in the packet payload to chrominance buffer 60.


As explained above, the instructions to scatter engine can involve one or both of de-interleaving the interleaved luminance and chrominance components in the packet payloads, and justifying the video data written to buffers 58 and 60 so that the data with respect to successive pixels are byte-aligned in the buffers. Scatter engine 70 writes the data in the proper order by DMA, thus relieving CPU 40 of any involvement in the tasks of data de-interleaving and justification.


Packet processing circuitry 66 writes the payload data to buffers 58 and 60 in the proper sequential order of the pixels in the transmitted video frames. In some cases, network 24 may be configured to guarantee in-order delivery of the packets to receiving host computer 26, so that no further effort is required by NIC 36 in this regard. Alternatively, some network transport protocols, such as RTP, include packet serial numbers in the packet headers, which can be used by packet processing circuitry 66 in checking and, in some cases, correcting for packets received out of order. Techniques that can be used for this purpose are described, for example, in U.S. Pat. No. 10,516,710, whose disclosure is incorporated herein by reference.


In an alternative embodiment, the tasks of data de-interleaving and/or justification are carried out by processing circuitry in another peripheral device, such as buffering logic 74 in a computational accelerator 72. Buffering logic 74 comprises hardware logic circuits, which perform functions similar to those of scatter engine 70, inter alia, along with an interface to bus 42 (not shown), similar to host interface 64. In an example scenario, CPU decompresses compressed video data and writes the decompressed data to a buffer in memory 38. Buffering logic 74 reads the data in the original order written by the CPU and then re-writes the data, for example to buffers 58 and 60, in de-interleaved and justified form.


Thus, the principles of de-interleaving and justification of video data that are described herein with reference to the functions of NIC 36 may be implemented, as well, in other peripheral components, mutatis mutandis. Although the present description refers, for the sake of clarity and concreteness, specifically to functionalities of NIC 36, the principles of the present invention are equally applicable to accelerator 72 and other suitable peripheral devices.



FIG. 3 is a block diagram that schematically illustrates a typical stream 80 of video data transmitted over network 24 by one of cameras 22. The figure shows only the first six bytes of data in stream 80, which are encapsulated and transmitted in a data packet, possibly as the initial part of a payload that includes a larger volume of pixel data. (These bytes make up a pixel group representing the smallest number of pixels that can be grouped together in byte-aligned memory, and are typically transmitted in the packet payload together with additional pixel groups.) Stream 80 comprises interleaved data words 82, 84 of chrominance data (Cb, Cr) and luminance data (Y), belonging to successive pixel components in a given frame. Each word 82, 84 in this example comprises twelve bits, ordered from the most significant bit (#11) to the least significant (#0). This particular format, along with the corresponding reordered buffer formats that are illustrated in the figures that follow, is shown only by way of example, however, and the principles of the present invention may similarly be applied, mutatis mutandis, to other color video formats that are known in the art.



FIGS. 4A and 4B are block diagrams that schematically illustrate the contents of data buffers 58, 60, respectively, to which video data have been written by NIC 36 in accordance with an embodiment of the invention. As shown in these figures, packet processing circuitry 66 separates data words 82, 84 of the incoming data packets into luminance and chrominance components and writes these components respectively to buffer 58 (FIG. 4A) and buffer (FIG. 4B). Packet processing circuitry 66 further separates each luminance word 84 into a respective most significant byte 90, comprising bit #11 through bit #4 in the present example, and a remainder, comprising bit #3 through bit #0. Circuitry 66 similarly separates out most significant bytes 100 of the successive Cb and Cr chrominance words from the corresponding remainders.


Packet processing circuitry 66 justifies the video data by writing most significant bytes 90 and 100 from successive pixels to successive bytes in the corresponding buffers 58 and 60, as illustrated by the first four bytes in each of FIGS. 4A and 4B. To enable efficient processing by CPU 40, it can be useful, as explained above, to write the most significant bytes of a certain number of consecutive pixels to consecutive respective locations in buffers 58 and 60, while the remainders are written to other locations (or possibly even discarded). For this purpose, packet processing circuitry 66 separates the video data into subsequences, each comprising a predefined number of pixels, for example, four consecutive pixels per subsequence, and writes most significant bytes 90, 100 from the successive pixels in each subsequence to the corresponding number of successive bytes in buffer 58 or 60.


In the present example, packet processing circuitry 66 groups the remainders from the pixels in the four-pixel subsequence into remainder bytes 92 and 96 in luminance buffer 58 and remainder bytes 102 and 104 in chrominance buffer 60. In this particular example, in which data words 82 and 84 each comprise twelve bits and the pixels are grouped in subsequences of four pixels, it can be useful to separate each of the remainders into two most significant bits 94 and two least significant bits 98. (For the sake of simplicity, these bits 94 and 98 are labeled only in FIG. 4A.) The two most significant bits 94 from all four remainders in the subsequence are written to byte 92, while the two least significant bits 98 from all four remainders in the subsequence are written to byte 96. This ordering scheme allows application 44 to truncate twelve-bit input data to ten or eight bits simply by skipping over bytes 92 and 96. Input data words of other lengths, for example ten or sixteen bits, can be buffered in similar fashion, with smaller or larger numbers of remainder bytes.


Alternatively, if QP context 54 indicates that the remainders of the incoming data words are not needed, packet processing circuitry 66 can itself drop all or a part of the remainders and write only the most significant bytes of the video data words, in sequential order, to buffers 58 and 60, possibly with some of the remainder bits. For example, if only ten bits of color depth are required, rather than twelve, packet processing circuitry 66 can write remainder bytes 102 but not remainder bytes 104 to buffer 60.


Although NIC 36 in the embodiments described above both separates incoming video data into luminance and chrominance components and justifies these components in buffers 58 and 60, NIC 36 may alternatively perform only one of these functions (component separation or justification), or may apply such functions only to a certain part of the video data. Furthermore, although the example embodiments described above all relate to handling of luminance and chrominance video components, the principles of the present invention (and specifically the techniques of data justification described above) may alternatively be applied, mutatis mutandis, to other video component schemes, such as RGB schemes. In the RGB example, each color component of the R, G and B may be written to a separate buffer and/or justified in the memory so that data associated with a certain color component of successive pixels in the video data sequence are byte-aligned in a corresponding buffer. All such alternative applications of the apparatus and methods described above are considered to be within the scope of the present invention.


It will thus be appreciated that the embodiments described above are cited by way of example, and that the present invention is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present invention includes both combinations and subcombinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art.

Claims
  • 1. Apparatus for data communications, comprising: a host interface, which is configured to be connected to a bus of a host computer having a processor and a memory;a network interface, which is configured to receive from a packet communication network data packets containing video data comprising interleaved words of luminance data and chrominance data with respect to a sequence of pixels; andprocessing circuitry, which is coupled to the host interface and is configured to receive the video data comprising the interleaved words of luminance data and chrominance data with respect to the sequence of pixels from the network interface, and to de-interleave the words of luminance data from the words of chrominance data in each of the data packets and to write the de-interleaved luminance data, via the host interface, to a luminance buffer in the memory while writing the de-interleaved chrominance data, via the host interface, to at least one chrominance buffer in the memory, separate from the luminance buffer.
  • 2. The apparatus according to claim 1, wherein the chrominance data comprise Cr component data and Cb component data, and the at least one chrominance buffer comprises separate first and second buffers, and wherein the processing circuitry is configured to separate the Cr component data from the Cb component data and to write the Cr component data to the first buffer while writing the Cb component data to the second buffer.
  • 3. The apparatus according to claim 1, wherein the interleaved words comprise more than eight bits per pixel component, and wherein the processing circuitry is configured to justify at least the luminance data in the memory so that the luminance data with respect to successive pixels in the sequence are byte-aligned in the luminance buffer.
  • 4. The apparatus according to claim 3, wherein the processing circuitry is configured to separate the words of the luminance data into respective most significant bytes and remainders, and to justify the luminance data by writing the most significant bytes from the successive pixels to successive bytes in the luminance buffer.
  • 5. The apparatus according to claim 4, wherein the processing circuitry is configured to separate the video data into subsequences comprising a predefined number of pixels in each subsequence, and to write the most significant bytes from the successive pixels in each subsequence to the predefined number of the successive bytes in the luminance buffer, while grouping the remainders from the pixels in the subsequence into one or more further bytes in the memory.
  • 6. The apparatus according to claim 5, wherein the words of the luminance data comprise twelve bits per pixel, and wherein the predefined number is four, and wherein the processing circuitry is configured to separate each of the remainders into two most significant bits and two least significant bits, and to write the two most significant bits from all the remainders in each subsequence to a first one of the further bytes, while writing the two least significant bits from all the remainders in the subsequence to a second one of the further bytes.
  • 7. The apparatus according to claim 4, wherein the processing circuitry is configured to drop at least a predefined portion of the bits in the remainders without writing the predefined portion of the bits to the memory.
  • 8. A method for data communications, comprising: receiving data packets from a packet communication network in a peripheral device of a host computer, the data packets containing video data comprising interleaved words of luminance data and chrominance data with respect to a sequence of pixels; andin the peripheral device, separating de-interleaving the words of luminance data from the words of chrominance data that were interleaved with the words of luminance data in each of the data packets and writing the de-interleaved luminance data to a luminance buffer in a memory of the host computer while writing the de-interleaved chrominance data to at least one chrominance buffer in the memory, separate from the luminance buffer.
  • 9. The method according to claim 8, wherein the chrominance data comprise Cr component data and Cb component data, and the at least one chrominance buffer comprises separate first and second buffers, and wherein writing the chrominance data comprises separating the Cr component data from the Cb component data and writing the Cr component data to the first buffer while writing the Cb component data to the second buffer.
  • 10. The method according to claim 8, wherein the interleaved words comprise more than eight bits per pixel component, and wherein writing the luminance data comprises justifying, by the peripheral device, at least the luminance data in the memory so that the luminance data with respect to successive pixels in the sequence are byte-aligned in the luminance buffer.
  • 11. The method according to claim 10, wherein justifying the luminance data comprises separating the words of the luminance data into respective most significant bytes and remainders, and writing the most significant bytes from the successive pixels to successive bytes in the luminance buffer.
  • 12. The method according to claim 11, wherein writing the luminance data comprises separating the video data into subsequences comprising a predefined number of pixels in each subsequence, and writing the most significant bytes from the successive pixels in each subsequence to the predefined number of the successive bytes in the luminance buffer, while grouping the remainders from the pixels in the subsequence into one or more further bytes in the memory.
  • 13. The method according to claim 12, wherein the words of the luminance data comprise twelve bits per pixel, and wherein the predefined number is four, and wherein separating the video data comprises separating each of the remainders into two most significant bits and two least significant bits, and writing the two most significant bits from all the remainders in each subsequence to a first one of the further bytes, while writing the two least significant bits from all the remainders in the subsequence to a second one of the further bytes.
  • 14. The method according to claim 11, wherein separating the words of the luminance data comprises dropping, by the peripheral device, at least a predefined portion of the bits in the remainders without writing the predefined portion of the bits to the memory.
  • 15. The apparatus according to claim 3, wherein the processing circuitry is configured to justify both the luminance data in the luminance buffer and the chrominance data in the chrominance buffer so that both the luminance data and the chrominance data with respect to successive pixels in the sequence are byte-aligned in the luminance and chrominance buffers.
  • 16. The method according to claim 10, wherein writing the chrominance data comprises justifying, by the peripheral device, the chrominance data in the memory so that both the luminance data and the chrominance data with respect to successive pixels in the sequence are byte-aligned in the luminance and chrominance buffers.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a division of U.S. patent application Ser. No. 16/850,036, filed Apr. 16, 2020, which is a continuation-in-part of U.S. patent application Ser. No. 15/622,094, filed Jun. 14, 2017 (now abandoned), and of U.S. patent application Ser. No. 16/442,581, filed Jun. 17, 2019, which is a continuation-in-part of U.S. patent application Ser. No. 16/291,023, filed Mar. 4, 2019, which claims the benefit of U.S. Provisional Patent Application 62/695,063, filed Jul. 8, 2018, and U.S. Provisional Patent Application 62/726,446, filed Sep. 4, 2018. The disclosures of all these related applications are incorporated herein by reference.

US Referenced Citations (152)
Number Name Date Kind
4783698 Harney Nov 1988 A
5668809 Rostoker et al. Sep 1997 A
5949441 Ristau Sep 1999 A
6097734 Gotesman et al. Aug 2000 A
6151360 Kato et al. Nov 2000 A
6157955 Narad et al. Dec 2000 A
6321276 Forin Nov 2001 B1
6766467 Neal et al. Jul 2004 B1
6786143 Craddock et al. Sep 2004 B2
6981027 Gallo et al. Dec 2005 B1
7171484 Krause et al. Jan 2007 B1
7263103 Kagan et al. Aug 2007 B2
7298746 De La Iglesia et al. Nov 2007 B1
7299266 Boyd et al. Nov 2007 B2
7464198 Martinez et al. Dec 2008 B2
7522606 Sendrovitz Apr 2009 B1
7733464 David Jun 2010 B2
7760741 Biran et al. Jul 2010 B2
7881496 Camilleri Feb 2011 B2
7930422 Freimuth et al. Apr 2011 B2
3051212 Kagan et al. Nov 2011 A1
8176252 Alexander et al. May 2012 B1
8495301 Alexander et al. Jul 2013 B1
8498493 Choudhary Jul 2013 B1
8638796 Dan et al. Jan 2014 B2
8682108 Tian Mar 2014 B2
8693551 Zheludkov et al. Apr 2014 B2
8751701 Shahar et al. Jun 2014 B2
9131235 Zheludkov et al. Sep 2015 B2
9143467 Kagan et al. Sep 2015 B2
9270299 Luby Feb 2016 B2
9367746 Ishihara Jun 2016 B2
9451266 Zheludkov et al. Sep 2016 B2
9767529 Liu Sep 2017 B1
10136131 Zheludkov Nov 2018 B2
10200719 Zhang et al. Feb 2019 B2
10210125 Burstein Feb 2019 B2
10516710 Levi et al. Dec 2019 B2
10637828 Kahalon et al. Apr 2020 B2
10735339 Matthews et al. Aug 2020 B1
11190462 Levi et al. Nov 2021 B2
20020041089 Yasui Apr 2002 A1
20020152327 Kagan et al. Oct 2002 A1
20030005164 Trainin Jan 2003 A1
20030046530 Poznanovic Mar 2003 A1
20040013117 Hendel et al. Jan 2004 A1
20040042483 Elzur et al. Mar 2004 A1
20040146203 Yoshimura Jul 2004 A1
20040156379 Walls et al. Aug 2004 A1
20040165091 Takemura Aug 2004 A1
20040221128 Beecroft et al. Nov 2004 A1
20040230979 Beecroft et al. Nov 2004 A1
20050135395 Fan et al. Jun 2005 A1
20050135415 Fan et al. Jun 2005 A1
20050220353 Karczewicz et al. Oct 2005 A1
20060017843 Shi et al. Jan 2006 A1
20060075119 Hussain et al. Apr 2006 A1
20060129909 Butt et al. Jun 2006 A1
20060180670 Acosta Aug 2006 A1
20060256851 Wang Nov 2006 A1
20070110160 Wang et al. May 2007 A1
20070124378 Elzur May 2007 A1
20070162619 Moni et al. Jul 2007 A1
20070211157 Humpoletz Sep 2007 A1
20070296849 Sano Dec 2007 A1
20080084491 He et al. Apr 2008 A1
20080095240 Choi et al. Apr 2008 A1
20080109562 Ramakrishnan et al. May 2008 A1
20080126278 Bronstein et al. May 2008 A1
20090021612 Hamilton, Jr. Jan 2009 A1
20090034633 Rodriguez et al. Feb 2009 A1
20090074079 Lee et al. Mar 2009 A1
20090083517 Riddle Mar 2009 A1
20090153699 Satoh Jun 2009 A1
20090180539 Kudana et al. Jul 2009 A1
20090244288 Fujimoto Oct 2009 A1
20100002770 Motta et al. Jan 2010 A1
20100121971 Shao et al. May 2010 A1
20100149393 Zarnowski Jun 2010 A1
20100226438 Saunders et al. Sep 2010 A1
20100262973 Ernst et al. Oct 2010 A1
20100265316 Sali Oct 2010 A1
20100274876 Kagan et al. Oct 2010 A1
20100278269 Andersson et al. Nov 2010 A1
20110268194 Nagano Nov 2011 A1
20110283156 Hiie Nov 2011 A1
20120020413 Chen Jan 2012 A1
20120030451 Pong et al. Feb 2012 A1
20120033039 Sasaki Feb 2012 A1
20120044990 Bivolarsky et al. Feb 2012 A1
20120147975 Ju Jun 2012 A1
20120281924 Coulombe et al. Nov 2012 A1
20130101039 Florencio Apr 2013 A1
20130163674 Zhang Jun 2013 A1
20130191549 Williams et al. Jul 2013 A1
20130208795 Xu et al. Aug 2013 A1
20130265388 Zhang et al. Oct 2013 A1
20130301727 Huang et al. Nov 2013 A1
20130301732 Hsu et al. Nov 2013 A1
20130322753 Lim Dec 2013 A1
20130329006 Boles Dec 2013 A1
20140161188 Zhang et al. Jun 2014 A1
20140177726 Okajima Jun 2014 A1
20140201587 Luby et al. Jul 2014 A1
20140269893 Parikh et al. Sep 2014 A1
20150026542 Brennum Jan 2015 A1
20150063358 Wu et al. Mar 2015 A1
20150085863 Wu et al. Mar 2015 A1
20150181211 He Jun 2015 A1
20150237356 Wu et al. Aug 2015 A1
20150373075 Perlman et al. Dec 2015 A1
20160080755 Toma et al. Mar 2016 A1
20160100186 Gisquet Apr 2016 A1
20160191946 Zhou et al. Jun 2016 A1
20160277473 Botsford et al. Sep 2016 A1
20160286232 Li et al. Sep 2016 A1
20160337426 Shribman et al. Nov 2016 A1
20160345018 Sadhwani et al. Nov 2016 A1
20170006294 Huang et al. Jan 2017 A1
20170134732 Chen May 2017 A1
20170171167 Suzuki Jun 2017 A1
20170332099 Lee et al. Nov 2017 A1
20180098070 Chuang et al. Apr 2018 A1
20180124418 Van Leuven et al. May 2018 A1
20180152699 Kumar et al. May 2018 A1
20180302640 Li et al. Oct 2018 A1
20180316929 Li et al. Nov 2018 A1
20180343448 Possos et al. Nov 2018 A1
20180359483 Chen et al. Dec 2018 A1
20180367589 Levi et al. Dec 2018 A1
20180376160 Zhang et al. Dec 2018 A1
20190037227 Holland et al. Jan 2019 A1
20190058882 Hinz et al. Feb 2019 A1
20190110058 Chien et al. Apr 2019 A1
20190141318 Li et al. May 2019 A1
20190158882 Chen et al. May 2019 A1
20190188829 Wei Jun 2019 A1
20190200044 Galpin et al. Jun 2019 A1
20190230376 Hu et al. Jul 2019 A1
20190327484 Grange et al. Oct 2019 A1
20200014918 Levi et al. Jan 2020 A1
20200014945 Levi et al. Jan 2020 A1
20200076521 Hammond Mar 2020 A1
20200077116 Lee et al. Mar 2020 A1
20200245016 Levi et al. Jul 2020 A1
20210168354 Levi et al. Jun 2021 A1
20210250605 Lee Aug 2021 A1
20220070797 Berg Mar 2022 A1
20220086105 Levi et al. Mar 2022 A1
20220095007 Levi et al. Mar 2022 A1
20220158955 Yeh et al. May 2022 A1
20220283964 Burstein et al. Sep 2022 A1
Foreign Referenced Citations (4)
Number Date Country
107113422 Aug 2017 CN
3151560 Apr 2017 EP
2547754 Aug 2017 GB
4824687 Nov 2011 JP
Non-Patent Literature Citations (43)
Entry
Sjoberg et al. (RTP Payload Format and File Storage Format for the Adaptive Multi-Rate (AMR) and Adaptive Multi-Rate Wideband (AMR-WB) Audio Codecs, Network Working Group, Request for Comments: Apr. 2007 (Year: 2007).
Infiniband Trade Association, “InfiniBandTM Architecture Specification”, vol. 1, release 1.2.1, pp. 1-1727, Nov. 2007.
“MPI: A Message-Passing Interface Standard”, version 2 2, Message Passing Interface Forum, pp. 1-647, Sep. 4, 2009.
Shah et al., “Direct Data Placement over Reliable Transports”, IETF Network Working Group, RFC 5041, pp. 1-38, Oct. 2007.
Culley et al., “Marker PDU Aligned Framing for TCP Specification”, IETF Network Working Group, RFC 5044, pp. 1-74, Oct. 2007.
“Linux kernel enable the IOMMU—input/output memory management unit support”, pp. 1-2, Oct. 15, 2007, as downloaded from http://www.cyberciti.biz/tips/howto-turn-on-linux-software-iommu-support.html.
SMPTE Standard 2110-20:2017, “Professional Media Over Managed IP Networks: Uncompressed Active Video”, The Society of Motion Picture and Television Engineers, pp. 1-23, Aug. 10, 2017.
SMPTE Standard 2110-30:201y, “Professional Media over IP Networks—PCM Digital Audio”, The Society of Motion Picture and Television Engineers, pp. 1-7, Jan. 26, 2017.
SMPTE Standard 2110-21:201y, “Professional Media Over IP Networks: Timing Model for Uncompressed Active Video”, The Society of Motion Picture and Television Engineers, pp. 1-15, Jan. 18, 2017.
SMPTE Standard 2110-10:201y, “Professional Media over IP Networks: System Timing and Definitions”, The Society of Motion Picture and Television Engineers, pp. 1-12, Jan. 26, 2017.
Wikipedia, “Common Public Radio Interface”, pp. 1-1, last edited Apr. 28, 2017, as downloaded from https://web.archive.org/web/20190620212239/https://en.wikipedia.org/wiki/Common_Public_Radio_Interface.
O-RAN Alliance, “O-RAN Fronthaul Working Group: Control, User and Synchronization Plane Specification”, ORAN-WG4.CUS.0-v01.00 Technical Specification, pp. 1-189, year 2019.
Wikipedia, “evolved Common Public Radio Interface (eCPRI)”, pp. 1-3, May 13, 2019, as downloaded from https://web.archive.org/web/20190513130801/https://wiki.wireshark.org/eCPRI.
Marcovitch et al., U.S. Appl. No. 17/858,102, filed Jul. 6, 2022.
Marcovitch et al., U.S. Appl. No. 17/590,339, filed Feb. 1, 2022.
Marcovitch et al., U.S. Appl. No. 17/858,104, filed Jul. 6, 2022.
Pismenny et al., U.S. Appl. No. 17/824,954, filed May 26, 2022.
Baker et al., “OpenSHMEM Application Programming Interface,” version 1.5, www.openshmem.org, pp. 1-180, Jun. 8, 2020.
Marcovitch et al., U.S. Appl. No. 17/858,097, filed Jul. 6, 2022.
De Rivaz et al., “AV1 Bitstream & Decoding Process Specification”, pp. 1-681, Jan. 8, 2019.
Grange et al., “A VP9 Bitstream Overview draft-grange-vp9-bitstream-00”, Network Working Group, pp. 1-14, Feb. 18, 2013.
ITU-T Recommendation H.264., “Series H: Audiovisual and Multimedia Systems: Infrastructure of audiovisual services—Coding of moving video; Advanced video coding for generic audiovisual services”, pp. 1-282, May 2003.
ITU-T Recommendation H.265., “Series H: Audiovisual and Multimedia Systems: Infrastructure of audiovisual services—Coding of moving video; High efficiency video coding”, pp. 1-634, Apr. 2015.
Wikipedia., ‘Versatile Video Coding’, pp. 1-5, Feb. 22, 2019 (https://en.wikipedia.org/w/index.php? title=Versatile_Video_Coding&oldid=884627637).
Mellanox Technologies, “ConnectX®-5 EN Card,” Adapter Card Product Brief, pp. 1-4, year 2020.
“MainConcept Accelerates HEVC Encoding with NVIDIA RTX GPUs,” news article, MainConcept GmbH newsletter, pp. 1-4, Apr. 8, 2019, downloaded from https://www.mainconcept.com/company/news/news-article/article/mainconcept-accelerates-hevc-encoding-with-nvidia-rtx-gpus.html.
Sjoberg et al., “RTP Payload Format and File Storage Format for the Adaptive Multi-Rate (AMR) and Adaptive Multi-Rate Wideband (AMR-WB) Audio Codecs,” Network Working Group, Request for Comments 4867, pp. 1-59, Apr. 2007.
Gharai et al., “RTP Payload Format for Uncompressed Video”, RFC 4175, Internet Engineering Task Force, Internet-Draft, pp. 1-14, Nov. 3, 2002.
SMPTE Standard 2022-6:2012—“Transport of High Bit Rate Media Signals over IP Networks (HBRMT)”, The Society of Motion Picture and Television Engineers, pp. 1-16, Oct. 9, 2012.
Markus et al., U.S. Appl. No. 17/493,877, filed Oct. 5, 2021.
U.S. Appl. No. 17/095,765 Office Action dated Dec. 6, 2021.
U.S. Appl. No. 16/291,023 Office Action dated Jan. 28, 2022.
U.S. Appl. No. 17/095,765 Office Action dated Mar. 17, 2022.
U.S. Appl. No. 16/442,581 Office Action dated May 3, 2022.
U.S. Appl. No. 16/291,023 Office Action dated May 27, 2022.
U.S. Appl. No. 17/095,765 Office Action dated Jun. 9, 2022.
Schulzrinne et al., “RTP: A Transport Protocol for Real-Time Applications,” Request for Comments 3550, pp. 1-104, Jul. 2003.
U.S. Appl. No. 17/095,765 Office Action dated Jan. 18, 2023.
CN Application #2019106022492 Office Action dated Aug. 3, 2022.
U.S. Appl. No. 17/095,765 Office Action dated Sep. 22, 2022.
U.S. Appl. No. 16/291,023 Office Action dated Sep. 30, 2022.
U.S. Appl. No. 17/898,496 Office Action dated Feb. 3, 2023.
U.S. Appl. No. 17/824,954 Office Action dated Apr. 28, 2023.
Related Publications (1)
Number Date Country
20220095007 A1 Mar 2022 US
Provisional Applications (2)
Number Date Country
62726446 Sep 2018 US
62695063 Jul 2018 US
Divisions (1)
Number Date Country
Parent 16850036 Apr 2020 US
Child 17542426 US
Continuation in Parts (3)
Number Date Country
Parent 16442581 Jun 2019 US
Child 16850036 US
Parent 16291023 Mar 2019 US
Child 16442581 US
Parent 15622094 Jun 2017 US
Child 16850036 US