Home
last modified time | relevance | path

Searched refs:GetWidth (Results 1 – 25 of 117) sorted by relevance

12345

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoadapter.cc273 VideoFormat format(static_cast<int>(in_frame->GetWidth()), in AdaptFrame()
306 << " Input: " << in_frame->GetWidth() in AdaptFrame()
318 static_cast<int>(in_frame->GetWidth()), in AdaptFrame()
321 output_format_.width = static_cast<int>(in_frame->GetWidth() * scale + .5f); in AdaptFrame()
325 output_format_.width = static_cast<int>(in_frame->GetWidth()); in AdaptFrame()
330 in_frame->GetWidth() == static_cast<size_t>(output_format_.width) && in AdaptFrame()
344 if (in_frame->GetWidth() != (*out_frame)->GetWidth() || in AdaptFrame()
357 if (previous_width_ && (previous_width_ != (*out_frame)->GetWidth() || in AdaptFrame()
370 << " Input: " << in_frame->GetWidth() in AdaptFrame()
374 << " Output: " << (*out_frame)->GetWidth() in AdaptFrame()
[all …]
Dcapturerenderadapter.cc117 const bool new_resolution = iter->render_width != frame->GetWidth() || in MaybeSetRenderingSize()
120 if (iter->renderer->SetSize(static_cast<int>(frame->GetWidth()), in MaybeSetRenderingSize()
122 iter->render_width = frame->GetWidth(); in MaybeSetRenderingSize()
126 frame->GetWidth() << " x " << frame->GetHeight(); in MaybeSetRenderingSize()
Dvideoframe.cc58 const size_t width = GetWidth(); in Write()
90 int32 src_width = static_cast<int>(GetWidth()); in CopyToPlanes()
101 memcpy(dst_y, GetYPlane(), GetWidth() * GetHeight()); in CopyToPlanes()
128 size_t src_width = GetWidth(); in StretchToPlanes()
143 int32 iwidth_offset = ROUNDTO2((GetWidth() - src_width) / 2); in StretchToPlanes()
201 dst->GetWidth(), dst->GetHeight(), in StretchToFrame()
225 static_cast<int>(GetWidth()), in SetToBlack()
230 memset(GetYPlane(), 16, GetWidth() * GetHeight()); in SetToBlack()
Dfakevideorenderer.h66 frame->GetWidth() != static_cast<size_t>(width_) || in RenderFrame()
73 << frame->GetWidth() << "x" << frame->GetHeight(); in RenderFrame()
117 size_t y_width = frame->GetWidth(); in CheckFrameColorYuv()
Dvideoframe.h64 virtual size_t GetWidth() const = 0;
66 size_t GetChromaWidth() const { return (GetWidth() + 1) / 2; } in GetChromaWidth()
Dyuvframegenerator.h39 int GetWidth() { return width_; } in GetWidth() function
/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dgtkvideorenderer.cc92 frame->GetWidth() * frame->GetHeight() * 4, in RenderFrame()
93 frame->GetWidth() * 4); in RenderFrame()
106 frame->GetWidth(), in RenderFrame()
110 frame->GetWidth() * 4); in RenderFrame()
Dcarbonvideorenderer.cc132 frame->GetWidth() * frame->GetHeight() * 4, in RenderFrame()
133 frame->GetWidth() * 4); in RenderFrame()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtctexturevideoframe_unittest.cc50 EXPECT_EQ(640u, frame.GetWidth()); in TEST()
65 EXPECT_EQ(frame1.GetWidth(), frame2->GetWidth()); in TEST()
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
Dvideo_source.cc211 …(target.GetWidth() == _width && target.GetHeight() == _height && target.GetFrameRate() == _frameRa… in Convert()
230 target.GetWidth(), target.GetHeight()); in Convert()
242 ASSERT_TRUE(target.GetWidth() == _width && in Convert()
/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp36 pBitmap->GetWidth(), in createGraphics()
160 pBitmap->GetWidth(), in createContextWithBitmap()
522 CGFloat width = (CGFloat) bitmap->GetWidth(); in GetDIBits()
545 for (int col = 0; col < bitmap->GetWidth(); col ++) { in GetDIBits()
575 src_width = pBitmap->GetWidth(); in SetDIBits()
590 rect_usr.size = CGSizeMake(pBitmap->GetWidth() / scale_x, pBitmap->GetHeight() / scale_y); in SetDIBits()
610 CGImageRef pImage = CGImageCreate(pBitmap1->GetWidth(), in SetDIBits()
658 for (int col = 0; col < pBitmap1->GetWidth(); col ++) { in SetDIBits()
735 CGImageRef pImage = CGImageCreate(pBitmap1->GetWidth(), in StretchDIBits()
783 for (int col = 0; col < pBitmap1->GetWidth(); col ++) { in StretchDIBits()
Dfx_apple_platform.cpp143 pImageCG = CGImageMaskCreate(pClipMask->GetWidth(), pClipMask->GetHeight(), in DrawDeviceText()
149 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp104 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
112 …pClone->CompositeBitmap(0, 0, pClone->GetWidth(), pClone->GetHeight(), pForeBitmap, rect.left, rec… in CompositeDIBitmap()
116 … pClone->CompositeBitmap(0, 0, pClone->GetWidth(), pClone->GetHeight(), pDIBitmap, in CompositeDIBitmap()
119 pClone->CompositeMask(0, 0, pClone->GetWidth(), pClone->GetHeight(), pDIBitmap, in CompositeDIBitmap()
139 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
145 …pBackdrop->CompositeBitmap(left - back_left, top - back_top, pDIBitmap->GetWidth(), pDIBitmap->Get… in CompositeDIBitmap()
148 …pBackdrop->CompositeMask(left - back_left, top - back_top, pDIBitmap->GetWidth(), pDIBitmap->GetHe… in CompositeDIBitmap()
151 pBackdrop1->Create(pBackdrop->GetWidth(), pBackdrop->GetHeight(), FXDIB_Rgb32); in CompositeDIBitmap()
153 … pBackdrop1->CompositeBitmap(0, 0, pBackdrop->GetWidth(), pBackdrop->GetHeight(), pBackdrop, 0, 0); in CompositeDIBitmap()
441 if ((image_clip.Width() * m_pDIBSource->GetWidth() / image_rect.Width()) * in StartRenderDIBSource()
[all …]
/external/chromium_org/third_party/libyuv/source/
Dmjpeg_decoder.cc161 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
211 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
243 if (dst_width != GetWidth() || in DecodeToBuffers()
335 if (dst_width != GetWidth() || in DecodeToCallback()
Dconvert_jpeg.cc129 *width = mjpeg_decoder.GetWidth(); in MJPGSize()
154 if (ret && (mjpeg_decoder.GetWidth() != w || in MJPGToI420()
316 if (ret && (mjpeg_decoder.GetWidth() != w || in MJPGToARGB()
/external/libyuv/files/source/
Dmjpeg_decoder.cc178 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
228 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
269 if (dst_width != GetWidth() || in DecodeToBuffers()
358 if (dst_width != GetWidth() || in DecodeToCallback()
/external/chromium_org/android_webview/native/
Daw_picture.h27 jint GetWidth(JNIEnv* env, jobject obj);
Daw_picture.cc25 jint AwPicture::GetWidth(JNIEnv* env, jobject obj) { in GetWidth() function in android_webview::AwPicture
/external/chromium_org/ui/gfx/image/
Dimage_skia_rep.h39 int GetWidth() const;
Dimage_skia_rep.cc30 int ImageSkiaRep::GetWidth() const { in GetWidth() function in gfx::ImageSkiaRep
Dimage_skia_unittest.cc155 EXPECT_EQ(100, result_100p.GetWidth()); in TEST_F()
162 EXPECT_EQ(100, result_200p.GetWidth()); in TEST_F()
180 EXPECT_EQ(100, result_100p.GetWidth()); in TEST_F()
187 EXPECT_EQ(100, result_200p.GetWidth()); in TEST_F()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp118 if (!Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat())) { in Copy()
190 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
393 …GetOverlapRect(dest_left, dest_top, width, height, pSrcBitmap->GetWidth(), pSrcBitmap->GetHeight()… in TransferBitmap()
447 …GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), pMask->GetHeight(), src_left… in TransferMask()
716 if (pSrcClone->GetWidth() != m_Width || pSrcClone->GetHeight() != m_Height) {
733 } else if (pSrcClone->GetWidth() != m_Width || pSrcClone->GetHeight() != m_Height) {
837 if (pSrcBitmap->GetWidth() != m_Width || pSrcBitmap->GetHeight() != m_Height) {
1509 …if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat(), pSrc->GetBuffer()))…
1542 m_Width = pSrc->GetWidth();
1585 …m_ClipBox = pClipRgn ? pClipRgn->GetBox() : FX_RECT(0, 0, pDevice->GetWidth(), pDevice->GetHeight(…
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dvideo_source.h63 uint16_t GetWidth() const { return _width; } in GetWidth() function
/external/chromium_org/chrome/browser/ui/find_bar/
Dfind_bar.h115 virtual int GetWidth() = 0;
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp38 …ts(pSource, color, left - pSrcRect->left, top - pSrcRect->top, pSource->GetWidth(), pSource->GetHe… in SetDIBits()
123 int src_width = pSrcBitmap->GetWidth(), src_height = pSrcBitmap->GetHeight(); in Transform1bppBitmap()
136 src2result.a = adjusted_matrix.a / pSrcBitmap->GetWidth(); in Transform1bppBitmap()
137 src2result.b = adjusted_matrix.b / pSrcBitmap->GetWidth(); in Transform1bppBitmap()

12345