/hardware/google/av/codec2/include/ |
D | C2Buffer.h | 1335 struct C2Rect { struct 1342 constexpr inline C2Rect() in C2Rect() argument 1343 : C2Rect(0, 0, 0, 0) { } in C2Rect() 1345 constexpr inline C2Rect(uint32_t width_, uint32_t height_) in C2Rect() argument 1346 : C2Rect(width_, height_, 0, 0) { } in C2Rect() 1348 constexpr C2Rect inline at(uint32_t left_, uint32_t top_) const { in at() argument 1349 return C2Rect(width, height, left_, top_); in at() 1371 inline constexpr bool contains(const C2Rect &other) const { in contains() argument 1381 inline constexpr bool operator==(const C2Rect &other) const { 1390 inline constexpr bool operator!=(const C2Rect &other) const { [all …]
|
D | C2Config.h | 1242 struct C2RectStruct : C2Rect { 1244 C2RectStruct(const C2Rect &rect) : C2Rect(rect) { } in C2RectStruct()
|
/hardware/google/av/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 301 void mapGraphic(C2Rect rect, C2PlanarLayout *layout, uint8_t **addr) { in mapGraphic() 337 C2Rect mMappedRect; 429 void fillPlane(const C2Rect rect, const C2PlaneInfo info, uint8_t *addr, uint8_t value) { in fillPlane() 439 bool verifyPlane(const C2Rect rect, const C2PlaneInfo info, const uint8_t *addr, uint8_t value) { in verifyPlane() 459 C2Rect rect(kWidth, kHeight); in TEST_F() 476 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x12); in TEST_F() 477 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x34); in TEST_F() 478 fillPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), vInfo, v, 0x56); in TEST_F() 494 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), yInfo, y, 0x1… in TEST_F() 495 …ASSERT_TRUE(verifyPlane(C2Rect(kWidth / 2, kHeight / 2).at(kWidth / 4, kHeight / 4), uInfo, u, 0x3… in TEST_F() [all …]
|
/hardware/google/av/codec2/vndk/internal/ |
D | C2BlockInternal.h | 93 const C2Rect &allottedCrop = C2Rect(~0u, ~0u));
|
/hardware/google/av/codec2/vndk/ |
D | C2Buffer.cpp | 722 alloc, poolData, C2Rect(width, height)); in fetchGraphicBlock() 800 const C2Rect &allottedCrop = C2Rect(~0u, ~0u)) in _C2Block2DImpl() 849 const C2Rect crop = mImpl->crop(); in Mapped() 1016 const C2GraphicView C2GraphicView::subView(const C2Rect &rect) const { in subView() 1020 C2GraphicView C2GraphicView::subView(const C2Rect &rect) { in subView() 1045 C2ConstGraphicBlock C2ConstGraphicBlock::subBlock(const C2Rect &rect) const { in subBlock() 1066 C2ConstGraphicBlock C2GraphicBlock::share(const C2Rect &crop, C2Fence fence) { in share() 1098 const std::shared_ptr<_C2BlockPoolData> &data, const C2Rect &allottedCrop) { in CreateGraphicBlock()
|
D | C2AllocatorGralloc.cpp | 278 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, 281 uint8_t **addr /* nonnull */, C2Rect rect, C2Fence *fence /* nullable */) override; 330 unmap(addr, C2Rect(), nullptr); in ~C2AllocationGralloc() 347 C2Rect rect, C2MemoryUsage usage, C2Fence *fence, in map() 559 uint8_t **addr, C2Rect rect, C2Fence *fence /* nullable */) { in unmap()
|
/hardware/google/av/media/codecs/base/include/ |
D | SimpleC2Component.h | 153 const C2Rect &crop);
|
/hardware/google/av/media/codecs/base/ |
D | SimpleC2Component.cpp | 561 return createGraphicBuffer(block, C2Rect(block->width(), block->height())); in createGraphicBuffer() 565 const std::shared_ptr<C2GraphicBlock> &block, const C2Rect &crop) { in createGraphicBuffer()
|
/hardware/google/av/media/sfplugin/ |
D | C2OMXNode.cpp | 277 C2Rect(block->width(), block->height()), ::C2Fence())), in emptyBuffer()
|
D | Codec2Buffer.cpp | 558 mBlock->share(C2Rect(width, height), C2Fence())); in asC2Buffer() 598 block->share(C2Rect(buffer->width, buffer->height), C2Fence())); in asC2Buffer()
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 192 C2Rect(block->width(), block->height()), ::C2Fence())), in submitBuffer()
|
D | types.cpp | 730 C2Rect sRect = s.crop(); in objcpy() 1118 C2Rect(rectInfo->width, rectInfo->height). in createGraphicBuffer()
|
/hardware/google/av/codec2/hidl/1.0/mts/video/ |
D | MtsHidlC2V1_0TargetVideoEncTest.cpp | 41 : C2Buffer({block->share(C2Rect(block->width(), block->height()), in GraphicBuffer()
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 364 C2Rect(mWidth, mHeight)); in finishWork()
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxDec.cpp | 406 C2Rect(mWidth, mHeight)); in finishWork()
|
/hardware/google/av/media/codecs/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 762 C2Rect(mWidth, mHeight)); in finishWork()
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcDec.cpp | 682 C2Rect(mWidth, mHeight)); in finishWork()
|
/hardware/google/av/media/codecs/hevc/ |
D | C2SoftHevcDec.cpp | 680 C2Rect(mWidth, mHeight)); in finishWork()
|