Image formats for video capture, processing and display
First Claim
1. In a computer system, a method of converting video data for a video image to a lower-precision representation for lower-precision processing of the video data, the method comprising:
- receiving digital video data in a hybrid planar format containing video data with chroma and luma information and a header with a four-character format code, the chroma and luma information for a pixel in the video image being in an n-bit representation, the n-bit representation comprising a 16-bit fixed-point block of data per channel for the pixel comprising a most significant byte comprising 8 bits and a least significant byte comprising 8 bits, where the most significant byte in the 16-bit unit of data is an integer component comprising values each with a specific position relative to the 16-bit unit of data, and where the least significant byte in the 16-bit unit of data is a fractional component, wherein the four-character format code comprises;
a first character which indicates the format is;
a hybrid planar format wherein luma information for each of plural pixels in a video image is stored in a first array of memory and wherein chroma information for each of the plural pixels in the video image is stored in a second array of memory;
a second character based on chroma sampling in the format; and
third and fourth characters based on a bit precision of the format;
converting the n-bit representation to a lower-precision (n-m)-bit representation by splitting the fractional component into a first portion comprising m least significant bits of the fractional component wherein m is less than 8, and further splitting the fractional component into a second portion comprising 8-in most significant bits of the fractional component, and assigning zero values to the first portion of the fractional component while the values and the specific positions of the values of the integer component and the second portion of the fractional component are unchanged;
modifying the third and fourth characters of the four-character format code to indicate the bit precision of the lower-precision (n-m)-bit representation; and
outputting a result of the converting.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques and tools for representing pixel data in a video processing or capture system are described. Described techniques and tools provide efficient color representation for video processing and capture, and provide flexibility for representing colors using different bit precisions and memory layouts. Described techniques and tools include video formats that can be used, for example, in hardware or software for capture, processing, and display purposes. In one aspect, chroma and luma information for a pixel in a video image is represented in a 16-bit fixed-point block of data having an integer and fractional components. Data can be easily converted from one representation to another (e.g., between 16-bit and 10-bit representations). In other aspects, formats for representing 8-, 10- and 16-bit video image data (e.g., packed and hybrid planar formats), and codes for indicating the formats, are described.
-
Citations
19 Claims
-
1. In a computer system, a method of converting video data for a video image to a lower-precision representation for lower-precision processing of the video data, the method comprising:
-
receiving digital video data in a hybrid planar format containing video data with chroma and luma information and a header with a four-character format code, the chroma and luma information for a pixel in the video image being in an n-bit representation, the n-bit representation comprising a 16-bit fixed-point block of data per channel for the pixel comprising a most significant byte comprising 8 bits and a least significant byte comprising 8 bits, where the most significant byte in the 16-bit unit of data is an integer component comprising values each with a specific position relative to the 16-bit unit of data, and where the least significant byte in the 16-bit unit of data is a fractional component, wherein the four-character format code comprises; a first character which indicates the format is; a hybrid planar format wherein luma information for each of plural pixels in a video image is stored in a first array of memory and wherein chroma information for each of the plural pixels in the video image is stored in a second array of memory; a second character based on chroma sampling in the format; and third and fourth characters based on a bit precision of the format; converting the n-bit representation to a lower-precision (n-m)-bit representation by splitting the fractional component into a first portion comprising m least significant bits of the fractional component wherein m is less than 8, and further splitting the fractional component into a second portion comprising 8-in most significant bits of the fractional component, and assigning zero values to the first portion of the fractional component while the values and the specific positions of the values of the integer component and the second portion of the fractional component are unchanged; modifying the third and fourth characters of the four-character format code to indicate the bit precision of the lower-precision (n-m)-bit representation; and outputting a result of the converting. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system comprising:
-
means for receiving digital video data in a hybrid planar format containing video data with chroma and luma information for at least one pixel in a video image and a header with a four-character format code, the chroma and luma information being in an n-bit representation, the n-bit representation comprising a 16-bit fixed-point block of data per channel for the pixel comprising a most significant byte comprising 8 bits and a least significant byte comprising 8 bits, where the most significant byte in the 16-bit unit of data is an integer component comprising values each with a specific position relative to the 16-bit unit of data, and where the least significant byte in the 16-bit unit of data is a fractional component, wherein the four-character format code comprises; a first character which indicates the format is; a hybrid planar format wherein luma information for each of plural pixels in a video image is stored in a first array of memory and wherein chroma information for each of the plural pixels in the video image is stored in a second array of memory; a second character based on chroma sampling in the format; and third and fourth characters based on a bit precision of the format; means for converting the n-bit representation to a lower-precision (n-m)-bit representation by splitting the fractional component into a first portion comprising m least significant bits of the fractional component wherein m is less than 8, and further splitting the fractional component into a second portion comprising 8-in most significant bits of the fractional component, and assigning zero values to the first portion of the fractional component while the values and the specific positions of the values of the integer component and the second portion of the fractional component are unchanged; means for modifying the third and fourth characters of the four-character format code to indicate the bit precision of the lower-precision (n-m)-bit representation; and means for outputting a result of the converting. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. One or more computer-readable storage media having computer-executable instructions stored thereon for causing a computer to perform a method comprising:
-
receiving digital video data in a hybrid planar format containing video data with chroma and luma information for a pixel in the video image in an n-bit representation and a header with a four-character format code, the n-bit representation comprising a 16-bit fixed-point block of data per channel for the pixel comprising a most significant byte comprising 8 bits and a least significant byte comprising 8 bits, where the most significant byte in the 16-bit unit of data is an integer component comprising values each with a specific position relative to the 16-bit unit of data, and where the least significant byte in the 16-bit unit of data is a fractional component wherein the four-character format code comprises; a first character which indicates the format is; a hybrid planar format wherein luma information for each of plural pixels in a video image is stored in a first array of memory and wherein chroma information for each of the plural pixels in the video image is stored in a second array of memory; a second character based on chroma sampling in the format; and third and fourth characters based on a bit precision of the format; converting the n-bit representation to a lower-precision (n-m)-bit representation by splitting the fractional component into a first portion comprising m least significant bits of the fractional component wherein m is less than 8, and further splitting the fractional component into a second portion comprising 8-in most significant bits of the fractional component, and assigning zero values to the first portion of the fractional component while the values and the specific positions of the values of the integer component and the second portion of the fractional component are unchanged; modifying the third and fourth characters of the four-character format code to indicate the bit precision of the lower-precision (n-m)-bit representation; and outputting a result of the converting. - View Dependent Claims (18, 19)
-
Specification