/third_party/ffmpeg/libavcodec/ |
H A D | libzvbi-teletextdec.c | 700 sub->rects = av_malloc(sizeof(*sub->rects)); in teletext_decode_frame() 701 if (sub->rects) { in teletext_decode_frame() 703 sub->rects[0] = ctx->pages->sub_rect; in teletext_decode_frame() 709 sub->rects = NULL; in teletext_decode_frame() 711 if (!sub->rects) // no rect was passed in teletext_decode_frame()
|
H A D | webvttenc.c | 168 const char *ass = sub->rects[i]->ass; in webvtt_encode_frame() 170 if (sub->rects[i]->type != SUBTITLE_ASS) { in webvtt_encode_frame()
|
H A D | dvbsubdec.c | 768 sub->rects = av_calloc(sub->num_rects, sizeof(*sub->rects)); in save_subtitle_set() 769 if (!sub->rects) { in save_subtitle_set() 775 sub->rects[i] = av_mallocz(sizeof(*sub->rects[i])); in save_subtitle_set() 776 if (!sub->rects[i]) { in save_subtitle_set() 793 rect = sub->rects[i]; in save_subtitle_set() 848 if (sub->rects) { in save_subtitle_set() 850 rect = sub->rects[i]; in save_subtitle_set() 855 av_freep(&sub->rects[ in save_subtitle_set() [all...] |
H A D | pgssubdec.c | 519 sub->rects = av_calloc(ctx->presentation.object_count, sizeof(*sub->rects)); in display_end_segment() 520 if (!sub->rects) { in display_end_segment() 537 sub->rects[sub->num_rects++] = rect; in display_end_segment()
|
/third_party/mesa3d/src/imgui/ |
H A D | imstb_truetype.h | 664 STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 665 STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects); 666 STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 672 // building up a single array of rects, then call PackRects once, 3768 static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) 3772 if (con->x + rects[i].w > con->width) { 3776 if (con->y + rects[i].h > con->height) 3778 rects[i].x = con->x; 3779 rects[i].y = con->y; 3780 rects[ [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imstb_truetype.h | 664 STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 665 STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects); 666 STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); 672 // building up a single array of rects, then call PackRects once, 3768 static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) 3772 if (con->x + rects[i].w > con->width) { 3776 if (con->y + rects[i].h > con->height) 3778 rects[i].x = con->x; 3779 rects[i].y = con->y; 3780 rects[ [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/egl/ |
H A D | SurfaceEGL.cpp | 50 const EGLint *rects, in swapWithDamage() 56 success = mEGL->swapBuffersWithDamageKHR(mSurface, rects, n_rects); in swapWithDamage() 49 swapWithDamage(const gl::Context *context, const EGLint *rects, EGLint n_rects) swapWithDamage() argument
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_ohos.h | 79 dirty.rects = NULL; in ANativeWindow_queueBuffer()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_stateobj.h | 67 unsigned rects; member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_stateobj.h | 66 unsigned rects; member
|
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/ |
H A D | ipu3-css.c | 1566 struct v4l2_rect rects[IPU3_CSS_RECTS]) in imgu_css_find_binary() 1689 struct v4l2_rect *rects[IPU3_CSS_RECTS], in imgu_css_fmt_try() 1745 if (rects[i]) { in imgu_css_fmt_try() 1747 rnames[i], rects[i]->width, rects[i]->height); in imgu_css_fmt_try() 1748 r[i].width = rects[i]->width; in imgu_css_fmt_try() 1749 r[i].height = rects[i]->height; in imgu_css_fmt_try() 1828 if (rects[i]) in imgu_css_fmt_try() 1829 *rects[i] = r[i]; in imgu_css_fmt_try() 1845 struct v4l2_rect *rects[IPU3_CSS_RECT in imgu_css_fmt_set() 1563 imgu_css_find_binary(struct imgu_css *css, unsigned int pipe, struct imgu_css_queue queue[IPU3_CSS_QUEUES], struct v4l2_rect rects[IPU3_CSS_RECTS]) imgu_css_find_binary() argument 1687 imgu_css_fmt_try(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_try() argument 1843 imgu_css_fmt_set(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_set() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/ipu3/ |
H A D | ipu3-css.c | 1551 struct v4l2_rect rects[IPU3_CSS_RECTS]) in imgu_css_find_binary() 1674 struct v4l2_rect *rects[IPU3_CSS_RECTS], in imgu_css_fmt_try() 1730 if (rects[i]) { in imgu_css_fmt_try() 1732 rnames[i], rects[i]->width, rects[i]->height); in imgu_css_fmt_try() 1733 r[i].width = rects[i]->width; in imgu_css_fmt_try() 1734 r[i].height = rects[i]->height; in imgu_css_fmt_try() 1813 if (rects[i]) in imgu_css_fmt_try() 1814 *rects[i] = r[i]; in imgu_css_fmt_try() 1830 struct v4l2_rect *rects[IPU3_CSS_RECT in imgu_css_fmt_set() 1548 imgu_css_find_binary(struct imgu_css *css, unsigned int pipe, struct imgu_css_queue queue[IPU3_CSS_QUEUES], struct v4l2_rect rects[IPU3_CSS_RECTS]) imgu_css_find_binary() argument 1672 imgu_css_fmt_try(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_try() argument 1828 imgu_css_fmt_set(struct imgu_css *css, struct v4l2_pix_format_mplane *fmts[IPU3_CSS_QUEUES], struct v4l2_rect *rects[IPU3_CSS_RECTS], unsigned int pipe) imgu_css_fmt_set() argument [all...] |
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | display_composer_vdi_impl.cpp | 154 int32_t DisplayComposerVdiImpl::SetDisplayClientDamage(uint32_t devId, std::vector<IRect>& rects) in SetDisplayClientDamage() argument 302 int32_t DisplayComposerVdiImpl::SetLayerDirtyRegion(uint32_t devId, uint32_t layerId, const std::vector<IRect>& rects) in SetLayerDirtyRegion() argument 306 const_cast<IRect*>(rects.data())); in SetLayerDirtyRegion() 311 int32_t DisplayComposerVdiImpl::SetLayerVisibleRegion(uint32_t devId, uint32_t layerId, std::vector<IRect>& rects) in SetLayerVisibleRegion() argument
|
/third_party/vk-gl-cts/framework/platform/ohos/display/ |
H A D | tcuOhosNativeDisplay.cpp | 303 eglw::EGLBoolean OhosLibrary::setDamageRegionKHR(eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint *rects, eglw::EGLint n_rects) const in setDamageRegionKHR() argument 305 return OHOS::OhosContextI::GetInstance().OH_setDamageRegionKHR(dpy, surface, rects, n_rects); in setDamageRegionKHR() 323 eglw::EGLBoolean OhosLibrary::swapBuffersWithDamageKHR(eglw::EGLDisplay dpy, eglw::EGLSurface surface, eglw::EGLint *rects, eglw::EGLint n_rects) const in swapBuffersWithDamageKHR() argument 325 return OHOS::OhosContextI::GetInstance().OH_swapBuffersWithDamageKHR(dpy, surface, rects, n_rects); in swapBuffersWithDamageKHR()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiIncrementalPresentTests.cpp | 273 vector<vk::VkRectLayerKHR> rects; in getUpdatedRects() local 285 rects.push_back(rectLayer); in getUpdatedRects() 288 return rects; in getUpdatedRects() 976 const vector<vk::VkRectLayerKHR> rects = getUpdatedRects(imageNextFrame, m_frameNdx, width, height); in render() local 979 (deUint32)rects.size(), in render() 980 rects.empty() ? DE_NULL : &rects[0] in render()
|
/third_party/skia/src/gpu/ops/ |
H A D | StrokeRectOp.cpp | 117 // hairline rects. We jam all the vertices to pixel centers to avoid this, but not in Make() 288 // equal (in which case innerCoverage is same for all sides of the rects) or if the horizontal in stroke_dev_half_size_supported() 343 // together when we render these rects. in compute_aa_rects() 397 // TODO support AA rotated stroke rects by copying around view matrices 810 // equal (in which case innerCoverage is same for all sides of the rects) or in generateAAStrokeRectGeometry() 955 const SkRect rects[2]) { in MakeNested() 957 SkASSERT(!rects[0].isEmpty() && !rects[1].isEmpty()); in MakeNested() 959 SkRect devOutside = viewMatrix.mapRect(rects[0]); in MakeNested() 960 SkRect devInside = viewMatrix.mapRect(rects[ in MakeNested() 952 MakeNested(GrRecordingContext* context, GrPaint&& paint, const SkMatrix& viewMatrix, const SkRect rects[2]) MakeNested() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
H A D | vktWsiIncrementalPresentTests.cpp | 273 vector<vk::VkRectLayerKHR> rects; in getUpdatedRects() local 285 rects.push_back(rectLayer); in getUpdatedRects() 288 return rects; in getUpdatedRects() 976 const vector<vk::VkRectLayerKHR> rects = getUpdatedRects(imageNextFrame, m_frameNdx, width, height); in render() local 979 (deUint32)rects.size(), in render() 980 rects.empty() ? DE_NULL : &rects[0] in render()
|
/third_party/skia/modules/canvaskit/ |
H A D | paragraph_bindings.cpp | 263 SimpleTextBox* rects = new SimpleTextBox[boxes.size()]; in TextBoxesToFloat32Array() local 265 rects[i].rect = boxes[i].rect; in TextBoxesToFloat32Array() 267 rects[i].direction = 0; in TextBoxesToFloat32Array() 269 rects[i].direction = 1; in TextBoxesToFloat32Array() 272 float* fPtr = reinterpret_cast<float*>(rects); in TextBoxesToFloat32Array() 273 // Of note: now that we have cast rects to float*, emscripten is smart enough to wrap this in TextBoxesToFloat32Array()
|
/drivers/peripheral/display/composer/test/fuzztest/device_fuzzer/ |
H A D | device_fuzzer.cpp | 285 std::vector<IRect> rects; in TestSetDisplayClientDamage() local 286 rects.push_back(rect); in TestSetDisplayClientDamage() 287 ret = g_composerInterface->SetDisplayClientDamage(devId, rects); in TestSetDisplayClientDamage()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | SurfaceVk.h | 187 const EGLint *rects, 252 const EGLint *rects, 290 const EGLint *rects,
|
/third_party/skia/tests/ |
H A D | ClearTest.cpp | 322 const SkRect rects[2] = { in fullscreen_clear_with_layer_test() local 329 canvas->saveLayer(&rects[i], nullptr); in fullscreen_clear_with_layer_test() 330 canvas->drawRect(rects[i], paints[i]); in fullscreen_clear_with_layer_test()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | s5k5baf.c | 1438 static void s5k5baf_set_rect_and_adjust(struct v4l2_rect **rects, in s5k5baf_set_rect_and_adjust() argument 1445 *rects[first] = *v; in s5k5baf_set_rect_and_adjust() 1447 r = rects[i]; in s5k5baf_set_rect_and_adjust() 1448 br = rects[i - 1]; in s5k5baf_set_rect_and_adjust() 1451 *v = *rects[first]; in s5k5baf_set_rect_and_adjust() 1466 struct v4l2_rect **rects; in s5k5baf_set_selection() local 1480 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection() 1486 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection() 1490 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection() 1509 s5k5baf_set_rect_and_adjust(rects, rtyp in s5k5baf_set_selection() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | s5k5baf.c | 1432 static void s5k5baf_set_rect_and_adjust(struct v4l2_rect **rects, in s5k5baf_set_rect_and_adjust() argument 1439 *rects[first] = *v; in s5k5baf_set_rect_and_adjust() 1441 r = rects[i]; in s5k5baf_set_rect_and_adjust() 1442 br = rects[i - 1]; in s5k5baf_set_rect_and_adjust() 1445 *v = *rects[first]; in s5k5baf_set_rect_and_adjust() 1460 struct v4l2_rect **rects; in s5k5baf_set_selection() local 1474 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection() 1483 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection() 1487 rects = (struct v4l2_rect * []) { in s5k5baf_set_selection() 1506 s5k5baf_set_rect_and_adjust(rects, rtyp in s5k5baf_set_selection() [all...] |
/test/xts/acts/graphic/graphicnapitest/ |
H A D | NativeWindowTest.cpp | 599 region->rects = rect; in HWTEST_F() 722 region->rects = rect; in HWTEST_F() 921 region->rects = rect; in HWTEST_F() 944 region->rects = rect; in HWTEST_F() 963 region->rects = nullptr; in HWTEST_F() 973 region->rects = rect; in HWTEST_F() 1008 region->rects = rect; in HWTEST_F() 1048 region->rects = rect; in HWTEST_F() 1503 region->rects = nullptr; in HWTEST_F() 1512 region->rects in HWTEST_F() [all...] |
/third_party/EGL/api/EGL/ |
H A D | eglext.h | 263 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSETDAMAGEREGIONKHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 265 EGLAPI EGLBoolean EGLAPIENTRY eglSetDamageRegionKHR (EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); 432 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 434 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageKHR (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 983 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 985 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersWithDamageEXT (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects); 1113 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1115 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegionNOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1121 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGION2NOKPROC) (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); 1123 EGLAPI EGLBoolean EGLAPIENTRY eglSwapBuffersRegion2NOK (EGLDisplay dpy, EGLSurface surface, EGLint numRects, const EGLint *rects); [all...] |