/third_party/ffmpeg/libavcodec/ |
D | hpeldsp.c | 63 const uint8_t *pixels, \ 67 OPNAME ## _no_rnd_pixels8_l2_8(block, pixels, pixels + 1, \ 72 const uint8_t *pixels, \ 76 OPNAME ## _pixels8_l2_8(block, pixels, pixels + 1, \ 81 const uint8_t *pixels, \ 85 OPNAME ## _no_rnd_pixels8_l2_8(block, pixels, pixels + line_size, \ 90 const uint8_t *pixels, \ 94 OPNAME ## _pixels8_l2_8(block, pixels, pixels + line_size, \ 99 const uint8_t *pixels, \ 103 OPNAME ## _pixels4_l2_8(block, pixels, pixels + 1, \ [all …]
|
D | idctdsp.c | 85 void ff_put_pixels_clamped_c(const int16_t *block, uint8_t *av_restrict pixels, in ff_put_pixels_clamped_c() argument 92 pixels[0] = av_clip_uint8(block[0]); in ff_put_pixels_clamped_c() 93 pixels[1] = av_clip_uint8(block[1]); in ff_put_pixels_clamped_c() 94 pixels[2] = av_clip_uint8(block[2]); in ff_put_pixels_clamped_c() 95 pixels[3] = av_clip_uint8(block[3]); in ff_put_pixels_clamped_c() 96 pixels[4] = av_clip_uint8(block[4]); in ff_put_pixels_clamped_c() 97 pixels[5] = av_clip_uint8(block[5]); in ff_put_pixels_clamped_c() 98 pixels[6] = av_clip_uint8(block[6]); in ff_put_pixels_clamped_c() 99 pixels[7] = av_clip_uint8(block[7]); in ff_put_pixels_clamped_c() 101 pixels += line_size; in ff_put_pixels_clamped_c() [all …]
|
D | pixblockdsp.c | 27 static void get_pixels_16_c(int16_t *av_restrict block, const uint8_t *pixels, in get_pixels_16_c() argument 30 AV_COPY128U(block + 0 * 8, pixels + 0 * stride); in get_pixels_16_c() 31 AV_COPY128U(block + 1 * 8, pixels + 1 * stride); in get_pixels_16_c() 32 AV_COPY128U(block + 2 * 8, pixels + 2 * stride); in get_pixels_16_c() 33 AV_COPY128U(block + 3 * 8, pixels + 3 * stride); in get_pixels_16_c() 34 AV_COPY128U(block + 4 * 8, pixels + 4 * stride); in get_pixels_16_c() 35 AV_COPY128U(block + 5 * 8, pixels + 5 * stride); in get_pixels_16_c() 36 AV_COPY128U(block + 6 * 8, pixels + 6 * stride); in get_pixels_16_c() 37 AV_COPY128U(block + 7 * 8, pixels + 7 * stride); in get_pixels_16_c() 40 static void get_pixels_8_c(int16_t *av_restrict block, const uint8_t *pixels, in get_pixels_8_c() argument [all …]
|
D | pel_template.c | 30 const uint8_t *pixels, \ 36 OP(*((pixel2 *) block), AV_RN2P(pixels)); \ 37 pixels += line_size; \ 43 const uint8_t *pixels, \ 49 OP(*((pixel4 *) block), AV_RN4P(pixels)); \ 50 pixels += line_size; \ 56 const uint8_t *pixels, \ 62 OP(*((pixel4 *) block), AV_RN4P(pixels)); \ 64 AV_RN4P(pixels + 4 * sizeof(pixel))); \ 65 pixels += line_size; \
|
/third_party/ffmpeg/libavcodec/mips/ |
D | hpeldsp_mmi.c | 29 void ff_put_pixels4_8_mmi(uint8_t *block, const uint8_t *pixels, in ff_put_pixels4_8_mmi() argument 37 MMI_ULWC1(%[ftmp0], %[pixels], 0x00) in ff_put_pixels4_8_mmi() 39 MMI_ULWC1(%[ftmp1], %[pixels], 0x00) in ff_put_pixels4_8_mmi() 53 [block]"+&r"(block), [pixels]"+&r"(pixels), in ff_put_pixels4_8_mmi() 60 void ff_put_pixels8_8_mmi(uint8_t *block, const uint8_t *pixels, in ff_put_pixels8_8_mmi() argument 68 MMI_ULDC1(%[ftmp0], %[pixels], 0x00) in ff_put_pixels8_8_mmi() 70 MMI_ULDC1(%[ftmp1], %[pixels], 0x00) in ff_put_pixels8_8_mmi() 72 MMI_ULDC1(%[ftmp2], %[pixels], 0x00) in ff_put_pixels8_8_mmi() 74 MMI_ULDC1(%[ftmp3], %[pixels], 0x00) in ff_put_pixels8_8_mmi() 92 [block]"+&r"(block), [pixels]"+&r"(pixels), in ff_put_pixels8_8_mmi() [all …]
|
D | hpeldsp_mips.h | 27 void ff_put_pixels16_msa(uint8_t *block, const uint8_t *pixels, 29 void ff_put_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels, 31 void ff_put_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels, 33 void ff_put_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels, 35 void ff_put_pixels8_msa(uint8_t *block, const uint8_t *pixels, 37 void ff_put_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels, 39 void ff_put_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels, 41 void ff_put_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels, 43 void ff_put_pixels4_msa(uint8_t *block, const uint8_t *pixels, 45 void ff_put_pixels4_x2_msa(uint8_t *block, const uint8_t *pixels, [all …]
|
D | idctdsp_mmi.c | 29 uint8_t *av_restrict pixels, ptrdiff_t line_size) in ff_put_pixels_clamped_mmi() argument 46 MMI_SDC1(%[ftmp0], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 48 MMI_SDC1(%[ftmp2], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 50 MMI_SDC1(%[ftmp4], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 52 MMI_SDC1(%[ftmp6], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 67 MMI_SDC1(%[ftmp0], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 69 MMI_SDC1(%[ftmp2], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 71 MMI_SDC1(%[ftmp4], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 73 MMI_SDC1(%[ftmp6], %[pixels], 0x00) in ff_put_pixels_clamped_mmi() 78 [pixels]"+&r"(pixels) in ff_put_pixels_clamped_mmi() [all …]
|
D | hevcdsp_mips.h | 35 MC(pel, pixels, 4); 36 MC(pel, pixels, 6); 37 MC(pel, pixels, 8); 38 MC(pel, pixels, 12); 39 MC(pel, pixels, 16); 40 MC(pel, pixels, 24); 41 MC(pel, pixels, 32); 42 MC(pel, pixels, 48); 43 MC(pel, pixels, 64); 114 UNI_MC(pel, pixels, 4); [all …]
|
D | idctdsp_msa.c | 24 static void put_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, in put_pixels_clamped_msa() argument 43 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride); in put_pixels_clamped_msa() 44 pixels += 4 * stride; in put_pixels_clamped_msa() 45 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride); in put_pixels_clamped_msa() 48 static void put_signed_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, in put_signed_pixels_clamped_msa() argument 77 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride); in put_signed_pixels_clamped_msa() 78 pixels += 4 * stride; in put_signed_pixels_clamped_msa() 79 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride); in put_signed_pixels_clamped_msa() 82 static void add_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, in add_pixels_clamped_msa() argument 93 LD_UB8(pixels, stride, pix_in0, pix_in1, pix_in2, in add_pixels_clamped_msa() [all …]
|
D | pixblockdsp_mmi.c | 28 void ff_get_pixels_8_mmi(int16_t *av_restrict block, const uint8_t *pixels, in ff_get_pixels_8_mmi() argument 38 MMI_LDC1(%[ftmp1], %[pixels], 0x00) in ff_get_pixels_8_mmi() 39 MMI_LDXC1(%[ftmp2], %[pixels], %[stride], 0x00) in ff_get_pixels_8_mmi() 50 MMI_LDC1(%[ftmp1], %[pixels], 0x00) in ff_get_pixels_8_mmi() 51 MMI_LDXC1(%[ftmp2], %[pixels], %[stride], 0x00) in ff_get_pixels_8_mmi() 62 MMI_LDC1(%[ftmp1], %[pixels], 0x00) in ff_get_pixels_8_mmi() 63 MMI_LDXC1(%[ftmp2], %[pixels], %[stride], 0x00) in ff_get_pixels_8_mmi() 74 MMI_LDC1(%[ftmp1], %[pixels], 0x00) in ff_get_pixels_8_mmi() 75 MMI_LDXC1(%[ftmp2], %[pixels], %[stride], 0x00) in ff_get_pixels_8_mmi() 90 [pixels]"+&r"(pixels) in ff_get_pixels_8_mmi()
|
/third_party/ffmpeg/libavcodec/loongarch/ |
D | idctdsp_lasx.c | 26 uint8_t *av_restrict pixels, in ff_put_pixels_clamped_lasx() argument 39 __lasx_xvstelm_d(temp0, pixels, 0, 0); in ff_put_pixels_clamped_lasx() 40 __lasx_xvstelm_d(temp0, pixels + stride, 0, 2); in ff_put_pixels_clamped_lasx() 41 __lasx_xvstelm_d(temp0, pixels + stride_2x, 0, 1); in ff_put_pixels_clamped_lasx() 42 __lasx_xvstelm_d(temp0, pixels + stride_3x, 0, 3); in ff_put_pixels_clamped_lasx() 43 pixels += stride_4x; in ff_put_pixels_clamped_lasx() 44 __lasx_xvstelm_d(temp1, pixels, 0, 0); in ff_put_pixels_clamped_lasx() 45 __lasx_xvstelm_d(temp1, pixels + stride, 0, 2); in ff_put_pixels_clamped_lasx() 46 __lasx_xvstelm_d(temp1, pixels + stride_2x, 0, 1); in ff_put_pixels_clamped_lasx() 47 __lasx_xvstelm_d(temp1, pixels + stride_3x, 0, 3); in ff_put_pixels_clamped_lasx() [all …]
|
D | hpeldsp_lasx.h | 29 void ff_put_pixels8_8_lasx(uint8_t *block, const uint8_t *pixels, 31 void ff_put_pixels8_x2_8_lasx(uint8_t *block, const uint8_t *pixels, 33 void ff_put_pixels8_y2_8_lasx(uint8_t *block, const uint8_t *pixels, 35 void ff_put_pixels16_8_lsx(uint8_t *block, const uint8_t *pixels, 37 void ff_put_pixels16_x2_8_lasx(uint8_t *block, const uint8_t *pixels, 39 void ff_put_pixels16_y2_8_lasx(uint8_t *block, const uint8_t *pixels, 41 void ff_put_no_rnd_pixels16_x2_8_lasx(uint8_t *block, const uint8_t *pixels, 43 void ff_put_no_rnd_pixels16_y2_8_lasx(uint8_t *block, const uint8_t *pixels, 46 const uint8_t *pixels, 48 void ff_put_no_rnd_pixels8_x2_8_lasx(uint8_t *block, const uint8_t *pixels, [all …]
|
D | hevcdsp_lsx.h | 37 MC(pel, pixels, 4); 38 MC(pel, pixels, 6); 39 MC(pel, pixels, 8); 40 MC(pel, pixels, 12); 41 MC(pel, pixels, 16); 42 MC(pel, pixels, 24); 43 MC(pel, pixels, 32); 44 MC(pel, pixels, 48); 45 MC(pel, pixels, 64); 99 BI_MC(pel, pixels, 4); [all …]
|
/third_party/ffmpeg/libavcodec/aarch64/ |
D | hpeldsp_init_aarch64.c | 32 void ff_put_pixels16_neon(uint8_t *block, const uint8_t *pixels, 34 void ff_put_pixels16_x2_neon(uint8_t *block, const uint8_t *pixels, 36 void ff_put_pixels16_y2_neon(uint8_t *block, const uint8_t *pixels, 38 void ff_put_pixels16_xy2_neon(uint8_t *block, const uint8_t *pixels, 40 void ff_put_pixels8_neon(uint8_t *block, const uint8_t *pixels, 42 void ff_put_pixels8_x2_neon(uint8_t *block, const uint8_t *pixels, 44 void ff_put_pixels8_y2_neon(uint8_t *block, const uint8_t *pixels, 46 void ff_put_pixels8_xy2_neon(uint8_t *block, const uint8_t *pixels, 49 void ff_put_pixels16_x2_no_rnd_neon(uint8_t *block, const uint8_t *pixels, 51 void ff_put_pixels16_y2_no_rnd_neon(uint8_t *block, const uint8_t *pixels, [all …]
|
/third_party/ffmpeg/libavfilter/x86/ |
D | vf_removegrain_init.c | 26 void ff_rg_fl_mode_1_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 27 void ff_rg_fl_mode_10_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 28 void ff_rg_fl_mode_11_12_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 29 void ff_rg_fl_mode_13_14_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 30 void ff_rg_fl_mode_19_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 31 void ff_rg_fl_mode_20_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 32 void ff_rg_fl_mode_21_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 33 void ff_rg_fl_mode_22_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 35 void ff_rg_fl_mode_2_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); 36 void ff_rg_fl_mode_3_sse2(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int pixels); [all …]
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | hpeldsp_altivec.c | 36 void ff_put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) in ff_put_pixels16_altivec() argument 54 pixelsv1 = unaligned_load( 0, pixels); in ff_put_pixels16_altivec() 55 pixelsv1B = unaligned_load(line_size, pixels); in ff_put_pixels16_altivec() 56 pixelsv1C = unaligned_load(line_size_2, pixels); in ff_put_pixels16_altivec() 57 pixelsv1D = unaligned_load(line_size_3, pixels); in ff_put_pixels16_altivec() 62 pixels+=line_size_4; in ff_put_pixels16_altivec() 69 void ff_avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) in ff_avg_pixels16_altivec() argument 76 pixelsv = VEC_LD( 0, pixels); in ff_avg_pixels16_altivec() 79 pixels+=line_size; in ff_avg_pixels16_altivec() 85 static void avg_pixels8_altivec(uint8_t * block, const uint8_t * pixels, ptrdiff_t line_size, int h) in avg_pixels8_altivec() argument [all …]
|
/third_party/ffmpeg/libavcodec/alpha/ |
D | hpeldsp_alpha.c | 57 STORE(LOAD(pixels), block); \ 58 pixels += line_size; \ 66 pix1 = LOAD(pixels); \ 67 pix2 = pix1 >> 8 | ((uint64_t) pixels[8] << 56); \ 69 pixels += line_size; \ 75 uint64_t pix = LOAD(pixels); \ 79 pixels += line_size; \ 80 next_pix = LOAD(pixels); \ 89 uint64_t pix1 = LOAD(pixels); \ 90 uint64_t pix2 = pix1 >> 8 | ((uint64_t) pixels[8] << 56); \ [all …]
|
D | idctdsp_alpha.c | 26 void put_pixels_clamped_mvi_asm(const int16_t *block, uint8_t *pixels, 28 void add_pixels_clamped_mvi_asm(const int16_t *block, uint8_t *pixels, 31 void (*put_pixels_clamped_axp_p)(const int16_t *block, uint8_t *pixels, 33 void (*add_pixels_clamped_axp_p)(const int16_t *block, uint8_t *pixels, 39 static void put_pixels_clamped_mvi(const int16_t *block, uint8_t *pixels, 51 stl(pkwb(shorts0), pixels); 56 stl(pkwb(shorts1), pixels + 4); 58 pixels += line_size; 63 void add_pixels_clamped_mvi(const int16_t *block, uint8_t *pixels, 80 pix0 = unpkbw(ldl(pixels)); [all …]
|
/third_party/ffmpeg/libavcodec/x86/ |
D | hpeldsp.h | 27 void ff_avg_pixels8_x2_mmx(uint8_t *block, const uint8_t *pixels, 30 void ff_avg_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels, 32 void ff_avg_pixels8_xy2_mmxext(uint8_t *block, const uint8_t *pixels, 34 void ff_avg_pixels8_xy2_ssse3(uint8_t *block, const uint8_t *pixels, 37 void ff_avg_pixels16_xy2_mmx(uint8_t *block, const uint8_t *pixels, 39 void ff_avg_pixels16_xy2_sse2(uint8_t *block, const uint8_t *pixels, 41 void ff_avg_pixels16_xy2_ssse3(uint8_t *block, const uint8_t *pixels, 44 void ff_put_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels, 46 void ff_put_pixels8_xy2_ssse3(uint8_t *block, const uint8_t *pixels, 48 void ff_put_pixels16_xy2_sse2(uint8_t *block, const uint8_t *pixels, [all …]
|
D | fpel.h | 25 void ff_avg_pixels4_mmx(uint8_t *block, const uint8_t *pixels, 27 void ff_avg_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, 29 void ff_avg_pixels8_mmx(uint8_t *block, const uint8_t *pixels, 31 void ff_avg_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, 33 void ff_avg_pixels16_mmx(uint8_t *block, const uint8_t *pixels, 35 void ff_avg_pixels16_mmxext(uint8_t *block, const uint8_t *pixels, 37 void ff_avg_pixels16_sse2(uint8_t *block, const uint8_t *pixels, 39 void ff_put_pixels4_mmx(uint8_t *block, const uint8_t *pixels, 41 void ff_put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, 43 void ff_put_pixels16_mmx(uint8_t *block, const uint8_t *pixels, [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 873 glw::GLenum type, const glw::GLvoid* pixels) in SubImage() argument 878 gl.texSubImage1D(target, level, x, width, format, type, pixels); in SubImage() 884 gl.texSubImage2D(target, level, x, y, width, height, format, type, pixels); in SubImage() 888 …gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X, level, x, y, width, height, format, type, pixels); in SubImage() 889 …gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_X, level, x, y, width, height, format, type, pixels); in SubImage() 890 …gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Y, level, x, y, width, height, format, type, pixels); in SubImage() 891 …gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, level, x, y, width, height, format, type, pixels); in SubImage() 892 …gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_Z, level, x, y, width, height, format, type, pixels); in SubImage() 893 …gl.texSubImage2D(GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, level, x, y, width, height, format, type, pixels); in SubImage() 898 gl.texSubImage3D(target, level, x, y, z, width, height, depth, format, type, pixels); in SubImage() [all …]
|
D | glcShaderMultisampleInterpolationTests.cpp | 244 int countUniquePixels(tcu::ConstPixelBufferAccess const& pixels); 245 int countUniquePixels(const std::vector<tcu::Vec4>& pixels); 478 tcu::PixelBufferAccess pixels = results.getAccess(); in iterate() local 479 std::vector<tcu::Vec4> result(pixels.getHeight() * pixels.getWidth()); in iterate() 482 if (pixels.getFormat().type == tcu::TextureFormat::SIGNED_INT8) in iterate() 484 std::vector<GLint> data(pixels.getHeight() * pixels.getWidth() * 4); in iterate() 485 gl.readPixels(0, 0, pixels.getWidth(), pixels.getHeight(), GL_RGBA_INTEGER, GL_INT, &data[0]); in iterate() 493 else if (pixels.getFormat().type == tcu::TextureFormat::UNSIGNED_INT8) in iterate() 495 std::vector<GLuint> data(pixels.getHeight() * pixels.getWidth() * 4); in iterate() 496 …gl.readPixels(0, 0, pixels.getWidth(), pixels.getHeight(), GL_RGBA_INTEGER, GL_UNSIGNED_INT, &data… in iterate() [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | texgetimage.c | 83 GLenum format, GLenum type, GLvoid *pixels, in get_tex_depth() argument 105 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth() 132 GLenum format, GLenum type, GLvoid *pixels, in get_tex_depth_stencil() argument 151 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_depth_stencil() 188 GLenum format, GLenum type, GLvoid *pixels, in get_tex_stencil() argument 208 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_stencil() 234 GLenum format, GLenum type, GLvoid *pixels, in get_tex_ycbcr() argument 251 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_ycbcr() 320 GLenum format, GLenum type, GLvoid *pixels, in get_tex_rgba_compressed() argument 374 void *dest = _mesa_image_address(dimensions, &ctx->Pack, pixels, in get_tex_rgba_compressed() [all …]
|
/third_party/skia/docs/examples/ |
D | ImageInfo_computeOffset.cpp | 7 uint8_t pixels[][12] = { { 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00}, in draw() local 17 bitmap.installPixels(imageInfo, (void*) pixels, sizeof(pixels[0])); in draw() 22 size_t offset = imageInfo.computeOffset(2, 3, sizeof(pixels[0])); in draw() 23 pixels[0][offset] = 0x7F; in draw() 24 offset = imageInfo.computeOffset(5, 3, sizeof(pixels[0])); in draw() 25 pixels[0][offset] = 0x7F; in draw() 26 bitmap.installPixels(imageInfo, (void*) pixels, sizeof(pixels[0])); in draw()
|
/third_party/skia/third_party/externals/angle2/samples/sample_util/ |
D | texture_utils.cpp | 25 GLubyte pixels[width * height * 3] = { in CreateSimpleTexture2D() local 31 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); in CreateSimpleTexture2D() 50 GLubyte pixels[6][3] = {// Face 0 - Red in CreateSimpleTextureCubemap() local 66 GL_RGB, GL_UNSIGNED_BYTE, &pixels[i]); in CreateSimpleTextureCubemap() 81 std::array<GLubyte, width * height * 3> pixels; in CreateMipMappedTexture2D() local 102 pixels[(y * height + x) * 3] = rColor; in CreateMipMappedTexture2D() 103 pixels[(y * height + x) * 3 + 1] = 0; in CreateMipMappedTexture2D() 104 pixels[(y * height + x) * 3 + 2] = bColor; in CreateMipMappedTexture2D() 117 pixels.data()); in CreateMipMappedTexture2D()
|