Home
last modified time | relevance | path

Searched refs:HEADER_SIZE (Results 1 – 15 of 15) sorted by relevance

/third_party/ffmpeg/libavcodec/
Ddpxenc.c182 #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()
258 encode_rgb48_10bit(avctx, frame, buf + HEADER_SIZE); in encode_frame()
[all …]
Dadxenc.c99 #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()
Dmss4.c40 #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()
Dmpegaudiodec_template.c100 #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()
1848 if (fsize < HEADER_SIZE) { in decode_frame_mp3on4()
Dmss3.c34 #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/ffmpeg/libavformat/
Dmsnwc_tcp.c25 #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()
Dredspark.c28 #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/
DHdmxEncoder.java34 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/openssl/crypto/asn1/
Da_d2i_fp.c107 #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/node/deps/openssl/openssl/crypto/asn1/
Da_d2i_fp.c107 #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/
DLayoutCommonTable.java17 private static int HEADER_SIZE = 10; field in LayoutCommonTable
119 int pos = HEADER_SIZE; in subSerialize()
/third_party/ffmpeg/tests/
Daudiogen.c112 #define HEADER_SIZE 46 macro
123 put32(HEADER_SIZE + data_size); in put_wav_header()
/third_party/gptfdisk/
Dsupport.h68 #define HEADER_SIZE UINT32_C(92) macro
Dgpt.cc558 if ((hSize > blockSize) || (hSize < HEADER_SIZE)) { in CheckHeaderCRC()
561 cerr << "Setting the header size for CRC computation to " << HEADER_SIZE << "\n"; in CheckHeaderCRC()
563 hSize = HEADER_SIZE; in CheckHeaderCRC()
599 hSize = secondHeader.headerSize = mainHeader.headerSize = HEADER_SIZE; in RecomputeCRCs()
2016 mainHeader.headerSize = HEADER_SIZE; in ClearGPTData()
/third_party/skia/src/sksl/
DSkSLDehydrator.cpp62 static constexpr int HEADER_SIZE = 2; variable
127 offset = fStringBuffer.str().length() + HEADER_SIZE; in write()