Searched refs:Fourcc (Results 1 – 6 of 6) sorted by relevance
/external/v4l2_codec2/common/ |
D | Fourcc.cpp | 13 Fourcc::Fourcc(Fourcc::Value fourcc) : mValue(fourcc) {} in Fourcc() function in android::Fourcc 14 Fourcc::~Fourcc() = default; 15 Fourcc& Fourcc::operator=(const Fourcc& other) = default; 18 std::optional<Fourcc> Fourcc::fromUint32(uint32_t fourcc) { in fromUint32() 37 return Fourcc(static_cast<Value>(fourcc)); in fromUint32() 44 std::optional<Fourcc> Fourcc::fromVideoPixelFormat(VideoPixelFormat pixelFormat, in fromVideoPixelFormat() 49 return Fourcc(AR24); in fromVideoPixelFormat() 51 return Fourcc(AB24); in fromVideoPixelFormat() 53 return Fourcc(XR24); in fromVideoPixelFormat() 55 return Fourcc(XB24); in fromVideoPixelFormat() [all …]
|
D | Android.bp | 22 "Fourcc.cpp",
|
D | V4L2Device.cpp | 1459 const auto frameFourcc = Fourcc::fromV4L2PixFmt(pixFmt); in allocatedSizeFromV4L2Format() 1471 const auto frameFourcc = Fourcc::fromV4L2PixFmt(fourcc); in allocatedSizeFromV4L2Format() 1623 const auto videoFourcc = Fourcc::fromV4L2PixFmt(pixFmt); in v4L2FormatToVideoFrameLayout() 1693 std::optional<Fourcc> fourcc = Fourcc::fromV4L2PixFmt(pixFmt); in getNumPlanesOfV4L2PixFmt()
|
/external/v4l2_codec2/common/include/v4l2_codec2/common/ |
D | Fourcc.h | 29 class Fourcc { 112 explicit Fourcc(Fourcc::Value fourcc); 113 Fourcc& operator=(const Fourcc& fourcc); 114 ~Fourcc(); 116 bool operator==(const Fourcc& rhs) const { return mValue == rhs.mValue; } 122 static std::optional<Fourcc> fromUint32(uint32_t fourcc); 127 static std::optional<Fourcc> fromVideoPixelFormat(VideoPixelFormat pixelFormat, 130 static std::optional<Fourcc> fromV4L2PixFmt(uint32_t v4l2PixFmt); 141 std::optional<Fourcc> toSinglePlanar() const; 153 bool operator!=(const Fourcc& lhs, const Fourcc& rhs);
|
/external/v4l2_codec2/components/ |
D | V4L2Decoder.cpp | 32 Fourcc::YU12, Fourcc::YV12, Fourcc::YM12, Fourcc::YM21, 33 Fourcc::NV12, Fourcc::NV21, Fourcc::NM12, Fourcc::NM21,
|
D | V4L2Encoder.cpp | 443 auto fourcc = Fourcc::fromVideoPixelFormat(inputFormat, false); in configureInputFormat()
|