Home
last modified time | relevance | path

Searched refs:pixel_width (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/talk/media/base/
Dvideocommon.cc158 int pixel_width, int pixel_height, in ComputeCrop() argument
169 ASSERT(pixel_width >= 0); in ComputeCrop()
174 if (!pixel_width) { in ComputeCrop()
175 pixel_width = 1; in ComputeCrop()
184 float frame_aspect = static_cast<float>(frame_width * pixel_width) / in ComputeCrop()
200 pixel_height) / pixel_width + 0.5f) & ~3; in ComputeCrop()
203 frame_height = static_cast<int>((frame_width * pixel_width) / in ComputeCrop()
212 int pixel_width, int pixel_height, in ComputeScaleToSquarePixels() argument
215 *scaled_height = in_height * pixel_height / pixel_width; in ComputeScaleToSquarePixels()
Dvideoframe.h44 virtual bool InitToBlack(int w, int h, size_t pixel_width,
59 size_t pixel_width,
212 virtual VideoFrame *CreateEmptyFrame(int w, int h, size_t pixel_width,
Dvideocapturer.cc81 pixel_width(0), in CapturedFrame()
418 captured_frame->pixel_width != captured_frame->pixel_height) { in OnFrameCaptured()
425 captured_frame->pixel_width, in OnFrameCaptured()
435 << captured_frame->pixel_width << "x" in OnFrameCaptured()
464 modified_frame->pixel_width = 1; in OnFrameCaptured()
495 abs(captured_frame->height), captured_frame->pixel_width, in OnFrameCaptured()
Dvideocommon.h171 int pixel_width, int pixel_height,
177 int pixel_width, int pixel_height,
Dvideocapturer.h87 uint32_t pixel_width; // width of a pixel, default is 1 member
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframe.cc68 size_t pixel_width, in Init() argument
72 return Reset(format, w, h, dw, dh, sample, sample_size, pixel_width, in Init()
81 frame->pixel_width, frame->pixel_height, frame->time_stamp, in Init()
85 bool WebRtcVideoFrame::InitToBlack(int w, int h, size_t pixel_width, in InitToBlack() argument
87 InitToEmptyBuffer(w, h, pixel_width, pixel_height, time_stamp_ns); in InitToBlack()
199 size_t pixel_width, in Reset() argument
220 InitToEmptyBuffer(new_width, new_height, pixel_width, pixel_height, in Reset()
250 int w, int h, size_t pixel_width, size_t pixel_height, in CreateEmptyFrame() argument
253 frame->InitToEmptyBuffer(w, h, pixel_width, pixel_height, time_stamp_ns); in CreateEmptyFrame()
257 void WebRtcVideoFrame::InitToEmptyBuffer(int w, int h, size_t pixel_width, in InitToEmptyBuffer() argument
[all …]
Dwebrtcvideoframe.h62 size_t pixel_width,
69 void InitToEmptyBuffer(int w, int h, size_t pixel_width, size_t pixel_height,
72 bool InitToBlack(int w, int h, size_t pixel_width, size_t pixel_height,
83 size_t pixel_width,
131 VideoFrame* CreateEmptyFrame(int w, int h, size_t pixel_width,
Dwebrtcvideoframe_unittest.cc42 size_t pixel_width, in CreateEmptyFrame() argument
46 frame->InitToBlack(w, h, pixel_width, pixel_height, time_stamp); in CreateEmptyFrame()
67 captured_frame.pixel_width = 1; in TestInit()
Dwebrtcvideoframefactory_unittest.cc45 captured_frame_.pixel_width = 1; in InitFrame()
Dwebrtcvideocapturer.cc437 pixel_width = 1; in WebRtcCapturedFrame()
/external/pdfium/samples/
Dimage_diff_png.cc47 void ConvertBetweenBGRAandRGBA(const unsigned char* input, int pixel_width, in ConvertBetweenBGRAandRGBA() argument
49 for (int x = 0; x < pixel_width; x++) { in ConvertBetweenBGRAandRGBA()
59 void ConvertRGBAtoRGB(const unsigned char* rgba, int pixel_width, in ConvertRGBAtoRGB() argument
61 for (int x = 0; x < pixel_width; x++) { in ConvertRGBAtoRGB()
121 void ConvertRGBtoRGBA(const unsigned char* rgb, int pixel_width, in ConvertRGBtoRGBA() argument
123 for (int x = 0; x < pixel_width; x++) { in ConvertRGBtoRGBA()
133 void ConvertRGBtoBGRA(const unsigned char* rgb, int pixel_width, in ConvertRGBtoBGRA() argument
135 for (int x = 0; x < pixel_width; x++) { in ConvertRGBtoBGRA()
385 void ConvertBGRAtoRGB(const unsigned char* bgra, int pixel_width, in ConvertBGRAtoRGB() argument
387 for (int x = 0; x < pixel_width; x++) { in ConvertBGRAtoRGB()
/external/skia/src/opts/
DSkBitmapFilter_opts_SSE2.cpp306 int pixel_width, in convolveVertically_SSE2() argument
308 int width = pixel_width & ~3; in convolveVertically_SSE2()
407 if (pixel_width & 3) { in convolveVertically_SSE2()
462 for (int out_x = width; out_x < pixel_width; out_x++) { in convolveVertically_SSE2()
473 int pixel_width, in convolveVertically_SSE2() argument
480 pixel_width, in convolveVertically_SSE2()
486 pixel_width, in convolveVertically_SSE2()
DSkBitmapFilter_opts_SSE2.h17 int pixel_width,
/external/freetype/include/
Dftwinfnt.h201 FT_UShort pixel_width; member
Dfreetype.h2437 FT_UInt pixel_width,
/external/pdfium/third_party/freetype/include/freetype/
Dftwinfnt.h201 FT_UShort pixel_width; member
Dfreetype.h2542 FT_UInt pixel_width,
/external/webrtc/talk/media/devices/
Dfilevideocapturer.cc75 buffer.WriteUInt32(frame.pixel_width); in RecordFrame()
302 buffer.ReadUInt32(&frame->pixel_width); in ReadFrameHeader()
Dyuvframescapturer.cc122 captured_frame_.pixel_width = 1; in Init()
/external/opencv3/modules/highgui/src/
Dwindow_QT.cpp2940 double pixel_width = param_matrixWorld.m11()*ratioX; in drawImgRegion() local
2943 qreal offsetX = param_matrixWorld.dx()/pixel_width; in drawImgRegion()
2950 for (qreal _x = offsetX*pixel_width; _x < view.width(); _x += pixel_width ) in drawImgRegion()
2967 for (int i=-1;i<width()/pixel_width;i++)//-1 in drawImgRegion()
2970 QPointF pos_in_view((i+offsetX)*pixel_width, (j+offsetY)*pixel_height); in drawImgRegion()
2997 painter->drawText(QRect(pos_in_view.x(),pos_in_view.y(),pixel_width,pixel_height/3), in drawImgRegion()
3002 …painter->drawText(QRect(pos_in_view.x(),pos_in_view.y()+pixel_height/3,pixel_width,pixel_height/3), in drawImgRegion()
3007 …inter->drawText(QRect(pos_in_view.x(),pos_in_view.y()+2*pixel_height/3,pixel_width,pixel_height/3), in drawImgRegion()
3015 painter->drawText(QRect(pos_in_view.x(),pos_in_view.y(),pixel_width,pixel_height), in drawImgRegion()
/external/webrtc/talk/app/webrtc/
Dandroidvideocapturer.cc51 captured_frame_.pixel_width = 1; in FrameFactory()
/external/freetype/src/base/
Dftobjs.c2998 FT_UInt pixel_width, in FT_Set_Pixel_Sizes() argument
3006 if ( pixel_width == 0 ) in FT_Set_Pixel_Sizes()
3007 pixel_width = pixel_height; in FT_Set_Pixel_Sizes()
3009 pixel_height = pixel_width; in FT_Set_Pixel_Sizes()
3011 if ( pixel_width < 1 ) in FT_Set_Pixel_Sizes()
3012 pixel_width = 1; in FT_Set_Pixel_Sizes()
3017 if ( pixel_width >= 0xFFFFU ) in FT_Set_Pixel_Sizes()
3018 pixel_width = 0xFFFFU; in FT_Set_Pixel_Sizes()
3023 req.width = (FT_Long)( pixel_width << 6 ); in FT_Set_Pixel_Sizes()
/external/pdfium/third_party/freetype/src/base/
Dftobjs.c3015 FT_UInt pixel_width, in FT_Set_Pixel_Sizes() argument
3023 if ( pixel_width == 0 ) in FT_Set_Pixel_Sizes()
3024 pixel_width = pixel_height; in FT_Set_Pixel_Sizes()
3026 pixel_height = pixel_width; in FT_Set_Pixel_Sizes()
3028 if ( pixel_width < 1 ) in FT_Set_Pixel_Sizes()
3029 pixel_width = 1; in FT_Set_Pixel_Sizes()
3034 if ( pixel_width >= 0xFFFFU ) in FT_Set_Pixel_Sizes()
3035 pixel_width = 0xFFFFU; in FT_Set_Pixel_Sizes()
3040 req.width = (FT_Long)( pixel_width << 6 ); in FT_Set_Pixel_Sizes()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp325 int pixel_width = FXSYS_round(bmp_rect.Width() * scale_x); in DrawNormalText() local
331 if (!bitmap.Create(pixel_width, pixel_height, FXDIB_1bppMask)) { in DrawNormalText()
352 if (!bitmap.Create(pixel_width, pixel_height, FXDIB_8bppMask)) { in DrawNormalText()
357 if (!CreateCompatibleBitmap(&bitmap, pixel_width, pixel_height)) { in DrawNormalText()
374 int dest_width = pixel_width; in DrawNormalText()
/external/webrtc/talk/app/webrtc/objc/
Davfoundationvideocapturer.mm412 frame.pixel_width = 1;

12