Searched refs:p_strf (Results 1 – 5 of 5) sorted by relevance
694 MP4_Box_t *p_strf = MP4_BoxGet( p_sample, "strf", 0 ); in SetupVideoES() local695 if ( p_strf && BOXDATA(p_strf) ) in SetupVideoES()697 p_track->fmt.video.i_width = BOXDATA(p_strf)->bmiHeader.biWidth; in SetupVideoES()699 p_track->fmt.video.i_height = BOXDATA(p_strf)->bmiHeader.biHeight; in SetupVideoES()701 p_track->fmt.video.i_bits_per_pixel = BOXDATA(p_strf)->bmiHeader.biBitCount; in SetupVideoES()702 p_track->fmt.i_extra = BOXDATA(p_strf)->i_extra; in SetupVideoES()705 p_track->fmt.p_extra = malloc( BOXDATA(p_strf)->i_extra ); in SetupVideoES()706 memcpy( p_track->fmt.p_extra, BOXDATA(p_strf)->p_extra, in SetupVideoES()
2152 FREENULL( p_box->data.p_strf->p_extra ); in MP4_FreeBox_strf()2159 MP4_Box_data_strf_t *p_strf = p_box->data.p_strf; in MP4_ReadBox_strf() local2164 MP4_GET4BYTESLE( p_strf->bmiHeader.biSize ); in MP4_ReadBox_strf()2165 MP4_GET4BYTESLE( p_strf->bmiHeader.biWidth ); in MP4_ReadBox_strf()2166 MP4_GET4BYTESLE( p_strf->bmiHeader.biHeight ); in MP4_ReadBox_strf()2167 MP4_GET2BYTESLE( p_strf->bmiHeader.biPlanes ); in MP4_ReadBox_strf()2176 p_strf->i_extra = i_read; in MP4_ReadBox_strf()2177 if ( p_strf->i_extra ) in MP4_ReadBox_strf()2179 p_strf->p_extra = malloc( p_strf->i_extra ); in MP4_ReadBox_strf()2180 if ( ! p_strf->p_extra ) in MP4_ReadBox_strf()[all …]
1760 MP4_Box_data_strf_t *p_strf; /* flip4mac Little endian video config */ member
497 if( p_strl == NULL || p_strh == NULL || p_strf == NULL ) in Open()519 if(unlikely( p_strf->i_cat != AUDIO_ES )) in Open()526 WAVEFORMATEX *p_wf = p_strf->u.p_wf; in Open()608 if( p_strf->i_chunk_size >= i_cboff + p_wf->cbSize && in Open()627 if(unlikely( p_strf->i_cat != VIDEO_ES )) in Open()633 VLC_BITMAPINFOHEADER *p_bih = p_strf->u.p_bih; in Open()741 if( p_strf->i_chunk_size <= INT_MAX - sizeof(VLC_BITMAPINFOHEADER) ) in Open()743 int i_extra = p_strf->i_chunk_size - sizeof(VLC_BITMAPINFOHEADER); in Open()922 avi_chunk_strf_t *p_strf = AVI_ChunkFind( p_strl, AVIFOURCC_strf, 0, false ); in Open() local923 if( !p_strf || p_strf->i_cat != AUDIO_ES ) in Open()[all …]
566 avi_chunk_strf_t *p_strf = (avi_chunk_strf_t*)p_chk; in AVI_ChunkFree_strf() local567 if( p_strf->i_cat == AUDIO_ES ) in AVI_ChunkFree_strf()568 FREENULL( p_strf->u.p_wf ); in AVI_ChunkFree_strf()569 else if( p_strf->i_cat == VIDEO_ES ) in AVI_ChunkFree_strf()570 FREENULL( p_strf->u.p_bih ); in AVI_ChunkFree_strf()