Searched defs:comps (Results 1 - 25 of 49) sorted by relevance

12

/external/clang/test/CodeGen/
H A D2004-06-18-VariableLengthArrayOfStructures.c7 struct S comps[a]; local
8 comps[0];
/external/skia/src/animator/
H A DSkAnimateSet.cpp64 int comps = outType == SkType_String || outType == SkType_DynamicString ? 1 : local
68 fValues.setCount(comps);
76 comps = fValues.count();
78 SkASSERT(fValues.count() == comps);
82 comps = 1;
85 fFieldInfo->setValue(maker, &fValues, fFieldOffset, comps, this, outType, formula.size() > 0 ? formula : to);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_etc.c28 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
39 float *dst = dst_row + (y + j) * dst_stride / sizeof(*dst_row) + x * comps;
48 dst += comps;
H A Du_format_rgtc.c33 unsigned i, unsigned j, uint8_t *value, unsigned comps);
39 unsigned i, unsigned j, int8_t *value, unsigned comps);
53 const unsigned bw = 4, bh = 4, comps = 4; local
62 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps;
85 uint8_t tmp[4][4]; /* [bh][bw][comps] */
132 uint8_t tmp[4][4]; /* [bh][bw][comps] */
183 int8_t tmp[4][4]; /* [bh][bw][comps] */
245 const unsigned bw = 4, bh = 4, comps = 4; local
254 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps;
301 uint8_t tmp_r[4][4]; /* [bh][bw][comps] */
[all...]
H A Du_format_s3tc.c250 const unsigned bw = 4, bh = 4, comps = 4; local
257 uint8_t *dst = dst_row + (y + j)*dst_stride/sizeof(*dst_row) + (x + i)*comps;
398 uint8_t tmp[4][4][3]; /* [bh][bw][comps] */
418 const unsigned bw = 4, bh = 4, comps = 4, bytes_per_block = 8; local
423 uint8_t tmp[4][4][4]; /* [bh][bw][comps] */
426 for(k = 0; k < comps; ++k) {
427 tmp[j][i][k] = src[(y + j)*src_stride/sizeof(*src) + (x + i)*comps + k];
443 const unsigned bw = 4, bh = 4, comps = 4, bytes_per_block = 16; local
448 uint8_t tmp[4][4][4]; /* [bh][bw][comps] */
451 for(k = 0; k < comps;
468 const unsigned bw = 4, bh = 4, comps = 4, bytes_per_block = 16; local
[all...]
/external/mesa3d/src/mesa/main/
H A Dglformats.c226 GLint comps = _mesa_components_in_format(format); local
227 if (comps < 0)
235 return comps * sizeof(GLubyte);
238 return comps * sizeof(GLshort);
241 return comps * sizeof(GLint);
243 return comps * sizeof(GLfloat);
245 return comps * sizeof(GLhalfARB);
H A Dtexcompress_etc_tmp.h146 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local
157 uint8_t *dst = dst_row + (y + j) * dst_stride + x * comps;
161 dst += comps;
H A Dtexcompress_rgtc.c57 unsigned i, unsigned j, GLubyte *value, unsigned comps);
60 unsigned i, unsigned j, GLbyte *value, unsigned comps);
63 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps)
68 curaddr = srcaddr + j * srcRowStride * comps;
71 curaddr += comps;
77 GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps)
82 curaddr = srcaddr + j * srcRowStride * comps;
85 curaddr += comps;
62 extractsrc_u( GLubyte srcpixels[4][4], const GLubyte *srcaddr, GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) argument
76 extractsrc_s( GLbyte srcpixels[4][4], const GLfloat *srcaddr, GLint srcRowStride, GLint numxpixels, GLint numypixels, GLint comps) argument
H A Dformats.c1956 GLuint comps = 0; local
1960 _mesa_format_to_type_and_comps(f, &datatype, &comps);
2062 GLenum *datatype, GLuint *comps)
2074 *comps = 4;
2079 *comps = 3;
2084 *comps = 3;
2090 *comps = 4;
2096 *comps = 4;
2101 *comps = 4;
2106 *comps
2061 _mesa_format_to_type_and_comps(gl_format format, GLenum *datatype, GLuint *comps) argument
[all...]
H A Dtexcompress_rgtc_tmp.h33 unsigned i, unsigned j, TYPE *value, unsigned comps)
36 const TYPE *blksrc = (pixdata + ((srcRowStride + 3) / 4 * (j / 4) + (i / 4)) * 8 * comps);
32 fetch_texel_rgtc(unsigned srcRowStride, const TYPE *pixdata, unsigned i, unsigned j, TYPE *value, unsigned comps) argument
H A Ddebug.c241 int comps, int rcomp, int gcomp, int bcomp, GLboolean invert)
256 int i = (yy * width + x) * comps;
240 write_ppm(const char *filename, const GLubyte *buffer, int width, int height, int comps, int rcomp, int gcomp, int bcomp, GLboolean invert) argument
H A Deval.c555 GLuint comps; local
560 comps = _mesa_evaluator_components(target);
561 if (!comps) {
574 n = map1d->Order * comps;
578 n = map2d->Uorder * map2d->Vorder * comps;
647 GLuint comps; local
652 comps = _mesa_evaluator_components(target);
653 if (!comps) {
666 n = map1d->Order * comps;
670 n = map2d->Uorder * map2d->Vorder * comps;
741 GLuint comps; local
[all...]
H A Dmipmap.c46 bytes_per_pixel(GLenum datatype, GLuint comps) argument
60 return b * comps;
146 * \param comps number of components per pixel (1..4)
149 do_row(GLenum datatype, GLuint comps, GLint srcWidth, argument
156 ASSERT(comps >= 1);
157 ASSERT(comps <= 4);
163 if (datatype == GL_UNSIGNED_BYTE && comps == 4) {
176 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) {
188 else if (datatype == GL_UNSIGNED_BYTE && comps == 2) {
199 else if (datatype == GL_UNSIGNED_BYTE && comps
782 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, const GLvoid *srcRowC, const GLvoid *srcRowD, GLint dstWidth, GLvoid *dstRow) argument
1415 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, const GLubyte *srcPtr, GLint dstWidth, GLubyte *dstPtr) argument
1445 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) argument
1537 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) argument
1703 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) argument
1890 GLuint comps; local
[all...]
/external/libchrome/base/files/
H A Dfile_path_unittest.cc503 std::vector<FilePath::StringType> comps; local
504 input.GetComponents(&comps);
507 for (size_t j = 0; j < comps.size(); ++j) {
509 observed.append(comps[j]);
H A Dfile_path_watcher_linux.cc462 std::vector<FilePath::StringType> comps; local
463 target_.GetComponents(&comps);
464 DCHECK(!comps.empty());
465 for (size_t i = 1; i < comps.size(); ++i)
466 watches_.push_back(WatchEntry(comps[i]));
/external/pdfium/third_party/libopenjpeg20/
H A Dpi.h101 opj_pi_comp_t *comps; member in struct:opj_pi_iterator
H A Djp2.h183 opj_jp2_comps_t *comps; member in struct:opj_jp2
H A Dtcd.h179 opj_tcd_tilecomp_t *comps; /* Components information */ member in struct:opj_tcd_tile
/external/libvpx/libvpx/vp9/common/
H A Dvp9_entropymv.h98 nmv_component comps[2]; member in struct:__anon11481
124 nmv_component_counts comps[2]; member in struct:__anon11483
H A Dvp9_thread_common.c410 nmv_component_counts *const comps = &accum->mv.comps[k]; local
411 const nmv_component_counts *const comps_t = &counts->mv.comps[k];
414 comps->sign[i] += comps_t->sign[i];
415 comps->class0_hp[i] += comps_t->class0_hp[i];
416 comps->hp[i] += comps_t->hp[i];
420 comps->classes[i] += comps_t->classes[i];
423 comps->class0[i] += comps_t->class0[i];
425 comps->class0_fp[i][j] += comps_t->class0_fp[i][j];
430 comps
[all...]
/external/valgrind/coregrind/m_demangle/
H A Dcp-demangle.h104 struct demangle_component *comps; member in struct:d_info
/external/mesa3d/src/glsl/
H A Dlower_variable_index_to_cond_assign.cpp269 const unsigned comps = MIN2(condition_components, end - i); local
272 compare_index_block(list, index, i, comps, this->mem_ctx);
274 if (comps == 1) {
278 for (unsigned j = 0; j < comps; j++) {
/external/pdfium/core/src/fxcodec/codec/
H A Dfx_codec_tiff.cpp35 FX_DWORD& comps,
282 FX_DWORD& comps,
294 width = height = comps = 0;
297 TIFFGetField(tif_ctx, TIFFTAG_SAMPLESPERPIXEL, &comps);
531 FX_DWORD& comps,
535 return pDecoder->LoadFrameInfo(frame, width, height, comps, bpc, pAttribute);
279 LoadFrameInfo(int32_t frame, FX_DWORD& width, FX_DWORD& height, FX_DWORD& comps, FX_DWORD& bpc, CFX_DIBAttribute* pAttribute) argument
527 LoadFrameInfo(void* ctx, int32_t frame, FX_DWORD& width, FX_DWORD& height, FX_DWORD& comps, FX_DWORD& bpc, CFX_DIBAttribute* pAttribute) argument
/external/fio/
H A Dverify.c1319 unsigned int comps; local
1328 comps = td->io_blocks[DDIR_WRITE];
1330 comps = td->o.iodepth;
1333 for (j = 0; j < comps; j++) {
1340 comps = 0;
1342 s->no_comps = cpu_to_le64((uint64_t) comps);
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/
H A Dsm4.h245 uint8_t comps; member in struct:sm4_op
326 unsigned comps; member in struct:sm4_dcl::__anon14346::__anon14348

Completed in 618 milliseconds

12