-
公开(公告)号:US12266033B2
公开(公告)日:2025-04-01
申请号:US17721671
申请日:2022-04-15
Applicant: Meta Platforms Technologies, LLC
Inventor: Nilanjan Goswami , Christopher James Goodman , Kyle Durfee , Piyush Agarwal , Steve John Clohset
Abstract: A method includes receiving a source shape that is to be blended with a destination shape stored in a color buffer for an image; in response to determining that the source shape is associated with a blending mode that requires updates to pixels in the color buffer uncovered by the source shape: identifying empty tiles in the color buffer uncovered by the source shape and non-empty tiles in the color buffer covered by the source shape; for each of the empty tiles, sending instructions to clear pixel values associated with the empty tile in the color buffer; and for each of the non-empty tiles: identifying pixels of the non-empty tile that are covered by the destination shape but not the source shape; and sending instructions to clear pixel values associated with the pixels.
-
公开(公告)号:US11831885B2
公开(公告)日:2023-11-28
申请号:US17721687
申请日:2022-04-15
Applicant: META PLATFORMS TECHNOLOGIES, LLC
Inventor: Nilanjan Goswami , Sonal Pinto
IPC: H04N11/02 , H04N19/176 , H04N19/132
CPC classification number: H04N19/176 , H04N19/132
Abstract: A method includes receiving a block comprising pixels; encoding the pixels by: arranging the pixels in a sequence; generating a delta encoding of the pixels, the delta encoding comprising (a) a base value and (b) delta values having non-zero delta values and zero delta values, each delta value representing a difference between a corresponding pixel in the sequence and a previous pixel in the sequence; generating a symbol mask indicating whether each of the delta values is zero or non-zero; determining, based on magnitudes of the non-zero delta values, a symbol width for encoding each of the non-zero delta values; generating a sequence of symbols that respectively encode the non-zero delta values using the symbol width; generating a compression of the block by collating the symbol mask, the symbol width, and the sequence of symbols.
-
公开(公告)号:US20230336745A1
公开(公告)日:2023-10-19
申请号:US17721687
申请日:2022-04-15
Applicant: META PLATFORMS TECHNOLOGIES, LLC
Inventor: Nilanjan Goswami , Sonal Pinto
IPC: H04N19/176 , H04N19/132
CPC classification number: H04N19/176 , H04N19/132
Abstract: A method includes receiving a block comprising pixels; encoding the pixels by: arranging the pixels in a sequence; generating a delta encoding of the pixels, the delta encoding comprising (a) a base value and (b) delta values having non-zero delta values and zero delta values, each delta value representing a difference between a corresponding pixel in the sequence and a previous pixel in the sequence; generating a symbol mask indicating whether each of the delta values is zero or non-zero; determining, based on magnitudes of the non-zero delta values, a symbol width for encoding each of the non-zero delta values; generating a sequence of symbols that respectively encode the non-zero delta values using the symbol width; generating a compression of the block by collating the symbol mask, the symbol width, and the sequence of symbols.
-
公开(公告)号:US20230334735A1
公开(公告)日:2023-10-19
申请号:US17721635
申请日:2022-04-15
Applicant: META PLATFORMS TECHNOLOGIES, LLC
Inventor: Nilanjan Goswami , Christopher James Goodman , Steve John Clohset , Kyle Durfee
Abstract: A method includes receiving a list of primitives covering a tile of an image, the image comprising content defined by the list of primitives, and for each primitive in the list: identifying, in the tile, pixels that are partially covered by the primitive, pixels that are fully uncovered by the primitive, and pixels that are fully covered by the primitive; computing, for each of the partially-covered pixels, a coverage weight indicating a proportion of the partially-covered pixel that is covered by the primitive; storing coverage data in a coverage buffer corresponding to the tile, the coverage data comprising the coverage weights of the partially-covered pixels, fully-uncovered indicators for the fully-uncovered pixels, and fully-covered indicators for the fully-covered pixels; and determining color information for the primitive in the tile based on the stored coverage data. And, aggregating the color information of the list of primitives in a color buffer for output.
-
-
-