diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-02-04 15:41:04 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-02-04 15:41:04 +0400 |
commit | a3ccdc21a277eb7d3a14fbadf30c1ecc7ba129fc (patch) | |
tree | 0d4aa89def253acdb5c2232f027af24cd4659082 /developer_info | |
parent | 52638582c653ec6c99198c497ea6db2fd625cc21 (diff) |
Update developer_info interfaces
Diffstat (limited to 'developer_info')
-rw-r--r-- | developer_info/IBufferInfo.h | 37 | ||||
-rw-r--r-- | developer_info/LAVVideoSettings.h | 7 |
2 files changed, 44 insertions, 0 deletions
diff --git a/developer_info/IBufferInfo.h b/developer_info/IBufferInfo.h new file mode 100644 index 00000000..1ac342ff --- /dev/null +++ b/developer_info/IBufferInfo.h @@ -0,0 +1,37 @@ +/* + * $Id: IBufferInfo.h 2786 2010-12-17 16:42:55Z XhmikosR $ + * + * (C) 2003-2006 Gabest + * (C) 2006-2010 see AUTHORS + * + * This Program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This Program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Make; see the file COPYING. If not, write to + * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * http://www.gnu.org/copyleft/gpl.html + * + */ + +#pragma once + +interface __declspec(uuid("46070104-1318-4A82-8822-E99AB7CD15C1")) +IBufferInfo : +public IUnknown { + // Number of Buffers + STDMETHOD_(int, GetCount()) = 0; + // Get Info about Buffer "i" (0-based index up to count) + // sampels: number of frames in the buffer + // size: total size in bytes of the buffer + STDMETHOD(GetStatus(int i, int& samples, int& size)) = 0; + // Get priority of the demuxing thread + STDMETHOD_(DWORD, GetPriority()) = 0; +}; diff --git a/developer_info/LAVVideoSettings.h b/developer_info/LAVVideoSettings.h index 0b8aaa08..c43d4485 100644 --- a/developer_info/LAVVideoSettings.h +++ b/developer_info/LAVVideoSettings.h @@ -68,6 +68,10 @@ typedef enum LAVVideoCodec { Codec_8BPS, Codec_LOCO, Codec_ZMBV, + Codec_VCR1, + Codec_Snow, + Codec_FFV1, + Codec_v210, Codec_NB // Number of entrys (do not use when dynamically linking) }; @@ -139,6 +143,9 @@ typedef enum LAVOutPixFmts { LAVOutPixFmt_v210, // 4:2:2, 10bit, packed LAVOutPixFmt_v410, // 4:4:4, 10bit, packed + LAVOutPixFmt_YV16, // 4:2:2, 8-bit, planar + LAVOutPixFmt_YV24, // 4:4:4, 8-bit, planar + LAVOutPixFmt_NB // Number of formats } LAVOutPixFmts; |