MCPcopy Create free account
hub / github.com/FFMS/ffms2 / FFMS_SetInputFormatV

Function FFMS_SetInputFormatV

src/core/ffms.cpp:184–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184FFMS_API(int) FFMS_SetInputFormatV(FFMS_VideoSource *V, int ColorSpace, int ColorRange, int Format, FFMS_ErrorInfo *ErrorInfo) {
185 ClearErrorInfo(ErrorInfo);
186 try {
187 V->SetInputFormat(ColorSpace, ColorRange, static_cast<AVPixelFormat>(Format));
188 } catch (FFMS_Exception &e) {
189 return e.CopyOut(ErrorInfo);
190 }
191 return FFMS_ERROR_SUCCESS;
192}
193
194FFMS_API(void) FFMS_ResetInputFormatV(FFMS_VideoSource *V) {
195 V->ResetInputFormat();

Callers

nothing calls this directly

Calls 3

ClearErrorInfoFunction · 0.85
SetInputFormatMethod · 0.80
CopyOutMethod · 0.80

Tested by

no test coverage detected