Home
last modified time | relevance | path

Searched refs:nVideoW (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
221 nWidth = nVideoW; in implLayoutVideoWindow()
228 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow()
230 nX = ( nVideoW - aPrefSize.Width ) >> 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()
249 nX = ( nW - nVideoW ) >> 1; in implLayoutVideoWindow()
251 nWidth = nVideoW; in implLayoutVideoWindow()
/trunk/main/avmedia/source/java/
H A DPlayerWindow.java143 int nVideoW = nW, nVideoH = ( nH - nControlH ); in LayoutComponents() local
177 nWidth = nVideoW; in LayoutComponents()
184 if( ( aPrefDim.width <= nVideoW ) && ( aPrefDim.height <= nVideoH ) ) in LayoutComponents()
186 nX = ( nVideoW - aPrefDim.width ) >> 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()
205 nX = ( nW - nVideoW ) >> 1; in LayoutComponents()
207 nWidth = nVideoW; in LayoutComponents()
/trunk/main/avmedia/source/gstreamer/
H A Dgstwindow.cxx162 int nVideoW = nW, nVideoH = nH; in implLayoutVideoWindow() local
196 nWidth = nVideoW; in implLayoutVideoWindow()
203 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in implLayoutVideoWindow()
205 nX = ( nVideoW - aPrefSize.Width ) >> 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()
228 nX = ( nW - nVideoW ) >> 1; in implLayoutVideoWindow()
230 nWidth = nVideoW; in implLayoutVideoWindow()
/trunk/main/avmedia/source/win/
H A Dwindow.cxx231 int nVideoW = nW, nVideoH = nH; in ImplLayoutVideoWindow() local
265 nWidth = nVideoW; in ImplLayoutVideoWindow()
272 if( ( aPrefSize.Width <= nVideoW ) && ( aPrefSize.Height <= nVideoH ) ) in ImplLayoutVideoWindow()
274 nX = ( nVideoW - aPrefSize.Width ) >> 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()
293 nX = ( nW - nVideoW ) >> 1; in ImplLayoutVideoWindow()
295 nWidth = nVideoW; in ImplLayoutVideoWindow()

Completed in 63 milliseconds