Defined in 2013-04 edition.
h->param.i_dpb_size = 1;
}
- if( h->param.i_frame_packing < -1 || h->param.i_frame_packing > 5 )
+ if( h->param.i_frame_packing < -1 || h->param.i_frame_packing > 6 )
{
x264_log( h, X264_LOG_WARNING, "ignoring unknown frame packing value\n" );
h->param.i_frame_packing = -1;
bs_write1( &q, quincunx_sampling_flag ); // quincunx_sampling_flag
// 0: views are unrelated, 1: left view is on the left, 2: left view is on the right
- bs_write ( &q, 6, 1 ); // content_interpretation_type
+ bs_write ( &q, 6, h->param.i_frame_packing != 6 ); // content_interpretation_type
bs_write1( &q, 0 ); // spatial_flipping_flag
bs_write1( &q, 0 ); // frame0_flipped_flag
return 0;
}
-#define STEREO_COUNT 6
-static const uint8_t stereo_modes[STEREO_COUNT] = {5,9,7,1,3,13};
-static const uint8_t stereo_w_div[STEREO_COUNT] = {1,2,1,2,1,1};
-static const uint8_t stereo_h_div[STEREO_COUNT] = {1,1,2,1,2,1};
+#define STEREO_COUNT 7
+static const uint8_t stereo_modes[STEREO_COUNT] = {5,9,7,1,3,13,0};
+static const uint8_t stereo_w_div[STEREO_COUNT] = {1,2,1,2,1,1,1};
+static const uint8_t stereo_h_div[STEREO_COUNT] = {1,1,2,1,2,1,1};
static int set_param( hnd_t handle, x264_param_t *p_param )
{
" - 2: row alternation - L and R are interlaced by row\n"
" - 3: side by side - L is on the left, R on the right\n"
" - 4: top bottom - L is on top, R on bottom\n"
- " - 5: frame alternation - one view per frame\n" );
+ " - 5: frame alternation - one view per frame\n"
+ " - 6: mono - 2D frame without any frame packing\n" );
H0( "\n" );
H0( "Ratecontrol:\n" );
H0( "\n" );
#include "x264_config.h"
-#define X264_BUILD 144
+#define X264_BUILD 145
/* Application developers planning to link against a shared library version of
* libx264 from a Microsoft Visual Studio or similar development environment