Home
last modified time | relevance | path

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

/trunk/main/avmedia/source/xine/
H A Dwindow.cxx187 int nVideoW = nW, nVideoH = nH; in implLayoutVideoWindow() local
222 nHeight = nVideoH; in implLayoutVideoWindow()
228 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow()
231 nY = ( nVideoH - aPrefSize.Height ) >> 1; in implLayoutVideoWindow()
240 if( aPrefSize.Width > 0 && aPrefSize.Height > 0 && nVideoW > 0 && nVideoH > 0 ) in implLayoutVideoWindow()
244 if( fPrefWH < ( (double) nVideoW / nVideoH ) ) in implLayoutVideoWindow()
245 nVideoW = (int)( nVideoH * fPrefWH ); in implLayoutVideoWindow()
247 nVideoH = (int)( nVideoW / fPrefWH ); in implLayoutVideoWindow()
250 nY = ( nH - nVideoH ) >> 1; in implLayoutVideoWindow()
252 nHeight = nVideoH; in implLayoutVideoWindow()
/trunk/main/avmedia/source/java/
H A DPlayerWindow.java143 int nVideoW = nW, nVideoH = ( nH - nControlH ); in LayoutComponents() local
178 nHeight = nVideoH; in LayoutComponents()
184 if( ( aPrefDim.width <= nVideoW ) && ( aPrefDim.height <= nVideoH ) ) in LayoutComponents()
187 nY = ( nVideoH - aPrefDim.height ) >> 1; in LayoutComponents()
196 … if( aPrefDim.width > 0 && aPrefDim.height > 0 && nVideoW > 0 && nVideoH > 0 ) in LayoutComponents()
200 if( fPrefWH < ( (double) nVideoW / nVideoH ) ) in LayoutComponents()
201 nVideoW = (int)( nVideoH * fPrefWH ); in LayoutComponents()
203 nVideoH = (int)( nVideoW / fPrefWH ); in LayoutComponents()
206 nY = ( nH - nControlH - nVideoH ) >> 1; in LayoutComponents()
208 nHeight = nVideoH; in LayoutComponents()
/trunk/main/avmedia/source/gstreamer/
H A Dgstwindow.cxx162 int nVideoW = nW, nVideoH = nH; in implLayoutVideoWindow() local
197 nHeight = nVideoH; in implLayoutVideoWindow()
203 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow()
206 nY = ( nVideoH - aPrefSize.Height ) >> 1; in implLayoutVideoWindow()
215 … if( ( aPrefSize.Width > 0 ) && ( aPrefSize.Height > 0 ) && ( nVideoW > 0 ) && ( nVideoH > 0 ) ) in implLayoutVideoWindow()
219 if( fPrefWH < ( (double) nVideoW / nVideoH ) ) in implLayoutVideoWindow()
221 nVideoW = (int) ( nVideoH * fPrefWH ); in implLayoutVideoWindow()
225 nVideoH = (int) ( nVideoW / fPrefWH ); in implLayoutVideoWindow()
229 nY = ( nH - nVideoH ) >> 1; in implLayoutVideoWindow()
231 nHeight = nVideoH; in implLayoutVideoWindow()
/trunk/main/avmedia/source/win/
H A Dwindow.cxx231 int nVideoW = nW, nVideoH = nH; in ImplLayoutVideoWindow() local
266 nHeight = nVideoH; in ImplLayoutVideoWindow()
272 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in ImplLayoutVideoWindow()
275 nY = ( nVideoH - aPrefSize.Height ) >> 1; in ImplLayoutVideoWindow()
284 if( aPrefSize.Width > 0 && aPrefSize.Height > 0 && nVideoW > 0 && nVideoH > 0 ) in ImplLayoutVideoWindow()
288 if( fPrefWH < ( (double) nVideoW / nVideoH ) ) in ImplLayoutVideoWindow()
289 nVideoW = (int)( nVideoH * fPrefWH ); in ImplLayoutVideoWindow()
291 nVideoH = (int)( nVideoW / fPrefWH ); in ImplLayoutVideoWindow()
294 nY = ( nH - nVideoH ) >> 1; in ImplLayoutVideoWindow()
296 nHeight = nVideoH; in ImplLayoutVideoWindow()

Completed in 26 milliseconds