CPC H04N 19/167 (2014.11) [H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/59 (2014.11); H04N 19/70 (2014.11)] | 20 Claims |
1. A video decoding method performed by an electronic device, the method comprising:
obtaining a current video frame;
determining a region of interest (ROI) of the current video frame;
decoding the ROI by using a first resolution, and decoding at least other regions of the current video frame than the ROI by using a plurality of second resolutions, the first resolution being higher than the plurality of second resolutions, wherein the first resolution and the plurality of second resolutions are determined according to a comparison of a current transmission bandwidth of a video stream to a preset bandwidth threshold, the video stream including the current video frame; and
matching pixel sets at a boundary between a pair of a first decoding region a and a second decoding region among the at least other regions by applying edge filtering, wherein the first decoding region and the second decoding region are decoding regions with adjacent positions, including:
determining, among the plurality of second resolutions, a resolution A for the first decoding region and a resolution B for the second decoding region, wherein the resolution A is different from the resolution B;
identifying a target resolution for the first decoding region and the second decoding region, wherein the target resolution is different from the resolution A and the resolution B;
identifying a first edge pixel set in the first decoding region;
identifying a second edge pixel set, distinct from the first edge pixel set, in the second decoding region, wherein the second edge pixel set is adjacent to the first edge pixel set; and
filtering the first edge pixel set and the second edge pixel set according to the target resolution.
|