Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Ddecode_api_test.cc152 for (uint32_t data_sz = 1; data_sz <= 32; ++data_sz) { in TEST() local
155 if (data_sz >= 8) { in TEST()
159 (data_sz < 10) ? VPX_CODEC_UNSUP_BITSTREAM : VPX_CODEC_CORRUPT_FRAME, in TEST()
160 vpx_codec_decode(&dec, data, data_sz, NULL, 0)); in TEST()
169 EXPECT_EQ((data_sz < 10) ? VPX_CODEC_UNSUP_BITSTREAM : VPX_CODEC_OK, in TEST()
170 vpx_codec_peek_stream_info(codec, data, data_sz, &si)); in TEST()
Ddatarate_test.cc1278 vpx_codec_err_t parse_superframe_index(const uint8_t *data, size_t data_sz, in parse_superframe_index() argument
1281 marker = *(data + data_sz - 1); in parse_superframe_index()
1289 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in parse_superframe_index()
1291 const uint8_t marker2 = *(data + data_sz - index_sz); in parse_superframe_index()
1299 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()
172 unsigned int data_sz, in decoder_peek_si() argument
174 return decoder_peek_si_internal(data, data_sz, si, NULL, NULL, NULL); in decoder_peek_si()
[all …]
Dvp9_cx_iface.c1094 size_t data_sz; in encoder_encode() local
1125 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bps(img) / 8 * in encoder_encode()
1127 if (data_sz < kMinCompressedSize) data_sz = kMinCompressedSize; in encoder_encode()
1128 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode()
1129 ctx->cx_data_sz = data_sz; in encoder_encode()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c121 unsigned int data_sz, in vp8_peek_si_internal() argument
129 if (data + data_sz <= data) { in vp8_peek_si_internal()
141 int n = VPXMIN(sizeof(clear_buffer), data_sz); in vp8_peek_si_internal()
147 if (data_sz >= 10 && !(clear[0] & 0x01)) { /* I-Frame */ in vp8_peek_si_internal()
168 static vpx_codec_err_t vp8_peek_si(const uint8_t *data, unsigned int data_sz, in vp8_peek_si() argument
170 return vp8_peek_si_internal(data, data_sz, si, NULL, NULL); in vp8_peek_si()
230 unsigned int data_sz, in update_fragments() argument
239 if (ctx->fragments.enabled && !(data == NULL && data_sz == 0)) { in update_fragments()
244 ctx->fragments.sizes[ctx->fragments.count] = data_sz; in update_fragments()
254 if (!ctx->fragments.enabled && (data == NULL && data_sz == 0)) { in update_fragments()
[all …]
/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/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c410 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz, in vp9_parse_superframe_index() argument
422 assert(data_sz); in vp9_parse_superframe_index()
423 marker = read_marker(decrypt_cb, decrypt_state, data + data_sz - 1); in vp9_parse_superframe_index()
433 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in vp9_parse_superframe_index()
437 read_marker(decrypt_cb, decrypt_state, data + data_sz - index_sz); in vp9_parse_superframe_index()
448 const uint8_t *x = &data[data_sz - index_sz + 1]; in vp9_parse_superframe_index()
Dvp9_decoder.h103 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/tinyalsa/
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/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/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c511 vpx_codec_err_t parse_superframe_index(const uint8_t *data, size_t data_sz, in parse_superframe_index() argument
521 marker = *(data + data_sz - 1); in parse_superframe_index()
531 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in parse_superframe_index()
534 const uint8_t marker2 = *(data + data_sz - index_sz); in parse_superframe_index()
545 const uint8_t *x = &data[data_sz - index_sz + 1]; in parse_superframe_index()
/external/avb/
Davbtool711 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT)
714 if data_sz != (chunk_sz * self.block_size):
717 format(data_sz, chunk_sz*self.block_size))
724 self._image.read(data_sz)
727 if data_sz != 4:
729 'has {}'.format(data_sz))
738 if data_sz != 0:
740 format(data_sz))
748 if data_sz != 4:
750 'this has {}'.format(data_sz))
[all …]
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c874 const unsigned int data_sz = pbi->fragments.sizes[0]; in vp8_decode_frame() local
875 const unsigned char *data_end = data + data_sz; in vp8_decode_frame()
906 int n = (int)VPXMIN(sizeof(clear_buffer), data_sz); in vp8_decode_frame()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state.h228 GLuint data_sz,