1. A method, comprising: at a processor, configuring a shared buffer to support processing of a first read stream and a second read stream, wherein the first read stream is associated with a first video codec format, and wherein the second read stream is associated with a second video codec format different than the first video codec format; determining a first buffer write address within the shared buffer in response to a memory request associated with the first read stream; and determining a second buffer write address within the shared buffer in response to a memory request associated with the second read stream, wherein the second buffer write address is different than the first buffer write address, wherein the configuration data specifies the first buffer write address and the second buffer write address.