Lines Matching defs:format
133 static u32 get_frame_type_flag(struct go7007_buffer *gobuf, int format)
137 switch (format) {
293 if (go->format == GO7007_FORMAT_MPEG1 ||
294 go->format == GO7007_FORMAT_MPEG2 ||
295 go->format == GO7007_FORMAT_MPEG4)
297 go->format = GO7007_FORMAT_MPEG1;
310 if (go->format == GO7007_FORMAT_MPEG4)
312 go->format = GO7007_FORMAT_MPEG4;
324 go->format = GO7007_FORMAT_MJPEG;
402 go->format = GO7007_FORMAT_MPEG2;
422 go->format = GO7007_FORMAT_MPEG1;
426 go->format = GO7007_FORMAT_MPEG2;
433 go->format = GO7007_FORMAT_MPEG4;
452 if (go->format == GO7007_FORMAT_MJPEG)
501 switch (go->format) {
597 fmt->fmt.pix.pixelformat = (go->format == GO7007_FORMAT_MJPEG) ?
852 frame_type_flag = get_frame_type_flag(gobuf, go->format);