MCPcopy Create free account
hub / github.com/IENT/YUView / setSize

Method setSize

YUViewLib/src/ffmpeg/AVCodecParametersWrapper.cpp:300–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void AVCodecParametersWrapper::setSize(Size size)
301{
302 if (this->libVer.avformat.major == 57 || this->libVer.avformat.major == 58 ||
303 this->libVer.avformat.major == 59 || this->libVer.avformat.major == 60)
304 {
305 auto p = reinterpret_cast<AVCodecParameters_57_58_59_60 *>(this->param);
306 p->width = size.width;
307 p->height = size.height;
308 this->width = size.width;
309 this->height = size.height;
310 }
311}
312
313void AVCodecParametersWrapper::setAVPixelFormat(AVPixelFormat format)
314{

Callers 15

paintStatisticsDataMethod · 0.80
decoderFFmpegMethod · 0.80
drawItemMethod · 0.80
drawItemMethod · 0.80
drawItemMethod · 0.80
updateLayoutMethod · 0.80
drawTextInCenterOfAreaFunction · 0.80
drawAxisTickLabelsMethod · 0.80
drawLimitsMethod · 0.80
paintEventMethod · 0.80
drawLoadingMessageMethod · 0.80
drawItemPathAndNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected