MLT  7.24.0
Functions
mlt_cache.h File Reference

least recently used cache More...

#include "mlt_types.h"

Go to the source code of this file.

Functions

void mlt_cache_close (mlt_cache cache)
 
mlt_cache_item mlt_cache_get (mlt_cache cache, void *object)
 
mlt_frame mlt_cache_get_frame (mlt_cache cache, mlt_position position)
 
int mlt_cache_get_size (mlt_cache cache)
 
mlt_cache mlt_cache_init ()
 
void mlt_cache_item_close (mlt_cache_item item)
 
void * mlt_cache_item_data (mlt_cache_item item, int *size)
 
void mlt_cache_purge (mlt_cache cache, void *object)
 
void mlt_cache_put (mlt_cache cache, void *object, void *data, int size, mlt_destructor destructor)
 
void mlt_cache_put_frame (mlt_cache cache, mlt_frame frame)
 
void mlt_cache_put_frame_audio (mlt_cache cache, mlt_frame frame)
 
void mlt_cache_put_frame_image (mlt_cache cache, mlt_frame frame)
 
void mlt_cache_set_size (mlt_cache cache, int size)
 

Detailed Description

least recently used cache

See also
mlt_cache_s

Copyright (C) 2007-2023 Meltytech, LLC

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Function Documentation

◆ mlt_cache_close()

void mlt_cache_close ( mlt_cache  cache)

◆ mlt_cache_get()

mlt_cache_item mlt_cache_get ( mlt_cache  cache,
void *  object 
)

◆ mlt_cache_get_frame()

mlt_frame mlt_cache_get_frame ( mlt_cache  cache,
mlt_position  position 
)

◆ mlt_cache_get_size()

int mlt_cache_get_size ( mlt_cache  cache)

◆ mlt_cache_init()

mlt_cache mlt_cache_init ( )

◆ mlt_cache_item_close()

void mlt_cache_item_close ( mlt_cache_item  item)

◆ mlt_cache_item_data()

void* mlt_cache_item_data ( mlt_cache_item  item,
int *  size 
)

◆ mlt_cache_purge()

void mlt_cache_purge ( mlt_cache  cache,
void *  object 
)

◆ mlt_cache_put()

void mlt_cache_put ( mlt_cache  cache,
void *  object,
void *  data,
int  size,
mlt_destructor  destructor 
)

◆ mlt_cache_put_frame()

void mlt_cache_put_frame ( mlt_cache  cache,
mlt_frame  frame 
)

◆ mlt_cache_put_frame_audio()

void mlt_cache_put_frame_audio ( mlt_cache  cache,
mlt_frame  frame 
)

◆ mlt_cache_put_frame_image()

void mlt_cache_put_frame_image ( mlt_cache  cache,
mlt_frame  frame 
)

◆ mlt_cache_set_size()

void mlt_cache_set_size ( mlt_cache  cache,
int  size 
)