Home
last modified time | relevance | path

Searched refs:pixel_width (Results 1 – 25 of 29) 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/testing/image_diff/
Dimage_diff_png.cpp59 int pixel_width, in ConvertBetweenBGRAandRGBA() argument
62 for (int x = 0; x < pixel_width; x++) { in ConvertBetweenBGRAandRGBA()
73 int pixel_width, in ConvertBGRtoRGB() argument
76 for (int x = 0; x < pixel_width; x++) { in ConvertBGRtoRGB()
86 int pixel_width, in ConvertRGBAtoRGB() argument
89 for (int x = 0; x < pixel_width; x++) { in ConvertRGBAtoRGB()
151 int pixel_width, in ConvertRGBtoRGBA() argument
154 for (int x = 0; x < pixel_width; x++) { in ConvertRGBtoRGBA()
165 int pixel_width, in ConvertRGBtoBGRA() argument
168 for (int x = 0; x < pixel_width; x++) { in ConvertRGBtoBGRA()
[all …]
/external/ImageMagick/coders/
Dwmf.c712 width = fabs(bmp_draw->pixel_width * (double) bmp_draw->crop.w); in ipa_bmp_draw()
999 XC(draw_pixel->pt.x + draw_pixel->pixel_width), in ipa_draw_pixel()
2001 pixel_width; in util_set_pen() local
2011 pixel_width = (((double) 1 / (ddata->scale_x)) + in util_set_pen()
2016 pen_width = MagickMax(pen_width, pixel_width*0.8); in util_set_pen()
2079 dasharray[0] = pixel_width * 18; in util_set_pen()
2080 dasharray[1] = pixel_width * 7; in util_set_pen()
2091 dasharray[0] = pixel_width * 3; in util_set_pen()
2092 dasharray[1] = pixel_width * 3; in util_set_pen()
2102 dasharray[0] = pixel_width * 9; in util_set_pen()
[all …]
/external/u-boot/examples/api/
Ddemo.c168 printf(" pixel width: %d\n", disinfo.pixel_width); in main()
177 printf(" pixel width: %d\n", disinfo.pixel_width); in main()
/external/u-boot/api/
Dapi_display.c30 di->pixel_width = panel_info.vl_col; in display_get_info()
/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/u-boot/include/
Dapi_public.h120 int pixel_width; member
/external/freetype/include/freetype/
Dftwinfnt.h201 FT_UShort pixel_width; member
Dfreetype.h2870 FT_UInt pixel_width,
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp988 int pixel_width = FXSYS_round(bmp_rect.Width() * scale_x); in DrawNormalText() local
994 if (!bitmap->Create(pixel_width, pixel_height, FXDIB_1bppMask)) in DrawNormalText()
1010 if (!bitmap->Create(pixel_width, pixel_height, FXDIB_8bppMask)) in DrawNormalText()
1013 if (!CreateCompatibleBitmap(bitmap, pixel_width, pixel_height)) in DrawNormalText()
1025 int dest_width = pixel_width; in DrawNormalText()
/external/webrtc/talk/app/webrtc/
Dandroidvideocapturer.cc51 captured_frame_.pixel_width = 1; in FrameFactory()
/external/freetype/src/base/
Dftobjs.c3323 FT_UInt pixel_width, in FT_Set_Pixel_Sizes() argument
3331 if ( pixel_width == 0 ) in FT_Set_Pixel_Sizes()
3332 pixel_width = pixel_height; in FT_Set_Pixel_Sizes()
3334 pixel_height = pixel_width; in FT_Set_Pixel_Sizes()
3336 if ( pixel_width < 1 ) in FT_Set_Pixel_Sizes()
3337 pixel_width = 1; in FT_Set_Pixel_Sizes()
3342 if ( pixel_width >= 0xFFFFU ) in FT_Set_Pixel_Sizes()
3343 pixel_width = 0xFFFFU; in FT_Set_Pixel_Sizes()
3348 req.width = (FT_Long)( pixel_width << 6 ); in FT_Set_Pixel_Sizes()
/external/webrtc/talk/app/webrtc/objc/
Davfoundationvideocapturer.mm412 frame.pixel_width = 1;
/external/freetype/src/winfonts/
Dwinfnt.c163 FT_FRAME_USHORT_LE( pixel_width ),
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.h779 uint64_t pixel_width() const { return pixel_width_; } in pixel_width() function

12