Efficient frame rendering
View Patent ↗A user may interact with an interactive remote display (e.g., touch input) and the interaction may be sent to an application on a mobile device. The mobile device (application and/or encoder) may render frames for the display when there is a change. Latency in the pipeline may be alleviated by determine a rendering rate for an application. A dummy frame may be sent to the encoder if the application is not a constant rendering type of application. The dummy frames may be sent subsequent to the rendered frames to flush the pipeline.
1. A computer-implemented method, comprising:
receiving, by a mobile device, an indication of a touch input on a remote display, wherein the remote display is separate from the mobile device and the touch input is associated with a change to an application being shown on the remote display;
determining, by the mobile device, a rendering rate for the application;
sending, to an encoder of the mobile device, at least one dummy frame based on the rendering rate;
rendering a plurality of frames including the at least one dummy frame, wherein the plurality of rendered frames fills a pipeline of the encoder; and
sending the plurality of rendered frames of the filled pipeline to a decoder that is coupled to the remote display.
2. The method of claim 1 , further comprising determining that the rendering rate is below a threshold level.
3. The method of claim 1 , further comprising updating a portion of the remote display in response to the touch input.
4. The method of claim 1 , wherein the plurality of rendered frames and the at least one dummy frame alters at least a portion of the remote display.
5. The method of claim 1 , wherein the remote display is a component of an infotainment system incorporated in a motor vehicle.
6. The method of claim 1 , wherein the decoder is coupled to the remote display.
7. A system, comprising:
a processor connected to a mobile device, wherein the processor is configured to:
receive an indication of a touch input on a remote display, wherein the remote display is separate from the mobile device and the touch input is associated with a change to an application being shown on the remote display;
determine a rendering rate for the application;
send, to an encoder of the mobile device, at least one dummy frame based on the rendering rate;
render a plurality of frames including the at least one dummy frame, wherein the plurality of rendered frames fills a pipeline of the encoder; and
send the plurality of rendered frames of the filled pipeline to a decoder that is coupled to the remote display.
8. The system of claim 7 , the processor further configured to determine that the rendering rate is below a threshold level.
9. The system of claim 7 , the processor further configured to update a portion of the remote display in response to the touch input.
10. The system of claim 7 , wherein the plurality of rendered frames and the at least one dummy frame alters at least a portion of the remote display.
11. The system of claim 7 , wherein the remote display is a component of an infotainment system incorporated in a motor vehicle.
12. The system of claim 7 , wherein the decoder is coupled to the remote display.
13. A computer-implemented method, comprising:
generating at least one frame in response to an input received from an infotainment system;
determining that a rendering rate is not constant;
sending at least one dummy frame and the at least one frame to an encoder;
rendering, by the encoder, the at least one dummy frame and the at least one frame to form a plurality of rendered frames; and
sending the plurality of rendered frames to a decoder connected to the infotainment system, wherein the infotainment system displays the plurality of rendered frames.
14. The method of claim 13 , wherein the plurality of rendered frames are received by a decoder of the infotainment system.