Lines Matching refs:stride
458 memset(buffer.bits, (i&7) * 0x20, buffer.stride * buffer.height * 4);
685 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) {
689 int yuvTexStrideY = stride;
715 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride,
718 int yuvTexStrideY = stride;
739 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) {
743 off_t offset = (y * stride + x) * PIXEL_SIZE;
753 void fillRGBA8BufferSolid(uint8_t* buf, int w, int h, int stride, uint8_t r,
758 off_t offset = (y * stride + x) * PIXEL_SIZE;
991 int stride = buf->getStride();
992 int yuvTexStrideY = stride;
1008 img[y*stride + x] = value;
1028 img[y*stride + x] = value;