Home
last modified time | relevance | path

Searched refs:vpx_image_t (Results 1 – 25 of 66) sorted by relevance

123

/external/libvpx/libvpx/
Dtools_common.h131 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);
150 int vpx_img_plane_width(const vpx_image_t *img, int plane);
151 int vpx_img_plane_height(const vpx_image_t *img, int plane);
152 void vpx_img_write(const vpx_image_t *img, FILE *file);
153 int vpx_img_read(vpx_image_t *img, FILE *file);
158 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
159 void vpx_img_downshift(vpx_image_t *dst, vpx_image_t *src, int down_shift);
160 void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src);
Dtools_common.c77 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame()
205 int vpx_img_plane_width(const vpx_image_t *img, int plane) { in vpx_img_plane_width()
212 int vpx_img_plane_height(const vpx_image_t *img, int plane) { in vpx_img_plane_height()
219 void vpx_img_write(const vpx_image_t *img, FILE *file) { in vpx_img_write()
237 int vpx_img_read(vpx_image_t *img, FILE *file) { in vpx_img_read()
271 static void highbd_img_upshift(vpx_image_t *dst, vpx_image_t *src, in highbd_img_upshift()
307 static void lowbd_img_upshift(vpx_image_t *dst, vpx_image_t *src, in lowbd_img_upshift()
344 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift()
352 void vpx_img_truncate_16_to_8(vpx_image_t *dst, vpx_image_t *src) { in vpx_img_truncate_16_to_8()
385 static void highbd_img_downshift(vpx_image_t *dst, vpx_image_t *src, in highbd_img_downshift()
[all …]
Dvpxdec.c152 static INLINE int libyuv_scale(vpx_image_t *src, vpx_image_t *dst, in libyuv_scale()
285 static void update_image_md5(const vpx_image_t *img, const int planes[3], in update_image_md5()
304 static void write_image_file(const vpx_image_t *img, const int planes[3], in write_image_file()
509 static int img_shifted_realloc_required(const vpx_image_t *img, in img_shifted_realloc_required()
510 const vpx_image_t *shifted, in img_shifted_realloc_required()
555 vpx_image_t *scaled_img = NULL; in main_loop()
557 vpx_image_t *img_shifted = NULL; in main_loop()
834 vpx_image_t *img; in main_loop()
/external/libvpx/libvpx/vpx/
Dvpx_image.h115 } vpx_image_t; /**< alias for struct vpx_image */ typedef
143 vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt,
166 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w,
183 int vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y,
193 void vpx_img_flip(vpx_image_t *img);
201 void vpx_img_free(vpx_image_t *img);
Dvpx_decoder.h235 vpx_image_t *vpx_codec_get_frame(vpx_codec_ctx_t *ctx, vpx_codec_iter_t *iter);
253 const vpx_image_t *img);
292 const vpx_image_t *img,
Dvp8.h103 vpx_image_t img; /**< reference frame data in image format */
112 vpx_image_t img; /**< img structure to populate (output) */
/external/libvpx/libvpx/vpx/src/
Dvpx_image.c18 static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt, in img_alloc_helper()
82 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t)); in img_alloc_helper()
88 memset(img, 0, sizeof(vpx_image_t)); in img_alloc_helper()
135 vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, in vpx_img_alloc()
141 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, in vpx_img_wrap()
149 int vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y, in vpx_img_set_rect()
199 void vpx_img_flip(vpx_image_t *img) { in vpx_img_flip()
222 void vpx_img_free(vpx_image_t *img) { in vpx_img_free()
/external/libvpx/libvpx/test/
Dactive_map_refresh_test.cc20 int CheckMb(const vpx_image_t &current, const vpx_image_t &previous, int mb_r, in CheckMb()
49 void GenerateMap(int mb_rows, int mb_cols, const vpx_image_t &current, in GenerateMap()
50 const vpx_image_t &previous, uint8_t *map) { in GenerateMap()
81 vpx_image_t *current = video->img(); in PreEncodeFrameHook()
82 vpx_image_t *previous = y4m_holder_->img(); in PreEncodeFrameHook()
Dencode_test_driver.cc26 const vpx_image_t *img = video->img(); in InitEncoder()
75 const vpx_image_t *img = video.img(); in EncodeFrameInternal()
128 static bool compare_img(const vpx_image_t *img1, const vpx_image_t *img2) { in compare_img()
160 void EncoderTest::MismatchHook(const vpx_image_t * /*img1*/, in MismatchHook() argument
161 const vpx_image_t * /*img2*/) { in MismatchHook()
248 const vpx_image_t *img_enc = encoder->GetPreviewFrame(); in RunLoop()
250 const vpx_image_t *img_dec = dec_iter.Next(); in RunLoop()
Dy4m_video_source.h26 : file_name_(file_name), input_file_(NULL), img_(new vpx_image_t()), in Y4mVideoSource()
64 virtual vpx_image_t *img() const { in img()
94 vpx_image_t *tmp; in SwapBuffers()
112 std::unique_ptr<vpx_image_t> img_;
Dencode_test_driver.h101 const vpx_image_t *GetPreviewFrame() { in GetPreviewFrame()
259 virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2);
262 virtual void DecompressedFrameHook(const vpx_image_t & /*img*/, in DecompressedFrameHook() argument
Dsvc_test.h53 virtual void MismatchHook(const vpx_image_t *, const vpx_image_t *) {} in MismatchHook() argument
Dutil.h24 inline double compute_psnr(const vpx_image_t *img1, const vpx_image_t *img2) { in compute_psnr()
Dvideo_source.h115 virtual vpx_image_t *img() const = 0;
153 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
197 vpx_image_t *img_;
Dsvc_end_to_end_test.cc56 virtual void MismatchHook(const vpx_image_t * /*img1*/, in MismatchHook() argument
57 const vpx_image_t * /*img2*/) { in MismatchHook()
185 virtual void MismatchHook(const vpx_image_t * /*img1*/, in MismatchHook() argument
186 const vpx_image_t * /*img2*/) { in MismatchHook()
Ddecode_corrupted.cc52 virtual void MismatchHook(const vpx_image_t * /*img1*/, in MismatchHook() argument
53 const vpx_image_t * /*img2*/) {} in MismatchHook()
Dyuv_video_source.h61 virtual vpx_image_t *img() const { return (frame_ < limit_) ? img_ : NULL; } in img()
111 vpx_image_t *img_;
Ddecode_test_driver.h29 const vpx_image_t *Next() { return vpx_codec_get_frame(decoder_, &iter_); } in Next()
141 virtual void DecompressedFrameHook(const vpx_image_t & /*img*/, in DecompressedFrameHook() argument
/external/libvpx/libvpx/examples/
Dtwopass_encoder.c69 static int get_frame_stats(vpx_codec_ctx_t *ctx, const vpx_image_t *img, in get_frame_stats()
95 static int encode_frame(vpx_codec_ctx_t *ctx, const vpx_image_t *img, in encode_frame()
123 static vpx_fixed_buf_t pass0(vpx_image_t *raw, FILE *infile, in pass0()
152 static void pass1(vpx_image_t *raw, FILE *infile, const char *outfile_name, in pass1()
195 vpx_image_t raw; in main()
Dvp9cx_set_ref.c71 static int compare_img(const vpx_image_t *const img1, in compare_img()
72 const vpx_image_t *const img2) { in compare_img()
103 static void find_mismatch(const vpx_image_t *const img1, in find_mismatch()
104 const vpx_image_t *const img2, int yloc[4], in find_mismatch()
195 vpx_image_t enc_img, dec_img; in testing_decode()
228 static int encode_frame(vpx_codec_ctx_t *ecodec, vpx_image_t *img, in encode_frame()
284 vpx_image_t raw; in main()
Ddecode_to_md5.c44 static void get_image_md5(const vpx_image_t *img, unsigned char digest[16]) { in get_image_md5()
108 vpx_image_t *img = NULL; in main()
Dvp9_lossless_encoder.c32 static int encode_frame(vpx_codec_ctx_t *codec, vpx_image_t *img, in encode_frame()
64 vpx_image_t raw; in main()
/external/libvpx/libvpx/vpx/internal/
Dvpx_codec_internal.h217 typedef vpx_image_t *(*vpx_codec_get_frame_fn_t)(vpx_codec_alg_priv_t *ctx,
251 const vpx_image_t *img,
264 typedef vpx_image_t *(*vpx_codec_get_preview_frame_fn_t)(
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.h115 vpx_image_t* raw_;
157 int ReturnFrame(const vpx_image_t* img, uint32_t timeStamp);
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.h114 std::vector<vpx_image_t> raw_images_;
152 int ReturnFrame(const vpx_image_t* img,

123