Lines Matching refs:data

98     // This is OK for the data sets we expect to use with this function, but
621 return -1; // No type for compressed data.
678 void* const data = malloc(imageSize);
679 if (data) {
680 void* const pixels = (char*)data + palette_size;
682 memcpy(data, ctable->lockColors(), ctable->count() * sizeof(SkPMColor));
685 glCompressedTexImage2D(target, level, internalformat, w, h, border, imageSize, data);
686 free(data);
767 void *data;
828 * @param out an ETC1 compressed version of the data.
841 doThrowIAE(env, "in's remaining data < DECODED_BLOCK_SIZE");
843 doThrowIAE(env, "out's remaining data < ENCODED_BLOCK_SIZE");
854 * @param in an ETC1 compressed version of the data.
866 doThrowIAE(env, "in's remaining data < ENCODED_BLOCK_SIZE");
868 doThrowIAE(env, "out's remaining data < DECODED_BLOCK_SIZE");
877 * Return the size of the encoded image data (does not include size of PKM header).
886 * @param in pointer to the image data. Formatted such that
888 * @param out pointer to encoded data. Must be large enough to store entire encoded image.
903 doThrowIAE(env, "in's remaining data < image size");
905 doThrowIAE(env, "out's remaining data < encoded image size");
917 * @param in the encoded data.
918 * @param out pointer to the image data. Will be written such that
936 doThrowIAE(env, "in's remaining data < encoded image size");
938 doThrowIAE(env, "out's remaining data < image size");
956 doThrowIAE(env, "header's remaining data < ETC_PKM_HEADER_SIZE");
972 doThrowIAE(env, "header's remaining data < ETC_PKM_HEADER_SIZE");
989 doThrowIAE(env, "header's remaining data < ETC_PKM_HEADER_SIZE");
1006 doThrowIAE(env, "header's remaining data < ETC_PKM_HEADER_SIZE");