Lines Matching refs:ctx
59 * struct AVHashContext *ctx = NULL;
67 * ret = av_hash_alloc(&ctx, hash_name);
72 * av_hash_init(ctx);
76 * av_hash_update(ctx, data, size);
83 * output_buf = av_malloc(av_hash_get_size(ctx));
92 * av_hash_final(ctx, output_buffer);
95 * av_hash_freep(&ctx);
125 int av_hash_alloc(struct AVHashContext **ctx, const char *name);
140 const char *av_hash_get_name(const struct AVHashContext *ctx);
164 * @param[in] ctx Hash context
167 int av_hash_get_size(const struct AVHashContext *ctx);
172 * @param[in,out] ctx Hash context
174 void av_hash_init(struct AVHashContext *ctx);
179 * @param[in,out] ctx Hash context
183 void av_hash_update(struct AVHashContext *ctx, const uint8_t *src, size_t len);
194 * @param[in,out] ctx Hash context
199 void av_hash_final(struct AVHashContext *ctx, uint8_t *dst);
210 * @param[in,out] ctx Hash context
214 void av_hash_final_bin(struct AVHashContext *ctx, uint8_t *dst, int size);
228 * @param[in,out] ctx Hash context
232 void av_hash_final_hex(struct AVHashContext *ctx, uint8_t *dst, int size);
246 * @param[in,out] ctx Hash context
250 void av_hash_final_b64(struct AVHashContext *ctx, uint8_t *dst, int size);
255 * @param[in,out] ctx Pointer to hash context
257 void av_hash_freep(struct AVHashContext **ctx);