]> git.sesse.net Git - vlc/blobdiff - include/vlc_block.h
Adapt transcode to use the new croppadd video filter when needed.
[vlc] / include / vlc_block.h
index 8d461788313e08d94b7b45f654790b9df8bf3ce8..287e4099fc83aa4a21f3dd82780531b86c9a653f 100644 (file)
@@ -148,6 +148,9 @@ static inline void block_Release( block_t *p_block )
     p_block->pf_release( p_block );
 }
 
+VLC_EXPORT( block_t *, block_mmap_Alloc, (void *addr, size_t length) );
+VLC_EXPORT( block_t *, block_File, (int fd) );
+
 /****************************************************************************
  * Chains of blocks functions helper
  ****************************************************************************
@@ -259,8 +262,7 @@ static inline block_t *block_ChainGather( block_t *p_list )
  *   (this is used to wakeup a thread when there is no data to queue)
  ****************************************************************************/
 
-#define block_FifoNew( a ) __block_FifoNew( VLC_OBJECT(a) )
-VLC_EXPORT( block_fifo_t *, __block_FifoNew,    ( vlc_object_t * ) );
+VLC_EXPORT( block_fifo_t *, block_FifoNew,      ( void ) );
 VLC_EXPORT( void,           block_FifoRelease,  ( block_fifo_t * ) );
 VLC_EXPORT( void,           block_FifoEmpty,    ( block_fifo_t * ) );
 VLC_EXPORT( size_t,         block_FifoPut,      ( block_fifo_t *, block_t * ) );