Processing sub-partitions using reference pixels
A method includes transcoding, by a first transcoding process, a first sub-partition of a current block using a first set of reference pixels. Also, the method includes transcoding, by a second transcoding process, a second sub-partition of the current block using the first set of reference pixels. The first transcoding process transcodes a third sub-partition of the current block based on a second set of reference pixels. The second transcoding process transcodes a fourth sub-partition of the current block based on a third set of reference pixels.
1 . A method comprising:
transcoding, by a first transcoding process, a first sub-partition of a current block using a first set of reference pixels;
transcoding, by a second transcoding process, a second sub-partition of the current block using the first set of reference pixels;
transcoding, by the first transcoding process, a third sub-partition of the current block based on a second set of reference pixels; and
transcoding, by the second transcoding process, a fourth sub-partition of the current block based on a third set of reference pixels.
2 . The method of claim 1 , wherein:
the second set of reference pixels are determined based on transcoding the first sub-partition; and
the third set of reference pixels are determined based on transcoding the second sub-partition.
3 . The method of claim 1 , wherein:
transcoding the first sub-partition and transcoding the second sub-partition is performed in parallel.
4 . The method of claim 3 , wherein:
the third sub-partition and the fourth sub-partition are transcoded in parallel after transcoding the first sub-partition and the second sub-partition.
5 . The method of claim 1 , wherein:
transcoding the first sub-partition comprises:
decoding the first sub-partition to generate first decoded pixels for the first sub-partition;
generating the second set of reference pixels from the first decoded pixels for the first sub-partition;
transcoding the second sub-partition comprises:
decoding the second sub-partition to generate second decoded pixels for the second sub-partition; and
generating the third set of reference pixels from the second decoded pixels for the second sub-partition.
6 . The method of claim 1 , wherein:
transcoding the first sub-partition comprises:
generating first predicted pixels from the first set of reference pixels; and
using the first predicted pixels to transcode the first sub-partition;
transcoding the second sub-partition comprises:
generating second predicted pixels from the first set of reference pixels; and
using the second predicted pixels to transcode the second sub-partition.
7 . The method of claim 1 , wherein transcoding the first sub-partition comprises:
determining first original pixels and first predicted pixels for the first sub-partition;
generating a residual for the first sub-partition from the first original pixels and the first predicted pixels;
transcoding the first residual for the first sub-partition;
decoding the first residual for the first sub-partition to generate first decoded pixels; and
combining the first decoded pixels with the first predicted pixels for use in the second set of reference pixels.
8 . The method of claim 7 , wherein transcoding the second sub-partition comprises:
determining second original pixels and second predicted pixels for the second sub-partition;
generating a residual for the second sub-partition from the second original pixels and the second predicted pixels;
transcoding the second residual for the second sub-partition;
decoding the second residual for the second sub-partition to generate second decoded pixels; and
combining the second decoded pixels with the second predicted pixels for use in the third set of reference pixels.
9 . The method of claim 1 , wherein:
transcoding the first sub-partition comprises:
decoding the first sub-partition;
generating first predicted pixels from the first set of reference pixels; and
generating the second set of reference pixels from the decoded first sub-partition and the first predicted pixels;
and transcoding the second sub-partition comprises:
decoding the second sub-partition;
generating second predicted pixels from the second set of reference pixels; and
generating the third set of reference pixels from the decoded second sub-partition and the second predicted pixels.
10 . The method of claim 1 , wherein transcoding the first sub-partition comprises:
determining first predicted pixels from other reference pixels for another block;
generating a first residual for the first sub-partition from first encoded pixels of the first sub-partition;
generating first decoded pixels from the first predicted pixels and the first residual;
generating first predicted pixels for the first sub-partition from the other reference pixels; and
using the first predicted pixels to decode the third sub-partition.
11 . The method of claim 10 , wherein transcoding the second sub-partition comprises:
determining second predicted pixels from the other reference pixels for another block;
generating a second residual for the second sub-partition from second encoded pixels of the second sub-partition;
generating second decoded pixels from the second predicted pixels and the second residual;
generating second predicted pixels for the second sub-partition from the other reference pixels; and
using the second predicted pixels to decode the fourth sub-partition.
12 . The method of claim 1 , wherein:
the third sub-partition and the fourth sub-partition are located in between the first sub-partition and the second sub-partition.
13 . The method of claim 1 , wherein:
the second set of reference pixels are adjacent to the third sub-partition, and
the third set of reference pixels are adjacent to the fourth sub-partition.
14 . The method of claim 1 , wherein:
the second set of reference pixels and the third set of reference pixels include a first portion of pixels that are different and a second portion of pixels that are the same.
15 . The method of claim 1 , wherein:
the first set of reference pixels, the second set of reference pixels, and the third set of reference pixels include a first portion of pixels that are different and a second portion of pixels that are the same.
16 . The method of claim 1 , wherein:
the first transcoding process and the second transcoding process are different processes.
17 . A non-transitory computer-readable storage medium containing instructions, that when executed, control a computer system to be operable for:
transcoding, by a first transcoding process, a first sub-partition of a current block using a first set of reference pixels;
transcoding, by a second transcoding process, a second sub-partition of the current block using the first set of reference pixels;
transcoding, by the first transcoding process, a third sub-partition of the current block based on a second set of reference pixels; and
transcoding, by the second transcoding process, a fourth sub-partition of the current block based on a third set of reference pixels.
18 . A system comprising:
a first transcoding process operable for:
transcoding a first sub-partition of a current block using a first set of reference pixels; and
transcoding a third sub-partition of the current block based on a second set of reference pixels;
a second transcoding process operable for:
transcoding a second sub-partition of the current block using the first set of reference pixels; and
transcoding a fourth sub-partition of the current block based on a third set of reference pixels.
19 . The system of claim 18 , wherein:
the first transcoding process and the second transcoding process are different processes.
20 . The system of claim 18 , wherein:
the first transcoding process and the second transcoding process trancodes the first sub-partition and the second sub-partition in parallel.