Lines Matching defs:thp
43 TheoraParams *thp = os->private;
51 if (!thp) {
52 thp = av_mallocz(sizeof(*thp));
53 if (!thp)
55 os->private = thp;
68 thp->version = get_bits_long(&gb, 24);
69 if (thp->version < 0x030100) {
71 "Too old or unsupported Theora (%x)\n", thp->version);
78 if (thp->version >= 0x030400)
81 if (thp->version >= 0x030200) {
105 if (thp->version >= 0x030200)
107 if (thp->version >= 0x304000)
110 thp->gpshift = get_bits(&gb, 5);
111 thp->gpmask = (1 << thp->gpshift) - 1;
121 if (!thp->version)
150 TheoraParams *thp = os->private;
153 if (!thp)
156 iframe = gp >> thp->gpshift;
157 pframe = gp & thp->gpmask;
159 if (thp->version < 0x030201)