/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1475 struct C2Rect { struct 1482 constexpr inline C2Rect() in C2Rect() argument 1483 : C2Rect(0, 0, 0, 0) { } in C2Rect() 1485 constexpr inline C2Rect(uint32_t width_, uint32_t height_) in C2Rect() function 1486 : C2Rect(width_, height_, 0, 0) { } in C2Rect() 1488 constexpr C2Rect inline at(uint32_t left_, uint32_t top_) const { in at() argument 1489 return C2Rect(width, height, left_, top_); in at() 1511 inline constexpr bool contains(const C2Rect &other) const { in contains() argument 1521 inline constexpr bool operator==(const C2Rect &other) const { 1530 inline constexpr bool operator!=(const C2Rect &other) const { [all …]
|
D | C2Config.h | 1295 struct C2RectStruct : C2Rect { 1297 C2RectStruct(const C2Rect &rect) : C2Rect(rect) { } in C2RectStruct()
|
/frameworks/av/media/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 302 void mapGraphic(C2Rect rect, C2PlanarLayout *layout, uint8_t **addr) { in mapGraphic() 343 C2Rect mMappedRect; 435 void fillPlane(const C2Rect rect, const C2PlaneInfo info, uint8_t *addr, uint8_t value) { in fillPlane() 445 bool verifyPlane(const C2Rect rect, const C2PlaneInfo info, const uint8_t *addr, uint8_t value) { in verifyPlane() 465 C2Rect rect(kWidth, kHeight); in TEST_F() 482 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12); in TEST_F() 483 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34); in TEST_F() 484 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56); in TEST_F() 500 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x1… in TEST_F() 501 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x3… in TEST_F() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorBlob.cpp | 88 C2Rect rect(capacity(), kLinearBufferHeight); in ~C2AllocationBlob() 110 C2Rect rect = C2Rect(capacity(), kLinearBufferHeight); in map() 145 C2Rect rect(capacity(), kLinearBufferHeight); in unmap()
|
D | C2Buffer.cpp | 740 alloc, poolData, C2Rect(width, height)); in fetchGraphicBlock() 817 const C2Rect &allottedCrop = C2Rect(~0u, ~0u)) in _C2Block2DImpl() 866 const C2Rect crop = mImpl->crop(); in Mapped() 1033 const C2GraphicView C2GraphicView::subView(const C2Rect &rect) const { in subView() 1037 C2GraphicView C2GraphicView::subView(const C2Rect &rect) { in subView() 1062 C2ConstGraphicBlock C2ConstGraphicBlock::subBlock(const C2Rect &rect) const { in subBlock() 1083 C2ConstGraphicBlock C2GraphicBlock::share(const C2Rect &crop, C2Fence fence) { in share() 1115 const std::shared_ptr<_C2BlockPoolData> &data, const C2Rect &allottedCrop) { in CreateGraphicBlock()
|
D | C2AllocatorGralloc.cpp | 259 C2Rect c2Rect, C2MemoryUsage usage, C2Fence *fence, 262 uint8_t **addr /* nonnull */, C2Rect rect, C2Fence *fence /* nullable */) override; 322 unmap(addr, C2Rect(), nullptr); in ~C2AllocationGralloc() 342 C2Rect c2Rect, C2MemoryUsage usage, C2Fence *fence, in map() 797 uint8_t **addr, C2Rect rect, C2Fence *fence /* nullable */) { in unmap()
|
/frameworks/av/media/codec2/vndk/internal/ |
D | C2BlockInternal.h | 95 const C2Rect &allottedCrop = C2Rect(~0u, ~0u));
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.h | 51 : C2Buffer({block->share(C2Rect(block->width(), block->height()), ::C2Fence())}) {} in GraphicBuffer()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 147 const C2Rect &crop);
|
/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecBuffers_test.cpp | 449 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map() 461 c2_status_t unmap(uint8_t **, C2Rect, C2Fence *) override { return C2_OK; } in unmap() argument
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 220 C2Rect(block->width(), block->height()), ::C2Fence())), in submitBuffer()
|
D | types.cpp | 826 C2Rect sRect = s.crop(); in objcpy() 1244 C2Rect(rectInfo->width, rectInfo->height). in createGraphicBuffer()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 667 mBlock->share(C2Rect(width, height), C2Fence())); in asC2Buffer() 733 block->share(C2Rect(buffer->width, buffer->height), C2Fence())); in asC2Buffer()
|
D | C2OMXNode.cpp | 467 C2Rect(block->width(), block->height()), ::C2Fence()))); in emptyBuffer()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 600 const std::shared_ptr<C2GraphicBlock> &block, const C2Rect &crop) { in createGraphicBuffer()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 348 C2Rect(mWidth, mHeight)); in finishWork()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 381 createGraphicBuffer(block, C2Rect(mWidth, mHeight)); in finishWork()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 373 createGraphicBuffer(block, C2Rect(mWidth, mHeight)); in finishWork()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 38 : C2Buffer({block->share(C2Rect(block->width(), block->height()), ::C2Fence())}) {} in GraphicBuffer()
|
/frameworks/av/media/codec2/hidl/plugin/samples/ |
D | SampleFilterPlugin.cpp | 676 dstBlock->share(C2Rect(width, height), C2Fence())); in processLoop()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxDec.cpp | 504 C2Rect(mWidth, mHeight)); in finishWork()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 713 C2Rect(mWidth, mHeight)); in finishWork()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 704 C2Rect(mWidth, mHeight)); in finishWork()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 781 C2Rect(mWidth, mHeight)); in finishWork()
|