/third_party/ffmpeg/libavcodec/ |
H A D | dpxenc.c | 182 #define HEADER_SIZE 1664 /* DPX Generic header */ in encode_frame() macro 198 if ((ret = ff_get_encode_buffer(avctx, pkt, size + HEADER_SIZE, 0)) < 0) in encode_frame() 202 memset(buf, 0, HEADER_SIZE); in encode_frame() 206 write32(buf + 4, HEADER_SIZE); in encode_frame() 209 write32(buf + 24, HEADER_SIZE); in encode_frame() 225 write32(buf + 808, HEADER_SIZE); /* data offset */ in encode_frame() 237 uint8_t *dst = pkt->data + HEADER_SIZE; in encode_frame() 246 size = av_image_copy_to_buffer(buf + HEADER_SIZE, pkt->size - HEADER_SIZE, in encode_frame() 256 encode_gbrp10(avctx, frame, buf + HEADER_SIZE); in encode_frame() [all...] |
H A D | adxenc.c | 99 #define HEADER_SIZE 36 macro 106 bytestream_put_be16(&buf, HEADER_SIZE - 4); /* copyright offset */ in adx_encode_header() 121 return HEADER_SIZE; in adx_encode_header() 166 out_size = BLOCK_SIZE * channels + !c->header_parsed * HEADER_SIZE; in adx_encode_frame()
|
H A D | mss4.c | 40 #define HEADER_SIZE 8 macro 461 if (buf_size < HEADER_SIZE) { in mss4_decode_frame() 464 HEADER_SIZE, buf_size); in mss4_decode_frame() 501 if (frame_type != SKIP_FRAME && 8*buf_size < 8*HEADER_SIZE + mb_width*mb_height) in mss4_decode_frame() 523 if ((ret = init_get_bits8(&gb, buf + HEADER_SIZE, buf_size - HEADER_SIZE)) < 0) in mss4_decode_frame()
|
H A D | mpegaudiodec_template.c | 100 #define HEADER_SIZE 4 macro 368 const uint8_t *buf = s->gb.buffer - HEADER_SIZE; in handle_crc() 1471 init_get_bits(&s->gb, buf + HEADER_SIZE, (buf_size - HEADER_SIZE) * 8); in mp_decode_frame() 1509 i = FFMIN(BACKSTEP_SIZE, buf_size - HEADER_SIZE); in mp_decode_frame() 1511 av_assert1(i <= buf_size - HEADER_SIZE && i >= 0); in mp_decode_frame() 1512 memcpy(s->last_buf + s->last_buf_size, s->gb.buffer + buf_size - HEADER_SIZE - i, i); in mp_decode_frame() 1567 if (buf_size < HEADER_SIZE) in decode_frame() 1648 if (buf_size < HEADER_SIZE) { in decode_frame_adu() 1836 if (buf_size < HEADER_SIZE) in decode_frame_mp3on4() [all...] |
H A D | mss3.c | 34 #define HEADER_SIZE 27 macro 698 if (buf_size < HEADER_SIZE) { in mss3_decode_frame() 701 HEADER_SIZE, buf_size); in mss3_decode_frame() 755 rac_init(acoder, buf + HEADER_SIZE, buf_size - HEADER_SIZE); in mss3_decode_frame()
|
/third_party/backends/backend/ |
H A D | cardscan.c | 607 size_t bytes = HEADER_SIZE + CAL_COLOR_SIZE*2 + CAL_GRAY_SIZE*2; in load_calibration() 637 memcpy(s->cal_color_b, buf+HEADER_SIZE, PIXELS_PER_LINE); in load_calibration() 639 buf+HEADER_SIZE+PIXELS_PER_LINE, PIXELS_PER_LINE); in load_calibration() 643 buf+HEADER_SIZE+(PIXELS_PER_LINE*2), PIXELS_PER_LINE); in load_calibration() 645 buf+HEADER_SIZE+(PIXELS_PER_LINE*3), PIXELS_PER_LINE); in load_calibration() 649 buf+HEADER_SIZE+(PIXELS_PER_LINE*4), PIXELS_PER_LINE); in load_calibration() 651 buf+HEADER_SIZE+(PIXELS_PER_LINE*5), PIXELS_PER_LINE); in load_calibration() 660 buf+HEADER_SIZE+(CAL_COLOR_SIZE*2), PIXELS_PER_LINE); in load_calibration() 662 buf+HEADER_SIZE+(CAL_COLOR_SIZE*2)+PIXELS_PER_LINE, PIXELS_PER_LINE); in load_calibration() 1029 size_t bytes = HEADER_SIZE in heat_lamp_gray() [all...] |
H A D | cardscan.h | 26 #define HEADER_SIZE 64 macro
|
/third_party/ffmpeg/libavformat/ |
H A D | msnwc_tcp.c | 25 #define HEADER_SIZE 24 macro 43 for (i = 0; i + HEADER_SIZE <= p->buf_size; i++) { in msnwc_tcp_probe() 48 if (bytestream_get_le16(&bytestream) != HEADER_SIZE) in msnwc_tcp_probe() 93 while(avio_r8(pb) != HEADER_SIZE && !avio_feof(pb)) ; in msnwc_tcp_read_header() 136 return HEADER_SIZE + size; in msnwc_tcp_read_packet()
|
H A D | redspark.c | 28 #define HEADER_SIZE 4096 macro 65 uint8_t header[HEADER_SIZE]; in redspark_read_header() 80 for (i = 4; i < HEADER_SIZE; i += 4) { in redspark_read_header() 89 bytestream2_init(&gbc, header, HEADER_SIZE); in redspark_read_header() 109 if (coef_off + par->ch_layout.nb_channels * (32 + 14) > HEADER_SIZE) { in redspark_read_header()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | HdmxEncoder.java | 34 private static int HEADER_SIZE = 8; field in HdmxEncoder 57 int resultSize = magBytes.length + HEADER_SIZE + RECORD_SIZE * numRecords; in encode() 63 result.writeByte(HEADER_SIZE + RECORD_SIZE * i, (byte) hdmx.pixelSize(i)); in encode() 64 result.writeByte(HEADER_SIZE + RECORD_SIZE * i + 1, (byte) hdmx.maxWidth(i)); in encode() 66 result.writeBytes(HEADER_SIZE + RECORD_SIZE * numRecords, magBytes); in encode()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | a_d2i_fp.c | 107 #define HEADER_SIZE 8 macro 114 size_t want = HEADER_SIZE; in asn1_d2i_read_bio() 179 want = HEADER_SIZE; in asn1_d2i_read_bio() 186 want = HEADER_SIZE; in asn1_d2i_read_bio() 238 want = HEADER_SIZE; in asn1_d2i_read_bio()
|
/third_party/openssl/crypto/asn1/ |
H A D | a_d2i_fp.c | 107 #define HEADER_SIZE 8 macro 114 size_t want = HEADER_SIZE; in asn1_d2i_read_bio() 179 want = HEADER_SIZE; in asn1_d2i_read_bio() 186 want = HEADER_SIZE; in asn1_d2i_read_bio() 238 want = HEADER_SIZE; in asn1_d2i_read_bio()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
H A D | LayoutCommonTable.java | 17 private static int HEADER_SIZE = 10; field in LayoutCommonTable 119 int pos = HEADER_SIZE; in subSerialize()
|
/third_party/gptfdisk/ |
H A D | support.h | 68 #define HEADER_SIZE UINT32_C(92) macro
|
H A D | gpt.cc | 566 if ((hSize > blockSize) || (hSize < HEADER_SIZE)) { in CheckHeaderCRC() 569 cerr << "Setting the header size for CRC computation to " << HEADER_SIZE << "\n"; in CheckHeaderCRC() local 571 hSize = HEADER_SIZE; in CheckHeaderCRC() 607 hSize = secondHeader.headerSize = mainHeader.headerSize = HEADER_SIZE; in RecomputeCRCs() 2043 mainHeader.headerSize = HEADER_SIZE; in ClearGPTData()
|
/third_party/ffmpeg/tests/ |
H A D | audiogen.c | 112 #define HEADER_SIZE 46 macro 123 put32(HEADER_SIZE + data_size); in put_wav_header()
|
/third_party/skia/src/sksl/ |
H A D | SkSLDehydrator.cpp | 62 static constexpr int HEADER_SIZE = 2; member 127 offset = fStringBuffer.str().length() + HEADER_SIZE; in write()
|