Lines Matching defs:width

239         if (s->width & 1) {
388 int pels = s->width * s->height / (i ? 40 : 10);
464 static int encode_plane_bitstream(HYuvContext *s, int width, int plane)
466 int i, count = width/2;
474 int y0 = s->temp[0][width-1];
476 int y0 = s->temp16[0][width-1] & mask;
478 int y0 = s->temp16[0][width-1];
519 if (width&1) {
533 if (width&1) {
543 if (width&1) {
555 if (width&1) {
569 if (width&1) {
579 if (width&1) {
590 if (width&1) {
604 if (width&1) {
614 if (width&1) {
725 const int width = s->width;
726 const int width2 = s->width>>1;
734 if ((ret = ff_alloc_packet(avctx, pkt, width * height * 3 * 4 + AV_INPUT_BUFFER_MIN_SIZE)) < 0)
758 lefty = sub_left_prediction(s, s->temp[0], p->data[0], width , 0);
762 encode_422_bitstream(s, 2, width-2);
768 lefty = sub_left_prediction(s, s->temp[0], p->data[0] + p->linesize[0], width , lefty);
772 encode_422_bitstream(s, 0, width);
785 s->llvidencdsp.sub_median_pred(s->temp[0], p->data[0] + 4, p->data[0] + fake_ystride + 4, width - 4, &lefty, &lefttopy);
788 encode_422_bitstream(s, 0, width - 4);
797 s->llvidencdsp.sub_median_pred(s->temp[0], ydst - fake_ystride, ydst, width, &lefty, &lefttopy);
798 encode_gray_bitstream(s, width);
807 s->llvidencdsp.sub_median_pred(s->temp[0], ydst - fake_ystride, ydst, width, &lefty, &lefttopy);
811 encode_422_bitstream(s, 0, width);
822 s->llvidencdsp.diff_bytes(s->temp[1], ydst, ydst - fake_ystride, width);
824 lefty = sub_left_prediction(s, s->temp[0], s->temp[1], width , lefty);
826 lefty = sub_left_prediction(s, s->temp[0], ydst, width , lefty);
828 encode_gray_bitstream(s, width);
838 s->llvidencdsp.diff_bytes(s->temp[1], ydst, ydst - fake_ystride, width);
842 lefty = sub_left_prediction(s, s->temp[0], s->temp[1], width , lefty);
846 lefty = sub_left_prediction(s, s->temp[0], ydst, width , lefty);
851 encode_422_bitstream(s, 0, width);
866 sub_left_prediction_bgr32(s, s->temp[0], data + 4, width - 1,
868 encode_bgra_bitstream(s, width - 1, 4);
873 s->llvidencdsp.diff_bytes(s->temp[1], dst, dst - fake_stride, width * 4);
874 sub_left_prediction_bgr32(s, s->temp[0], s->temp[1], width,
877 sub_left_prediction_bgr32(s, s->temp[0], dst, width,
880 encode_bgra_bitstream(s, width, 4);
894 sub_left_prediction_rgb24(s, s->temp[0], data + 3, width - 1,
896 encode_bgra_bitstream(s, width-1, 3);
902 width * 3);
903 sub_left_prediction_rgb24(s, s->temp[0], s->temp[1], width,
906 sub_left_prediction_rgb24(s, s->temp[0], dst, width,
909 encode_bgra_bitstream(s, width, 3);
915 int w = width;