Patent ID: 8917632

Claim:
A non-transitory computer readable medium of a mobile device having at least first and second cameras, the non-transitory computer readable medium storing a computer program for encoding video pictures captured by said cameras, the computer program comprising sets of instructions for: identifying a first rate controller parameter that is based, at least in part, on a first value that quantifies a first image capture characteristic of the first camera; using the first rate controller parameter to configure one or more of a set of rate controllers to adjust a bit rate for encoding video pictures captured by the first camera; storing a set of state information while encoding video pictures from the first camera, wherein the set of state information comprises at least one of: buffer fullness, maximum buffer fullness, and data regarding sizes of recently coded video pictures; identifying a second rate controller parameter that is based, at least in part, on a second value that quantifies the first image capture characteristic of the second camera, wherein the first and second values are different and said difference causes, at least in part, the first and second rate controller parameters to be different; using the second rate controller parameter to configure one or more of the set of rate controllers to adjust a bit rate for encoding video pictures captured by the second camera; switching from the first camera to the second camera while the mobile device is being used; and after switching from the first camera to the second camera, using the set of state information to configure the set of rate controllers to adjust the bit rate for encoding the video pictures captured by the second camera.