/external/skia/src/core/ |
SkYUVASizeInfo.cpp | 11 void SkYUVASizeInfo::computePlanes(void* base, void* planes[SkYUVASizeInfo::kMaxCount]) const { 12 planes[0] = base; 18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); 21 planes[i] = nullptr;
|
/external/skqp/src/core/ |
SkYUVASizeInfo.cpp | 11 void SkYUVASizeInfo::computePlanes(void* base, void* planes[SkYUVASizeInfo::kMaxCount]) const { 12 planes[0] = base; 18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); 21 planes[i] = nullptr;
|
/external/libaom/libaom/common/ |
rawenc.h | 23 void raw_write_image_file(const aom_image_t *img, const int *planes, 25 void raw_update_image_md5(const aom_image_t *img, const int *planes,
|
y4menc.h | 30 void y4m_write_image_file(const aom_image_t *img, const int *planes, 32 void y4m_update_image_md5(const aom_image_t *img, const int *planes,
|
rawenc.c | 65 const int *planes, const int num_planes, 70 const int plane = planes[i]; 74 // value. Since there are only YUV planes, compare against Y. 79 const unsigned char *buf = img->planes[plane]; 88 void raw_write_image_file(const aom_image_t *img, const int *planes, 90 raw_write_image_file_or_md5(img, planes, num_planes, file, write_file); 93 void raw_update_image_md5(const aom_image_t *img, const int *planes, 95 raw_write_image_file_or_md5(img, planes, num_planes, md5, write_md5);
|
y4menc.c | 97 void y4m_write_image_file(const aom_image_t *img, const int *planes, 100 raw_write_image_file(img, planes, num_planes, file); 103 void y4m_update_image_md5(const aom_image_t *img, const int *planes, 106 raw_update_image_md5(img, planes, num_planes, md5);
|
/device/linaro/hikey/gralloc960/ |
mali_gralloc_bufferaccess.cpp | 214 AERR("Can't get planes number of buffer %p: with format %" PRIx64, hnd, hnd->internal_format); 297 flex_layout->planes[0].top_left = base; 298 flex_layout->planes[0].component = FLEX_COMPONENT_Y; 299 flex_layout->planes[0].bits_per_component = 8; 300 flex_layout->planes[0].bits_used = 8; 301 flex_layout->planes[0].h_increment = 1; 302 flex_layout->planes[0].v_increment = y_stride; 303 flex_layout->planes[0].h_subsampling = 1; 304 flex_layout->planes[0].v_subsampling = 1; 305 flex_layout->planes[1].top_left = base + y_size [all...] |
/external/libdrm/tests/util/ |
pattern.h | 36 void *planes[3], unsigned int width,
|
/external/drm_hwcomposer/ |
platform.h | 67 std::vector<DrmPlane *> *planes) = 0; 70 // Removes and returns the next available plane from planes 71 static DrmPlane *PopPlane(std::vector<DrmPlane *> *planes) { 72 if (planes->empty()) 74 DrmPlane *plane = planes->front(); 75 planes->erase(planes->begin()); 83 std::vector<DrmPlane *> *planes, 86 DrmPlane *plane = PopPlane(planes); 95 plane = PopPlane(planes); [all...] |
/external/libkmsxx/py/tests/ |
alpha-test.py | 12 planes = [] variable 18 print("Need 3 planes!") 21 planes.append(p) 30 for i in range(len(planes)): 44 for i in range(len(planes)): 45 plane = planes[i]
|
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
YUVImage.java | 44 * image format consisting of Y, Cb, and Cr image planes. 62 * chrominance planes would be 18 x 35 bytes. If you specify a line padding of 64 * each of the chrominance planes would be 20 x 35 bytes. 73 * planes, and allocate memory for the image planes. 81 * strides for all planes will be set to their respective plane widths. When 115 * planes. 117 * @param planes an array of buffers representing the Y, U (Cb), and V (Cr) 118 * image planes (or just the Y plane, if the image is grayscale.) These 119 * planes can be contiguous or non-contiguous in memory. Plan [all...] |
/external/mesa3d/src/intel/vulkan/ |
anv_image.c | 127 return &image->planes[plane].surface; 136 surf->offset = align_u32(image->planes[plane].size, surf->isl.alignment); 141 if (image->planes[plane].size == 0) 142 image->planes[plane].offset = image->size; 146 image->planes[plane].size = (surf->offset + surf->isl.size) - image->planes[plane].offset; 149 image->planes[plane].alignment = MAX2(image->planes[plane].alignment, 235 assert(image->planes[plane].aux_surface.isl.size > 0 && 250 assert((image->planes[plane].offset + image->planes[plane].size) % 4 == 0) [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
array4d.h | 58 Array4D(int64 planes, int64 depth, int64 height, int64 width) 59 : Array<T>(std::vector<int64>{planes, depth, height, width}) {} 62 Array4D(int64 planes, int64 depth, int64 height, int64 width, T value) 63 : Array<T>(std::vector<int64>{planes, depth, height, width}, value) {} 71 Array4D(int64 planes, int64 depth, int64 height, int64 width, 73 : Array4D(planes, depth, height, width) { 106 int64 planes() const { return this->dim(0); } function in class:xla::Array4D 112 for (int64 plane = 0; plane < planes(); ++plane) { 125 CHECK_EQ(value.height(), planes()); 129 for (int64 plane = 0; plane < planes(); ++plane) [all...] |
/external/skia/src/gpu/ |
GrYUVProvider.h | 51 SkYUVColorSpace*, const void* planes[SkYUVASizeInfo::kMaxCount]); 63 * allocation widths of the Y, U, V, and A planes. 64 * @param yuvaIndices How the YUVA planes are used/organized 79 * @param yuvaIndices How the YUVA planes are used/organized 80 * @param planes Memory for each of the Y, U, V, and A planes. 84 void* planes[]) = 0;
|
GrYUVProvider.cpp | 32 void* planes[SkYUVASizeInfo::kMaxCount]; local 35 planes[0] = (void*)data->data(); // we should always have at least one plane 41 planes[i] = nullptr; 45 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * 65 planes[0] = data->writable_data(); 71 planes[i] = nullptr; 75 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * 79 // Get the YUV planes 112 const void* planes[SkYUVASizeInfo::kMaxCount]; local [all...] |
/external/skqp/src/gpu/ |
GrYUVProvider.h | 51 SkYUVColorSpace*, const void* planes[SkYUVASizeInfo::kMaxCount]); 63 * allocation widths of the Y, U, V, and A planes. 64 * @param yuvaIndices How the YUVA planes are used/organized 79 * @param yuvaIndices How the YUVA planes are used/organized 80 * @param planes Memory for each of the Y, U, V, and A planes. 84 void* planes[]) = 0;
|
GrYUVProvider.cpp | 32 void* planes[SkYUVASizeInfo::kMaxCount]; local 35 planes[0] = (void*)data->data(); // we should always have at least one plane 41 planes[i] = nullptr; 45 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * 65 planes[0] = data->writable_data(); 71 planes[i] = nullptr; 75 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * 79 // Get the YUV planes 112 const void* planes[SkYUVASizeInfo::kMaxCount]; local [all...] |
/frameworks/av/media/codec2/sfplugin/utils/ |
Codec2BufferUtils.cpp | 67 // TODO: more efficient copying --- e.g. copy interleaved planes together, etc. 76 const C2PlaneInfo &plane = layout.planes[i]; 129 int32_t src_stride_y = view.layout().planes[0].rowInc; 130 int32_t src_stride_u = view.layout().planes[1].rowInc; 131 int32_t src_stride_v = view.layout().planes[2].rowInc; 170 int32_t dst_stride_y = view.layout().planes[0].rowInc; 171 int32_t dst_stride_u = view.layout().planes[1].rowInc; 172 int32_t dst_stride_v = view.layout().planes[2].rowInc; 194 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y 195 && layout.planes[layout.PLANE_Y].allocatedDepth == [all...] |
/external/dynamic_depth/internal/dynamic_depth/ |
planes.cc | 1 #include "dynamic_depth/planes.h" 12 Planes::Planes() = default; 14 void Planes::GetNamespaces( 25 std::unique_ptr<Planes> Planes::FromPlaneArray( 40 std::unique_ptr<Planes> planes(new Planes()); // NOLINT 41 std::swap(*plane_list, planes->plane_list_) [all...] |
/external/dng_sdk/source/ |
dng_bottlenecks.h | 57 uint32 planes, 67 uint32 planes, 77 uint32 planes, 89 uint32 planes, 102 uint32 planes, 115 uint32 planes, 128 uint32 planes, 141 uint32 planes, 154 uint32 planes, 167 uint32 planes, [all...] |
dng_reference.h | 46 uint32 planes, 55 uint32 planes, 64 uint32 planes, 75 uint32 planes, 87 uint32 planes, 99 uint32 planes, 111 uint32 planes, 123 uint32 planes, 135 uint32 planes, 147 uint32 planes, [all...] |
dng_pixel_buffer.cpp | 366 uint32 planes, 373 , fPlanes (planes) 544 uint32 planes, 563 planes, 577 DoZeroBytes (dPtr, planes); 588 planes, 605 DoZeroBytes (dPtr, planes << 1); 616 planes, 633 DoZeroBytes (dPtr, planes << 2); 644 planes, 1435 uint32 planes = fPlanes; local [all...] |
dng_pixel_buffer.h | 84 /// The pixel geometry describes the layout in terms of how many planes, rows and columns 96 // Range of planes this buffer holds. 173 /// \param planes Number of planes 176 /// \param planarConfiguration Layout of the pixel planes in memory: One 180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes, 203 /// Number of planes of image data. 204 /// \retval Number of planes held in buffer. 206 uint32 Planes () const 219 /// Step, in pixels not bytes, between planes of data in buffer [all...] |
/external/libdrm/tests/kms/ |
libkms-test-device.c | 137 device->planes = calloc(res->count_planes, sizeof(plane)); 138 if (!device->planes) 142 plane = kms_plane_create(device, res->planes[i]); 146 device->planes[i] = plane; 181 kms_plane_free(device->planes[i]); 183 free(device->planes); 208 if (device->planes[i]->type == type) { 210 return device->planes[i];
|
/external/libvpx/libvpx/test/ |
util.h | 35 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] - 36 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j];
|