Patent ID: 11871003
Assignee: APPLE INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. An electronic device comprising:
a network interface configured to stream image data to another electronic device; and
video encoder circuitry configured to prepare the image data for streaming at least in part by:
performing a first pass of rate control on the image data to perform size estimation for each slice of the image data;
performing a second pass of rate control on the image data to assign quantization parameters and perform additional size estimation for each slice of the image data;
performing a third pass of rate control using one or more image frame statistics collected during the second pass of rate control, wherein the third pass of rate control comprises:
scaling a target coefficient size and a maximum coefficient size based on the one or more image frame statistics;
calculating an updated quantization parameter value based on the scaled target coefficient size and the scaled maximum coefficient size values; and
encoding one or more slices of the image data based on the calculated updated quantization parameter value.