/third_party/ffmpeg/tests/checkasm/ |
D | huffyuvdsp.c | 40 uint16_t *src0 = av_mallocz(width * sizeof(uint16_t)); in check_add_int16() 41 uint16_t *src1 = av_mallocz(width * sizeof(uint16_t)); in check_add_int16() 42 uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t)); in check_add_int16() 43 uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t)); in check_add_int16()
|
D | llviddsp.c | 47 uint8_t *dst0 = av_mallocz(width); in check_add_bytes() 48 uint8_t *dst1 = av_mallocz(width); in check_add_bytes() 75 uint8_t *dst0 = av_mallocz(width); in check_add_median_pred() 76 uint8_t *dst1 = av_mallocz(width); in check_add_median_pred() 113 uint8_t *dst0 = av_mallocz(width); in check_add_left_pred() 114 uint8_t *dst1 = av_mallocz(width); in check_add_left_pred() 176 src0 = av_mallocz(src_size); in check_add_gradient_pred() 177 src1 = av_mallocz(src_size); in check_add_gradient_pred()
|
/third_party/ffmpeg/libavutil/ |
D | encryption_info.c | 43 info = av_mallocz(sizeof(*info)); in av_encryption_info_alloc() 47 info->key_id = av_mallocz(key_id_size); in av_encryption_info_alloc() 49 info->iv = av_mallocz(iv_size); in av_encryption_info_alloc() 182 info = av_mallocz(sizeof(*info)); in av_encryption_init_info_alloc() 186 info->system_id = av_mallocz(system_id_size); in av_encryption_init_info_alloc() 191 info->data = av_mallocz(data_size); in av_encryption_init_info_alloc() 203 info->key_ids[i] = av_mallocz(key_id_size); in av_encryption_init_info_alloc()
|
D | buffer.c | 36 buf = av_mallocz(sizeof(*buf)); in av_buffer_create() 49 ref = av_mallocz(sizeof(*ref)); in av_buffer_create() 95 AVBufferRef *ret = av_mallocz(sizeof(*ret)); in av_buffer_ref() 222 AVBufferPool *pool = av_mallocz(sizeof(*pool)); in av_buffer_pool_init2() 241 AVBufferPool *pool = av_mallocz(sizeof(*pool)); in av_buffer_pool_init() 320 buf = av_mallocz(sizeof(*buf)); in pool_alloc_buffer()
|
D | mastering_display_metadata.c | 29 return av_mallocz(sizeof(AVMasteringDisplayMetadata)); in av_mastering_display_metadata_alloc() 47 AVContentLightMetadata *metadata = av_mallocz(sizeof(AVContentLightMetadata)); in av_content_light_metadata_alloc()
|
D | hwcontext.c | 158 ctx = av_mallocz(sizeof(*ctx)); in av_hwdevice_ctx_alloc() 162 ctx->internal = av_mallocz(sizeof(*ctx->internal)); in av_hwdevice_ctx_alloc() 167 ctx->internal->priv = av_mallocz(hw_type->device_priv_size); in av_hwdevice_ctx_alloc() 173 ctx->hwctx = av_mallocz(hw_type->device_hwctx_size); in av_hwdevice_ctx_alloc() 254 ctx = av_mallocz(sizeof(*ctx)); in av_hwframe_ctx_alloc() 258 ctx->internal = av_mallocz(sizeof(*ctx->internal)); in av_hwframe_ctx_alloc() 263 ctx->internal->priv = av_mallocz(hw_type->frames_priv_size); in av_hwframe_ctx_alloc() 269 ctx->hwctx = av_mallocz(hw_type->frames_hwctx_size); in av_hwframe_ctx_alloc() 573 return av_mallocz(hw_type->device_hwconfig_size); in av_hwdevice_hwconfig_alloc() 586 constraints = av_mallocz(sizeof(*constraints)); in av_hwdevice_get_hwframe_constraints() [all …]
|
D | dovi_meta.c | 27 av_mallocz(sizeof(AVDOVIDecoderConfigurationRecord)); in av_dovi_alloc()
|
D | hdr_dynamic_metadata.c | 26 AVDynamicHDRPlus *hdr_plus = av_mallocz(sizeof(AVDynamicHDRPlus)); in av_dynamic_hdr_plus_alloc()
|
D | mem_internal.h | 38 val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); in ff_fast_malloc()
|
D | stereo3d.c | 30 return av_mallocz(sizeof(AVStereo3D)); in av_stereo3d_alloc()
|
/third_party/ffmpeg/libavformat/ |
D | paf.c | 152 p->blocks_count_table = av_mallocz(p->nb_frames * in read_header() 154 p->frames_offset_table = av_mallocz(p->nb_frames * in read_header() 156 p->blocks_offset_table = av_mallocz(p->frame_blks * in read_header() 160 p->video_frame = av_mallocz(p->video_size); in read_header() 163 p->audio_frame = av_mallocz(p->audio_size); in read_header() 164 p->temp_audio_frame = av_mallocz(p->audio_size); in read_header()
|
/third_party/ffmpeg/libavutil/tests/ |
D | murmur3.c | 32 uint8_t *hashes = av_mallocz(256 * 16); in main() 50 uint8_t *in = av_mallocz(512*1024); in main()
|
/third_party/ffmpeg/libavcodec/ |
D | bitstream_filter.c | 61 ctx = av_mallocz(sizeof(*ctx)); in av_bitstream_filter_init() 65 priv = av_mallocz(sizeof(*priv)); in av_bitstream_filter_init() 172 … avctx->extradata = av_mallocz(priv->ctx->par_out->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); in av_bitstream_filter_filter()
|
D | xsubdec.c | 98 sub->rects = av_mallocz(sizeof(*sub->rects)); in decode_frame() 102 sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); in decode_frame() 113 sub->rects[0]->data[1] = av_mallocz(AVPALETTE_SIZE); in decode_frame()
|
D | smacker.c | 205 tmp1.bits = av_mallocz(256 * 4); in smacker_decode_header_tree() 206 tmp1.lengths = av_mallocz(256 * sizeof(int)); in smacker_decode_header_tree() 207 tmp1.values = av_mallocz(256 * sizeof(int)); in smacker_decode_header_tree() 212 tmp2.bits = av_mallocz(256 * 4); in smacker_decode_header_tree() 213 tmp2.lengths = av_mallocz(256 * sizeof(int)); in smacker_decode_header_tree() 214 tmp2.values = av_mallocz(256 * sizeof(int)); in smacker_decode_header_tree() 699 h[i].bits = av_mallocz(256 * 4); in smka_decode_frame() 700 h[i].lengths = av_mallocz(256 * sizeof(int)); in smka_decode_frame() 701 h[i].values = av_mallocz(256 * sizeof(int)); in smka_decode_frame()
|
D | qsv_api.c | 32 return av_mallocz(sizeof(AVQSVContext)); in av_qsv_alloc_context()
|
D | flashsvenc.c | 124 s->tmpblock = av_mallocz(3 * 256 * 256); in flashsv_encode_init() 125 s->encbuffer = av_mallocz(s->image_width * s->image_height * 3); in flashsv_encode_init() 222 s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); in flashsv_encode_frame()
|
D | d3d11va.c | 35 AVD3D11VAContext* res = av_mallocz(sizeof(AVD3D11VAContext)); in av_d3d11va_alloc_context()
|
D | kgv1dec.c | 76 c->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); in decode_frame() 77 c->last_frame_buffer = av_mallocz(avctx->width * avctx->height * 2); in decode_frame()
|
/third_party/ffmpeg/libavfilter/ |
D | formats.c | 65 if (!(ret = av_mallocz(sizeof(*ret)))) \ 198 if (!(ret = av_mallocz(sizeof(*ret))) || in ff_merge_channel_layouts() 271 formats = av_mallocz(sizeof(*formats)); \ 319 if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \ 398 formats = av_mallocz(sizeof(*formats)); in ff_formats_pixdesc_filter() 427 AVFilterFormats *ret = av_mallocz(sizeof(*ret)); in ff_all_samplerates() 433 AVFilterChannelLayouts *ret = av_mallocz(sizeof(*ret)); in ff_all_channel_layouts() 442 AVFilterChannelLayouts *ret = av_mallocz(sizeof(*ret)); in ff_all_channel_counts()
|
D | graphparser.c | 200 return av_mallocz(sizeof(AVFilterInOut)); in avfilter_inout_alloc() 260 } else if (!(p = av_mallocz(sizeof(*p)))) in link_filter_inouts() 285 AVFilterInOut *currlinkn = av_mallocz(sizeof(AVFilterInOut)); in link_filter_inouts() 316 if (!(match = av_mallocz(sizeof(AVFilterInOut)))) { in parse_inputs() 399 if (!(graph->scale_sws_opts = av_mallocz(p - *buf + 1))) in parse_sws_flags()
|
/third_party/ffmpeg/libswresample/x86/ |
D | rematrix_init.c | 54 s->native_simd_one = av_mallocz(2 * sizeof(int16_t)); in D() 81 s->native_simd_one = av_mallocz(sizeof(float)); in D()
|
/third_party/ffmpeg/libavfilter/dnn/ |
D | dnn_backend_native.c | 136 model = av_mallocz(sizeof(DNNModel)); in ff_dnn_load_model_native() 170 network = av_mallocz(sizeof(ConvolutionalNetwork)); in ff_dnn_load_model_native() 182 network->layers = av_mallocz(network->layers_num * sizeof(Layer)); in ff_dnn_load_model_native() 187 network->operands = av_mallocz(network->operands_num * sizeof(DnnOperand)); in ff_dnn_load_model_native()
|
/third_party/ffmpeg/libavfilter/tests/ |
D | filtfmts.c | 120 AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); in main() 130 AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); in main()
|
/third_party/ffmpeg/tools/ |
D | coverity.c | 48 void *av_mallocz(size_t size) { in av_mallocz() function
|