CCodec: Detect pipeline fullness based on pending inputs

Indicate pipeline fullness if there are
{inputDelay + pipelineDelay + smoothnessFactor} pending inputs
in the pipeline to avoid allocating more input.

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 131217771

Change-Id: Ie08e59d1c6eecce5f07b98b899a0affd8602b04a
1 file changed