Lines Matching defs:srch
666 add_resized_res(int srcw, int srch, int reqw, int reqh, char *dlna_pn,
679 dsth = ((((reqw<<10)/srcw)*srch)>>10);
682 dstw = (((reqh<<10)/srch) * srcw>>10);
969 int srcw, srch;
970 if( resolution && (sscanf(resolution, "%6dx%6d", &srcw, &srch) == 2) )
972 if( srcw > 4096 || srch > 4096 )
973 add_resized_res(srcw, srch, 4096, 4096, "JPEG_LRG", detailID, passed_args);
974 if( srcw > 1024 || srch > 768 )
975 add_resized_res(srcw, srch, 1024, 768, "JPEG_MED", detailID, passed_args);
976 if( srcw > 640 || srch > 480 )
977 add_resized_res(srcw, srch, 640, 480, "JPEG_SM", detailID, passed_args);
987 add_resized_res(srcw, srch, 160, 160, "JPEG_TN", detailID, passed_args);