Home
last modified time | relevance | path

Searched refs:contextInOut (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/media/plugins/ffmpeg/
H A DUtilities.h155 uint16 pixelHeightAspectIn, AVCodecContext& contextInOut) in ConvertVideoAspectWidthAndHeightToAVCodecContext() argument
157 if (contextInOut.width <= 0 || contextInOut.height <= 0) { in ConvertVideoAspectWidthAndHeightToAVCodecContext()
160 contextInOut.sample_aspect_ratio.num = 0; in ConvertVideoAspectWidthAndHeightToAVCodecContext()
161 contextInOut.sample_aspect_ratio.den = 1; in ConvertVideoAspectWidthAndHeightToAVCodecContext()
170 &pureVideoDimensionAspectRatio.den, contextInOut.width, in ConvertVideoAspectWidthAndHeightToAVCodecContext()
171 contextInOut.height, 1024 * 1024); in ConvertVideoAspectWidthAndHeightToAVCodecContext()
177 contextInOut.sample_aspect_ratio.num = 0; in ConvertVideoAspectWidthAndHeightToAVCodecContext()
178 contextInOut.sample_aspect_ratio.den = 1; in ConvertVideoAspectWidthAndHeightToAVCodecContext()
182 av_reduce(&contextInOut.sample_aspect_ratio.num, in ConvertVideoAspectWidthAndHeightToAVCodecContext()
183 &contextInOut.sample_aspect_ratio.den, in ConvertVideoAspectWidthAndHeightToAVCodecContext()
[all …]