Home
last modified time | relevance | path

Searched refs:av_mallocz (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/third_party/ffmpeg/tests/checkasm/
Dhuffyuvdsp.c40 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()
Dllviddsp.c47 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/
Dencryption_info.c43 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()
Dbuffer.c36 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()
Dmastering_display_metadata.c29 return av_mallocz(sizeof(AVMasteringDisplayMetadata)); in av_mastering_display_metadata_alloc()
47 AVContentLightMetadata *metadata = av_mallocz(sizeof(AVContentLightMetadata)); in av_content_light_metadata_alloc()
Dhwcontext.c158 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 …]
Ddovi_meta.c27 av_mallocz(sizeof(AVDOVIDecoderConfigurationRecord)); in av_dovi_alloc()
Dhdr_dynamic_metadata.c26 AVDynamicHDRPlus *hdr_plus = av_mallocz(sizeof(AVDynamicHDRPlus)); in av_dynamic_hdr_plus_alloc()
Dmem_internal.h38 val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); in ff_fast_malloc()
Dstereo3d.c30 return av_mallocz(sizeof(AVStereo3D)); in av_stereo3d_alloc()
/third_party/ffmpeg/libavformat/
Dpaf.c152 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/
Dmurmur3.c32 uint8_t *hashes = av_mallocz(256 * 16); in main()
50 uint8_t *in = av_mallocz(512*1024); in main()
/third_party/ffmpeg/libavcodec/
Dbitstream_filter.c61 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()
Dxsubdec.c98 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()
Dsmacker.c205 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()
Dqsv_api.c32 return av_mallocz(sizeof(AVQSVContext)); in av_qsv_alloc_context()
Dflashsvenc.c124 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()
Dd3d11va.c35 AVD3D11VAContext* res = av_mallocz(sizeof(AVD3D11VAContext)); in av_d3d11va_alloc_context()
Dkgv1dec.c76 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/
Dformats.c65 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()
Dgraphparser.c200 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/
Drematrix_init.c54 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/
Ddnn_backend_native.c136 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/
Dfiltfmts.c120 AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); in main()
130 AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); in main()
/third_party/ffmpeg/tools/
Dcoverity.c48 void *av_mallocz(size_t size) { in av_mallocz() function

12345678910>>...14