/external/libvpx/libvpx/test/ |
D | decode_api_test.cc | 152 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()
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_decoder.c | 67 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/vp8/ |
D | vp8_dx_iface.c | 121 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() 169 static vpx_codec_err_t vp8_peek_si(const uint8_t *data, unsigned int data_sz, in vp8_peek_si() argument 171 return vp8_peek_si_internal(data, data_sz, si, NULL, NULL); in vp8_peek_si() 231 unsigned int data_sz, vpx_codec_err_t *res) { 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/vp9/ |
D | vp9_dx_iface.c | 126 const uint8_t *data, unsigned int data_sz, vpx_codec_stream_info_t *si, in decoder_peek_si_internal() argument 131 if (data + data_sz <= data) return VPX_CODEC_INVALID_PARAM; in decoder_peek_si_internal() 137 data_sz = VPXMIN(sizeof(clear_buffer), data_sz); in decoder_peek_si_internal() 138 decrypt_cb(decrypt_state, data, clear_buffer, data_sz); in decoder_peek_si_internal() 144 if (data_sz < 1) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal() 149 struct vpx_read_bit_buffer rb = { data, data + data_sz, 0, NULL, NULL }; in decoder_peek_si_internal() 160 if (profile > 2 && data_sz < 2) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal() 168 if (data_sz < 10) return VPX_CODEC_UNSUP_BITSTREAM; in decoder_peek_si_internal() 201 unsigned int data_sz, in decoder_peek_si() argument 203 return decoder_peek_si_internal(data, data_sz, si, NULL, NULL, NULL); in decoder_peek_si() [all …]
|
D | vp9_cx_iface.c | 1072 size_t data_sz; in encoder_encode() local 1103 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bps(img) / 8 * in encoder_encode() 1105 if (data_sz < kMinCompressedSize) data_sz = kMinCompressedSize; in encoder_encode() 1106 if (ctx->cx_data == NULL || ctx->cx_data_sz < data_sz) { in encoder_encode() 1107 ctx->cx_data_sz = data_sz; in encoder_encode()
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decoder.c | 443 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz, in vp9_parse_superframe_index() argument 455 assert(data_sz); in vp9_parse_superframe_index() 456 marker = read_marker(decrypt_cb, decrypt_state, data + data_sz - 1); in vp9_parse_superframe_index() 466 if (data_sz < index_sz) return VPX_CODEC_CORRUPT_FRAME; in vp9_parse_superframe_index() 470 read_marker(decrypt_cb, decrypt_state, data + data_sz - index_sz); in vp9_parse_superframe_index() 481 const uint8_t *x = &data[data_sz - index_sz + 1]; in vp9_parse_superframe_index()
|
D | vp9_decoder.h | 107 vpx_codec_err_t vp9_parse_superframe_index(const uint8_t *data, size_t data_sz,
|
/external/libvpx/libvpx/vpx/ |
D | vpx_decoder.h | 166 unsigned int data_sz, 216 unsigned int data_sz, void *user_priv,
|
/external/tinyalsa/ |
D | tinycap.c | 57 uint32_t data_sz; member 182 header.data_sz = frames * header.block_align; in main() 183 header.riff_sz = header.data_sz + sizeof(header) - 8; in main()
|
/external/libvpx/libvpx/vpx/internal/ |
D | vpx_codec_internal.h | 115 unsigned int data_sz, 197 unsigned int data_sz,
|
/external/kernel-headers/original/uapi/linux/ |
D | am437x-vpfe.h | 106 enum vpfe_ccdc_data_size data_sz; member
|
/external/libvpx/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 511 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/ |
D | avbtool | 707 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT) 710 if data_sz != (chunk_sz * self.block_size): 713 format(data_sz, chunk_sz*self.block_size)) 720 self._image.read(data_sz) 723 if data_sz != 4: 725 'has {}'.format(data_sz)) 734 if data_sz != 0: 736 format(data_sz)) 744 if data_sz != 4: 746 'this has {}'.format(data_sz)) [all …]
|
/external/libvpx/libvpx/vp8/decoder/ |
D | decodeframe.c | 874 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/ |
D | brw_state.h | 228 GLuint data_sz,
|