Merge "Tests: Camera2: Add Y8/Y16 to Stream create/delete tests"
This commit is contained in:
commit
8379998878
2 changed files with 26 additions and 2 deletions
|
@ -39,8 +39,8 @@ struct CameraStreamParams {
|
|||
|
||||
inline void PrintTo(const CameraStreamParams& p, ::std::ostream* os) {
|
||||
*os << "{ ";
|
||||
*os << "Format: " << p.mFormat << ", ";
|
||||
*os << "HeapCount: " << p.mHeapCount;
|
||||
*os << "Format: 0x" << std::hex << p.mFormat << ", ";
|
||||
*os << "HeapCount: " << p.mHeapCount;
|
||||
*os << " }";
|
||||
}
|
||||
|
||||
|
|
|
@ -141,6 +141,30 @@ static CameraStreamParams TestParameters[] = {
|
|||
/*mFormat*/ HAL_PIXEL_FORMAT_YV12,
|
||||
/*mHeapCount*/ 3
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_Y8,
|
||||
/*mHeapCount*/ 1
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_Y8,
|
||||
/*mHeapCount*/ 2
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_Y8,
|
||||
/*mHeapCount*/ 3
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_Y16,
|
||||
/*mHeapCount*/ 1
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_Y16,
|
||||
/*mHeapCount*/ 2
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_Y16,
|
||||
/*mHeapCount*/ 3
|
||||
},
|
||||
{
|
||||
/*mFormat*/ HAL_PIXEL_FORMAT_RAW_SENSOR,
|
||||
/*mHeapCount*/ 1
|
||||
|
|
Loading…
Reference in a new issue