Home
last modified time | relevance | path

Searched refs:data_sz (Results 1 – 24 of 24) sorted by relevance

/external/libvpx/libvpx/test/
Ddecode_api_test.cc141 void TestPeekInfo(const uint8_t *const data, uint32_t data_sz, in TestPeekInfo() argument
146 if (data_sz >= 8) { in TestPeekInfo()
149 EXPECT_EQ((data_sz < peek_size) ? VPX_CODEC_UNSUP_BITSTREAM in TestPeekInfo()
151 vpx_codec_decode(&dec, data, data_sz, NULL, 0)); in TestPeekInfo()
160 EXPECT_EQ((data_sz < peek_size) ? VPX_CODEC_UNSUP_BITSTREAM : VPX_CODEC_OK, in TestPeekInfo()
161 vpx_codec_peek_stream_info(codec, data, data_sz, &si)); in TestPeekInfo()
174 for (uint32_t data_sz = 1; data_sz <= 32; ++data_sz) { in TEST() local
175 TestPeekInfo(data, data_sz, 10); in TEST()
185 for (uint32_t data_sz = 1; data_sz <= 10; ++data_sz) { in TEST() local
186 TestPeekInfo(profile1_data, data_sz, 11); in TEST()
Dsvc_datarate_test.cc362 vpx_codec_err_t parse_superframe_index(const uint8_t *data, size_t data_sz, in parse_superframe_index() argument
365 marker = *(data + data_sz - 1); in parse_superframe_index()
373 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in parse_superframe_index()
375 const uint8_t marker2 = *(data + data_sz - index_sz); in parse_superframe_index()
383 const uint8_t *x = &data[data_sz - index_sz + 1]; in parse_superframe_index()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c97 const uint8_t *data, unsigned int data_sz, vpx_codec_stream_info_t *si, in decoder_peek_si_internal() argument
102 if (data + data_sz <= data) return VPX_CODEC_INVALID_PARAM; in decoder_peek_si_internal()
108 data_sz = VPXMIN(sizeof(clear_buffer), data_sz); in decoder_peek_si_internal()
109 decrypt_cb(decrypt_state, data, clear_buffer, data_sz); in decoder_peek_si_internal()
115 if (data_sz < 1) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal()
120 struct vpx_read_bit_buffer rb = { data, data + data_sz, 0, NULL, NULL }; in decoder_peek_si_internal()
131 if (profile > 2 && data_sz < 2) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal()
139 if (data_sz < 10) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal()
163 if (data_sz < 11) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal()
175 unsigned int data_sz, in decoder_peek_si() argument
[all …]
Dvp9_cx_iface.c1082 size_t data_sz; in encoder_encode() local
1101 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bps(img) / 8 * in encoder_encode()
1103 if (data_sz < kMinCompressedSize) data_sz = kMinCompressedSize; in encoder_encode()
1104 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1105 ctx->cx_data_sz = data_sz; in encoder_encode()
/external/libvpx/libvpx/vpx/src/
Dvpx_decoder.c67 unsigned int data_sz, in vpx_codec_peek_stream_info() argument
71 if (!iface || !data || !data_sz || !si || in vpx_codec_peek_stream_info()
79 res = iface->dec.peek_si(data, data_sz, si); in vpx_codec_peek_stream_info()
105 unsigned int data_sz, void *user_priv, in vpx_codec_decode() argument
111 if (!ctx || (!data && data_sz) || (data && !data_sz)) in vpx_codec_decode()
116 res = ctx->iface->dec.decode(get_alg_priv(ctx), data, data_sz, user_priv, in vpx_codec_decode()
/external/tinyalsa/
Dtinyplay.c66 unsigned int period_count, uint32_t data_sz);
215 unsigned int period_count, uint32_t data_sz) in play_sample() argument
258 printf("Playing sample: %u ch, %u hz, %u bit %u bytes\n", channels, rate, bits, data_sz); in play_sample()
264 read_sz = size < data_sz ? size : data_sz; in play_sample()
271 data_sz -= num_read; in play_sample()
273 } while (!close && num_read > 0 && data_sz > 0); in play_sample()
Dtinycap.c57 uint32_t data_sz; member
183 header.data_sz = frames * header.block_align; in main()
184 header.riff_sz = header.data_sz + sizeof(header) - 8; in main()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c127 unsigned int data_sz, in vp8_peek_si_internal() argument
135 if (data + data_sz <= data) { in vp8_peek_si_internal()
147 int n = VPXMIN(sizeof(clear_buffer), data_sz); in vp8_peek_si_internal()
153 if (data_sz >= 10 && !(clear[0] & 0x01)) { /* I-Frame */ in vp8_peek_si_internal()
174 static vpx_codec_err_t vp8_peek_si(const uint8_t *data, unsigned int data_sz, in vp8_peek_si() argument
176 return vp8_peek_si_internal(data, data_sz, si, NULL, NULL); in vp8_peek_si()
236 unsigned int data_sz, in update_fragments() argument
245 if (ctx->fragments.enabled && !(data == NULL && data_sz == 0)) { in update_fragments()
250 ctx->fragments.sizes[ctx->fragments.count] = data_sz; in update_fragments()
260 if (!ctx->fragments.enabled && (data == NULL && data_sz == 0)) { in update_fragments()
[all …]
/external/libaom/libaom/av1/
Dav1_dx_iface.c259 size_t data_sz, in decoder_peek_si_internal() argument
266 if (data + data_sz <= data || data_sz < 1) return AOM_CODEC_INVALID_PARAM; in decoder_peek_si_internal()
278 data, data_sz, si->is_annexb, &obu_header, &payload_size, &bytes_read); in decoder_peek_si_internal()
285 if (data_sz < bytes_read + payload_size) return AOM_CODEC_CORRUPT_FRAME; in decoder_peek_si_internal()
287 data_sz -= bytes_read + payload_size; in decoder_peek_si_internal()
290 data, data_sz, si->is_annexb, &obu_header, &payload_size, &bytes_read); in decoder_peek_si_internal()
295 data_sz -= bytes_read; in decoder_peek_si_internal()
296 if (data_sz < payload_size) return AOM_CODEC_CORRUPT_FRAME; in decoder_peek_si_internal()
300 if (data_sz < 2) return AOM_CODEC_CORRUPT_FRAME; in decoder_peek_si_internal()
302 struct aom_read_bit_buffer rb = { data, data + data_sz, 0, NULL, NULL }; in decoder_peek_si_internal()
[all …]
Dav1_cx_iface.c1655 size_t data_sz = ALIGN_POWER_OF_TWO(ctx->cfg.g_w, 5) * in encoder_encode() local
1657 if (data_sz < kMinCompressedSize) data_sz = kMinCompressedSize; in encoder_encode()
1658 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1659 ctx->cx_data_sz = data_sz; in encoder_encode()
/external/libaom/libaom/aom/src/
Daom_decoder.c61 const uint8_t *data, size_t data_sz, in aom_codec_peek_stream_info() argument
65 if (!iface || !data || !data_sz || !si) { in aom_codec_peek_stream_info()
72 res = iface->dec.peek_si(data, data_sz, si); in aom_codec_peek_stream_info()
98 size_t data_sz, void *user_priv) { in aom_codec_decode() argument
106 res = ctx->iface->dec.decode(get_alg_priv(ctx), data, data_sz, user_priv); in aom_codec_decode()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c462 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz, in vp9_parse_superframe_index() argument
474 assert(data_sz); in vp9_parse_superframe_index()
475 marker = read_marker(decrypt_cb, decrypt_state, data + data_sz - 1); in vp9_parse_superframe_index()
485 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in vp9_parse_superframe_index()
489 read_marker(decrypt_cb, decrypt_state, data + data_sz - index_sz); in vp9_parse_superframe_index()
500 const uint8_t *x = &data[data_sz - index_sz + 1]; in vp9_parse_superframe_index()
Dvp9_decoder.h121 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz,
/external/libvpx/libvpx/vpx/
Dvpx_decoder.h166 unsigned int data_sz,
216 unsigned int data_sz, void *user_priv,
/external/libaom/libaom/aom/
Daom_decoder.h160 const uint8_t *data, size_t data_sz,
202 size_t data_sz, void *user_priv);
/external/libaom/libaom/aom/internal/
Daom_codec_internal.h115 size_t data_sz,
194 size_t data_sz,
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h115 unsigned int data_sz,
197 unsigned int data_sz,
/external/kernel-headers/original/uapi/linux/
Dam437x-vpfe.h107 enum vpfe_ccdc_data_size data_sz; member
/external/libaom/libaom/examples/
Dlightfield_bitstream_parsing.c344 const size_t data_sz = MAX_TILES * ALIGN_POWER_OF_TWO(tile_width, 5) * in main() local
347 unsigned char *tl_buf = (unsigned char *)malloc(data_sz); in main()
/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c543 size_t data_sz, uint64_t sizes[8], in parse_superframe_index() argument
553 marker = *(data + data_sz - 1); in parse_superframe_index()
563 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in parse_superframe_index()
566 const uint8_t marker2 = *(data + data_sz - index_sz); in parse_superframe_index()
577 const uint8_t *x = &data[data_sz - index_sz + 1]; in parse_superframe_index()
/external/avb/
Davbtool750 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT)
753 if data_sz != (chunk_sz * self.block_size):
756 format(data_sz, chunk_sz*self.block_size))
763 self._image.seek(data_sz, os.SEEK_CUR)
766 if data_sz != 4:
768 'has {}'.format(data_sz))
777 if data_sz != 0:
779 format(data_sz))
787 if data_sz != 4:
789 'this has {}'.format(data_sz))
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state.h165 GLuint data_sz,
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c886 const unsigned int data_sz = pbi->fragments.sizes[0]; in vp8_decode_frame() local
887 const unsigned char *data_end = data + data_sz; in vp8_decode_frame()
918 int n = (int)VPXMIN(sizeof(clear_buffer), data_sz); in vp8_decode_frame()
/external/syzkaller/pkg/ifuzz/gen/
Dall-enc-instructions.txt22904 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
22925 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
22945 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
22966 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
22987 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
23007 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
23027 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz
23047 COMMENT: mask reg is zeroized on normal termination. mask_sz=data_sz