String matching with a single value from reference locations
A method, computer program, and computer system is provided for coding video data. Video data including one or more reference locations is received. The one or more reference locations are updated in a history list associated with the received video data based on intra block copy for a single value string mode. The video data is decoded based on the updated reference locations.
1. A method of video coding, executable by a processor, comprising:
receiving video data including one or more reference locations;
updating the one or more reference locations in a history list associated with the video data when a new string is coded in single value string mode; and
decoding the video data based on the updated reference locations.
2. The method of claim 1 , wherein a size of a reference sample memory is same as a size of a previous string.
3. The method of claim 1 , wherein a size of a reference sample memory is same as a size of the new string.
4. The method of claim 1 , wherein the updating comprises updating a first reference location in the history list from the reference locations associated with a previous string to the reference locations associated with the new string.
5. The method of claim 1 , wherein the updating comprises updating a first reference location in the history list from a first sample location associated with a previous string to a first sample associated with the new string.
6. The method of claim 1 , wherein the updating comprises updating a first reference location in the history list from a last sample location associated with a previous string to a first sample associated with the new string.
7. The method of claim 1 , wherein the updating comprises updating a first reference location in the history list from a last sample location associated with a previous string to a last sample associated with the new string.
8. The method of claim 1 , wherein the updating comprises updating a first reference location in the history list from a predetermined sample location associated with a previous string to a first sample associated with the new string.
9. A computer system for video coding, the computer system comprising:
one or more computer-readable non-transitory storage media configured to store computer program code; and
one or more computer processors configured to access said computer program code and operate as instructed by said computer program code, said computer program code including:
receiving code configured to cause the one or more computer processors to receive video data including one or more reference locations;
updating code configured to cause the one or more computer processors to update the one or more reference locations in a history list associated with the video data when a new string is coded in single value string mode; and
decoding code configured to cause the one or more computer processors to decode the video data based on the updated reference locations.
10. The computer system of claim 9 , wherein a size of a reference sample memory is same as a size of a previous string.
11. The computer system of claim 9 , wherein the updating code comprises updating a first reference location in the history list from the reference locations associated with a previous string to the reference locations associated with the new string.
12. The computer system of claim 9 , wherein the updating code comprises updating a first reference location in the history list from a first sample location associated with a previous string to a first sample associated with the new string.
13. The computer system of claim 9 , wherein the updating code comprises updating a first reference location in the history list from a last sample location associated with a previous string to a first sample associated with the new string.
14. The computer system of claim 9 , wherein the updating code comprises updating a first reference location in the history list from a last sample location associated with a previous string to a last sample associated with the new string.
15. The computer system of claim 9 , wherein the updating code comprises updating a first reference location in the history list from a predetermined sample location associated with a previous string to a first sample associated with the new string.
16. A non-transitory computer readable medium having stored thereon a computer program for video coding, the computer program configured to cause one or more computer processors to:
receive video data including one or more reference locations;
update the one or more reference locations in a history list associated with the video data when a new string is coded in single value string mode; and
decode the video data based on the updated reference locations.
17. The computer system of claim 16 , wherein a size of a reference sample memory is same as a size of a previous string or the new string.
18. The computer system of claim 16 , wherein the updating comprises updating a first reference location in the history list from a first sample location associated with a previous string to a first sample associated with the new string.
19. The computer system of claim 16 , wherein the updating comprises updating a first reference location in the history list from a last sample location associated with a previous string to a first sample associated with the new string.
20. The computer system of claim 16 , wherein the updating comprises updating a first reference location in the history list from a predetermined sample location associated with a previous string to a first sample associated with the new string.