/external/skia/include/core/ |
D | SkYUVAPixmaps.h | 28 static constexpr auto kMaxPlanes = SkYUVAInfo::kMaxPlanes; 102 const SkColorType[kMaxPlanes], 103 const size_t rowBytes[kMaxPlanes]); 108 SkYUVAPixmapInfo(const SkYUVAInfo&, DataType, const size_t rowBytes[kMaxPlanes]); 141 size_t computeTotalBytes(size_t planeSizes[kMaxPlanes] = nullptr) const; 148 bool initPixmapsFromSingleAllocation(void* memory, SkPixmap pixmaps[kMaxPlanes]) const; 161 std::array<SkImageInfo, kMaxPlanes> fPlaneInfos = {}; 162 std::array<size_t, kMaxPlanes> fRowBytes = {}; 174 static constexpr auto kMaxPlanes = SkYUVAPixmapInfo::kMaxPlanes; variable 206 static SkYUVAPixmaps FromExternalPixmaps(const SkYUVAInfo&, const SkPixmap[kMaxPlanes]); [all …]
|
D | SkYUVAInfo.h | 94 static constexpr int kMaxPlanes = 4; variable 118 SkISize planeDimensions[kMaxPlanes]); 188 int planeDimensions(SkISize planeDimensions[kMaxPlanes]) const { in planeDimensions() argument 197 size_t computeTotalBytes(const size_t rowBytes[kMaxPlanes], 198 size_t planeSizes[kMaxPlanes] = nullptr) const;
|
/external/libgav1/src/ |
D | loop_restoration_info.h | 62 std::array<RestorationUnitInfo, kMaxPlanes>* 66 std::array<RestorationUnitInfo, kMaxPlanes>* reference_unit_info); 69 std::array<RestorationUnitInfo, kMaxPlanes>* reference_unit_info); 88 RestorationUnitInfo* loop_restoration_info_[kMaxPlanes]; 91 bool plane_needs_filtering_[kMaxPlanes]; 95 int num_horizontal_units_[kMaxPlanes]; 96 int num_vertical_units_[kMaxPlanes]; 97 int num_units_[kMaxPlanes];
|
D | post_filter.h | 356 const uint8_t border_columns[kMaxPlanes][256], 363 uint8_t border_columns[2][kMaxPlanes][256], 368 uint16_t* cdef_block, uint8_t border_columns[2][kMaxPlanes][256], 388 const std::array<uint8_t*, kMaxPlanes>& src, 389 const std::array<int, kMaxPlanes>& rows, int line_buffer_row, 390 const std::array<uint8_t*, kMaxPlanes>& dst, 458 const int8_t subsampling_x_[kMaxPlanes]; 459 const int8_t subsampling_y_[kMaxPlanes]; 480 } super_res_info_[kMaxPlanes]; 498 uint8_t* source_buffer_[kMaxPlanes]; [all …]
|
D | yuv_buffer.h | 164 int left_border_[kMaxPlanes] = {}; 165 int right_border_[kMaxPlanes] = {}; 166 int top_border_[kMaxPlanes] = {}; 167 int bottom_border_[kMaxPlanes] = {}; 169 int stride_[kMaxPlanes] = {}; 170 uint8_t* buffer_[kMaxPlanes] = {};
|
D | post_filter_test.cc | 70 static const char* const kDigestSuperRes[][kMaxPlanes] = { in GetSuperResDigest8bpp() 108 static const char* const kDigestSuperRes[][kMaxPlanes] = { in GetSuperResDigest10bpp() 147 static const char* const kDigestSuperRes[][kMaxPlanes] = { in GetSuperResDigest12bpp() 240 for (int plane = kPlaneY; plane < kMaxPlanes; ++plane) { in SetUp() 263 uint32_t width_[kMaxPlanes]; 264 uint32_t upscaled_width_[kMaxPlanes]; 265 uint32_t stride_[kMaxPlanes]; 266 uint32_t height_[kMaxPlanes]; 267 std::vector<Pixel> reference_buffer_[kMaxPlanes]; 294 for (int plane = kPlaneY; plane < kMaxPlanes; ++plane) { in SetUp() [all …]
|
D | loop_restoration_info.cc | 65 const int num_planes = is_monochrome ? kMaxPlanesMonochrome : kMaxPlanes; in Reset() 139 std::array<RestorationUnitInfo, kMaxPlanes>* const reference_unit_info) { in ReadUnitCoefficients() 165 std::array<RestorationUnitInfo, kMaxPlanes>* const reference_unit_info) { in ReadWienerInfo() 202 std::array<RestorationUnitInfo, kMaxPlanes>* const reference_unit_info) { in ReadSgrProjInfo()
|
/external/skia/include/gpu/ |
D | GrYUVABackendTextures.h | 21 static constexpr auto kMaxPlanes = SkYUVAInfo::kMaxPlanes; 35 const GrBackendFormat[kMaxPlanes], 74 GrBackendFormat fPlaneFormats[kMaxPlanes]; 92 const GrBackendTexture[SkYUVAInfo::kMaxPlanes], 95 const std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes>& textures() const { in textures() 100 SkASSERT(i >= 0 && i < SkYUVAInfo::kMaxPlanes); in texture() 120 std::array<GrBackendTexture, SkYUVAInfo::kMaxPlanes> fTextures;
|
/external/skia/src/core/ |
D | SkYUVAPixmaps.cpp | 79 const SkColorType colorTypes[kMaxPlanes], in SkYUVAPixmapInfo() argument 80 const size_t rowBytes[kMaxPlanes]) in SkYUVAPixmapInfo() argument 89 size_t tempRowBytes[kMaxPlanes]; in SkYUVAPixmapInfo() 121 const size_t rowBytes[kMaxPlanes]) { in SkYUVAPixmapInfo() argument 122 SkColorType colorTypes[kMaxPlanes] = {}; in SkYUVAPixmapInfo() 139 size_t SkYUVAPixmapInfo::computeTotalBytes(size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes() 142 std::fill_n(planeSizes, kMaxPlanes, 0); in computeTotalBytes() 150 SkPixmap pixmaps[kMaxPlanes]) const { in initPixmapsFromSingleAllocation() 164 for (int i = n; i < kMaxPlanes; ++i) { in initPixmapsFromSingleAllocation() 235 SkPixmap pixmaps[kMaxPlanes]; in FromExternalMemory() [all …]
|
D | SkYUVAInfo.cpp | 79 SkISize planeDimensions[SkYUVAInfo::kMaxPlanes]) { in PlaneDimensions() argument 80 std::fill_n(planeDimensions, SkYUVAInfo::kMaxPlanes, SkISize{0, 0}); in PlaneDimensions() 323 size_t SkYUVAInfo::computeTotalBytes(const size_t rowBytes[kMaxPlanes], in computeTotalBytes() argument 324 size_t planeSizes[kMaxPlanes]) const { in computeTotalBytes() 330 SkISize planeDimensions[kMaxPlanes]; in computeTotalBytes() 343 for (int i = n; i < kMaxPlanes; ++i) { in computeTotalBytes() 347 for (int i = 0; n < kMaxPlanes; ++i) { in computeTotalBytes()
|
D | SkYUVAInfoLocation.h | 34 bool used[SkYUVAInfo::kMaxPlanes] = {}; 41 } else if (locations[i].fPlane >= SkYUVAInfo::kMaxPlanes) {
|
/external/skia/src/gpu/ganesh/ |
D | GrYUVATextureProxies.h | 24 sk_sp<GrSurfaceProxy>[SkYUVAInfo::kMaxPlanes], 34 GrSurfaceProxyView[SkYUVAInfo::kMaxPlanes], 35 GrColorType[SkYUVAInfo::kMaxPlanes]); 54 const std::array<sk_sp<GrSurfaceProxy>, SkYUVAInfo::kMaxPlanes>& proxies() const { in proxies() 69 std::array<sk_sp<GrSurfaceProxy>, SkYUVAInfo::kMaxPlanes> fProxies;
|
D | GrYUVATextureProxies.cpp | 31 sk_sp<GrSurfaceProxy> proxies[SkYUVAInfo::kMaxPlanes], in GrYUVATextureProxies() argument 40 uint32_t textureChannelMasks[SkYUVAInfo::kMaxPlanes]; in GrYUVATextureProxies() 72 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes], in GrYUVATextureProxies() argument 73 GrColorType colorTypes[SkYUVAInfo::kMaxPlanes]) in GrYUVATextureProxies() argument 75 uint32_t pixmapChannelMasks[SkYUVAInfo::kMaxPlanes]; in GrYUVATextureProxies()
|
D | GrYUVABackendTextures.cpp | 26 const GrBackendFormat formats[kMaxPlanes], in GrYUVABackendTextureInfo() argument 81 const GrBackendTexture textures[SkYUVAInfo::kMaxPlanes], in GrYUVABackendTextures() argument 87 SkISize planeDimensions[SkYUVAInfo::kMaxPlanes]; in GrYUVABackendTextures()
|
/external/libgav1/src/post_filter/ |
D | super_res.cc | 19 void PostFilter::ApplySuperRes(const std::array<uint8_t*, kMaxPlanes>& src, in ApplySuperRes() 20 const std::array<int, kMaxPlanes>& rows, in ApplySuperRes() 22 const std::array<uint8_t*, kMaxPlanes>& dst, in ApplySuperRes() 102 std::array<uint8_t*, kMaxPlanes> src; in ApplySuperResForOneSuperBlockRow() 103 std::array<uint8_t*, kMaxPlanes> dst; in ApplySuperResForOneSuperBlockRow() 104 std::array<int, kMaxPlanes> rows; in ApplySuperResForOneSuperBlockRow() 171 std::array<uint8_t*, kMaxPlanes> src; in ApplySuperResThreaded() 172 std::array<uint8_t*, kMaxPlanes> dst; in ApplySuperResThreaded() 173 std::array<int, kMaxPlanes> rows; in ApplySuperResThreaded()
|
D | cdef.cc | 121 const uint8_t border_columns[kMaxPlanes][256], in PrepareCdefBlock() 123 assert(y_plane || planes_ == kMaxPlanes); in PrepareCdefBlock() 124 const int max_planes = y_plane ? 1 : kMaxPlanes; in PrepareCdefBlock() 262 uint8_t border_columns[2][kMaxPlanes][256], in ApplyCdefForOneUnit() 268 int cdef_buffer_row_base_stride[kMaxPlanes]; in ApplyCdefForOneUnit() 269 uint8_t* cdef_buffer_row_base[kMaxPlanes]; in ApplyCdefForOneUnit() 270 int src_buffer_row_base_stride[kMaxPlanes]; in ApplyCdefForOneUnit() 271 const uint8_t* src_buffer_row_base[kMaxPlanes]; in ApplyCdefForOneUnit() 272 const uint16_t* cdef_src_row_base[kMaxPlanes]; in ApplyCdefForOneUnit() 273 int cdef_src_row_base_stride[kMaxPlanes]; in ApplyCdefForOneUnit() [all …]
|
/external/skia/src/gpu/graphite/ |
D | YUVATextureProxies.h | 27 TextureProxyView[SkYUVAInfo::kMaxPlanes], 28 SkColorType[SkYUVAInfo::kMaxPlanes]); 45 const std::array<sk_sp<TextureProxy>, SkYUVAInfo::kMaxPlanes>& proxies() const { in proxies() 60 std::array<sk_sp<TextureProxy>, SkYUVAInfo::kMaxPlanes> fProxies;
|
D | YUVATextureProxies.cpp | 16 TextureProxyView views[SkYUVAInfo::kMaxPlanes], in YUVATextureProxies() argument 17 SkColorType colorTypes[SkYUVAInfo::kMaxPlanes]) in YUVATextureProxies() argument 19 uint32_t pixmapChannelMasks[SkYUVAInfo::kMaxPlanes]; in YUVATextureProxies()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.h | 166 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in setCallbackContext() 170 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in callbackContext() 174 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in refCallbackContext() 185 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in backendFormat() 189 SkASSERT(index >= 0 && index < (this->isYUV() ? SkYUVAInfo::kMaxPlanes : 1)); in promiseTexture() 212 sk_sp<PromiseImageCallbackContext> fCallbackContexts[SkYUVAInfo::kMaxPlanes];
|
/external/libgav1/src/utils/ |
D | types.h | 70 uint16_t color[kMaxPlanes][kMaxPaletteSize]; 303 LoopRestorationType type[kMaxPlanes]; 304 int unit_size_log2[kMaxPlanes]; 311 int8_t delta_dc[kMaxPlanes]; 313 int8_t delta_ac[kMaxPlanes]; 320 int8_t matrix_level[kMaxPlanes];
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/av1/src/main/jni/ |
D | gav1_jni.cc | 66 const int kMaxPlanes = 3; variable 125 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in ~JniFrameBuffer() 171 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in MaybeReallocateGav1DataPlanes() 187 int stride_[kMaxPlanes]; 188 uint8_t* plane_[kMaxPlanes]; 189 int displayed_width_[kMaxPlanes]; 190 int displayed_height_[kMaxPlanes]; 194 uint8_t* raw_buffer_[kMaxPlanes] = {}; 196 size_t raw_buffer_size_[kMaxPlanes] = {}; 414 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in Convert10BitFrameTo8BitDataBufferNeon() [all …]
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/av1/src/main/jni/ |
D | gav1_jni.cc | 66 const int kMaxPlanes = 3; variable 125 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in ~JniFrameBuffer() 171 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in MaybeReallocateGav1DataPlanes() 187 int stride_[kMaxPlanes]; 188 uint8_t* plane_[kMaxPlanes]; 189 int displayed_width_[kMaxPlanes]; 190 int displayed_height_[kMaxPlanes]; 194 uint8_t* raw_buffer_[kMaxPlanes] = {}; 196 size_t raw_buffer_size_[kMaxPlanes] = {}; 414 for (int plane_index = kPlaneY; plane_index < kMaxPlanes; plane_index++) { in Convert10BitFrameTo8BitDataBufferNeon() [all …]
|
/external/skia/tools/gpu/ |
D | ManagedBackendTexture.cpp | 21 sk_sp<sk_gpu_test::ManagedBackendTexture> fMBETs[SkYUVAInfo::kMaxPlanes]; 49 const sk_sp<ManagedBackendTexture> mbets[SkYUVAInfo::kMaxPlanes]) { in MakeYUVAReleaseContext() argument 51 for (int i = 0; i < SkYUVAInfo::kMaxPlanes; ++i) { in MakeYUVAReleaseContext()
|
/external/skia/tests/ |
D | YUVTest.cpp | 65 REPORTER_ASSERT(reporter, numPlanes <= SkYUVAInfo::kMaxPlanes); in codec_yuv() 76 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv() 87 for (int i = 0; i < SkYUVAPixmaps::kMaxPlanes; ++i) { in codec_yuv() 90 for (int i = numPlanes; i < SkYUVAInfo::kMaxPlanes; ++i) { in codec_yuv()
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 139 GrSurfaceProxy* proxies[SkYUVAInfo::kMaxPlanes] = {}; in onFlush() 274 sk_sp<GrSurfaceProxy> proxies[SkYUVAInfo::kMaxPlanes]; in MakeFromYUVATextures() 357 GrSurfaceProxyView views[SkYUVAInfo::kMaxPlanes]; in MakeFromYUVAPixmaps() 358 GrColorType pixmapColorTypes[SkYUVAInfo::kMaxPlanes]; in MakeFromYUVAPixmaps() 390 SkISize planeDimensions[SkYUVAInfo::kMaxPlanes]; in MakePromiseYUVATexture()
|