MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / handle_formats

Function handle_formats

libswscale/utils.c:832–843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

830}
831
832static int handle_formats(SwsContext *sws)
833{
834 SwsInternal *c = sws_internal(sws);
835 c->src0Alpha |= handle_0alpha(&sws->src_format);
836 c->dst0Alpha |= handle_0alpha(&sws->dst_format);
837 c->srcXYZ |= handle_xyz(&sws->src_format);
838 c->dstXYZ |= handle_xyz(&sws->dst_format);
839 if (c->srcXYZ || c->dstXYZ)
840 return ff_sws_fill_xyztables(c);
841 else
842 return 0;
843}
844
845static int range_override_needed(enum AVPixelFormat format)
846{

Callers 2

sws_setColorspaceDetailsFunction · 0.85

Calls 4

sws_internalFunction · 0.85
handle_0alphaFunction · 0.85
handle_xyzFunction · 0.85
ff_sws_fill_xyztablesFunction · 0.85

Tested by

no test coverage detected