Home
last modified time | relevance | path

Searched refs:C2Rect (Results 1 – 24 of 24) sorted by relevance

/aosp12/frameworks/av/media/codec2/core/include/
H A DC2Buffer.h1475 struct C2Rect { struct
1482 constexpr inline C2Rect() in C2Rect() function
1483 : C2Rect(0, 0, 0, 0) { } in C2Rect()
1486 : C2Rect(width_, height_, 0, 0) { } in C2Rect()
1561 inline constexpr C2Rect intersect(const C2Rect &other) const { in intersect() argument
1592 inline constexpr operator C2Rect() const { in C2Rect() function
1593 return C2Rect(_mWidth, _mHeight); in C2Rect()
1765 mCrop(parent == nullptr ? C2Rect() : ((C2Rect)*parent).intersect(crop).normalize()) { } in _C2PlanarSectionAspect()
1773 C2Rect mCrop;
1808 inline bool setCrop(const C2Rect &crop) { in setCrop()
[all …]
H A DC2Config.h1295 struct C2RectStruct : C2Rect {
1297 C2RectStruct(const C2Rect &rect) : C2Rect(rect) { } in C2RectStruct()
/aosp12/frameworks/av/media/codec2/tests/vndk/
H A DC2BufferTest.cpp302 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()
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()
546 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12); in TEST_F()
551 C2ConstGraphicBlock constBlock = block->share(C2Rect(kWidth, kHeight), fence); in TEST_F()
600 constexpr C2Rect kCrop1(kWidth1, kHeight1); in TEST_F()
[all …]
/aosp12/frameworks/av/media/codec2/vndk/
H A DC2AllocatorBlob.cpp88 C2Rect rect(capacity(), kLinearBufferHeight); in ~C2AllocationBlob()
110 C2Rect rect = C2Rect(capacity(), kLinearBufferHeight); in map()
145 C2Rect rect(capacity(), kLinearBufferHeight); in unmap()
H A DC2Buffer.cpp740 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()
H A DC2AllocatorGralloc.cpp259 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()
/aosp12/frameworks/av/media/codec2/vndk/internal/
H A DC2BlockInternal.h95 const C2Rect &allottedCrop = C2Rect(~0u, ~0u));
/aosp12/frameworks/av/media/tests/benchmark/src/native/common/
H A DBenchmarkC2Common.h51 : C2Buffer({block->share(C2Rect(block->width(), block->height()), ::C2Fence())}) {} in GraphicBuffer()
/aosp12/frameworks/av/media/codec2/components/base/include/
H A DSimpleC2Component.h147 const C2Rect &crop);
/aosp12/frameworks/av/media/codec2/sfplugin/tests/
H A DCCodecBuffers_test.cpp449 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map()
461 c2_status_t unmap(uint8_t **, C2Rect, C2Fence *) override { return C2_OK; } in unmap() argument
/aosp12/frameworks/av/media/codec2/sfplugin/
H A DCodec2Buffer.cpp667 mBlock->share(C2Rect(width, height), C2Fence())); in asC2Buffer()
733 block->share(C2Rect(buffer->width, buffer->height), C2Fence())); in asC2Buffer()
H A DC2OMXNode.cpp467 C2Rect(block->width(), block->height()), ::C2Fence()))); in emptyBuffer()
/aosp12/frameworks/av/media/codec2/hidl/1.0/utils/
H A DInputSurfaceConnection.cpp220 C2Rect(block->width(), block->height()), ::C2Fence())), in submitBuffer()
H A Dtypes.cpp826 C2Rect sRect = s.crop(); in objcpy()
1244 C2Rect(rectInfo->width, rectInfo->height). in createGraphicBuffer()
/aosp12/frameworks/av/media/codec2/components/base/
H A DSimpleC2Component.cpp600 const std::shared_ptr<C2GraphicBlock> &block, const C2Rect &crop) { in createGraphicBuffer()
/aosp12/frameworks/av/media/codec2/components/mpeg4_h263/
H A DC2SoftMpeg4Dec.cpp348 C2Rect(mWidth, mHeight)); in finishWork()
/aosp12/frameworks/av/media/codec2/components/aom/
H A DC2SoftAomDec.cpp381 createGraphicBuffer(block, C2Rect(mWidth, mHeight)); in finishWork()
/aosp12/frameworks/av/media/codec2/components/gav1/
H A DC2SoftGav1Dec.cpp373 createGraphicBuffer(block, C2Rect(mWidth, mHeight)); in finishWork()
/aosp12/frameworks/av/media/codec2/components/vpx/
H A DC2SoftVpxDec.cpp504 C2Rect(mWidth, mHeight)); in finishWork()
/aosp12/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
H A DVtsHalMediaC2V1_0TargetVideoEncTest.cpp38 : C2Buffer({block->share(C2Rect(block->width(), block->height()), ::C2Fence())}) {} in GraphicBuffer()
/aosp12/frameworks/av/media/codec2/hidl/plugin/samples/
H A DSampleFilterPlugin.cpp676 dstBlock->share(C2Rect(width, height), C2Fence())); in processLoop()
/aosp12/frameworks/av/media/codec2/components/avc/
H A DC2SoftAvcDec.cpp713 C2Rect(mWidth, mHeight)); in finishWork()
/aosp12/frameworks/av/media/codec2/components/hevc/
H A DC2SoftHevcDec.cpp704 C2Rect(mWidth, mHeight)); in finishWork()
/aosp12/frameworks/av/media/codec2/components/mpeg2/
H A DC2SoftMpeg2Dec.cpp781 C2Rect(mWidth, mHeight)); in finishWork()