• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching refs:pf

723     const PixFmtInfo* pf = &pix_fmt_info[pix_fmt];
731 if (pf->pixel_type == FF_PIXEL_PACKED || pf->pixel_type == FF_PIXEL_PALETTE) {
744 w = width * (pf->depth * pf->nb_channels / 8);
749 data_planes = pf->nb_channels;
750 w = (width*pf->depth + 7)/8;
759 w = width >> pf->x_chroma_shift;
760 h = height >> pf->y_chroma_shift;
773 if (pf->pixel_type == FF_PIXEL_PALETTE)
788 const PixFmtInfo *pf, *ps;
792 pf = &pix_fmt_info[dst_pix_fmt];
796 pf = &pix_fmt_info[dst_pix_fmt];
797 if (pf->depth < ps->depth ||
800 if (pf->x_chroma_shift > ps->x_chroma_shift ||
801 pf->y_chroma_shift > ps->y_chroma_shift)
803 switch(pf->color_type) {
825 if (ps->color_type != pf->color_type)
829 if (pf->color_type == FF_COLOR_GRAY &&
832 if (!pf->is_alpha && (ps->is_alpha && has_alpha))
834 if (pf->pixel_type == FF_PIXEL_PALETTE &&
843 const PixFmtInfo *pf;
845 pf = &pix_fmt_info[pix_fmt];
846 switch(pf->pixel_type) {
861 bits = pf->depth * pf->nb_channels;
866 if (pf->x_chroma_shift == 0 && pf->y_chroma_shift == 0) {
867 bits = pf->depth * pf->nb_channels;
869 bits = pf->depth + ((2 * pf->depth) >>
870 (pf->x_chroma_shift + pf->y_chroma_shift));
956 const PixFmtInfo *pf = &pix_fmt_info[pix_fmt];
958 pf = &pix_fmt_info[pix_fmt];
959 switch(pf->pixel_type) {
974 bits = pf->depth * pf->nb_channels;
981 width= -((-width)>>pf->x_chroma_shift);
983 return (width * pf->depth + 7) >> 3;
998 const PixFmtInfo *pf = &pix_fmt_info[pix_fmt];
1000 pf = &pix_fmt_info[pix_fmt];
1001 switch(pf->pixel_type) {
1004 for(i = 0; i < pf->nb_channels; i++) {
1009 h= -((-height)>>pf->y_chroma_shift);
2750 const PixFmtInfo *pf = &pix_fmt_info[pix_fmt];
2753 pf = &pix_fmt_info[pix_fmt];
2755 if (!pf->is_alpha)