MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / AVPixelFormat

Enum AVPixelFormat

examples/VulkanBenchmark.cpp:592–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

590
591private:
592 static enum AVPixelFormat SelectPixelFormat(AVCodecContext* codec_context, const enum AVPixelFormat* pix_fmts) {
593 const auto* self = static_cast<GenericDecodeReader*>(codec_context->opaque);
594 const AVPixelFormat preferred_hw =
595 self && self->decode_kind_ == DecodeKind::Cuda ? AV_PIX_FMT_CUDA :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected