File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,12 @@ Pixel::Pixel( const std::string& avPixelFormat )
18
18
}
19
19
20
20
Pixel::Pixel ( const AVPixelFormat avPixelFormat )
21
- : _pixelSize ( 24 )
22
- , _components ( 3 )
23
- , _componentType ( eComponentYuv )
24
- , _subsamplingType ( eSubsamplingNone )
25
- , _endianess ( false )
26
- , _withAlpha ( false )
27
- , _planar ( true )
28
21
{
29
22
init ( avPixelFormat );
30
23
}
31
24
32
25
AVPixelFormat Pixel::findPixel () const
33
26
{
34
- // av_register_all();
35
27
#if LIBAVUTIL_VERSION_MAJOR > 51
36
28
const AVPixFmtDescriptor *pix_desc = NULL ;
37
29
while ( ( pix_desc = av_pix_fmt_desc_next ( pix_desc ) ) )
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ class AvExport Pixel
44
44
{ }
45
45
46
46
Pixel ( const std::string& avPixelFormat );
47
-
48
47
Pixel ( const AVPixelFormat avPixelFormat );
49
48
50
49
void setBitsPerPixel ( const size_t pixelSize ) { _pixelSize = pixelSize; }
You can’t perform that action at this time.
0 commit comments