Loading media/codec2/components/base/SimpleC2Component.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -774,7 +774,8 @@ int SimpleC2Component::getHalPixelFormatForBitDepth10(bool allowRGBA1010102) { // Save supported hal pixel formats for bit depth of 10, the first time this is called if (!mBitDepth10HalPixelFormats.size()) { std::vector<int> halPixelFormats; if (isAtLeastT()) { // TODO(b/229387180) Enable once P010 is fully supported if (false && isAtLeastT()) { halPixelFormats.push_back(HAL_PIXEL_FORMAT_YCBCR_P010); } // since allowRGBA1010102 can chance in each call, but mBitDepth10HalPixelFormats Loading media/codec2/components/gav1/C2SoftGav1Dec.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,8 @@ class C2SoftGav1Dec::IntfImpl : public SimpleInterface<void>::BaseParams { .build()); std::vector<uint32_t> pixelFormats = {HAL_PIXEL_FORMAT_YCBCR_420_888}; if (isAtLeastT()) { // TODO(b/229387180) Enable once P010 is fully supported if (false && isAtLeastT()) { pixelFormats.push_back(HAL_PIXEL_FORMAT_YCBCR_P010); } // TODO: support more formats? Loading media/codec2/components/vpx/C2SoftVpxDec.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,8 @@ public: // TODO: support more formats? std::vector<uint32_t> pixelFormats = {HAL_PIXEL_FORMAT_YCBCR_420_888}; #ifdef VP9 if (isAtLeastT()) { // TODO(b/229387180) Enable once P010 is fully supported if (false && isAtLeastT()) { pixelFormats.push_back(HAL_PIXEL_FORMAT_YCBCR_P010); } #endif Loading Loading
media/codec2/components/base/SimpleC2Component.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -774,7 +774,8 @@ int SimpleC2Component::getHalPixelFormatForBitDepth10(bool allowRGBA1010102) { // Save supported hal pixel formats for bit depth of 10, the first time this is called if (!mBitDepth10HalPixelFormats.size()) { std::vector<int> halPixelFormats; if (isAtLeastT()) { // TODO(b/229387180) Enable once P010 is fully supported if (false && isAtLeastT()) { halPixelFormats.push_back(HAL_PIXEL_FORMAT_YCBCR_P010); } // since allowRGBA1010102 can chance in each call, but mBitDepth10HalPixelFormats Loading
media/codec2/components/gav1/C2SoftGav1Dec.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,8 @@ class C2SoftGav1Dec::IntfImpl : public SimpleInterface<void>::BaseParams { .build()); std::vector<uint32_t> pixelFormats = {HAL_PIXEL_FORMAT_YCBCR_420_888}; if (isAtLeastT()) { // TODO(b/229387180) Enable once P010 is fully supported if (false && isAtLeastT()) { pixelFormats.push_back(HAL_PIXEL_FORMAT_YCBCR_P010); } // TODO: support more formats? Loading
media/codec2/components/vpx/C2SoftVpxDec.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -219,7 +219,8 @@ public: // TODO: support more formats? std::vector<uint32_t> pixelFormats = {HAL_PIXEL_FORMAT_YCBCR_420_888}; #ifdef VP9 if (isAtLeastT()) { // TODO(b/229387180) Enable once P010 is fully supported if (false && isAtLeastT()) { pixelFormats.push_back(HAL_PIXEL_FORMAT_YCBCR_P010); } #endif Loading