Home
last modified time | relevance | path

Searched refs:aWidth (Results 1 – 25 of 2481) sorted by relevance

12345678910>>...100

/dports/www/firefox-legacy/firefox-52.8.0esr/dom/canvas/
H A DImageBitmapColorUtils.h22 int aWidth, int aHeight);
27 int aWidth, int aHeight);
31 int aWidth, int aHeight);
36 int aWidth, int aHeight);
44 int aWidth, int aHeight);
49 int aWidth, int aHeight);
53 int aWidth, int aHeight);
66 int aWidth, int aHeight);
75 int aWidth, int aHeight);
107 int aWidth, int aHeight);
[all …]
H A DImageBitmapColorUtils.cpp92 for (int j = 0; j < aWidth; ++j) { in RGBFamilyToRGBAFamily()
126 for (int j = 0; j < aWidth; ++j) { in RGBAFamilyToRGBFamily()
150 int aWidth) in YUVFamilyToRGBFamily_Row() argument
167 if (aWidth & 1) { in YUVFamilyToRGBFamily_Row()
182 int aWidth) in YUVFamilyToRGBAFamily_Row() argument
203 if (aWidth & 1) { in YUVFamilyToRGBAFamily_Row()
226 if (aWidth & 1) { in RGBFamilyToY_Row()
259 if (aWidth & 1) { in RGBFamilyToUV_Row()
285 if (aWidth & 1) { in RGBAFamilyToY_Row()
318 if (aWidth & 1) { in RGBAFamilyToUV_Row()
[all …]
H A DImageData.cpp42 const uint32_t aWidth, in Constructor() argument
46 if (aWidth == 0 || aHeight == 0) { in Constructor()
50 CheckedInt<uint32_t> length = CheckedInt<uint32_t>(aWidth) * aHeight * 4; in Constructor()
62 RefPtr<ImageData> imageData = new ImageData(aWidth, aHeight, *data); in Constructor()
70 const uint32_t aWidth, in Constructor() argument
82 if (aWidth == 0) { in Constructor()
86 uint32_t height = length / aWidth; in Constructor()
87 if (length != aWidth * height || in Constructor()
97 RefPtr<ImageData> imageData = new ImageData(aWidth, height, *aData.Obj()); in Constructor()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/canvas/
H A DImageBitmapColorUtils.h48 int aDstStride, int aWidth, int aHeight);
58 int aDstStride, int aWidth, int aHeight);
121 int aDstStride, int aWidth, int aHeight);
250 int aDstStride, int aWidth, int aHeight);
253 int aDstStride, int aWidth, int aHeight);
262 int aDstStride, int aWidth, int aHeight);
265 int aDstStride, int aWidth, int aHeight);
277 int aDstStride, int aWidth, int aHeight);
280 int aDstStride, int aWidth, int aHeight);
289 int aDstStride, int aWidth, int aHeight);
[all …]
H A DImageBitmapColorUtils.cpp82 for (int j = 0; j < aWidth; ++j) { in RGBFamilyToRGBAFamily()
114 for (int j = 0; j < aWidth; ++j) { in RGBAFamilyToRGBFamily()
153 if (aWidth & 1) { in YUVFamilyToRGBFamily_Row()
188 if (aWidth & 1) { in YUVFamilyToRGBAFamily_Row()
213 if (aWidth & 1) { in RGBFamilyToY_Row()
252 if (aWidth & 1) { in RGBFamilyToUV_Row()
279 if (aWidth & 1) { in RGBAFamilyToY_Row()
318 if (aWidth & 1) { in RGBAFamilyToUV_Row()
400 for (int j = 0; j < aWidth; ++j) { in RGB24ToBGR24()
762 for (int j = 0; j < aWidth; ++j) { in RGB24ToYUV444P()
[all …]
H A DImageData.cpp40 const uint32_t aWidth, in Constructor() argument
43 if (aWidth == 0 || aHeight == 0) { in Constructor()
47 CheckedInt<uint32_t> length = CheckedInt<uint32_t>(aWidth) * aHeight * 4; in Constructor()
58 RefPtr<ImageData> imageData = new ImageData(aWidth, aHeight, *data); in Constructor()
65 const uint32_t aWidth, const Optional<uint32_t>& aHeight, in Constructor() argument
75 if (aWidth == 0) { in Constructor()
79 uint32_t height = length / aWidth; in Constructor()
80 if (length != aWidth * height || in Constructor()
91 RefPtr<ImageData> imageData = new ImageData(aWidth, height, *aData.Obj()); in Constructor()
/dports/www/firefox-esr/firefox-91.8.0/image/
H A DResolution.h40 void ApplyXTo(int32_t& aWidth) const { in ApplyXTo()
42 aWidth = std::round(float(aWidth) / mX); in ApplyXTo()
46 void ApplyXTo(float& aWidth) const { in ApplyXTo()
48 aWidth /= mX; in ApplyXTo()
64 void ApplyTo(int32_t& aWidth, int32_t& aHeight) const { in ApplyTo()
65 ApplyXTo(aWidth); in ApplyTo()
69 void ApplyTo(float& aWidth, float& aHeight) const { in ApplyTo()
70 ApplyXTo(aWidth); in ApplyTo()
74 void ApplyInverseTo(int32_t& aWidth, int32_t& aHeight) { in ApplyInverseTo()
76 aWidth = std::round(float(aWidth) * mX); in ApplyInverseTo()
/dports/www/firefox/firefox-99.0/image/
H A DResolution.h40 void ApplyXTo(int32_t& aWidth) const { in ApplyXTo()
42 aWidth = std::round(float(aWidth) / mX); in ApplyXTo()
46 void ApplyXTo(float& aWidth) const { in ApplyXTo()
48 aWidth /= mX; in ApplyXTo()
64 void ApplyTo(int32_t& aWidth, int32_t& aHeight) const { in ApplyTo()
65 ApplyXTo(aWidth); in ApplyTo()
69 void ApplyTo(float& aWidth, float& aHeight) const { in ApplyTo()
70 ApplyXTo(aWidth); in ApplyTo()
74 void ApplyInverseTo(int32_t& aWidth, int32_t& aHeight) { in ApplyInverseTo()
76 aWidth = std::round(float(aWidth) * mX); in ApplyInverseTo()
/dports/mail/thunderbird/thunderbird-91.8.0/image/
H A DResolution.h40 void ApplyXTo(int32_t& aWidth) const { in ApplyXTo()
42 aWidth = std::round(float(aWidth) / mX); in ApplyXTo()
46 void ApplyXTo(float& aWidth) const { in ApplyXTo()
48 aWidth /= mX; in ApplyXTo()
64 void ApplyTo(int32_t& aWidth, int32_t& aHeight) const { in ApplyTo()
65 ApplyXTo(aWidth); in ApplyTo()
69 void ApplyTo(float& aWidth, float& aHeight) const { in ApplyTo()
70 ApplyXTo(aWidth); in ApplyTo()
74 void ApplyInverseTo(int32_t& aWidth, int32_t& aHeight) { in ApplyInverseTo()
76 aWidth = std::round(float(aWidth) * mX); in ApplyInverseTo()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/qa/pcbnew_utils/
H A Dboard_construction_utils.cpp42 seg->SetWidth( aWidth ); in DrawSegment()
54 DrawSegment( aFootprint, { aPts[i], aPts[i + 1] }, aWidth, aLayer ); in DrawPolyline()
60 double aAngle, int aWidth, PCB_LAYER_ID aLayer ) in DrawArc() argument
68 seg->SetWidth( aWidth ); in DrawArc()
76 int aWidth, PCB_LAYER_ID aLayer ) in DrawRect() argument
91 DrawSegment( aFootprint, { { xin_l, y_t }, { xin_r, y_t } }, aWidth, aLayer ); in DrawRect()
92 DrawSegment( aFootprint, { { xin_l, y_b }, { xin_r, y_b } }, aWidth, aLayer ); in DrawRect()
103 DrawArc( aFootprint, { xin_r, yin_t }, { x_r, yin_t }, 90, aWidth, aLayer ); in DrawRect()
104 DrawArc( aFootprint, { xin_l, yin_t }, { xin_l, y_t }, 90, aWidth, aLayer ); in DrawRect()
105 DrawArc( aFootprint, { xin_l, yin_b }, { x_l, yin_b }, 90, aWidth, aLayer ); in DrawRect()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/import_gfx/
H A Dgraphics_importer_buffer.cpp36 void GRAPHICS_IMPORTER_BUFFER::AddLine( const VECTOR2D& aStart, const VECTOR2D& aEnd, double aWidth in AddLine() argument
38 m_shapes.push_back( make_shape< IMPORTED_LINE >( aStart, aEnd, aWidth ) ); in AddLine()
42 void GRAPHICS_IMPORTER_BUFFER::AddCircle( const VECTOR2D& aCenter, double aRadius, double aWidth, b… in AddCircle() argument
44 m_shapes.push_back( make_shape<IMPORTED_CIRCLE>( aCenter, aRadius, aWidth, aFilled ) ); in AddCircle()
49 double aAngle, double aWidth ) in AddArc() argument
51 m_shapes.push_back( make_shape< IMPORTED_ARC >( aCenter, aStart, aAngle, aWidth ) ); in AddArc()
55 void GRAPHICS_IMPORTER_BUFFER::AddPolygon( const std::vector< VECTOR2D >& aVertices, double aWidth ) in AddPolygon() argument
57 m_shapes.push_back( make_shape< IMPORTED_POLYGON >( aVertices, aWidth ) ); in AddPolygon()
62 double aHeight, double aWidth, double aThickness, double aOrientation, in AddText() argument
65 m_shapes.push_back( make_shape< IMPORTED_TEXT >( aOrigin, aText, aHeight, aWidth, in AddText()
[all …]
H A Dgraphics_importer_buffer.h50 IMPORTED_LINE( const VECTOR2D& aStart, const VECTOR2D& aEnd, double aWidth ) : in IMPORTED_LINE() argument
53 m_width( aWidth ) in IMPORTED_LINE()
94 m_width( aWidth ), in IMPORTED_CIRCLE()
138 m_width( aWidth ) in IMPORTED_ARC()
178 IMPORTED_POLYGON( const std::vector< VECTOR2D >& aVertices, double aWidth ) : in IMPORTED_POLYGON() argument
180 m_width( aWidth ) in IMPORTED_POLYGON()
226 m_width( aWidth ), in IMPORTED_TEXT()
277 m_width( aWidth ) in IMPORTED_SPLINE()
328 double aWidth ) override;
330 void AddPolygon( const std::vector< VECTOR2D >& aVertices, double aWidth ) override;
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/ipc/
H A DSharedDIBSurface.cpp16 bool SharedDIBSurface::Create(HDC adc, uint32_t aWidth, uint32_t aHeight, in Create() argument
18 nsresult rv = mSharedDIB.Create(adc, aWidth, aHeight, aTransparent); in Create()
21 InitSurface(aWidth, aHeight, aTransparent); in Create()
25 bool SharedDIBSurface::Attach(Handle aHandle, uint32_t aWidth, uint32_t aHeight, in Attach() argument
27 nsresult rv = mSharedDIB.Attach(aHandle, aWidth, aHeight, aTransparent); in Attach()
30 InitSurface(aWidth, aHeight, aTransparent); in Attach()
34 void SharedDIBSurface::InitSurface(uint32_t aWidth, uint32_t aHeight, in InitSurface() argument
36 long stride = long(aWidth * SharedDIB::kBytesPerPixel); in InitSurface()
42 gfxImageSurface::InitWithData(data, IntSize(aWidth, aHeight), stride, format); in InitSurface()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/ipc/
H A DSharedDIBSurface.cpp16 bool SharedDIBSurface::Create(HDC adc, uint32_t aWidth, uint32_t aHeight, in Create() argument
18 nsresult rv = mSharedDIB.Create(adc, aWidth, aHeight, aTransparent); in Create()
21 InitSurface(aWidth, aHeight, aTransparent); in Create()
25 bool SharedDIBSurface::Attach(Handle aHandle, uint32_t aWidth, uint32_t aHeight, in Attach() argument
27 nsresult rv = mSharedDIB.Attach(aHandle, aWidth, aHeight, aTransparent); in Attach()
30 InitSurface(aWidth, aHeight, aTransparent); in Attach()
34 void SharedDIBSurface::InitSurface(uint32_t aWidth, uint32_t aHeight, in InitSurface() argument
36 long stride = long(aWidth * SharedDIB::kBytesPerPixel); in InitSurface()
42 gfxImageSurface::InitWithData(data, IntSize(aWidth, aHeight), stride, format); in InitSurface()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/ipc/
H A DSharedDIBSurface.cpp16 SharedDIBSurface::Create(HDC adc, uint32_t aWidth, uint32_t aHeight, in Create() argument
19 nsresult rv = mSharedDIB.Create(adc, aWidth, aHeight, aTransparent); in Create()
23 InitSurface(aWidth, aHeight, aTransparent); in Create()
28 SharedDIBSurface::Attach(Handle aHandle, uint32_t aWidth, uint32_t aHeight, in Attach() argument
31 nsresult rv = mSharedDIB.Attach(aHandle, aWidth, aHeight, aTransparent); in Attach()
35 InitSurface(aWidth, aHeight, aTransparent); in Attach()
40 SharedDIBSurface::InitSurface(uint32_t aWidth, uint32_t aHeight, in InitSurface() argument
43 long stride = long(aWidth * SharedDIB::kBytesPerPixel); in InitSurface()
48 gfxImageSurface::InitWithData(data, IntSize(aWidth, aHeight), in InitSurface()
/dports/www/firefox-esr/firefox-91.8.0/gfx/2d/
H A DQuartzSupport.mm116 mUnsupportedWidth = aWidth;
123 mUnsupportedWidth = aWidth;
132 mUnsupportedWidth = aWidth;
140 mUnsupportedWidth = aWidth;
152 SetBounds(aWidth, aHeight);
158 mUnsupportedWidth = aWidth;
233 mUnsupportedWidth = aWidth;
239 SetViewport(aWidth, aHeight);
244 mUnsupportedWidth = aWidth;
305 aWidth *= intScaleFactor;
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/2d/
H A DQuartzSupport.mm116 mUnsupportedWidth = aWidth;
123 mUnsupportedWidth = aWidth;
132 mUnsupportedWidth = aWidth;
140 mUnsupportedWidth = aWidth;
152 SetBounds(aWidth, aHeight);
158 mUnsupportedWidth = aWidth;
233 mUnsupportedWidth = aWidth;
239 SetViewport(aWidth, aHeight);
244 mUnsupportedWidth = aWidth;
305 aWidth *= intScaleFactor;
[all …]
/dports/www/firefox/firefox-99.0/gfx/2d/
H A DQuartzSupport.mm116 mUnsupportedWidth = aWidth;
123 mUnsupportedWidth = aWidth;
132 mUnsupportedWidth = aWidth;
140 mUnsupportedWidth = aWidth;
152 SetBounds(aWidth, aHeight);
158 mUnsupportedWidth = aWidth;
233 mUnsupportedWidth = aWidth;
239 SetViewport(aWidth, aHeight);
244 mUnsupportedWidth = aWidth;
305 aWidth *= intScaleFactor;
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/2d/
H A DQuartzSupport.mm116 mUnsupportedWidth = aWidth;
123 mUnsupportedWidth = aWidth;
132 mUnsupportedWidth = aWidth;
140 mUnsupportedWidth = aWidth;
152 SetBounds(aWidth, aHeight);
158 mUnsupportedWidth = aWidth;
233 mUnsupportedWidth = aWidth;
239 SetViewport(aWidth, aHeight);
244 mUnsupportedWidth = aWidth;
305 aWidth *= intScaleFactor;
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/2d/
H A DQuartzSupport.mm125 mUnsupportedWidth = aWidth;
132 mUnsupportedWidth = aWidth;
142 mUnsupportedWidth = aWidth;
150 mUnsupportedWidth = aWidth;
162 SetBounds(aWidth, aHeight);
247 mUnsupportedWidth = aWidth;
253 SetViewport(aWidth, aHeight);
258 mUnsupportedWidth = aWidth;
326 aWidth *= intScaleFactor;
499 if (aWidth + aX > ioWidth)
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/2d/
H A DQuartzSupport.mm125 mUnsupportedWidth = aWidth;
132 mUnsupportedWidth = aWidth;
142 mUnsupportedWidth = aWidth;
150 mUnsupportedWidth = aWidth;
162 SetBounds(aWidth, aHeight);
247 mUnsupportedWidth = aWidth;
253 SetViewport(aWidth, aHeight);
258 mUnsupportedWidth = aWidth;
326 aWidth *= intScaleFactor;
499 if (aWidth + aX > ioWidth)
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/src/
H A DnsScriptableRegion.cpp39 NS_IMETHODIMP nsScriptableRegion::SetToRect(int32_t aX, int32_t aY, int32_t aWidth, int32_t aHeight) in SetToRect() argument
41 mRegion = mozilla::gfx::IntRect(aX, aY, aWidth, aHeight); in SetToRect()
53 NS_IMETHODIMP nsScriptableRegion::IntersectRect(int32_t aX, int32_t aY, int32_t aWidth, int32_t aHe… in IntersectRect() argument
55 mRegion.And(mRegion, mozilla::gfx::IntRect(aX, aY, aWidth, aHeight)); in IntersectRect()
67 NS_IMETHODIMP nsScriptableRegion::UnionRect(int32_t aX, int32_t aY, int32_t aWidth, int32_t aHeight) in UnionRect() argument
69 mRegion.Or(mRegion, mozilla::gfx::IntRect(aX, aY, aWidth, aHeight)); in UnionRect()
81 NS_IMETHODIMP nsScriptableRegion::SubtractRect(int32_t aX, int32_t aY, int32_t aWidth, int32_t aHei… in SubtractRect() argument
83 mRegion.Sub(mRegion, mozilla::gfx::IntRect(aX, aY, aWidth, aHeight)); in SubtractRect()
101 NS_IMETHODIMP nsScriptableRegion::GetBoundingBox(int32_t *aX, int32_t *aY, int32_t *aWidth, int32_t… in GetBoundingBox() argument
106 *aWidth = boundRect.width; in GetBoundingBox()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/src/
H A DnsScriptableRegion.cpp34 int32_t aWidth, int32_t aHeight) { in SetToRect() argument
35 mRegion = mozilla::gfx::IntRect(aX, aY, aWidth, aHeight); in SetToRect()
48 int32_t aWidth, in IntersectRect() argument
50 mRegion.And(mRegion, mozilla::gfx::IntRect(aX, aY, aWidth, aHeight)); in IntersectRect()
62 int32_t aWidth, int32_t aHeight) { in UnionRect() argument
63 mRegion.Or(mRegion, mozilla::gfx::IntRect(aX, aY, aWidth, aHeight)); in UnionRect()
75 int32_t aWidth, in SubtractRect() argument
77 mRegion.Sub(mRegion, mozilla::gfx::IntRect(aX, aY, aWidth, aHeight)); in SubtractRect()
95 int32_t *aWidth, in GetBoundingBox() argument
98 boundRect.GetRect(aX, aY, aWidth, aHeight); in GetBoundingBox()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/media/encoder/
H A DVP8TrackEncoder.cpp53 size_t I420Size(int aWidth, int aHeight) { in I420Size() argument
54 int yStride = Aligned<Alignment>(aWidth); in I420Size()
58 int uvStride = Aligned<Alignment>((aWidth + 1) / 2); in I420Size()
65 nsresult CreateEncoderConfig(int32_t aWidth, int32_t aHeight, in CreateEncoderConfig() argument
76 config->g_w = aWidth; in CreateEncoderConfig()
237 mMetadata->mWidth = aWidth; in Init()
257 if (aWidth < 1 || aHeight < 1) { in InitInternal()
287 mFrameWidth = aWidth; in InitInternal()
296 if (aWidth <= 0 || aHeight <= 0) { in Reconfigure()
310 mFrameWidth, mFrameHeight, aWidth, aHeight); in Reconfigure()
[all …]
/dports/www/firefox/firefox-99.0/dom/media/encoder/
H A DVP8TrackEncoder.cpp53 size_t I420Size(int aWidth, int aHeight) { in I420Size() argument
54 int yStride = Aligned<Alignment>(aWidth); in I420Size()
58 int uvStride = Aligned<Alignment>((aWidth + 1) / 2); in I420Size()
65 nsresult CreateEncoderConfig(int32_t aWidth, int32_t aHeight, in CreateEncoderConfig() argument
76 config->g_w = aWidth; in CreateEncoderConfig()
237 mMetadata->mWidth = aWidth; in Init()
257 if (aWidth < 1 || aHeight < 1) { in InitInternal()
287 mFrameWidth = aWidth; in InitInternal()
296 if (aWidth <= 0 || aHeight <= 0) { in Reconfigure()
310 mFrameWidth, mFrameHeight, aWidth, aHeight); in Reconfigure()
[all …]

12345678910>>...100