Commit 5c0e385a authored by Jean-Paul Saman's avatar Jean-Paul Saman

Various compile fixes for modules/codec/xvmc

parent f4e4859f
...@@ -39,7 +39,6 @@ ...@@ -39,7 +39,6 @@
extern "C" { extern "C" {
#endif #endif
typedef struct vlc_macroblock_s typedef struct vlc_macroblock_s
{ {
short *blockptr; /* pointer to current dct block */ short *blockptr; /* pointer to current dct block */
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include <vlc/vlc.h>
#include <vlc_vout.h>
#include "xxmc-config.h" #include "xxmc-config.h"
#include <string.h> /* memcmp/memset, try to remove */ #include <string.h> /* memcmp/memset, try to remove */
...@@ -30,6 +33,7 @@ ...@@ -30,6 +33,7 @@
#include "mpeg2.h" #include "mpeg2.h"
#include "attributes.h" #include "attributes.h"
#include "mpeg2_internal.h" #include "mpeg2_internal.h"
#include "xvmc_vld.h"
static int mpeg2_accels = 0; static int mpeg2_accels = 0;
...@@ -173,7 +177,7 @@ mpeg2_state_t mpeg2_parse( mpeg2dec_t * mpeg2dec ) ...@@ -173,7 +177,7 @@ mpeg2_state_t mpeg2_parse( mpeg2dec_t * mpeg2dec )
while(1) while(1)
{ {
while( (unsignedint) (mpeg2dec->code - mpeg2dec->first_decode_slice) while( (unsigned int) (mpeg2dec->code - mpeg2dec->first_decode_slice)
< mpeg2dec->nb_decode_slices ) < mpeg2dec->nb_decode_slices )
{ {
size_buffer = mpeg2dec->buf_end - mpeg2dec->buf_start; size_buffer = mpeg2dec->buf_end - mpeg2dec->buf_start;
...@@ -203,7 +207,7 @@ mpeg2_state_t mpeg2_parse( mpeg2dec_t * mpeg2dec ) ...@@ -203,7 +207,7 @@ mpeg2_state_t mpeg2_parse( mpeg2dec_t * mpeg2dec )
} }
} }
mpeg2dec->bytes_since_tag += copied; mpeg2dec->bytes_since_tag += copied;
mpeg2_xxmc_slice( &(mpeg2dec->decoder), NULL, mpeg2_xxmc_slice( mpeg2dec, NULL,
mpeg2dec->code,mpeg2dec->chunk_start, mpeg2dec->code,mpeg2dec->chunk_start,
mpeg2dec->chunk_size); mpeg2dec->chunk_size);
mpeg2dec->prev_code = mpeg2dec->code; mpeg2dec->prev_code = mpeg2dec->code;
......
...@@ -22,11 +22,13 @@ ...@@ -22,11 +22,13 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "xxmc-config.h" #include <vlc/vlc.h>
#include <inttypes.h> #include <inttypes.h>
#include <stdlib.h> /* defines NULL */ #include <stdlib.h> /* defines NULL */
#include <string.h> /* memcmp */ #include <string.h> /* memcmp */
#include "xxmc-config.h"
#include "mpeg2.h" #include "mpeg2.h"
#include "attributes.h" #include "attributes.h"
...@@ -660,7 +662,6 @@ static int picture_display_ext( mpeg2dec_t * mpeg2dec ) ...@@ -660,7 +662,6 @@ static int picture_display_ext( mpeg2dec_t * mpeg2dec )
return 1; return 1;
picture->display_offset[i].x = mpeg2dec->display_offset_x = x >> 1; picture->display_offset[i].x = mpeg2dec->display_offset_x = x >> 1;
picture->display_offset[i].y = mpeg2dec->display_offset_y = y >> 1; picture->display_offset[i].y = mpeg2dec->display_offset_y = y >> 1;
}
} }
for( ; i < 3; i++ ) for( ; i < 3; i++ )
{ {
......
...@@ -58,7 +58,7 @@ typedef struct mpeg2_sequence_s ...@@ -58,7 +58,7 @@ typedef struct mpeg2_sequence_s
uint8_t colour_primaries; uint8_t colour_primaries;
uint8_t transfer_characteristics; uint8_t transfer_characteristics;
uint8_t matrix_coefficients; uint8_t matrix_coefficients;
int aspect_ratio_information; int aspect_ratio_information;
} mpeg2_sequence_t; } mpeg2_sequence_t;
#define GOP_FLAG_DROP_FRAME 1 #define GOP_FLAG_DROP_FRAME 1
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* *
* *
*/ */
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_vout.h> #include <vlc_vout.h>
#include <vlc_codec.h> #include <vlc_codec.h>
...@@ -47,17 +47,15 @@ static uint8_t alternate_scan [64] ATTR_ALIGN(16) = ...@@ -47,17 +47,15 @@ static uint8_t alternate_scan [64] ATTR_ALIGN(16) =
53,61,22,30,7,15,23,31,38,46,54,62,39,47,55,63 53,61,22,30,7,15,23,31,38,46,54,62,39,47,55,63
}; };
void mpeg2_xxmc_choose_coding(decoder_t *p_dec,
mpeg2_decoder_t * const decoder, picture_t *picture,
double aspect_ratio, int flags)
void mpeg2_xxmc_choose_coding(decoder_t *p_dec, mpeg2_decoder_t * const decoder, picture_t *picture,
double aspect_ratio, int flags)
{ {
if (picture) if (picture)
{ {
//vlc_fourcc_t decoder_format = picture->format.i_chroma; //vlc_fourcc_t decoder_format = picture->format.i_chroma;
//if (decoder_format == VLC_FOURCC('X','x','M','C')) { //if (decoder_format == VLC_FOURCC('X','x','M','C')) {
vlc_xxmc_t *xxmc = (vlc_xxmc_t *) picture->p_accel_data; vlc_xxmc_t *xxmc = (vlc_xxmc_t *) picture->p_data;
/* /*
* Make a request for acceleration type and mpeg coding from * Make a request for acceleration type and mpeg coding from
...@@ -88,12 +86,12 @@ void mpeg2_xxmc_choose_coding(decoder_t *p_dec, mpeg2_decoder_t * const decoder, ...@@ -88,12 +86,12 @@ void mpeg2_xxmc_choose_coding(decoder_t *p_dec, mpeg2_decoder_t * const decoder,
} }
} }
void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture, int code, void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture,
uint8_t *buffer, int size) int code, uint8_t *buffer, int size)
{ {
mpeg2_decoder_t * const decoder = &(mpeg2dec->decoder); mpeg2_decoder_t * const decoder = &(mpeg2dec->decoder);
picture = (picture_t *)mpeg2dec->fbuf[0]->id; picture = (picture_t *)mpeg2dec->fbuf[0]->id;
vlc_xxmc_t *xxmc = (vlc_xxmc_t *) picture->p_accel_data; vlc_xxmc_t *xxmc = (vlc_xxmc_t *) picture->p_data;
vlc_vld_frame_t *vft = &xxmc->vld_frame; vlc_vld_frame_t *vft = &xxmc->vld_frame;
unsigned mb_frame_height; unsigned mb_frame_height;
int i; int i;
...@@ -187,24 +185,24 @@ void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture, int code, ...@@ -187,24 +185,24 @@ void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture, int code,
printf("\nSLICE DATA !!!! size=%d", size-4); printf("\nSLICE DATA !!!! size=%d", size-4);
int i=0; int i=0;
if ( vft->forward_reference_picture != NULL && ((vlc_xxmc_t *) if ( vft->forward_reference_picture != NULL && ((vlc_xxmc_t *)
vft->forward_reference_picture->p_accel_data)->slice_data_size > 10) vft->forward_reference_picture->p_data)->slice_data_size > 10)
{ {
printf("\nFORWARD SLICE DATA !!!! size=%d\n", ((vlc_xxmc_t *) printf("\nFORWARD SLICE DATA !!!! size=%d\n", ((vlc_xxmc_t *)
vft->forward_reference_picture->p_accel_data)->slice_data_size); vft->forward_reference_picture->p_data)->slice_data_size);
for (i=0;i<10;i++) for (i=0;i<10;i++)
{ {
printf("%d ", *(((vlc_xxmc_t *) vft->forward_reference_picture->p_accel_data)->slice_data+i)); printf("%d ", *(((vlc_xxmc_t *) vft->forward_reference_picture->p_data)->slice_data+i));
} }
printf("\nFORWARD SLICE DATA END!!!!\n"); printf("\nFORWARD SLICE DATA END!!!!\n");
} }
if ( vft->backward_reference_picture != NULL && ((vlc_xxmc_t *) if ( vft->backward_reference_picture != NULL && ((vlc_xxmc_t *)
vft->backward_reference_picture->p_accel_data)->slice_data_size > 10) vft->backward_reference_picture->p_data)->slice_data_size > 10)
{ {
printf("\nBACKWARD SLICE DATA !!!! size=%d\n", ((vlc_xxmc_t *) printf("\nBACKWARD SLICE DATA !!!! size=%d\n", ((vlc_xxmc_t *)
vft->backward_reference_picture->p_accel_data)->slice_data_size); vft->backward_reference_picture->p_data)->slice_data_size);
for (i=0;i<10;i++) for (i=0;i<10;i++)
{ {
printf("%d ", *(((vlc_xxmc_t *) vft->backward_reference_picture->p_accel_data)->slice_data+i)); printf("%d ", *(((vlc_xxmc_t *) vft->backward_reference_picture->p_data)->slice_data+i));
} }
printf("\nBACKWARD SLICE DATA END!!!!\n"); printf("\nBACKWARD SLICE DATA END!!!!\n");
} }
...@@ -280,7 +278,7 @@ void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture, int code, ...@@ -280,7 +278,7 @@ void mpeg2_xxmc_slice( mpeg2dec_t *mpeg2dec, picture_t *picture, int code,
void mpeg2_xxmc_vld_frame_complete(mpeg2dec_t *mpeg2dec, picture_t *picture, int code) void mpeg2_xxmc_vld_frame_complete(mpeg2dec_t *mpeg2dec, picture_t *picture, int code)
{ {
vlc_xxmc_t *xxmc = (vlc_xxmc_t *) picture->p_accel_data; vlc_xxmc_t *xxmc = (vlc_xxmc_t *) picture->p_data;
vlc_vld_frame_t *vft = &xxmc->vld_frame; vlc_vld_frame_t *vft = &xxmc->vld_frame;
if (xxmc->decoded) if (xxmc->decoded)
......
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc_vout.h> #include <vlc_vout.h>
#include <vlc_codec.h> #include <vlc_codec.h>
#include <vlc_vout_synchro.h>
#include <stdio.h>
#include <unistd.h>
#include <mcheck.h> #include <mcheck.h>
#include "mpeg2.h" #include "mpeg2.h"
...@@ -36,15 +39,12 @@ ...@@ -36,15 +39,12 @@
#include "mpeg2_internal.h" #include "mpeg2_internal.h"
#include "xvmc_vld.h" #include "xvmc_vld.h"
#include "vout_synchro.h"
/* Aspect ratio (ISO/IEC 13818-2 section 6.3.3, table 6-3) */ /* Aspect ratio (ISO/IEC 13818-2 section 6.3.3, table 6-3) */
#define AR_SQUARE_PICTURE 1 /* square pixels */ #define AR_SQUARE_PICTURE 1 /* square pixels */
#define AR_3_4_PICTURE 2 /* 3:4 picture (TV) */ #define AR_3_4_PICTURE 2 /* 3:4 picture (TV) */
#define AR_16_9_PICTURE 3 /* 16:9 picture (wide screen) */ #define AR_16_9_PICTURE 3 /* 16:9 picture (wide screen) */
#define AR_221_1_PICTURE 4 /* 2.21:1 picture (movie) */ #define AR_221_1_PICTURE 4 /* 2.21:1 picture (movie) */
#include <unistd.h>
/***************************************************************************** /*****************************************************************************
* decoder_sys_t : libmpeg2 decoder descriptor * decoder_sys_t : libmpeg2 decoder descriptor
*****************************************************************************/ *****************************************************************************/
...@@ -60,12 +60,11 @@ struct decoder_sys_t ...@@ -60,12 +60,11 @@ struct decoder_sys_t
/* /*
* Input properties * Input properties
*/ */
pes_packet_t *p_pes; /* current PES we are decoding */
mtime_t i_pts; mtime_t i_pts;
mtime_t i_previous_pts; mtime_t i_previous_pts;
mtime_t i_current_pts; mtime_t i_current_pts;
mtime_t i_previous_dts; mtime_t i_previous_dts;
mtime_t i_current_dts; mtime_t i_current_dts;
int i_current_rate; int i_current_rate;
picture_t * p_picture_to_destroy; picture_t * p_picture_to_destroy;
vlc_bool_t b_garbage_pic; vlc_bool_t b_garbage_pic;
...@@ -77,8 +76,8 @@ struct decoder_sys_t ...@@ -77,8 +76,8 @@ struct decoder_sys_t
* Output properties * Output properties
*/ */
vout_synchro_t *p_synchro; vout_synchro_t *p_synchro;
int i_aspect; int i_aspect;
mtime_t i_last_frame_pts; mtime_t i_last_frame_pts;
}; };
...@@ -110,7 +109,7 @@ static int OpenDecoder( vlc_object_t *p_this ) ...@@ -110,7 +109,7 @@ static int OpenDecoder( vlc_object_t *p_this )
{ {
decoder_t *p_dec = (decoder_t*)p_this; decoder_t *p_dec = (decoder_t*)p_this;
decoder_sys_t *p_sys; decoder_sys_t *p_sys = NULL;
uint32_t i_accel = 0; uint32_t i_accel = 0;
FILE *f_wd_dec; FILE *f_wd_dec;
...@@ -130,8 +129,8 @@ static int OpenDecoder( vlc_object_t *p_this ) ...@@ -130,8 +129,8 @@ static int OpenDecoder( vlc_object_t *p_this )
} }
/* Allocate the memory needed to store the decoder's structure */ /* Allocate the memory needed to store the decoder's structure */
if( ( p_dec->p_sys = p_sys = p_dec->p_sys = p_sys = (decoder_sys_t *)malloc(sizeof(decoder_sys_t));
(decoder_sys_t *)malloc(sizeof(decoder_sys_t)) ) == NULL ) if( !p_sys )
{ {
msg_Err( p_dec, "out of memory" ); msg_Err( p_dec, "out of memory" );
return VLC_EGENERIC; return VLC_EGENERIC;
...@@ -139,7 +138,6 @@ static int OpenDecoder( vlc_object_t *p_this ) ...@@ -139,7 +138,6 @@ static int OpenDecoder( vlc_object_t *p_this )
/* Initialize the thread properties */ /* Initialize the thread properties */
memset( p_sys, 0, sizeof(decoder_sys_t) ); memset( p_sys, 0, sizeof(decoder_sys_t) );
p_sys->p_pes = NULL;
p_sys->p_mpeg2dec = NULL; p_sys->p_mpeg2dec = NULL;
p_sys->p_synchro = NULL; p_sys->p_synchro = NULL;
p_sys->p_info = NULL; p_sys->p_info = NULL;
...@@ -154,23 +152,23 @@ static int OpenDecoder( vlc_object_t *p_this ) ...@@ -154,23 +152,23 @@ static int OpenDecoder( vlc_object_t *p_this )
p_sys->b_skip = 0; p_sys->b_skip = 0;
#if defined( __i386__ ) #if defined( __i386__ )
if( p_dec->p_libvlc->i_cpu & CPU_CAPABILITY_MMX ) if( p_dec->p_libvlc_global->i_cpu & CPU_CAPABILITY_MMX )
{ {
i_accel |= MPEG2_ACCEL_X86_MMX; i_accel |= MPEG2_ACCEL_X86_MMX;
} }
if( p_dec->p_libvlc->i_cpu & CPU_CAPABILITY_3DNOW ) if( p_dec->p_libvlc_global->i_cpu & CPU_CAPABILITY_3DNOW )
{ {
i_accel |= MPEG2_ACCEL_X86_3DNOW; i_accel |= MPEG2_ACCEL_X86_3DNOW;
} }
if( p_dec->p_libvlc->i_cpu & CPU_CAPABILITY_MMXEXT ) if( p_dec->p_libvlc_global->i_cpu & CPU_CAPABILITY_MMXEXT )
{ {
i_accel |= MPEG2_ACCEL_X86_MMXEXT; i_accel |= MPEG2_ACCEL_X86_MMXEXT;
} }
#elif defined( __powerpc__ ) || defined( SYS_DARWIN ) #elif defined( __powerpc__ ) || defined( SYS_DARWIN )
if( p_dec->p_libvlc->i_cpu & CPU_CAPABILITY_ALTIVEC ) if( p_dec->p_libvlc_global->i_cpu & CPU_CAPABILITY_ALTIVEC )
{ {
i_accel |= MPEG2_ACCEL_PPC_ALTIVEC; i_accel |= MPEG2_ACCEL_PPC_ALTIVEC;
} }
...@@ -274,7 +272,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -274,7 +272,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if ( p_sys->b_slice_i ) if ( p_sys->b_slice_i )
{ {
vout_SynchroNewPicture( p_sys->p_synchro, vout_SynchroNewPicture( p_sys->p_synchro,
I_CODING_TYPE, 2, 0, 0, p_sys->i_current_rate ); I_CODING_TYPE, 2, 0, 0, p_sys->i_current_rate,
p_sys->p_info->sequence->flags & SEQ_FLAG_LOW_DELAY );
vout_SynchroDecode( p_sys->p_synchro ); vout_SynchroDecode( p_sys->p_synchro );
vout_SynchroEnd( p_sys->p_synchro, I_CODING_TYPE, 0 ); vout_SynchroEnd( p_sys->p_synchro, I_CODING_TYPE, 0 );
} }
...@@ -392,7 +391,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -392,7 +391,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
vout_SynchroNewPicture( p_sys->p_synchro, vout_SynchroNewPicture( p_sys->p_synchro,
p_sys->p_info->current_picture->flags & PIC_MASK_CODING_TYPE, p_sys->p_info->current_picture->flags & PIC_MASK_CODING_TYPE,
p_sys->p_info->current_picture->nb_fields, p_sys->p_info->current_picture->nb_fields,
0, 0, p_sys->i_current_rate ); 0, 0, p_sys->i_current_rate,
p_sys->p_info->sequence->flags & SEQ_FLAG_LOW_DELAY );
if( p_sys->b_skip ) if( p_sys->b_skip )
{ {
...@@ -417,7 +417,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -417,7 +417,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
/* Intra-slice refresh. Simulate a blank I picture. */ /* Intra-slice refresh. Simulate a blank I picture. */
msg_Dbg( p_dec, "intra-slice refresh stream" ); msg_Dbg( p_dec, "intra-slice refresh stream" );
vout_SynchroNewPicture( p_sys->p_synchro, vout_SynchroNewPicture( p_sys->p_synchro,
I_CODING_TYPE, 2, 0, 0, p_sys->i_current_rate ); I_CODING_TYPE, 2, 0, 0, p_sys->i_current_rate,
p_sys->p_info->sequence->flags & SEQ_FLAG_LOW_DELAY );
vout_SynchroDecode( p_sys->p_synchro ); vout_SynchroDecode( p_sys->p_synchro );
vout_SynchroEnd( p_sys->p_synchro, I_CODING_TYPE, 0 ); vout_SynchroEnd( p_sys->p_synchro, I_CODING_TYPE, 0 );
p_sys->b_slice_i = 1; p_sys->b_slice_i = 1;
...@@ -451,7 +452,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -451,7 +452,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
vout_SynchroNewPicture( p_sys->p_synchro, vout_SynchroNewPicture( p_sys->p_synchro,
p_sys->p_info->current_picture->flags & PIC_MASK_CODING_TYPE, p_sys->p_info->current_picture->flags & PIC_MASK_CODING_TYPE,
p_sys->p_info->current_picture->nb_fields, i_pts, p_sys->p_info->current_picture->nb_fields, i_pts,
0, p_sys->i_current_rate ); 0, p_sys->i_current_rate,
p_sys->p_info->sequence->flags & SEQ_FLAG_LOW_DELAY );
if ( !(p_sys->b_slice_i if ( !(p_sys->b_slice_i
&& ((p_sys->p_info->current_picture->flags && ((p_sys->p_info->current_picture->flags
...@@ -459,7 +461,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -459,7 +461,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
&& !vout_SynchroChoose( p_sys->p_synchro, && !vout_SynchroChoose( p_sys->p_synchro,
p_sys->p_info->current_picture->flags p_sys->p_info->current_picture->flags
& PIC_MASK_CODING_TYPE, & PIC_MASK_CODING_TYPE,
/*FindVout(p_dec)->render_time*/ 0 /*FIXME*/ ) ) /*FindVout(p_dec)->render_time*/ 0 /*FIXME*/,
p_sys->p_info->sequence->flags & SEQ_FLAG_LOW_DELAY ) )
{ {
mpeg2_skip( p_sys->p_mpeg2dec, 1 ); mpeg2_skip( p_sys->p_mpeg2dec, 1 );
p_sys->b_skip = 1; p_sys->b_skip = 1;
...@@ -587,7 +590,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) ...@@ -587,7 +590,8 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
if( p_sys->b_slice_i ) if( p_sys->b_slice_i )
{ {
vout_SynchroNewPicture( p_sys->p_synchro, vout_SynchroNewPicture( p_sys->p_synchro,
I_CODING_TYPE, 2, 0, 0, p_sys->i_current_rate ); I_CODING_TYPE, 2, 0, 0, p_sys->i_current_rate,
p_sys->p_info->sequence->flags & SEQ_FLAG_LOW_DELAY );
vout_SynchroDecode( p_sys->p_synchro ); vout_SynchroDecode( p_sys->p_synchro );
vout_SynchroEnd( p_sys->p_synchro, I_CODING_TYPE, 0 ); vout_SynchroEnd( p_sys->p_synchro, I_CODING_TYPE, 0 );
} }
...@@ -668,7 +672,6 @@ static picture_t *GetNewPicture( decoder_t *p_dec, uint8_t **pp_buf ) ...@@ -668,7 +672,6 @@ static picture_t *GetNewPicture( decoder_t *p_dec, uint8_t **pp_buf )
//msg_Dbg(p_dec, "GetNewPicture Entering"); //msg_Dbg(p_dec, "GetNewPicture Entering");
decoder_sys_t *p_sys = p_dec->p_sys; decoder_sys_t *p_sys = p_dec->p_sys;
picture_t *p_pic; picture_t *p_pic;
static int nbpic = 0;
p_dec->fmt_out.video.i_width = p_sys->p_info->sequence->width; p_dec->fmt_out.video.i_width = p_sys->p_info->sequence->width;
p_dec->fmt_out.video.i_height = p_sys->p_info->sequence->height; p_dec->fmt_out.video.i_height = p_sys->p_info->sequence->height;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment