data 195 libde265-1.0.3/dec265/dec265.cc const uint8_t* data; data 198 libde265-1.0.3/dec265/dec265.cc data = de265_get_image_plane(img,ch,&stride); data 206 libde265-1.0.3/dec265/dec265.cc memcpy(visu.AskFrame((BitmapChannel)ch)[y], data + y*stride, width); data 210 libde265-1.0.3/dec265/dec265.cc const uint16_t* data16 = (const uint16_t*)data; data 224 libde265-1.0.3/dec265/dec265.cc static uint8_t* convert_to_8bit(const uint8_t* data, int width, int height, data 227 libde265-1.0.3/dec265/dec265.cc const uint16_t* data16 = (const uint16_t*)data; data 409 libde265-1.0.3/dec265/dec265.cc const uint8_t* data; data 410 libde265-1.0.3/dec265/dec265.cc data = de265_get_image_plane(img,0,&stride); data 413 libde265-1.0.3/dec265/dec265.cc memcpy(coded[y], data + y*stride, width); data 40 libde265-1.0.3/dec265/hdrcopy.cc bitreader_init(&reader, nal->data(), nal->size()); data 48 libde265-1.0.3/dec265/hdrcopy.cc nal->data()[0], nal->data()[1], data 114 libde265-1.0.3/dec265/hdrcopy.cc fwrite(writer.data(), 1,writer.size(), fh); data 338 libde265-1.0.3/enc265/enc265.cc packet_sink.send_packet(pck->data, pck->length); data 32 libde265-1.0.3/libde265/bitstream.cc br->data = buffer; data 46 libde265-1.0.3/libde265/bitstream.cc uint64_t newval = *br->data++; data 126 libde265-1.0.3/libde265/bitstream.cc br->data -= rewind; data 40 libde265-1.0.3/libde265/bitstream.h uint8_t* data; data 111 libde265-1.0.3/libde265/cabac.h uint8_t* data() const { return data_mem; } data 296 libde265-1.0.3/libde265/de265.cc static void dumpdata(const void* data, int len) data 299 libde265-1.0.3/libde265/de265.cc printf("%02x ", ((uint8_t*)data)[i]); data 310 libde265-1.0.3/libde265/de265.cc uint8_t* data = (uint8_t*)data8; data 315 libde265-1.0.3/libde265/de265.cc return ctx->nal_parser.push_data(data,len,pts,user_data); data 324 libde265-1.0.3/libde265/de265.cc uint8_t* data = (uint8_t*)data8; data 329 libde265-1.0.3/libde265/de265.cc return ctx->nal_parser.push_NAL(data,len,pts,user_data); data 641 libde265-1.0.3/libde265/de265.cc uint8_t* data = img->pixels_confwin[channel]; data 645 libde265-1.0.3/libde265/de265.cc return data; data 219 libde265-1.0.3/libde265/de265.h LIBDE265_API LIBDE265_DEPRECATED de265_error de265_decode_data(de265_decoder_context*, const void* data, int length); data 227 libde265-1.0.3/libde265/de265.h LIBDE265_API de265_error de265_push_data(de265_decoder_context*, const void* data, int length, data 245 libde265-1.0.3/libde265/de265.h LIBDE265_API de265_error de265_push_NAL(de265_decoder_context*, const void* data, int length, data 655 libde265-1.0.3/libde265/decctx.cc int headerLength = reader.data - nal->data(); data 831 libde265-1.0.3/libde265/decctx.cc sliceunit->reader.data, data 1059 libde265-1.0.3/libde265/decctx.cc &sliceunit->reader.data[dataStartIndex], data 1161 libde265-1.0.3/libde265/decctx.cc &sliceunit->reader.data[dataStartIndex], data 1193 libde265-1.0.3/libde265/decctx.cc bitreader_init(&reader, nal->data(), nal->size()); data 1207 libde265-1.0.3/libde265/decctx.cc nal->data()[0], nal->data()[1], data 309 libde265-1.0.3/libde265/en265.cc delete[] pck->data; data 185 libde265-1.0.3/libde265/en265.h const uint8_t* data; data 48 libde265-1.0.3/libde265/encoder/algo/tb-transform.cc static bool has_nonzero_value(const int16_t* data, int n) data 51 libde265-1.0.3/libde265/encoder/algo/tb-transform.cc if (data[i]) return true; data 97 libde265-1.0.3/libde265/encoder/encoder-context.cc uint8_t* data = new uint8_t[cabac_encoder.size()]; data 98 libde265-1.0.3/libde265/encoder/encoder-context.cc memcpy(data, cabac_encoder.data(), cabac_encoder.size()); data 102 libde265-1.0.3/libde265/encoder/encoder-context.cc pck->data = data; data 90 libde265-1.0.3/libde265/encoder/encpicbuf.cc image_data* data = new image_data(); data 91 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->frame_number = frame_number; data 92 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->input = img; data 93 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->shdr.set_defaults(); data 95 libde265-1.0.3/libde265/encoder/encpicbuf.cc mImages.push_back(data); data 97 libde265-1.0.3/libde265/encoder/encpicbuf.cc return data; data 161 libde265-1.0.3/libde265/encoder/encpicbuf.cc image_data* data = mImages.back(); data 162 libde265-1.0.3/libde265/encoder/encpicbuf.cc assert(data->frame_number == frame_number); data 164 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->state = image_data::state_sop_metadata_available; data 173 libde265-1.0.3/libde265/encoder/encpicbuf.cc image_data* data = get_picture(frame_number); data 175 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->state = image_data::state_encoding; data 180 libde265-1.0.3/libde265/encoder/encpicbuf.cc image_data* data = get_picture(frame_number); data 182 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->prediction = pred; data 187 libde265-1.0.3/libde265/encoder/encpicbuf.cc image_data* data = get_picture(frame_number); data 189 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->reconstruction = reco; data 194 libde265-1.0.3/libde265/encoder/encpicbuf.cc image_data* data = get_picture(frame_number); data 196 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->state = image_data::state_keep_for_reference; data 213 libde265-1.0.3/libde265/encoder/encpicbuf.cc FOR_LOOP(int, f, data->ref0) { get_picture(f)->mark_used=true; } data 214 libde265-1.0.3/libde265/encoder/encpicbuf.cc FOR_LOOP(int, f, data->ref1) { get_picture(f)->mark_used=true; } data 215 libde265-1.0.3/libde265/encoder/encpicbuf.cc FOR_LOOP(int, f, data->longterm) { get_picture(f)->mark_used=true; } data 216 libde265-1.0.3/libde265/encoder/encpicbuf.cc FOR_LOOP(int, f, data->keep) { get_picture(f)->mark_used=true; } data 217 libde265-1.0.3/libde265/encoder/encpicbuf.cc data->mark_used=true; data 202 libde265-1.0.3/libde265/image-io.cc LIBDE265_API void PacketSink_File::send_packet(const uint8_t* data, int n) data 210 libde265-1.0.3/libde265/image-io.cc fwrite(data,1,n,mFH); data 103 libde265-1.0.3/libde265/image-io.h virtual LIBDE265_API void send_packet(const uint8_t* data, int n) = 0; data 115 libde265-1.0.3/libde265/image-io.h virtual LIBDE265_API void send_packet(const uint8_t* data, int n); data 88 libde265-1.0.3/libde265/image.h MetaDataArray() { data=NULL; data_size=0; log2unitSize=0; width_in_units=0; height_in_units=0; } data 89 libde265-1.0.3/libde265/image.h ~MetaDataArray() { free(data); } data 95 libde265-1.0.3/libde265/image.h free(data); data 96 libde265-1.0.3/libde265/image.h data = (DataUnit*)malloc(size * sizeof(DataUnit)); data 97 libde265-1.0.3/libde265/image.h if (data == NULL) { data 109 libde265-1.0.3/libde265/image.h return data != NULL; data 113 libde265-1.0.3/libde265/image.h if (data) memset(data, 0, sizeof(DataUnit) * data_size); data 123 libde265-1.0.3/libde265/image.h return data[ unitX + unitY*width_in_units ]; data 133 libde265-1.0.3/libde265/image.h return data[ unitX + unitY*width_in_units ]; data 143 libde265-1.0.3/libde265/image.h data[ unitX + unitY*width_in_units ] = d; data 146 libde265-1.0.3/libde265/image.h DataUnit& operator[](int idx) { return data[idx]; } data 147 libde265-1.0.3/libde265/image.h const DataUnit& operator[](int idx) const { return data[idx]; } data 152 libde265-1.0.3/libde265/image.h DataUnit* data; data 834 libde265-1.0.3/libde265/image.h uint8_t* data = &deblk_info[x0/4 + y0/4*deblk_info.width_in_units]; data 835 libde265-1.0.3/libde265/image.h *data &= ~DEBLOCK_BS_MASK; data 836 libde265-1.0.3/libde265/image.h *data |= bS; data 39 libde265-1.0.3/libde265/intrapred.cc void print_border(pixel_t* data, uint8_t* available, int nT) data 49 libde265-1.0.3/libde265/intrapred.cc logtrace(LogIntraPred,"%02x",data[i]); data 57 libde265-1.0.3/libde265/intrapred.cc #define print_border(data, available, nT) data 92 libde265-1.0.3/libde265/md5.cc static void *body(MD5_CTX *ctx, void *data, unsigned long size) data 98 libde265-1.0.3/libde265/md5.cc ptr = (unsigned char *)data; data 210 libde265-1.0.3/libde265/md5.cc void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size) data 226 libde265-1.0.3/libde265/md5.cc memcpy(&ctx->buffer[used], data, size); data 230 libde265-1.0.3/libde265/md5.cc memcpy(&ctx->buffer[used], data, free); data 231 libde265-1.0.3/libde265/md5.cc data = (unsigned char *)data + free; data 237 libde265-1.0.3/libde265/md5.cc data = body(ctx, data, size & ~(unsigned long)0x3f); data 241 libde265-1.0.3/libde265/md5.cc memcpy(ctx->buffer, data, size); data 42 libde265-1.0.3/libde265/md5.h extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size); data 117 libde265-1.0.3/libde265/nal-parser.cc uint8_t* p = data(); data 124 libde265-1.0.3/libde265/nal-parser.cc printf("%c%02x", (k==i) ? '[':' ', data()[k]); data 248 libde265-1.0.3/libde265/nal-parser.cc de265_error NAL_Parser::push_data(const unsigned char* data, int len, data 270 libde265-1.0.3/libde265/nal-parser.cc unsigned char* out = nal->data() + nal->size(); data 281 libde265-1.0.3/libde265/nal-parser.cc if (*data == 0) { input_push_state++; } data 285 libde265-1.0.3/libde265/nal-parser.cc if (*data == 1) { input_push_state=3; } // nal->clear_skipped_bytes(); } data 286 libde265-1.0.3/libde265/nal-parser.cc else if (*data == 0) { } // *out++ = 0; } data 290 libde265-1.0.3/libde265/nal-parser.cc *out++ = *data; data 294 libde265-1.0.3/libde265/nal-parser.cc *out++ = *data; data 299 libde265-1.0.3/libde265/nal-parser.cc if (*data==0) { input_push_state=6; } data 300 libde265-1.0.3/libde265/nal-parser.cc else { *out++ = *data; } data 304 libde265-1.0.3/libde265/nal-parser.cc if (*data==0) { input_push_state=7; } data 307 libde265-1.0.3/libde265/nal-parser.cc *out++ = *data; data 313 libde265-1.0.3/libde265/nal-parser.cc if (*data==0) { *out++ = 0; } data 314 libde265-1.0.3/libde265/nal-parser.cc else if (*data==3) { data 318 libde265-1.0.3/libde265/nal-parser.cc nal->insert_skipped_byte((out - nal->data()) + nal->num_skipped_bytes()); data 320 libde265-1.0.3/libde265/nal-parser.cc else if (*data==1) { data 326 libde265-1.0.3/libde265/nal-parser.cc nal->nal_data.data[pos] ^= 1<<bit; data 332 libde265-1.0.3/libde265/nal-parser.cc nal->set_size(out - nal->data());; data 347 libde265-1.0.3/libde265/nal-parser.cc out = nal->data(); data 355 libde265-1.0.3/libde265/nal-parser.cc *out++ = *data; data 362 libde265-1.0.3/libde265/nal-parser.cc data++; data 365 libde265-1.0.3/libde265/nal-parser.cc nal->set_size(out - nal->data()); data 370 libde265-1.0.3/libde265/nal-parser.cc de265_error NAL_Parser::push_NAL(const unsigned char* data, int len, data 380 libde265-1.0.3/libde265/nal-parser.cc if (nal == NULL || !nal->set_data(data, len)) { data 52 libde265-1.0.3/libde265/nal-parser.h LIBDE265_CHECK_RESULT bool append(const unsigned char* data, int n); data 53 libde265-1.0.3/libde265/nal-parser.h LIBDE265_CHECK_RESULT bool set_data(const unsigned char* data, int n); data 57 libde265-1.0.3/libde265/nal-parser.h unsigned char* data() { return nal_data; } data 58 libde265-1.0.3/libde265/nal-parser.h const unsigned char* data() const { return nal_data; } data 93 libde265-1.0.3/libde265/nal-parser.h de265_error push_data(const unsigned char* data, int len, data 96 libde265-1.0.3/libde265/nal-parser.h de265_error push_NAL(const unsigned char* data, int len, data 35 libde265-1.0.3/libde265/sei.cc sei_decoded_picture_hash* seihash = &sei->data.decoded_picture_hash; data 67 libde265-1.0.3/libde265/sei.cc const sei_decoded_picture_hash* seihash = &sei->data.decoded_picture_hash; data 106 libde265-1.0.3/libde265/sei.cc const uint8_t* data; data 110 libde265-1.0.3/libde265/sei.cc data_chunk prepare_8bit(const uint8_t* data,int y); data 111 libde265-1.0.3/libde265/sei.cc data_chunk prepare_16bit(const uint8_t* data,int y); data 132 libde265-1.0.3/libde265/sei.cc raw_hash_data::data_chunk raw_hash_data::prepare_8bit(const uint8_t* data,int y) data 135 libde265-1.0.3/libde265/sei.cc chunk.data = data+y*mStride; data 140 libde265-1.0.3/libde265/sei.cc raw_hash_data::data_chunk raw_hash_data::prepare_16bit(const uint8_t* data,int y) data 146 libde265-1.0.3/libde265/sei.cc const uint16_t* data16 = (uint16_t*)data; data 154 libde265-1.0.3/libde265/sei.cc chunk.data = mMem; data 160 libde265-1.0.3/libde265/sei.cc static uint32_t compute_checksum_8bit(uint8_t* data,int w,int h,int stride, int bit_depth) data 168 libde265-1.0.3/libde265/sei.cc sum += data[y*stride + x] ^ xorMask; data 175 libde265-1.0.3/libde265/sei.cc sum += (data[y*stride + x] & 0xFF) ^ xorMask; data 176 libde265-1.0.3/libde265/sei.cc sum += (data[y*stride + x] >> 8) ^ xorMask; data 225 libde265-1.0.3/libde265/sei.cc static uint32_t compute_CRC_8bit_fast(const uint8_t* data,int w,int h,int stride, int bit_depth) data 238 libde265-1.0.3/libde265/sei.cc chunk = raw_data.prepare_16bit(data, y); data 240 libde265-1.0.3/libde265/sei.cc chunk = raw_data.prepare_8bit(data, y); data 243 libde265-1.0.3/libde265/sei.cc crc = crc_process_byte_parallel(crc, chunk.data[x]); data 251 libde265-1.0.3/libde265/sei.cc static void compute_MD5(uint8_t* data,int w,int h,int stride, uint8_t* result, int bit_depth) data 262 libde265-1.0.3/libde265/sei.cc chunk = raw_data.prepare_16bit(data, y); data 264 libde265-1.0.3/libde265/sei.cc chunk = raw_data.prepare_8bit(data, y); data 266 libde265-1.0.3/libde265/sei.cc MD5_Update(&md5, (void*)chunk.data, chunk.len); data 275 libde265-1.0.3/libde265/sei.cc const sei_decoded_picture_hash* seihash = &sei->data.decoded_picture_hash; data 289 libde265-1.0.3/libde265/sei.cc uint8_t* data; data 295 libde265-1.0.3/libde265/sei.cc data = img->get_image_plane(i); data 302 libde265-1.0.3/libde265/sei.cc compute_MD5(data,w,h,stride,md5, img->get_bit_depth(i)); data 323 libde265-1.0.3/libde265/sei.cc uint16_t crc = compute_CRC_8bit_fast(data,w,h,stride, img->get_bit_depth(i)); data 338 libde265-1.0.3/libde265/sei.cc uint32_t chksum = compute_checksum_8bit(data,w,h,stride, img->get_bit_depth(i)); data 78 libde265-1.0.3/libde265/sei.h } data; data 4188 libde265-1.0.3/libde265/slice.cc br.data = tctx->cabac_decoder.bitstream_curr; data 4211 libde265-1.0.3/libde265/slice.cc tctx->cabac_decoder.bitstream_curr = br.data; data 4909 libde265-1.0.3/libde265/slice.cc thread_task_slice_segment* data = this; data 4910 libde265-1.0.3/libde265/slice.cc thread_context* tctx = data->tctx; data 4920 libde265-1.0.3/libde265/slice.cc if (data->firstSliceSubstream) { data 4935 libde265-1.0.3/libde265/slice.cc /*enum DecodeResult result =*/ decode_substream(tctx, false, data->firstSliceSubstream); data 4947 libde265-1.0.3/libde265/slice.cc thread_task_ctb_row* data = this; data 4948 libde265-1.0.3/libde265/slice.cc thread_context* tctx = data->tctx; data 4964 libde265-1.0.3/libde265/slice.cc if (data->firstSliceSubstream) { data 4983 libde265-1.0.3/libde265/slice.cc data->firstSliceSubstream && !tctx->shdr->dependent_slice_segment_flag; data 150 libde265-1.0.3/libde265/threads.cc int w = pool->tasks[0].data.task_ctb.ctx->current_sps->PicWidthInCtbsY; data 151 libde265-1.0.3/libde265/threads.cc int h = pool->tasks[0].data.task_ctb.ctx->current_sps->PicHeightInCtbsY; data 161 libde265-1.0.3/libde265/threads.cc int x = pool->tasks[i].data.task_ctb.ctb_x; data 162 libde265-1.0.3/libde265/threads.cc int y = pool->tasks[i].data.task_ctb.ctb_y; data 181 libde265-1.0.3/libde265/util.cc void printBlk(const char* title, const int16_t* data, int blksize, int stride, data 191 libde265-1.0.3/libde265/util.cc printf("%4d ", data[x+y*stride]); data 199 libde265-1.0.3/libde265/util.cc void printBlk(const char* title, const int32_t* data, int blksize, int stride, data 209 libde265-1.0.3/libde265/util.cc printf("%4d ", data[x+y*stride]); data 217 libde265-1.0.3/libde265/util.cc void printBlk(const char* title, const uint8_t* data, int blksize, int stride, data 227 libde265-1.0.3/libde265/util.cc printf("%02x ", data[x+y*stride]); data 222 libde265-1.0.3/libde265/util.h void printBlk(const char* title,const int32_t* data, int blksize, int stride, const std::string& prefix=" "); data 223 libde265-1.0.3/libde265/util.h void printBlk(const char* title,const int16_t* data, int blksize, int stride, const std::string& prefix=" "); data 224 libde265-1.0.3/libde265/util.h void printBlk(const char* title,const uint8_t* data, int blksize, int stride, const std::string& prefix=" "); data 244 libde265-1.0.3/sherlock265/VideoDecoder.cc const uint8_t *data[3]; data 246 libde265-1.0.3/sherlock265/VideoDecoder.cc data[c] = img->get_image_plane(c); data 252 libde265-1.0.3/sherlock265/VideoDecoder.cc sws_scale(sws, data, stride, 0, img->get_height(), qdata, qstride); data 55 libheif-1.3.2/examples/encoder.cc uint8_t* data = static_cast<uint8_t*>(malloc(datasize)); data 56 libheif-1.3.2/examples/encoder.cc if (!data) { data 60 libheif-1.3.2/examples/encoder.cc heif_error error = heif_image_handle_get_metadata(handle, metadata_id, data); data 62 libheif-1.3.2/examples/encoder.cc free(data); data 67 libheif-1.3.2/examples/encoder.cc return data; data 251 libheif-1.3.2/examples/heif_enc.cc user_read_fn(png_structp png_ptr, png_bytep data, png_size_t length) data 254 libheif-1.3.2/examples/heif_enc.cc size_t n = fread((char*)data,length,1,fh); data 154 libheif-1.3.2/examples/heif_test.cc std::vector<uint8_t> data = handle.get_metadata(idpair.second); data 155 libheif-1.3.2/examples/heif_test.cc fwrite(data.data(), data.size(),1, stdout); data 50 libheif-1.3.2/libheif/bitstream.cc bool StreamReader_istream::read(void* data, size_t size) data 57 libheif-1.3.2/libheif/bitstream.cc m_istr->read((char*)data, size); data 72 libheif-1.3.2/libheif/bitstream.cc StreamReader_memory::StreamReader_memory(const uint8_t* data, int64_t size, bool copy) data 78 libheif-1.3.2/libheif/bitstream.cc memcpy(m_owned_data, data, m_length); data 83 libheif-1.3.2/libheif/bitstream.cc m_data = data; data 104 libheif-1.3.2/libheif/bitstream.cc bool StreamReader_memory::read(void* data, size_t size) data 111 libheif-1.3.2/libheif/bitstream.cc memcpy(data, &m_data[m_position], size); data 323 libheif-1.3.2/libheif/bitstream.cc data = buffer; data 439 libheif-1.3.2/libheif/bitstream.cc uint64_t newval = *data++; data 450 libheif-1.3.2/libheif/bitstream.cc uint64_t newval = *data++; data 569 libheif-1.3.2/libheif/bitstream.cc memcpy(m_data.data() + m_position, vec.data(), vec.size()); data 582 libheif-1.3.2/libheif/bitstream.cc const auto& data = writer.get_data(); data 584 libheif-1.3.2/libheif/bitstream.cc memcpy(m_data.data() + m_position, data.data(), data.size()); data 586 libheif-1.3.2/libheif/bitstream.cc m_position += data.size(); data 609 libheif-1.3.2/libheif/bitstream.cc memmove(m_data.data() + m_position + nBytes, data 610 libheif-1.3.2/libheif/bitstream.cc m_data.data() + m_position, data 63 libheif-1.3.2/libheif/bitstream.h virtual bool read(void* data, size_t size) = 0; data 82 libheif-1.3.2/libheif/bitstream.h bool read(void* data, size_t size) override; data 95 libheif-1.3.2/libheif/bitstream.h StreamReader_memory(const uint8_t* data, int64_t size, bool copy); data 102 libheif-1.3.2/libheif/bitstream.h bool read(void* data, size_t size) override; data 125 libheif-1.3.2/libheif/bitstream.h bool read(void* data, size_t size) override { return !m_func_table->read(data,size,m_userdata); } data 244 libheif-1.3.2/libheif/bitstream.h const uint8_t* data; data 198 libheif-1.3.2/libheif/box.cc range.get_istream()->read((char*)m_uuid_type.data(), 16); data 331 libheif-1.3.2/libheif/box.cc uint32_t data = range.read32(); data 332 libheif-1.3.2/libheif/box.cc m_version = static_cast<uint8_t>(data >> 24); data 333 libheif-1.3.2/libheif/box.cc m_flags = data & 0x00FFFFFF; data 1039 libheif-1.3.2/libheif/box.cc success = istr->read((char*)dest->data() + old_size, static_cast<size_t>(extent.length)); data 1068 libheif-1.3.2/libheif/box.cc const std::vector<uint8_t>& data, data 1095 libheif-1.3.2/libheif/box.cc extent.data = data; data 1220 libheif-1.3.2/libheif/box.cc sum_mdat_size += extent.data.size(); data 1240 libheif-1.3.2/libheif/box.cc extent.length = extent.data.size(); data 1242 libheif-1.3.2/libheif/box.cc writer.write(extent.data); data 2207 libheif-1.3.2/libheif/box.cc range.get_istream()->read((char*)nal_unit.data(), size); data 2324 libheif-1.3.2/libheif/box.cc void Box_hvcC::append_nal_data(const uint8_t* data, size_t size) data 2328 libheif-1.3.2/libheif/box.cc memcpy(nal.data(), data, size); data 2470 libheif-1.3.2/libheif/box.cc uint8_t* data = &out_data[curr_size]; data 2472 libheif-1.3.2/libheif/box.cc success = istr->read((char*)data, static_cast<size_t>(length)); data 288 libheif-1.3.2/libheif/box.h std::vector<uint8_t> data; // only used when writing data data 311 libheif-1.3.2/libheif/box.h const std::vector<uint8_t>& data, data 660 libheif-1.3.2/libheif/box.h void append_nal_data(const uint8_t* data, size_t size); data 26 libheif-1.3.2/libheif/box_fuzzer.cc extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { data 27 libheif-1.3.2/libheif/box_fuzzer.cc auto reader = std::make_shared<heif::StreamReader_memory>(data, size, false); data 40 libheif-1.3.2/libheif/encoder_fuzzer.cc static size_t create_image(const uint8_t* data, size_t size, struct heif_image** image) { data 45 libheif-1.3.2/libheif/encoder_fuzzer.cc int width = data[0] + 16; data 46 libheif-1.3.2/libheif/encoder_fuzzer.cc int height = data[1] + 16; data 47 libheif-1.3.2/libheif/encoder_fuzzer.cc data += 2; data 90 libheif-1.3.2/libheif/encoder_fuzzer.cc void write(const void* data, size_t size) { data 102 libheif-1.3.2/libheif/encoder_fuzzer.cc memcpy(&data_[size_], data, size); data 112 libheif-1.3.2/libheif/encoder_fuzzer.cc static struct heif_error writer_write(struct heif_context* ctx, const void* data, size_t size, void* userdata) { data 114 libheif-1.3.2/libheif/encoder_fuzzer.cc writer->write(data, size); data 119 libheif-1.3.2/libheif/encoder_fuzzer.cc extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { data 140 libheif-1.3.2/libheif/encoder_fuzzer.cc int quality = data[0] % 101;; data 141 libheif-1.3.2/libheif/encoder_fuzzer.cc int lossless = (data[1] > 0x80); data 142 libheif-1.3.2/libheif/encoder_fuzzer.cc data += 2; data 148 libheif-1.3.2/libheif/encoder_fuzzer.cc size_t read = create_image(data, size, &image); data 155 libheif-1.3.2/libheif/encoder_fuzzer.cc data += read; data 52 libheif-1.3.2/libheif/file_fuzzer.cc extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { data 61 libheif-1.3.2/libheif/file_fuzzer.cc err = heif_context_read_from_memory(ctx, data, size, nullptr); data 691 libheif-1.3.2/libheif/heif.cc metadata->m_data.data(), data 759 libheif-1.3.2/libheif/heif.cc const void* data, size_t size, void* userdata) { data 763 libheif-1.3.2/libheif/heif.cc ostr.write(static_cast<const char*>(data), size); data 794 libheif-1.3.2/libheif/heif.cc const auto& data = swriter.get_data(); data 795 libheif-1.3.2/libheif/heif.cc return writer->write(ctx, data.data(), data.size(), userdata); data 1354 libheif-1.3.2/libheif/heif.cc const void* data, int size) data 1356 libheif-1.3.2/libheif/heif.cc Error error = ctx->context->add_exif_metadata(image_handle->image, data, size); data 1368 libheif-1.3.2/libheif/heif.cc const void* data, int size) data 1370 libheif-1.3.2/libheif/heif.cc Error error = ctx->context->add_XMP_metadata(image_handle->image, data, size); data 291 libheif-1.3.2/libheif/heif.h int (*read)(void* data, data 688 libheif-1.3.2/libheif/heif.h const void* data, data 949 libheif-1.3.2/libheif/heif.h const void* data, int size); data 955 libheif-1.3.2/libheif/heif.h const void* data, int size); data 86 libheif-1.3.2/libheif/heif_context.cc static int32_t readvec_signed(const std::vector<uint8_t>& data,int& ptr,int len) data 93 libheif-1.3.2/libheif/heif_context.cc val |= data[ptr++]; data 110 libheif-1.3.2/libheif/heif_context.cc static uint32_t readvec(const std::vector<uint8_t>& data,int& ptr,int len) data 115 libheif-1.3.2/libheif/heif_context.cc val |= data[ptr++]; data 125 libheif-1.3.2/libheif/heif_context.cc Error parse(const std::vector<uint8_t>& data); data 142 libheif-1.3.2/libheif/heif_context.cc Error ImageGrid::parse(const std::vector<uint8_t>& data) data 144 libheif-1.3.2/libheif/heif_context.cc if (data.size() < 8) { data 150 libheif-1.3.2/libheif/heif_context.cc uint8_t version = data[0]; data 153 libheif-1.3.2/libheif/heif_context.cc uint8_t flags = data[1]; data 156 libheif-1.3.2/libheif/heif_context.cc m_rows = static_cast<uint16_t>(data[2] +1); data 157 libheif-1.3.2/libheif/heif_context.cc m_columns = static_cast<uint16_t>(data[3] +1); data 160 libheif-1.3.2/libheif/heif_context.cc if (data.size() < 12) { data 166 libheif-1.3.2/libheif/heif_context.cc m_output_width = ((data[4] << 24) | data 167 libheif-1.3.2/libheif/heif_context.cc (data[5] << 16) | data 168 libheif-1.3.2/libheif/heif_context.cc (data[6] << 8) | data 169 libheif-1.3.2/libheif/heif_context.cc (data[7])); data 171 libheif-1.3.2/libheif/heif_context.cc m_output_height = ((data[ 8] << 24) | data 172 libheif-1.3.2/libheif/heif_context.cc (data[ 9] << 16) | data 173 libheif-1.3.2/libheif/heif_context.cc (data[10] << 8) | data 174 libheif-1.3.2/libheif/heif_context.cc (data[11])); data 177 libheif-1.3.2/libheif/heif_context.cc m_output_width = ((data[4] << 8) | data 178 libheif-1.3.2/libheif/heif_context.cc (data[5])); data 180 libheif-1.3.2/libheif/heif_context.cc m_output_height = ((data[ 6] << 8) | data 181 libheif-1.3.2/libheif/heif_context.cc (data[ 7])); data 205 libheif-1.3.2/libheif/heif_context.cc Error parse(size_t num_images, const std::vector<uint8_t>& data); data 232 libheif-1.3.2/libheif/heif_context.cc Error ImageOverlay::parse(size_t num_images, const std::vector<uint8_t>& data) data 238 libheif-1.3.2/libheif/heif_context.cc if (data.size() < 2 + 4*2) { data 242 libheif-1.3.2/libheif/heif_context.cc m_version = data[0]; data 243 libheif-1.3.2/libheif/heif_context.cc m_flags = data[1]; data 257 libheif-1.3.2/libheif/heif_context.cc if (ptr + 4*2 + 2*field_len + num_images*2*field_len > data.size()) { data 262 libheif-1.3.2/libheif/heif_context.cc uint16_t color = static_cast<uint16_t>(readvec(data,ptr,2)); data 266 libheif-1.3.2/libheif/heif_context.cc m_width = readvec(data,ptr,field_len); data 267 libheif-1.3.2/libheif/heif_context.cc m_height = readvec(data,ptr,field_len); data 272 libheif-1.3.2/libheif/heif_context.cc m_offsets[i].x = readvec_signed(data,ptr,field_len); data 273 libheif-1.3.2/libheif/heif_context.cc m_offsets[i].y = readvec_signed(data,ptr,field_len); data 354 libheif-1.3.2/libheif/heif_context.cc Error HeifContext::read_from_memory(const void* data, size_t size, bool copy) data 357 libheif-1.3.2/libheif/heif_context.cc Error err = m_heif_file->read_from_memory(data,size, copy); data 771 libheif-1.3.2/libheif/heif_context.cc std::vector<uint8_t> data; data 772 libheif-1.3.2/libheif/heif_context.cc error = m_heif_file->get_compressed_image_data(ID, &data); data 783 libheif-1.3.2/libheif/heif_context.cc err = decoder_plugin->push_data(decoder, data.data(), data.size()); data 811 libheif-1.3.2/libheif/heif_context.cc fwrite(data.data(), 1, data.size(), fh); data 816 libheif-1.3.2/libheif/heif_context.cc std::vector<uint8_t> data; data 817 libheif-1.3.2/libheif/heif_context.cc error = m_heif_file->get_compressed_image_data(ID, &data); data 822 libheif-1.3.2/libheif/heif_context.cc error = decode_full_grid_image(ID, img, data); data 834 libheif-1.3.2/libheif/heif_context.cc std::vector<uint8_t> data; data 835 libheif-1.3.2/libheif/heif_context.cc error = m_heif_file->get_compressed_image_data(ID, &data); data 840 libheif-1.3.2/libheif/heif_context.cc error = decode_overlay_image(ID, img, data); data 1073 libheif-1.3.2/libheif/heif_context.cc tile_data data = tiles.front(); data 1078 libheif-1.3.2/libheif/heif_context.cc data.tileID, img, data.x_origin,data.y_origin) ); data 1300 libheif-1.3.2/libheif/heif_context.cc void HeifContext::Image::set_preencoded_hevc_image(const std::vector<uint8_t>& data) data 1319 libheif-1.3.2/libheif/heif_context.cc uint8_t c = data[ptr++]; data 1344 libheif-1.3.2/libheif/heif_context.cc if (ptr == (int)data.size()) { data 1345 libheif-1.3.2/libheif/heif_context.cc start_code_start = (int)data.size(); data 1361 libheif-1.3.2/libheif/heif_context.cc memcpy(nal_data.data(), data.data() + prev_start_code_start+3, length); data 1377 libheif-1.3.2/libheif/heif_context.cc memcpy(nal_data_with_size.data()+4, nal_data.data(), nal_data.size()); data 1505 libheif-1.3.2/libheif/heif_context.cc uint8_t* data; data 1508 libheif-1.3.2/libheif/heif_context.cc encoder->plugin->get_compressed_data(encoder->encoder, &data, &size, NULL); data 1510 libheif-1.3.2/libheif/heif_context.cc if (data==NULL) { data 1517 libheif-1.3.2/libheif/heif_context.cc if ((data[0] >> 1) == NAL_SPS) { data 1521 libheif-1.3.2/libheif/heif_context.cc parse_sps_for_hvcC_configuration(data, size, &config, &width, &height); data 1527 libheif-1.3.2/libheif/heif_context.cc switch (data[0] >> 1) { data 1531 libheif-1.3.2/libheif/heif_context.cc m_heif_context->m_heif_file->append_hvcC_nal_data(m_id, data, size); data 1535 libheif-1.3.2/libheif/heif_context.cc m_heif_context->m_heif_file->append_iloc_data_with_4byte_size(m_id, data, size); data 1640 libheif-1.3.2/libheif/heif_context.cc Error HeifContext::add_exif_metadata(std::shared_ptr<Image> master_image, const void* data, int size) data 1664 libheif-1.3.2/libheif/heif_context.cc memcpy(data_array.data()+4, data, size); data 1673 libheif-1.3.2/libheif/heif_context.cc Error HeifContext::add_XMP_metadata(std::shared_ptr<Image> master_image, const void* data, int size) data 1694 libheif-1.3.2/libheif/heif_context.cc memcpy(data_array.data(), data, size); data 70 libheif-1.3.2/libheif/heif_context.h Error read_from_memory(const void* data, size_t size, bool copy); data 148 libheif-1.3.2/libheif/heif_context.h void set_preencoded_hevc_image(const std::vector<uint8_t>& data); data 222 libheif-1.3.2/libheif/heif_context.h Error add_exif_metadata(std::shared_ptr<Image> master_image, const void* data, int size); data 224 libheif-1.3.2/libheif/heif_context.h Error add_XMP_metadata(std::shared_ptr<Image> master_image, const void* data, int size); data 95 libheif-1.3.2/libheif/heif_cxx.h virtual int read(void* data, size_t size) = 0; data 144 libheif-1.3.2/libheif/heif_cxx.h const void* data, int size); data 148 libheif-1.3.2/libheif/heif_cxx.h const void* data, int size); data 154 libheif-1.3.2/libheif/heif_cxx.h virtual heif_error write(const void* data, size_t size) = 0; data 167 libheif-1.3.2/libheif/heif_cxx.h const void* data, data 408 libheif-1.3.2/libheif/heif_cxx.h inline int heif_reader_trampoline_read(void* data, size_t size, void* userdata) { data 410 libheif-1.3.2/libheif/heif_cxx.h return reader->read(data,size); data 453 libheif-1.3.2/libheif/heif_cxx.h heif_context_get_list_of_top_level_image_IDs(m_context.get(), IDs.data(), num); data 495 libheif-1.3.2/libheif/heif_cxx.h const void* data, data 504 libheif-1.3.2/libheif/heif_cxx.h return writer->write(data, size); data 565 libheif-1.3.2/libheif/heif_cxx.h heif_image_handle_get_list_of_thumbnail_IDs(m_image_handle.get(), IDs.data(), num); data 601 libheif-1.3.2/libheif/heif_cxx.h ids.data(), nBlocks); data 619 libheif-1.3.2/libheif/heif_cxx.h std::vector<uint8_t> data(data_size); data 623 libheif-1.3.2/libheif/heif_cxx.h data.data())); data 628 libheif-1.3.2/libheif/heif_cxx.h return data; data 1008 libheif-1.3.2/libheif/heif_cxx.h const void* data, int size) { data 1011 libheif-1.3.2/libheif/heif_cxx.h data, size)); data 1018 libheif-1.3.2/libheif/heif_cxx.h const void* data, int size) { data 1021 libheif-1.3.2/libheif/heif_cxx.h data, size)); data 114 libheif-1.3.2/libheif/heif_decoder_libde265.cc const uint8_t* data = de265_get_image_plane(de265img, c, &stride); data 130 libheif-1.3.2/libheif/heif_decoder_libde265.cc memcpy(dst_mem + y*dst_stride, data + y*stride, w * bytes_per_pixel); data 171 libheif-1.3.2/libheif/heif_decoder_libde265.cc struct heif_error libde265_v2_push_data(void* decoder_raw, const void* data, size_t size) data 175 libheif-1.3.2/libheif/heif_decoder_libde265.cc const uint8_t* cdata = (const uint8_t*)data; data 236 libheif-1.3.2/libheif/heif_decoder_libde265.cc struct heif_error libde265_v1_push_data(void* decoder_raw, const void* data, size_t size) data 240 libheif-1.3.2/libheif/heif_decoder_libde265.cc const uint8_t* cdata = (const uint8_t*)data; data 19 libheif-1.3.2/libheif/heif_emscripten.h struct heif_context* context, const std::string& data) { data 20 libheif-1.3.2/libheif/heif_emscripten.h return heif_context_read_from_memory(context, data.data(), data.size(), nullptr); data 104 libheif-1.3.2/libheif/heif_emscripten.h std::string data; data 119 libheif-1.3.2/libheif/heif_emscripten.h data.resize((width * height) + (width * height / 2)); data 120 libheif-1.3.2/libheif/heif_emscripten.h char* dest = const_cast<char*>(data.data()); data 135 libheif-1.3.2/libheif/heif_emscripten.h data.resize(width * height * 3); data 136 libheif-1.3.2/libheif/heif_emscripten.h char* dest = const_cast<char*>(data.data()); data 147 libheif-1.3.2/libheif/heif_emscripten.h data.resize(width * height); data 148 libheif-1.3.2/libheif/heif_emscripten.h char* dest = const_cast<char*>(data.data()); data 156 libheif-1.3.2/libheif/heif_emscripten.h result.set("data", std::move(data)); data 482 libheif-1.3.2/libheif/heif_encoder_x265.cc struct heif_error x265_get_compressed_data(void* encoder_raw, uint8_t** data, int* size, data 489 libheif-1.3.2/libheif/heif_encoder_x265.cc *data = nullptr; data 498 libheif-1.3.2/libheif/heif_encoder_x265.cc *data = encoder->nals[encoder->nal_output_counter].payload; data 505 libheif-1.3.2/libheif/heif_encoder_x265.cc while (**data==0 && *size>0) { data 506 libheif-1.3.2/libheif/heif_encoder_x265.cc (*data)++; data 511 libheif-1.3.2/libheif/heif_encoder_x265.cc (*data)++; data 517 libheif-1.3.2/libheif/heif_encoder_x265.cc if (*size >= 3 && (*data)[0]==0x4e && (*data)[2]==5) { data 537 libheif-1.3.2/libheif/heif_encoder_x265.cc *data = nullptr; data 67 libheif-1.3.2/libheif/heif_file.cc Error HeifFile::read_from_memory(const void* data, size_t size, bool copy) data 69 libheif-1.3.2/libheif/heif_file.cc auto input_stream = std::make_shared<StreamReader_memory>((const uint8_t*)data, size, copy); data 341 libheif-1.3.2/libheif/heif_file.cc Error HeifFile::get_compressed_image_data(heif_item_id ID, std::vector<uint8_t>* data) const data 409 libheif-1.3.2/libheif/heif_file.cc } else if (!hvcC_box->get_headers(data)) { data 414 libheif-1.3.2/libheif/heif_file.cc error = m_iloc_box->read_data(*item, m_input_stream, m_idat_box, data); data 419 libheif-1.3.2/libheif/heif_file.cc error = m_iloc_box->read_data(*item, m_input_stream, m_idat_box, data); data 532 libheif-1.3.2/libheif/heif_file.cc Error HeifFile::append_hvcC_nal_data(heif_item_id id, const uint8_t* data, size_t size) data 541 libheif-1.3.2/libheif/heif_file.cc hvcC->append_nal_data(data,size); data 555 libheif-1.3.2/libheif/heif_file.cc void HeifFile::append_iloc_data_with_4byte_size(heif_item_id id, const uint8_t* data, size_t size) data 565 libheif-1.3.2/libheif/heif_file.cc memcpy(nal.data()+4, data, size); data 54 libheif-1.3.2/libheif/heif_file.h Error read_from_memory(const void* data, size_t size, bool copy); data 105 libheif-1.3.2/libheif/heif_file.h Error append_hvcC_nal_data(heif_item_id id, const std::vector<uint8_t>& data); data 106 libheif-1.3.2/libheif/heif_file.h Error append_hvcC_nal_data(heif_item_id id, const uint8_t* data, size_t size); data 112 libheif-1.3.2/libheif/heif_file.h void append_iloc_data_with_4byte_size(heif_item_id id, const uint8_t* data, size_t size); data 126 libheif-1.3.2/libheif/heif_hevc.cc Error heif::decode_hevc_aux_sei_messages(const std::vector<uint8_t>& data, data 132 libheif-1.3.2/libheif/heif_hevc.cc BitReader reader(data.data(), (int)data.size()); data 135 libheif-1.3.2/libheif/heif_hevc.cc if (len > data.size()-4) { data 141 libheif-1.3.2/libheif/heif_hevc.cc BitReader sei_reader(data.data() + currPos, (int)data.size()-currPos); data 205 libheif-1.3.2/libheif/heif_hevc.cc sps = sps_no_emul.data(); data 51 libheif-1.3.2/libheif/heif_hevc.h Error decode_hevc_aux_sei_messages(const std::vector<uint8_t>& data, data 135 libheif-1.3.2/libheif/heif_image.cc return iter->second.mem.data(); data 150 libheif-1.3.2/libheif/heif_image.cc return iter->second.mem.data(); data 754 libheif-1.3.2/libheif/heif_image.cc const uint8_t* in_data = plane.mem.data(); data 799 libheif-1.3.2/libheif/heif_image.cc uint8_t* data = plane.mem.data(); data 804 libheif-1.3.2/libheif/heif_image.cc std::swap(data[y*stride + x], data[y*stride + w-1-x]); data 810 libheif-1.3.2/libheif/heif_image.cc std::swap(data[y*stride + x], data[(h-1-y)*stride + x]); data 853 libheif-1.3.2/libheif/heif_image.cc const uint8_t* in_data = plane.mem.data(); data 897 libheif-1.3.2/libheif/heif_image.cc uint8_t* data = plane.mem.data(); data 914 libheif-1.3.2/libheif/heif_image.cc memset(data, val8, stride*h); data 1051 libheif-1.3.2/libheif/heif_image.cc const uint8_t* in_data = plane.mem.data(); data 80 libheif-1.3.2/libheif/heif_plugin.h struct heif_error (*push_data)(void* decoder, const void* data, size_t size); data 190 libheif-1.3.2/libheif/heif_plugin.h struct heif_error (*get_compressed_data)(void* encoder, uint8_t** data, int* size,