Allow creation of input surface in CCodec
Currently, an input surface to an encoder is created in the codec process, but the queue operation has to be issued from the application process. This CL allows an input surface to be created in the application process, hence reducing the number of IPCs issued per frame. This option can be chosen by setting "debug.stagefright.c2inputsurface" to -1. (If the property is not set, it defaults to 0, which picks the current behavior.) Test: adb shell setprop debug.stagefright.c2inputsurface -1 Then, record a video. Bug: 131800183 Bug: 134017277 Change-Id: Idbf2ba87689e1e876a215850aa0260539183a4ee
Loading
Please register or sign in to comment